1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for ncdu 1.16. 4# 5# Report bugs to <projects@yorhel.nl>. 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 projects@yorhel.nl 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='ncdu' 582PACKAGE_TARNAME='ncdu' 583PACKAGE_VERSION='1.16' 584PACKAGE_STRING='ncdu 1.16' 585PACKAGE_BUGREPORT='projects@yorhel.nl' 586PACKAGE_URL='' 587 588ac_unique_file="src/global.h" 589# Factoring default headers for most tests. 590ac_includes_default="\ 591#include <stdio.h> 592#ifdef HAVE_SYS_TYPES_H 593# include <sys/types.h> 594#endif 595#ifdef HAVE_SYS_STAT_H 596# include <sys/stat.h> 597#endif 598#ifdef STDC_HEADERS 599# include <stdlib.h> 600# include <stddef.h> 601#else 602# ifdef HAVE_STDLIB_H 603# include <stdlib.h> 604# endif 605#endif 606#ifdef HAVE_STRING_H 607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 608# include <memory.h> 609# endif 610# include <string.h> 611#endif 612#ifdef HAVE_STRINGS_H 613# include <strings.h> 614#endif 615#ifdef HAVE_INTTYPES_H 616# include <inttypes.h> 617#endif 618#ifdef HAVE_STDINT_H 619# include <stdint.h> 620#endif 621#ifdef HAVE_UNISTD_H 622# include <unistd.h> 623#endif" 624 625ac_subst_vars='am__EXEEXT_FALSE 626am__EXEEXT_TRUE 627LTLIBOBJS 628NCURSES_LIBS 629NCURSES_CFLAGS 630LIBOBJS 631EGREP 632GREP 633CPP 634PKG_CONFIG_LIBDIR 635PKG_CONFIG_PATH 636PKG_CONFIG 637RANLIB 638am__fastdepCC_FALSE 639am__fastdepCC_TRUE 640CCDEPMODE 641am__nodep 642AMDEPBACKSLASH 643AMDEP_FALSE 644AMDEP_TRUE 645am__include 646DEPDIR 647OBJEXT 648EXEEXT 649ac_ct_CC 650CPPFLAGS 651LDFLAGS 652CFLAGS 653CC 654AM_BACKSLASH 655AM_DEFAULT_VERBOSITY 656AM_DEFAULT_V 657AM_V 658am__untar 659am__tar 660AMTAR 661am__leading_dot 662SET_MAKE 663AWK 664mkdir_p 665MKDIR_P 666INSTALL_STRIP_PROGRAM 667STRIP 668install_sh 669MAKEINFO 670AUTOHEADER 671AUTOMAKE 672AUTOCONF 673ACLOCAL 674VERSION 675PACKAGE 676CYGPATH_W 677am__isrc 678INSTALL_DATA 679INSTALL_SCRIPT 680INSTALL_PROGRAM 681target_alias 682host_alias 683build_alias 684LIBS 685ECHO_T 686ECHO_N 687ECHO_C 688DEFS 689mandir 690localedir 691libdir 692psdir 693pdfdir 694dvidir 695htmldir 696infodir 697docdir 698oldincludedir 699includedir 700runstatedir 701localstatedir 702sharedstatedir 703sysconfdir 704datadir 705datarootdir 706libexecdir 707sbindir 708bindir 709program_transform_name 710prefix 711exec_prefix 712PACKAGE_URL 713PACKAGE_BUGREPORT 714PACKAGE_STRING 715PACKAGE_VERSION 716PACKAGE_TARNAME 717PACKAGE_NAME 718PATH_SEPARATOR 719SHELL 720am__quote' 721ac_subst_files='' 722ac_user_opts=' 723enable_option_checking 724enable_silent_rules 725enable_dependency_tracking 726enable_largefile 727with_ncurses 728with_ncursesw 729with_shell 730' 731 ac_precious_vars='build_alias 732host_alias 733target_alias 734CC 735CFLAGS 736LDFLAGS 737LIBS 738CPPFLAGS 739PKG_CONFIG 740PKG_CONFIG_PATH 741PKG_CONFIG_LIBDIR 742CPP 743NCURSES_CFLAGS 744NCURSES_LIBS' 745 746 747# Initialize some variables set by options. 748ac_init_help= 749ac_init_version=false 750ac_unrecognized_opts= 751ac_unrecognized_sep= 752# The variables have the same names as the options, with 753# dashes changed to underlines. 754cache_file=/dev/null 755exec_prefix=NONE 756no_create= 757no_recursion= 758prefix=NONE 759program_prefix=NONE 760program_suffix=NONE 761program_transform_name=s,x,x, 762silent= 763site= 764srcdir= 765verbose= 766x_includes=NONE 767x_libraries=NONE 768 769# Installation directory options. 770# These are left unexpanded so users can "make install exec_prefix=/foo" 771# and all the variables that are supposed to be based on exec_prefix 772# by default will actually change. 773# Use braces instead of parens because sh, perl, etc. also accept them. 774# (The list follows the same order as the GNU Coding Standards.) 775bindir='${exec_prefix}/bin' 776sbindir='${exec_prefix}/sbin' 777libexecdir='${exec_prefix}/libexec' 778datarootdir='${prefix}/share' 779datadir='${datarootdir}' 780sysconfdir='${prefix}/etc' 781sharedstatedir='${prefix}/com' 782localstatedir='${prefix}/var' 783runstatedir='${localstatedir}/run' 784includedir='${prefix}/include' 785oldincludedir='/usr/include' 786docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 787infodir='${datarootdir}/info' 788htmldir='${docdir}' 789dvidir='${docdir}' 790pdfdir='${docdir}' 791psdir='${docdir}' 792libdir='${exec_prefix}/lib' 793localedir='${datarootdir}/locale' 794mandir='${datarootdir}/man' 795 796ac_prev= 797ac_dashdash= 798for ac_option 799do 800 # If the previous option needs an argument, assign it. 801 if test -n "$ac_prev"; then 802 eval $ac_prev=\$ac_option 803 ac_prev= 804 continue 805 fi 806 807 case $ac_option in 808 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 809 *=) ac_optarg= ;; 810 *) ac_optarg=yes ;; 811 esac 812 813 # Accept the important Cygnus configure options, so we can diagnose typos. 814 815 case $ac_dashdash$ac_option in 816 --) 817 ac_dashdash=yes ;; 818 819 -bindir | --bindir | --bindi | --bind | --bin | --bi) 820 ac_prev=bindir ;; 821 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 822 bindir=$ac_optarg ;; 823 824 -build | --build | --buil | --bui | --bu) 825 ac_prev=build_alias ;; 826 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 827 build_alias=$ac_optarg ;; 828 829 -cache-file | --cache-file | --cache-fil | --cache-fi \ 830 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 831 ac_prev=cache_file ;; 832 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 833 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 834 cache_file=$ac_optarg ;; 835 836 --config-cache | -C) 837 cache_file=config.cache ;; 838 839 -datadir | --datadir | --datadi | --datad) 840 ac_prev=datadir ;; 841 -datadir=* | --datadir=* | --datadi=* | --datad=*) 842 datadir=$ac_optarg ;; 843 844 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 845 | --dataroo | --dataro | --datar) 846 ac_prev=datarootdir ;; 847 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 848 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 849 datarootdir=$ac_optarg ;; 850 851 -disable-* | --disable-*) 852 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 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--disable-$ac_useropt_orig" 863 ac_unrecognized_sep=', ';; 864 esac 865 eval enable_$ac_useropt=no ;; 866 867 -docdir | --docdir | --docdi | --doc | --do) 868 ac_prev=docdir ;; 869 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 870 docdir=$ac_optarg ;; 871 872 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 873 ac_prev=dvidir ;; 874 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 875 dvidir=$ac_optarg ;; 876 877 -enable-* | --enable-*) 878 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 879 # Reject names that are not valid shell variable names. 880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 881 as_fn_error $? "invalid feature name: $ac_useropt" 882 ac_useropt_orig=$ac_useropt 883 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 884 case $ac_user_opts in 885 *" 886"enable_$ac_useropt" 887"*) ;; 888 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 889 ac_unrecognized_sep=', ';; 890 esac 891 eval enable_$ac_useropt=\$ac_optarg ;; 892 893 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 894 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 895 | --exec | --exe | --ex) 896 ac_prev=exec_prefix ;; 897 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 898 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 899 | --exec=* | --exe=* | --ex=*) 900 exec_prefix=$ac_optarg ;; 901 902 -gas | --gas | --ga | --g) 903 # Obsolete; use --with-gas. 904 with_gas=yes ;; 905 906 -help | --help | --hel | --he | -h) 907 ac_init_help=long ;; 908 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 909 ac_init_help=recursive ;; 910 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 911 ac_init_help=short ;; 912 913 -host | --host | --hos | --ho) 914 ac_prev=host_alias ;; 915 -host=* | --host=* | --hos=* | --ho=*) 916 host_alias=$ac_optarg ;; 917 918 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 919 ac_prev=htmldir ;; 920 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 921 | --ht=*) 922 htmldir=$ac_optarg ;; 923 924 -includedir | --includedir | --includedi | --included | --include \ 925 | --includ | --inclu | --incl | --inc) 926 ac_prev=includedir ;; 927 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 928 | --includ=* | --inclu=* | --incl=* | --inc=*) 929 includedir=$ac_optarg ;; 930 931 -infodir | --infodir | --infodi | --infod | --info | --inf) 932 ac_prev=infodir ;; 933 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 934 infodir=$ac_optarg ;; 935 936 -libdir | --libdir | --libdi | --libd) 937 ac_prev=libdir ;; 938 -libdir=* | --libdir=* | --libdi=* | --libd=*) 939 libdir=$ac_optarg ;; 940 941 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 942 | --libexe | --libex | --libe) 943 ac_prev=libexecdir ;; 944 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 945 | --libexe=* | --libex=* | --libe=*) 946 libexecdir=$ac_optarg ;; 947 948 -localedir | --localedir | --localedi | --localed | --locale) 949 ac_prev=localedir ;; 950 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 951 localedir=$ac_optarg ;; 952 953 -localstatedir | --localstatedir | --localstatedi | --localstated \ 954 | --localstate | --localstat | --localsta | --localst | --locals) 955 ac_prev=localstatedir ;; 956 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 957 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 958 localstatedir=$ac_optarg ;; 959 960 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 961 ac_prev=mandir ;; 962 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 963 mandir=$ac_optarg ;; 964 965 -nfp | --nfp | --nf) 966 # Obsolete; use --without-fp. 967 with_fp=no ;; 968 969 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 970 | --no-cr | --no-c | -n) 971 no_create=yes ;; 972 973 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 974 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 975 no_recursion=yes ;; 976 977 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 978 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 979 | --oldin | --oldi | --old | --ol | --o) 980 ac_prev=oldincludedir ;; 981 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 982 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 983 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 984 oldincludedir=$ac_optarg ;; 985 986 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 987 ac_prev=prefix ;; 988 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 989 prefix=$ac_optarg ;; 990 991 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 992 | --program-pre | --program-pr | --program-p) 993 ac_prev=program_prefix ;; 994 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 995 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 996 program_prefix=$ac_optarg ;; 997 998 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 999 | --program-suf | --program-su | --program-s) 1000 ac_prev=program_suffix ;; 1001 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1002 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1003 program_suffix=$ac_optarg ;; 1004 1005 -program-transform-name | --program-transform-name \ 1006 | --program-transform-nam | --program-transform-na \ 1007 | --program-transform-n | --program-transform- \ 1008 | --program-transform | --program-transfor \ 1009 | --program-transfo | --program-transf \ 1010 | --program-trans | --program-tran \ 1011 | --progr-tra | --program-tr | --program-t) 1012 ac_prev=program_transform_name ;; 1013 -program-transform-name=* | --program-transform-name=* \ 1014 | --program-transform-nam=* | --program-transform-na=* \ 1015 | --program-transform-n=* | --program-transform-=* \ 1016 | --program-transform=* | --program-transfor=* \ 1017 | --program-transfo=* | --program-transf=* \ 1018 | --program-trans=* | --program-tran=* \ 1019 | --progr-tra=* | --program-tr=* | --program-t=*) 1020 program_transform_name=$ac_optarg ;; 1021 1022 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1023 ac_prev=pdfdir ;; 1024 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1025 pdfdir=$ac_optarg ;; 1026 1027 -psdir | --psdir | --psdi | --psd | --ps) 1028 ac_prev=psdir ;; 1029 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1030 psdir=$ac_optarg ;; 1031 1032 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1033 | -silent | --silent | --silen | --sile | --sil) 1034 silent=yes ;; 1035 1036 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1037 | --runstate | --runstat | --runsta | --runst | --runs \ 1038 | --run | --ru | --r) 1039 ac_prev=runstatedir ;; 1040 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1041 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1042 | --run=* | --ru=* | --r=*) 1043 runstatedir=$ac_optarg ;; 1044 1045 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1046 ac_prev=sbindir ;; 1047 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1048 | --sbi=* | --sb=*) 1049 sbindir=$ac_optarg ;; 1050 1051 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1052 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1053 | --sharedst | --shareds | --shared | --share | --shar \ 1054 | --sha | --sh) 1055 ac_prev=sharedstatedir ;; 1056 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1057 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1058 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1059 | --sha=* | --sh=*) 1060 sharedstatedir=$ac_optarg ;; 1061 1062 -site | --site | --sit) 1063 ac_prev=site ;; 1064 -site=* | --site=* | --sit=*) 1065 site=$ac_optarg ;; 1066 1067 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1068 ac_prev=srcdir ;; 1069 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1070 srcdir=$ac_optarg ;; 1071 1072 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1073 | --syscon | --sysco | --sysc | --sys | --sy) 1074 ac_prev=sysconfdir ;; 1075 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1076 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1077 sysconfdir=$ac_optarg ;; 1078 1079 -target | --target | --targe | --targ | --tar | --ta | --t) 1080 ac_prev=target_alias ;; 1081 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1082 target_alias=$ac_optarg ;; 1083 1084 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1085 verbose=yes ;; 1086 1087 -version | --version | --versio | --versi | --vers | -V) 1088 ac_init_version=: ;; 1089 1090 -with-* | --with-*) 1091 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1092 # Reject names that are not valid shell variable names. 1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1094 as_fn_error $? "invalid package name: $ac_useropt" 1095 ac_useropt_orig=$ac_useropt 1096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1097 case $ac_user_opts in 1098 *" 1099"with_$ac_useropt" 1100"*) ;; 1101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1102 ac_unrecognized_sep=', ';; 1103 esac 1104 eval with_$ac_useropt=\$ac_optarg ;; 1105 1106 -without-* | --without-*) 1107 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1108 # Reject names that are not valid shell variable names. 1109 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1110 as_fn_error $? "invalid package name: $ac_useropt" 1111 ac_useropt_orig=$ac_useropt 1112 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1113 case $ac_user_opts in 1114 *" 1115"with_$ac_useropt" 1116"*) ;; 1117 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1118 ac_unrecognized_sep=', ';; 1119 esac 1120 eval with_$ac_useropt=no ;; 1121 1122 --x) 1123 # Obsolete; use --with-x. 1124 with_x=yes ;; 1125 1126 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1127 | --x-incl | --x-inc | --x-in | --x-i) 1128 ac_prev=x_includes ;; 1129 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1130 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1131 x_includes=$ac_optarg ;; 1132 1133 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1134 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1135 ac_prev=x_libraries ;; 1136 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1137 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1138 x_libraries=$ac_optarg ;; 1139 1140 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1141Try \`$0 --help' for more information" 1142 ;; 1143 1144 *=*) 1145 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1146 # Reject names that are not valid shell variable names. 1147 case $ac_envvar in #( 1148 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1149 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1150 esac 1151 eval $ac_envvar=\$ac_optarg 1152 export $ac_envvar ;; 1153 1154 *) 1155 # FIXME: should be removed in autoconf 3.0. 1156 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1157 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1158 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1159 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1160 ;; 1161 1162 esac 1163done 1164 1165if test -n "$ac_prev"; then 1166 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1167 as_fn_error $? "missing argument to $ac_option" 1168fi 1169 1170if test -n "$ac_unrecognized_opts"; then 1171 case $enable_option_checking in 1172 no) ;; 1173 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1174 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1175 esac 1176fi 1177 1178# Check all directory arguments for consistency. 1179for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1180 datadir sysconfdir sharedstatedir localstatedir includedir \ 1181 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1182 libdir localedir mandir runstatedir 1183do 1184 eval ac_val=\$$ac_var 1185 # Remove trailing slashes. 1186 case $ac_val in 1187 */ ) 1188 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1189 eval $ac_var=\$ac_val;; 1190 esac 1191 # Be sure to have absolute directory names. 1192 case $ac_val in 1193 [\\/$]* | ?:[\\/]* ) continue;; 1194 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1195 esac 1196 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1197done 1198 1199# There might be people who depend on the old broken behavior: `$host' 1200# used to hold the argument of --host etc. 1201# FIXME: To remove some day. 1202build=$build_alias 1203host=$host_alias 1204target=$target_alias 1205 1206# FIXME: To remove some day. 1207if test "x$host_alias" != x; then 1208 if test "x$build_alias" = x; then 1209 cross_compiling=maybe 1210 elif test "x$build_alias" != "x$host_alias"; then 1211 cross_compiling=yes 1212 fi 1213fi 1214 1215ac_tool_prefix= 1216test -n "$host_alias" && ac_tool_prefix=$host_alias- 1217 1218test "$silent" = yes && exec 6>/dev/null 1219 1220 1221ac_pwd=`pwd` && test -n "$ac_pwd" && 1222ac_ls_di=`ls -di .` && 1223ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1224 as_fn_error $? "working directory cannot be determined" 1225test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1226 as_fn_error $? "pwd does not report name of working directory" 1227 1228 1229# Find the source files, if location was not specified. 1230if test -z "$srcdir"; then 1231 ac_srcdir_defaulted=yes 1232 # Try the directory containing this script, then the parent directory. 1233 ac_confdir=`$as_dirname -- "$as_myself" || 1234$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1235 X"$as_myself" : 'X\(//\)[^/]' \| \ 1236 X"$as_myself" : 'X\(//\)$' \| \ 1237 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1238$as_echo X"$as_myself" | 1239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1240 s//\1/ 1241 q 1242 } 1243 /^X\(\/\/\)[^/].*/{ 1244 s//\1/ 1245 q 1246 } 1247 /^X\(\/\/\)$/{ 1248 s//\1/ 1249 q 1250 } 1251 /^X\(\/\).*/{ 1252 s//\1/ 1253 q 1254 } 1255 s/.*/./; q'` 1256 srcdir=$ac_confdir 1257 if test ! -r "$srcdir/$ac_unique_file"; then 1258 srcdir=.. 1259 fi 1260else 1261 ac_srcdir_defaulted=no 1262fi 1263if test ! -r "$srcdir/$ac_unique_file"; then 1264 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1265 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1266fi 1267ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1268ac_abs_confdir=`( 1269 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1270 pwd)` 1271# When building in place, set srcdir=. 1272if test "$ac_abs_confdir" = "$ac_pwd"; then 1273 srcdir=. 1274fi 1275# Remove unnecessary trailing slashes from srcdir. 1276# Double slashes in file names in object file debugging info 1277# mess up M-x gdb in Emacs. 1278case $srcdir in 1279*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1280esac 1281for ac_var in $ac_precious_vars; do 1282 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1283 eval ac_env_${ac_var}_value=\$${ac_var} 1284 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1285 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1286done 1287 1288# 1289# Report the --help message. 1290# 1291if test "$ac_init_help" = "long"; then 1292 # Omit some internal or obsolete options to make the list less imposing. 1293 # This message is too long to be a string in the A/UX 3.1 sh. 1294 cat <<_ACEOF 1295\`configure' configures ncdu 1.16 to adapt to many kinds of systems. 1296 1297Usage: $0 [OPTION]... [VAR=VALUE]... 1298 1299To assign environment variables (e.g., CC, CFLAGS...), specify them as 1300VAR=VALUE. See below for descriptions of some of the useful variables. 1301 1302Defaults for the options are specified in brackets. 1303 1304Configuration: 1305 -h, --help display this help and exit 1306 --help=short display options specific to this package 1307 --help=recursive display the short help of all the included packages 1308 -V, --version display version information and exit 1309 -q, --quiet, --silent do not print \`checking ...' messages 1310 --cache-file=FILE cache test results in FILE [disabled] 1311 -C, --config-cache alias for \`--cache-file=config.cache' 1312 -n, --no-create do not create output files 1313 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1314 1315Installation directories: 1316 --prefix=PREFIX install architecture-independent files in PREFIX 1317 [$ac_default_prefix] 1318 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1319 [PREFIX] 1320 1321By default, \`make install' will install all the files in 1322\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1323an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1324for instance \`--prefix=\$HOME'. 1325 1326For better control, use the options below. 1327 1328Fine tuning of the installation directories: 1329 --bindir=DIR user executables [EPREFIX/bin] 1330 --sbindir=DIR system admin executables [EPREFIX/sbin] 1331 --libexecdir=DIR program executables [EPREFIX/libexec] 1332 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1333 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1334 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1335 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1336 --libdir=DIR object code libraries [EPREFIX/lib] 1337 --includedir=DIR C header files [PREFIX/include] 1338 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1341 --infodir=DIR info documentation [DATAROOTDIR/info] 1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1343 --mandir=DIR man documentation [DATAROOTDIR/man] 1344 --docdir=DIR documentation root [DATAROOTDIR/doc/ncdu] 1345 --htmldir=DIR html documentation [DOCDIR] 1346 --dvidir=DIR dvi documentation [DOCDIR] 1347 --pdfdir=DIR pdf documentation [DOCDIR] 1348 --psdir=DIR ps documentation [DOCDIR] 1349_ACEOF 1350 1351 cat <<\_ACEOF 1352 1353Program names: 1354 --program-prefix=PREFIX prepend PREFIX to installed program names 1355 --program-suffix=SUFFIX append SUFFIX to installed program names 1356 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1357_ACEOF 1358fi 1359 1360if test -n "$ac_init_help"; then 1361 case $ac_init_help in 1362 short | recursive ) echo "Configuration of ncdu 1.16:";; 1363 esac 1364 cat <<\_ACEOF 1365 1366Optional Features: 1367 --disable-option-checking ignore unrecognized --enable/--with options 1368 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1369 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1370 --enable-silent-rules less verbose build output (undo: "make V=1") 1371 --disable-silent-rules verbose build output (undo: "make V=0") 1372 --enable-dependency-tracking 1373 do not reject slow dependency extractors 1374 --disable-dependency-tracking 1375 speeds up one-time build 1376 --disable-largefile omit support for large files 1377 1378Optional Packages: 1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1381 --with-ncurses compile/link with ncurses library 1382 --with-ncursesw compile/link with wide-char ncurses library 1383 [default] 1384 --with-shell used interpreter as default shell (default is 1385 /bin/sh) 1386 1387Some influential environment variables: 1388 CC C compiler command 1389 CFLAGS C compiler flags 1390 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1391 nonstandard directory <lib dir> 1392 LIBS libraries to pass to the linker, e.g. -l<library> 1393 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1394 you have headers in a nonstandard directory <include dir> 1395 PKG_CONFIG path to pkg-config utility 1396 PKG_CONFIG_PATH 1397 directories to add to pkg-config's search path 1398 PKG_CONFIG_LIBDIR 1399 path overriding pkg-config's built-in search path 1400 CPP C preprocessor 1401 NCURSES_CFLAGS 1402 C compiler flags for NCURSES, overriding pkg-config 1403 NCURSES_LIBS 1404 linker flags for NCURSES, overriding pkg-config 1405 1406Use these variables to override the choices made by `configure' or to help 1407it to find libraries and programs with nonstandard names/locations. 1408 1409Report bugs to <projects@yorhel.nl>. 1410_ACEOF 1411ac_status=$? 1412fi 1413 1414if test "$ac_init_help" = "recursive"; then 1415 # If there are subdirs, report their specific --help. 1416 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1417 test -d "$ac_dir" || 1418 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1419 continue 1420 ac_builddir=. 1421 1422case "$ac_dir" in 1423.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1424*) 1425 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1426 # A ".." for each directory in $ac_dir_suffix. 1427 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1428 case $ac_top_builddir_sub in 1429 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1430 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1431 esac ;; 1432esac 1433ac_abs_top_builddir=$ac_pwd 1434ac_abs_builddir=$ac_pwd$ac_dir_suffix 1435# for backward compatibility: 1436ac_top_builddir=$ac_top_build_prefix 1437 1438case $srcdir in 1439 .) # We are building in place. 1440 ac_srcdir=. 1441 ac_top_srcdir=$ac_top_builddir_sub 1442 ac_abs_top_srcdir=$ac_pwd ;; 1443 [\\/]* | ?:[\\/]* ) # Absolute name. 1444 ac_srcdir=$srcdir$ac_dir_suffix; 1445 ac_top_srcdir=$srcdir 1446 ac_abs_top_srcdir=$srcdir ;; 1447 *) # Relative name. 1448 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1449 ac_top_srcdir=$ac_top_build_prefix$srcdir 1450 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1451esac 1452ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1453 1454 cd "$ac_dir" || { ac_status=$?; continue; } 1455 # Check for guested configure. 1456 if test -f "$ac_srcdir/configure.gnu"; then 1457 echo && 1458 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1459 elif test -f "$ac_srcdir/configure"; then 1460 echo && 1461 $SHELL "$ac_srcdir/configure" --help=recursive 1462 else 1463 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1464 fi || ac_status=$? 1465 cd "$ac_pwd" || { ac_status=$?; break; } 1466 done 1467fi 1468 1469test -n "$ac_init_help" && exit $ac_status 1470if $ac_init_version; then 1471 cat <<\_ACEOF 1472ncdu configure 1.16 1473generated by GNU Autoconf 2.69 1474 1475Copyright (C) 2012 Free Software Foundation, Inc. 1476This configure script is free software; the Free Software Foundation 1477gives unlimited permission to copy, distribute and modify it. 1478_ACEOF 1479 exit 1480fi 1481 1482## ------------------------ ## 1483## Autoconf initialization. ## 1484## ------------------------ ## 1485 1486# ac_fn_c_try_compile LINENO 1487# -------------------------- 1488# Try to compile conftest.$ac_ext, and return whether this succeeded. 1489ac_fn_c_try_compile () 1490{ 1491 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1492 rm -f conftest.$ac_objext 1493 if { { ac_try="$ac_compile" 1494case "(($ac_try" in 1495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1496 *) ac_try_echo=$ac_try;; 1497esac 1498eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1499$as_echo "$ac_try_echo"; } >&5 1500 (eval "$ac_compile") 2>conftest.err 1501 ac_status=$? 1502 if test -s conftest.err; then 1503 grep -v '^ *+' conftest.err >conftest.er1 1504 cat conftest.er1 >&5 1505 mv -f conftest.er1 conftest.err 1506 fi 1507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1508 test $ac_status = 0; } && { 1509 test -z "$ac_c_werror_flag" || 1510 test ! -s conftest.err 1511 } && test -s conftest.$ac_objext; then : 1512 ac_retval=0 1513else 1514 $as_echo "$as_me: failed program was:" >&5 1515sed 's/^/| /' conftest.$ac_ext >&5 1516 1517 ac_retval=1 1518fi 1519 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1520 as_fn_set_status $ac_retval 1521 1522} # ac_fn_c_try_compile 1523 1524# ac_fn_c_try_cpp LINENO 1525# ---------------------- 1526# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1527ac_fn_c_try_cpp () 1528{ 1529 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1530 if { { ac_try="$ac_cpp conftest.$ac_ext" 1531case "(($ac_try" in 1532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1533 *) ac_try_echo=$ac_try;; 1534esac 1535eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1536$as_echo "$ac_try_echo"; } >&5 1537 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1538 ac_status=$? 1539 if test -s conftest.err; then 1540 grep -v '^ *+' conftest.err >conftest.er1 1541 cat conftest.er1 >&5 1542 mv -f conftest.er1 conftest.err 1543 fi 1544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1545 test $ac_status = 0; } > conftest.i && { 1546 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1547 test ! -s conftest.err 1548 }; then : 1549 ac_retval=0 1550else 1551 $as_echo "$as_me: failed program was:" >&5 1552sed 's/^/| /' conftest.$ac_ext >&5 1553 1554 ac_retval=1 1555fi 1556 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1557 as_fn_set_status $ac_retval 1558 1559} # ac_fn_c_try_cpp 1560 1561# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1562# ------------------------------------------------------- 1563# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1564# the include files in INCLUDES and setting the cache variable VAR 1565# accordingly. 1566ac_fn_c_check_header_mongrel () 1567{ 1568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1569 if eval \${$3+:} false; then : 1570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1571$as_echo_n "checking for $2... " >&6; } 1572if eval \${$3+:} false; then : 1573 $as_echo_n "(cached) " >&6 1574fi 1575eval ac_res=\$$3 1576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1577$as_echo "$ac_res" >&6; } 1578else 1579 # Is the header compilable? 1580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1581$as_echo_n "checking $2 usability... " >&6; } 1582cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1583/* end confdefs.h. */ 1584$4 1585#include <$2> 1586_ACEOF 1587if ac_fn_c_try_compile "$LINENO"; then : 1588 ac_header_compiler=yes 1589else 1590 ac_header_compiler=no 1591fi 1592rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1594$as_echo "$ac_header_compiler" >&6; } 1595 1596# Is the header present? 1597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1598$as_echo_n "checking $2 presence... " >&6; } 1599cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1600/* end confdefs.h. */ 1601#include <$2> 1602_ACEOF 1603if ac_fn_c_try_cpp "$LINENO"; then : 1604 ac_header_preproc=yes 1605else 1606 ac_header_preproc=no 1607fi 1608rm -f conftest.err conftest.i conftest.$ac_ext 1609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1610$as_echo "$ac_header_preproc" >&6; } 1611 1612# So? What about this header? 1613case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1614 yes:no: ) 1615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1616$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1618$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1619 ;; 1620 no:yes:* ) 1621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1622$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1624$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1626$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1628$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1630$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1631( $as_echo "## --------------------------------- ## 1632## Report this to projects@yorhel.nl ## 1633## --------------------------------- ##" 1634 ) | sed "s/^/$as_me: WARNING: /" >&2 1635 ;; 1636esac 1637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1638$as_echo_n "checking for $2... " >&6; } 1639if eval \${$3+:} false; then : 1640 $as_echo_n "(cached) " >&6 1641else 1642 eval "$3=\$ac_header_compiler" 1643fi 1644eval ac_res=\$$3 1645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1646$as_echo "$ac_res" >&6; } 1647fi 1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1649 1650} # ac_fn_c_check_header_mongrel 1651 1652# ac_fn_c_try_run LINENO 1653# ---------------------- 1654# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1655# that executables *can* be run. 1656ac_fn_c_try_run () 1657{ 1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1659 if { { ac_try="$ac_link" 1660case "(($ac_try" in 1661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1662 *) ac_try_echo=$ac_try;; 1663esac 1664eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1665$as_echo "$ac_try_echo"; } >&5 1666 (eval "$ac_link") 2>&5 1667 ac_status=$? 1668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1669 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1670 { { case "(($ac_try" in 1671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1672 *) ac_try_echo=$ac_try;; 1673esac 1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1675$as_echo "$ac_try_echo"; } >&5 1676 (eval "$ac_try") 2>&5 1677 ac_status=$? 1678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1679 test $ac_status = 0; }; }; then : 1680 ac_retval=0 1681else 1682 $as_echo "$as_me: program exited with status $ac_status" >&5 1683 $as_echo "$as_me: failed program was:" >&5 1684sed 's/^/| /' conftest.$ac_ext >&5 1685 1686 ac_retval=$ac_status 1687fi 1688 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1690 as_fn_set_status $ac_retval 1691 1692} # ac_fn_c_try_run 1693 1694# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1695# ------------------------------------------------------- 1696# Tests whether HEADER exists and can be compiled using the include files in 1697# INCLUDES, setting the cache variable VAR accordingly. 1698ac_fn_c_check_header_compile () 1699{ 1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1702$as_echo_n "checking for $2... " >&6; } 1703if eval \${$3+:} false; then : 1704 $as_echo_n "(cached) " >&6 1705else 1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1707/* end confdefs.h. */ 1708$4 1709#include <$2> 1710_ACEOF 1711if ac_fn_c_try_compile "$LINENO"; then : 1712 eval "$3=yes" 1713else 1714 eval "$3=no" 1715fi 1716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1717fi 1718eval ac_res=\$$3 1719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1720$as_echo "$ac_res" >&6; } 1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1722 1723} # ac_fn_c_check_header_compile 1724 1725# ac_fn_c_find_intX_t LINENO BITS VAR 1726# ----------------------------------- 1727# Finds a signed integer type with width BITS, setting cache variable VAR 1728# accordingly. 1729ac_fn_c_find_intX_t () 1730{ 1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 1733$as_echo_n "checking for int$2_t... " >&6; } 1734if eval \${$3+:} false; then : 1735 $as_echo_n "(cached) " >&6 1736else 1737 eval "$3=no" 1738 # Order is important - never check a type that is potentially smaller 1739 # than half of the expected target width. 1740 for ac_type in int$2_t 'int' 'long int' \ 1741 'long long int' 'short int' 'signed char'; do 1742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1743/* end confdefs.h. */ 1744$ac_includes_default 1745 enum { N = $2 / 2 - 1 }; 1746int 1747main () 1748{ 1749static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; 1750test_array [0] = 0; 1751return test_array [0]; 1752 1753 ; 1754 return 0; 1755} 1756_ACEOF 1757if ac_fn_c_try_compile "$LINENO"; then : 1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1759/* end confdefs.h. */ 1760$ac_includes_default 1761 enum { N = $2 / 2 - 1 }; 1762int 1763main () 1764{ 1765static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) 1766 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 1767test_array [0] = 0; 1768return test_array [0]; 1769 1770 ; 1771 return 0; 1772} 1773_ACEOF 1774if ac_fn_c_try_compile "$LINENO"; then : 1775 1776else 1777 case $ac_type in #( 1778 int$2_t) : 1779 eval "$3=yes" ;; #( 1780 *) : 1781 eval "$3=\$ac_type" ;; 1782esac 1783fi 1784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1785fi 1786rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1787 if eval test \"x\$"$3"\" = x"no"; then : 1788 1789else 1790 break 1791fi 1792 done 1793fi 1794eval ac_res=\$$3 1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1796$as_echo "$ac_res" >&6; } 1797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1798 1799} # ac_fn_c_find_intX_t 1800 1801# ac_fn_c_find_uintX_t LINENO BITS VAR 1802# ------------------------------------ 1803# Finds an unsigned integer type with width BITS, setting cache variable VAR 1804# accordingly. 1805ac_fn_c_find_uintX_t () 1806{ 1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 1809$as_echo_n "checking for uint$2_t... " >&6; } 1810if eval \${$3+:} false; then : 1811 $as_echo_n "(cached) " >&6 1812else 1813 eval "$3=no" 1814 # Order is important - never check a type that is potentially smaller 1815 # than half of the expected target width. 1816 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 1817 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1819/* end confdefs.h. */ 1820$ac_includes_default 1821int 1822main () 1823{ 1824static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 1825test_array [0] = 0; 1826return test_array [0]; 1827 1828 ; 1829 return 0; 1830} 1831_ACEOF 1832if ac_fn_c_try_compile "$LINENO"; then : 1833 case $ac_type in #( 1834 uint$2_t) : 1835 eval "$3=yes" ;; #( 1836 *) : 1837 eval "$3=\$ac_type" ;; 1838esac 1839fi 1840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1841 if eval test \"x\$"$3"\" = x"no"; then : 1842 1843else 1844 break 1845fi 1846 done 1847fi 1848eval ac_res=\$$3 1849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1850$as_echo "$ac_res" >&6; } 1851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1852 1853} # ac_fn_c_find_uintX_t 1854 1855# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 1856# ---------------------------------------------------- 1857# Tries to find if the field MEMBER exists in type AGGR, after including 1858# INCLUDES, setting cache variable VAR accordingly. 1859ac_fn_c_check_member () 1860{ 1861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 1863$as_echo_n "checking for $2.$3... " >&6; } 1864if eval \${$4+:} false; then : 1865 $as_echo_n "(cached) " >&6 1866else 1867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1868/* end confdefs.h. */ 1869$5 1870int 1871main () 1872{ 1873static $2 ac_aggr; 1874if (ac_aggr.$3) 1875return 0; 1876 ; 1877 return 0; 1878} 1879_ACEOF 1880if ac_fn_c_try_compile "$LINENO"; then : 1881 eval "$4=yes" 1882else 1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1884/* end confdefs.h. */ 1885$5 1886int 1887main () 1888{ 1889static $2 ac_aggr; 1890if (sizeof ac_aggr.$3) 1891return 0; 1892 ; 1893 return 0; 1894} 1895_ACEOF 1896if ac_fn_c_try_compile "$LINENO"; then : 1897 eval "$4=yes" 1898else 1899 eval "$4=no" 1900fi 1901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1902fi 1903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1904fi 1905eval ac_res=\$$4 1906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1907$as_echo "$ac_res" >&6; } 1908 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1909 1910} # ac_fn_c_check_member 1911 1912# ac_fn_c_try_link LINENO 1913# ----------------------- 1914# Try to link conftest.$ac_ext, and return whether this succeeded. 1915ac_fn_c_try_link () 1916{ 1917 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1918 rm -f conftest.$ac_objext conftest$ac_exeext 1919 if { { ac_try="$ac_link" 1920case "(($ac_try" in 1921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1922 *) ac_try_echo=$ac_try;; 1923esac 1924eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1925$as_echo "$ac_try_echo"; } >&5 1926 (eval "$ac_link") 2>conftest.err 1927 ac_status=$? 1928 if test -s conftest.err; then 1929 grep -v '^ *+' conftest.err >conftest.er1 1930 cat conftest.er1 >&5 1931 mv -f conftest.er1 conftest.err 1932 fi 1933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1934 test $ac_status = 0; } && { 1935 test -z "$ac_c_werror_flag" || 1936 test ! -s conftest.err 1937 } && test -s conftest$ac_exeext && { 1938 test "$cross_compiling" = yes || 1939 test -x conftest$ac_exeext 1940 }; then : 1941 ac_retval=0 1942else 1943 $as_echo "$as_me: failed program was:" >&5 1944sed 's/^/| /' conftest.$ac_ext >&5 1945 1946 ac_retval=1 1947fi 1948 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1949 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1950 # interfere with the next link command; also delete a directory that is 1951 # left behind by Apple's compiler. We do this before executing the actions. 1952 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1953 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1954 as_fn_set_status $ac_retval 1955 1956} # ac_fn_c_try_link 1957 1958# ac_fn_c_check_func LINENO FUNC VAR 1959# ---------------------------------- 1960# Tests whether FUNC exists, setting the cache variable VAR accordingly 1961ac_fn_c_check_func () 1962{ 1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1965$as_echo_n "checking for $2... " >&6; } 1966if eval \${$3+:} false; then : 1967 $as_echo_n "(cached) " >&6 1968else 1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1970/* end confdefs.h. */ 1971/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1972 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1973#define $2 innocuous_$2 1974 1975/* System header to define __stub macros and hopefully few prototypes, 1976 which can conflict with char $2 (); below. 1977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1978 <limits.h> exists even on freestanding compilers. */ 1979 1980#ifdef __STDC__ 1981# include <limits.h> 1982#else 1983# include <assert.h> 1984#endif 1985 1986#undef $2 1987 1988/* Override any GCC internal prototype to avoid an error. 1989 Use char because int might match the return type of a GCC 1990 builtin and then its argument prototype would still apply. */ 1991#ifdef __cplusplus 1992extern "C" 1993#endif 1994char $2 (); 1995/* The GNU C library defines this for functions which it implements 1996 to always fail with ENOSYS. Some functions are actually named 1997 something starting with __ and the normal name is an alias. */ 1998#if defined __stub_$2 || defined __stub___$2 1999choke me 2000#endif 2001 2002int 2003main () 2004{ 2005return $2 (); 2006 ; 2007 return 0; 2008} 2009_ACEOF 2010if ac_fn_c_try_link "$LINENO"; then : 2011 eval "$3=yes" 2012else 2013 eval "$3=no" 2014fi 2015rm -f core conftest.err conftest.$ac_objext \ 2016 conftest$ac_exeext conftest.$ac_ext 2017fi 2018eval ac_res=\$$3 2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2020$as_echo "$ac_res" >&6; } 2021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2022 2023} # ac_fn_c_check_func 2024 2025# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2026# --------------------------------------------- 2027# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2028# accordingly. 2029ac_fn_c_check_decl () 2030{ 2031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2032 as_decl_name=`echo $2|sed 's/ *(.*//'` 2033 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2035$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2036if eval \${$3+:} false; then : 2037 $as_echo_n "(cached) " >&6 2038else 2039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2040/* end confdefs.h. */ 2041$4 2042int 2043main () 2044{ 2045#ifndef $as_decl_name 2046#ifdef __cplusplus 2047 (void) $as_decl_use; 2048#else 2049 (void) $as_decl_name; 2050#endif 2051#endif 2052 2053 ; 2054 return 0; 2055} 2056_ACEOF 2057if ac_fn_c_try_compile "$LINENO"; then : 2058 eval "$3=yes" 2059else 2060 eval "$3=no" 2061fi 2062rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2063fi 2064eval ac_res=\$$3 2065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2066$as_echo "$ac_res" >&6; } 2067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2068 2069} # ac_fn_c_check_decl 2070cat >config.log <<_ACEOF 2071This file contains any messages produced by compilers while 2072running configure, to aid debugging if configure makes a mistake. 2073 2074It was created by ncdu $as_me 1.16, which was 2075generated by GNU Autoconf 2.69. Invocation command line was 2076 2077 $ $0 $@ 2078 2079_ACEOF 2080exec 5>>config.log 2081{ 2082cat <<_ASUNAME 2083## --------- ## 2084## Platform. ## 2085## --------- ## 2086 2087hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2088uname -m = `(uname -m) 2>/dev/null || echo unknown` 2089uname -r = `(uname -r) 2>/dev/null || echo unknown` 2090uname -s = `(uname -s) 2>/dev/null || echo unknown` 2091uname -v = `(uname -v) 2>/dev/null || echo unknown` 2092 2093/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2094/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2095 2096/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2097/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2098/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2099/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2100/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2101/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2102/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2103 2104_ASUNAME 2105 2106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2107for as_dir in $PATH 2108do 2109 IFS=$as_save_IFS 2110 test -z "$as_dir" && as_dir=. 2111 $as_echo "PATH: $as_dir" 2112 done 2113IFS=$as_save_IFS 2114 2115} >&5 2116 2117cat >&5 <<_ACEOF 2118 2119 2120## ----------- ## 2121## Core tests. ## 2122## ----------- ## 2123 2124_ACEOF 2125 2126 2127# Keep a trace of the command line. 2128# Strip out --no-create and --no-recursion so they do not pile up. 2129# Strip out --silent because we don't want to record it for future runs. 2130# Also quote any args containing shell meta-characters. 2131# Make two passes to allow for proper duplicate-argument suppression. 2132ac_configure_args= 2133ac_configure_args0= 2134ac_configure_args1= 2135ac_must_keep_next=false 2136for ac_pass in 1 2 2137do 2138 for ac_arg 2139 do 2140 case $ac_arg in 2141 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2142 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2143 | -silent | --silent | --silen | --sile | --sil) 2144 continue ;; 2145 *\'*) 2146 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2147 esac 2148 case $ac_pass in 2149 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2150 2) 2151 as_fn_append ac_configure_args1 " '$ac_arg'" 2152 if test $ac_must_keep_next = true; then 2153 ac_must_keep_next=false # Got value, back to normal. 2154 else 2155 case $ac_arg in 2156 *=* | --config-cache | -C | -disable-* | --disable-* \ 2157 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2158 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2159 | -with-* | --with-* | -without-* | --without-* | --x) 2160 case "$ac_configure_args0 " in 2161 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2162 esac 2163 ;; 2164 -* ) ac_must_keep_next=true ;; 2165 esac 2166 fi 2167 as_fn_append ac_configure_args " '$ac_arg'" 2168 ;; 2169 esac 2170 done 2171done 2172{ ac_configure_args0=; unset ac_configure_args0;} 2173{ ac_configure_args1=; unset ac_configure_args1;} 2174 2175# When interrupted or exit'd, cleanup temporary files, and complete 2176# config.log. We remove comments because anyway the quotes in there 2177# would cause problems or look ugly. 2178# WARNING: Use '\'' to represent an apostrophe within the trap. 2179# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2180trap 'exit_status=$? 2181 # Save into config.log some information that might help in debugging. 2182 { 2183 echo 2184 2185 $as_echo "## ---------------- ## 2186## Cache variables. ## 2187## ---------------- ##" 2188 echo 2189 # The following way of writing the cache mishandles newlines in values, 2190( 2191 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2192 eval ac_val=\$$ac_var 2193 case $ac_val in #( 2194 *${as_nl}*) 2195 case $ac_var in #( 2196 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2197$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2198 esac 2199 case $ac_var in #( 2200 _ | IFS | as_nl) ;; #( 2201 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2202 *) { eval $ac_var=; unset $ac_var;} ;; 2203 esac ;; 2204 esac 2205 done 2206 (set) 2>&1 | 2207 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2208 *${as_nl}ac_space=\ *) 2209 sed -n \ 2210 "s/'\''/'\''\\\\'\'''\''/g; 2211 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2212 ;; #( 2213 *) 2214 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2215 ;; 2216 esac | 2217 sort 2218) 2219 echo 2220 2221 $as_echo "## ----------------- ## 2222## Output variables. ## 2223## ----------------- ##" 2224 echo 2225 for ac_var in $ac_subst_vars 2226 do 2227 eval ac_val=\$$ac_var 2228 case $ac_val in 2229 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2230 esac 2231 $as_echo "$ac_var='\''$ac_val'\''" 2232 done | sort 2233 echo 2234 2235 if test -n "$ac_subst_files"; then 2236 $as_echo "## ------------------- ## 2237## File substitutions. ## 2238## ------------------- ##" 2239 echo 2240 for ac_var in $ac_subst_files 2241 do 2242 eval ac_val=\$$ac_var 2243 case $ac_val in 2244 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2245 esac 2246 $as_echo "$ac_var='\''$ac_val'\''" 2247 done | sort 2248 echo 2249 fi 2250 2251 if test -s confdefs.h; then 2252 $as_echo "## ----------- ## 2253## confdefs.h. ## 2254## ----------- ##" 2255 echo 2256 cat confdefs.h 2257 echo 2258 fi 2259 test "$ac_signal" != 0 && 2260 $as_echo "$as_me: caught signal $ac_signal" 2261 $as_echo "$as_me: exit $exit_status" 2262 } >&5 2263 rm -f core *.core core.conftest.* && 2264 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2265 exit $exit_status 2266' 0 2267for ac_signal in 1 2 13 15; do 2268 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2269done 2270ac_signal=0 2271 2272# confdefs.h avoids OS command line length limits that DEFS can exceed. 2273rm -f -r conftest* confdefs.h 2274 2275$as_echo "/* confdefs.h */" > confdefs.h 2276 2277# Predefined preprocessor variables. 2278 2279cat >>confdefs.h <<_ACEOF 2280#define PACKAGE_NAME "$PACKAGE_NAME" 2281_ACEOF 2282 2283cat >>confdefs.h <<_ACEOF 2284#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2285_ACEOF 2286 2287cat >>confdefs.h <<_ACEOF 2288#define PACKAGE_VERSION "$PACKAGE_VERSION" 2289_ACEOF 2290 2291cat >>confdefs.h <<_ACEOF 2292#define PACKAGE_STRING "$PACKAGE_STRING" 2293_ACEOF 2294 2295cat >>confdefs.h <<_ACEOF 2296#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2297_ACEOF 2298 2299cat >>confdefs.h <<_ACEOF 2300#define PACKAGE_URL "$PACKAGE_URL" 2301_ACEOF 2302 2303 2304# Let the site file select an alternate cache file if it wants to. 2305# Prefer an explicitly selected file to automatically selected ones. 2306ac_site_file1=NONE 2307ac_site_file2=NONE 2308if test -n "$CONFIG_SITE"; then 2309 # We do not want a PATH search for config.site. 2310 case $CONFIG_SITE in #(( 2311 -*) ac_site_file1=./$CONFIG_SITE;; 2312 */*) ac_site_file1=$CONFIG_SITE;; 2313 *) ac_site_file1=./$CONFIG_SITE;; 2314 esac 2315elif test "x$prefix" != xNONE; then 2316 ac_site_file1=$prefix/share/config.site 2317 ac_site_file2=$prefix/etc/config.site 2318else 2319 ac_site_file1=$ac_default_prefix/share/config.site 2320 ac_site_file2=$ac_default_prefix/etc/config.site 2321fi 2322for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2323do 2324 test "x$ac_site_file" = xNONE && continue 2325 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2326 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2327$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2328 sed 's/^/| /' "$ac_site_file" >&5 2329 . "$ac_site_file" \ 2330 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2331$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2332as_fn_error $? "failed to load site script $ac_site_file 2333See \`config.log' for more details" "$LINENO" 5; } 2334 fi 2335done 2336 2337if test -r "$cache_file"; then 2338 # Some versions of bash will fail to source /dev/null (special files 2339 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2340 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2341 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2342$as_echo "$as_me: loading cache $cache_file" >&6;} 2343 case $cache_file in 2344 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2345 *) . "./$cache_file";; 2346 esac 2347 fi 2348else 2349 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2350$as_echo "$as_me: creating cache $cache_file" >&6;} 2351 >$cache_file 2352fi 2353 2354# Check that the precious variables saved in the cache have kept the same 2355# value. 2356ac_cache_corrupted=false 2357for ac_var in $ac_precious_vars; do 2358 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2359 eval ac_new_set=\$ac_env_${ac_var}_set 2360 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2361 eval ac_new_val=\$ac_env_${ac_var}_value 2362 case $ac_old_set,$ac_new_set in 2363 set,) 2364 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2365$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2366 ac_cache_corrupted=: ;; 2367 ,set) 2368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2369$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2370 ac_cache_corrupted=: ;; 2371 ,);; 2372 *) 2373 if test "x$ac_old_val" != "x$ac_new_val"; then 2374 # differences in whitespace do not lead to failure. 2375 ac_old_val_w=`echo x $ac_old_val` 2376 ac_new_val_w=`echo x $ac_new_val` 2377 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2378 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2379$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2380 ac_cache_corrupted=: 2381 else 2382 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2383$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2384 eval $ac_var=\$ac_old_val 2385 fi 2386 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2387$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2388 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2389$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2390 fi;; 2391 esac 2392 # Pass precious variables to config.status. 2393 if test "$ac_new_set" = set; then 2394 case $ac_new_val in 2395 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2396 *) ac_arg=$ac_var=$ac_new_val ;; 2397 esac 2398 case " $ac_configure_args " in 2399 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2400 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2401 esac 2402 fi 2403done 2404if $ac_cache_corrupted; then 2405 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2406$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2407 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2408$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2409 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2410fi 2411## -------------------- ## 2412## Main body of script. ## 2413## -------------------- ## 2414 2415ac_ext=c 2416ac_cpp='$CPP $CPPFLAGS' 2417ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2418ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2419ac_compiler_gnu=$ac_cv_c_compiler_gnu 2420 2421 2422 2423ac_config_headers="$ac_config_headers config.h" 2424 2425am__api_version='1.16' 2426 2427ac_aux_dir= 2428for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2429 if test -f "$ac_dir/install-sh"; then 2430 ac_aux_dir=$ac_dir 2431 ac_install_sh="$ac_aux_dir/install-sh -c" 2432 break 2433 elif test -f "$ac_dir/install.sh"; then 2434 ac_aux_dir=$ac_dir 2435 ac_install_sh="$ac_aux_dir/install.sh -c" 2436 break 2437 elif test -f "$ac_dir/shtool"; then 2438 ac_aux_dir=$ac_dir 2439 ac_install_sh="$ac_aux_dir/shtool install -c" 2440 break 2441 fi 2442done 2443if test -z "$ac_aux_dir"; then 2444 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2445fi 2446 2447# These three variables are undocumented and unsupported, 2448# and are intended to be withdrawn in a future Autoconf release. 2449# They can cause serious problems if a builder's source tree is in a directory 2450# whose full name contains unusual characters. 2451ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2452ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2453ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2454 2455 2456# Find a good install program. We prefer a C program (faster), 2457# so one script is as good as another. But avoid the broken or 2458# incompatible versions: 2459# SysV /etc/install, /usr/sbin/install 2460# SunOS /usr/etc/install 2461# IRIX /sbin/install 2462# AIX /bin/install 2463# AmigaOS /C/install, which installs bootblocks on floppy discs 2464# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2465# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2466# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2467# OS/2's system install, which has a completely different semantic 2468# ./install, which can be erroneously created by make from ./install.sh. 2469# Reject install programs that cannot install multiple files. 2470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2471$as_echo_n "checking for a BSD-compatible install... " >&6; } 2472if test -z "$INSTALL"; then 2473if ${ac_cv_path_install+:} false; then : 2474 $as_echo_n "(cached) " >&6 2475else 2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2477for as_dir in $PATH 2478do 2479 IFS=$as_save_IFS 2480 test -z "$as_dir" && as_dir=. 2481 # Account for people who put trailing slashes in PATH elements. 2482case $as_dir/ in #(( 2483 ./ | .// | /[cC]/* | \ 2484 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2485 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2486 /usr/ucb/* ) ;; 2487 *) 2488 # OSF1 and SCO ODT 3.0 have their own names for install. 2489 # Don't use installbsd from OSF since it installs stuff as root 2490 # by default. 2491 for ac_prog in ginstall scoinst install; do 2492 for ac_exec_ext in '' $ac_executable_extensions; do 2493 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2494 if test $ac_prog = install && 2495 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2496 # AIX install. It has an incompatible calling convention. 2497 : 2498 elif test $ac_prog = install && 2499 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2500 # program-specific install script used by HP pwplus--don't use. 2501 : 2502 else 2503 rm -rf conftest.one conftest.two conftest.dir 2504 echo one > conftest.one 2505 echo two > conftest.two 2506 mkdir conftest.dir 2507 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2508 test -s conftest.one && test -s conftest.two && 2509 test -s conftest.dir/conftest.one && 2510 test -s conftest.dir/conftest.two 2511 then 2512 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2513 break 3 2514 fi 2515 fi 2516 fi 2517 done 2518 done 2519 ;; 2520esac 2521 2522 done 2523IFS=$as_save_IFS 2524 2525rm -rf conftest.one conftest.two conftest.dir 2526 2527fi 2528 if test "${ac_cv_path_install+set}" = set; then 2529 INSTALL=$ac_cv_path_install 2530 else 2531 # As a last resort, use the slow shell script. Don't cache a 2532 # value for INSTALL within a source directory, because that will 2533 # break other packages using the cache if that directory is 2534 # removed, or if the value is a relative name. 2535 INSTALL=$ac_install_sh 2536 fi 2537fi 2538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2539$as_echo "$INSTALL" >&6; } 2540 2541# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2542# It thinks the first close brace ends the variable substitution. 2543test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2544 2545test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2546 2547test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2548 2549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2550$as_echo_n "checking whether build environment is sane... " >&6; } 2551# Reject unsafe characters in $srcdir or the absolute working directory 2552# name. Accept space and tab only in the latter. 2553am_lf=' 2554' 2555case `pwd` in 2556 *[\\\"\#\$\&\'\`$am_lf]*) 2557 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2558esac 2559case $srcdir in 2560 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2561 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2562esac 2563 2564# Do 'set' in a subshell so we don't clobber the current shell's 2565# arguments. Must try -L first in case configure is actually a 2566# symlink; some systems play weird games with the mod time of symlinks 2567# (eg FreeBSD returns the mod time of the symlink's containing 2568# directory). 2569if ( 2570 am_has_slept=no 2571 for am_try in 1 2; do 2572 echo "timestamp, slept: $am_has_slept" > conftest.file 2573 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2574 if test "$*" = "X"; then 2575 # -L didn't work. 2576 set X `ls -t "$srcdir/configure" conftest.file` 2577 fi 2578 if test "$*" != "X $srcdir/configure conftest.file" \ 2579 && test "$*" != "X conftest.file $srcdir/configure"; then 2580 2581 # If neither matched, then we have a broken ls. This can happen 2582 # if, for instance, CONFIG_SHELL is bash and it inherits a 2583 # broken ls alias from the environment. This has actually 2584 # happened. Such a system could not be considered "sane". 2585 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2586 alias in your environment" "$LINENO" 5 2587 fi 2588 if test "$2" = conftest.file || test $am_try -eq 2; then 2589 break 2590 fi 2591 # Just in case. 2592 sleep 1 2593 am_has_slept=yes 2594 done 2595 test "$2" = conftest.file 2596 ) 2597then 2598 # Ok. 2599 : 2600else 2601 as_fn_error $? "newly created file is older than distributed files! 2602Check your system clock" "$LINENO" 5 2603fi 2604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2605$as_echo "yes" >&6; } 2606# If we didn't sleep, we still need to ensure time stamps of config.status and 2607# generated files are strictly newer. 2608am_sleep_pid= 2609if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2610 ( sleep 1 ) & 2611 am_sleep_pid=$! 2612fi 2613 2614rm -f conftest.file 2615 2616test "$program_prefix" != NONE && 2617 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2618# Use a double $ so make ignores it. 2619test "$program_suffix" != NONE && 2620 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2621# Double any \ or $. 2622# By default was `s,x,x', remove it if useless. 2623ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2624program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2625 2626# Expand $ac_aux_dir to an absolute path. 2627am_aux_dir=`cd "$ac_aux_dir" && pwd` 2628 2629if test x"${MISSING+set}" != xset; then 2630 MISSING="\${SHELL} '$am_aux_dir/missing'" 2631fi 2632# Use eval to expand $SHELL 2633if eval "$MISSING --is-lightweight"; then 2634 am_missing_run="$MISSING " 2635else 2636 am_missing_run= 2637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2638$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2639fi 2640 2641if test x"${install_sh+set}" != xset; then 2642 case $am_aux_dir in 2643 *\ * | *\ *) 2644 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2645 *) 2646 install_sh="\${SHELL} $am_aux_dir/install-sh" 2647 esac 2648fi 2649 2650# Installed binaries are usually stripped using 'strip' when the user 2651# run "make install-strip". However 'strip' might not be the right 2652# tool to use in cross-compilation environments, therefore Automake 2653# will honor the 'STRIP' environment variable to overrule this program. 2654if test "$cross_compiling" != no; then 2655 if test -n "$ac_tool_prefix"; then 2656 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2657set dummy ${ac_tool_prefix}strip; ac_word=$2 2658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2659$as_echo_n "checking for $ac_word... " >&6; } 2660if ${ac_cv_prog_STRIP+:} false; then : 2661 $as_echo_n "(cached) " >&6 2662else 2663 if test -n "$STRIP"; then 2664 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2665else 2666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2667for as_dir in $PATH 2668do 2669 IFS=$as_save_IFS 2670 test -z "$as_dir" && as_dir=. 2671 for ac_exec_ext in '' $ac_executable_extensions; do 2672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2673 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2675 break 2 2676 fi 2677done 2678 done 2679IFS=$as_save_IFS 2680 2681fi 2682fi 2683STRIP=$ac_cv_prog_STRIP 2684if test -n "$STRIP"; then 2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2686$as_echo "$STRIP" >&6; } 2687else 2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2689$as_echo "no" >&6; } 2690fi 2691 2692 2693fi 2694if test -z "$ac_cv_prog_STRIP"; then 2695 ac_ct_STRIP=$STRIP 2696 # Extract the first word of "strip", so it can be a program name with args. 2697set dummy strip; ac_word=$2 2698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2699$as_echo_n "checking for $ac_word... " >&6; } 2700if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2701 $as_echo_n "(cached) " >&6 2702else 2703 if test -n "$ac_ct_STRIP"; then 2704 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2705else 2706as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2707for as_dir in $PATH 2708do 2709 IFS=$as_save_IFS 2710 test -z "$as_dir" && as_dir=. 2711 for ac_exec_ext in '' $ac_executable_extensions; do 2712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2713 ac_cv_prog_ac_ct_STRIP="strip" 2714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2715 break 2 2716 fi 2717done 2718 done 2719IFS=$as_save_IFS 2720 2721fi 2722fi 2723ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2724if test -n "$ac_ct_STRIP"; then 2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2726$as_echo "$ac_ct_STRIP" >&6; } 2727else 2728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2729$as_echo "no" >&6; } 2730fi 2731 2732 if test "x$ac_ct_STRIP" = x; then 2733 STRIP=":" 2734 else 2735 case $cross_compiling:$ac_tool_warned in 2736yes:) 2737{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2738$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2739ac_tool_warned=yes ;; 2740esac 2741 STRIP=$ac_ct_STRIP 2742 fi 2743else 2744 STRIP="$ac_cv_prog_STRIP" 2745fi 2746 2747fi 2748INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2749 2750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2751$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2752if test -z "$MKDIR_P"; then 2753 if ${ac_cv_path_mkdir+:} false; then : 2754 $as_echo_n "(cached) " >&6 2755else 2756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2757for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2758do 2759 IFS=$as_save_IFS 2760 test -z "$as_dir" && as_dir=. 2761 for ac_prog in mkdir gmkdir; do 2762 for ac_exec_ext in '' $ac_executable_extensions; do 2763 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2764 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2765 'mkdir (GNU coreutils) '* | \ 2766 'mkdir (coreutils) '* | \ 2767 'mkdir (fileutils) '4.1*) 2768 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2769 break 3;; 2770 esac 2771 done 2772 done 2773 done 2774IFS=$as_save_IFS 2775 2776fi 2777 2778 test -d ./--version && rmdir ./--version 2779 if test "${ac_cv_path_mkdir+set}" = set; then 2780 MKDIR_P="$ac_cv_path_mkdir -p" 2781 else 2782 # As a last resort, use the slow shell script. Don't cache a 2783 # value for MKDIR_P within a source directory, because that will 2784 # break other packages using the cache if that directory is 2785 # removed, or if the value is a relative name. 2786 MKDIR_P="$ac_install_sh -d" 2787 fi 2788fi 2789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2790$as_echo "$MKDIR_P" >&6; } 2791 2792for ac_prog in gawk mawk nawk awk 2793do 2794 # Extract the first word of "$ac_prog", so it can be a program name with args. 2795set dummy $ac_prog; ac_word=$2 2796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2797$as_echo_n "checking for $ac_word... " >&6; } 2798if ${ac_cv_prog_AWK+:} false; then : 2799 $as_echo_n "(cached) " >&6 2800else 2801 if test -n "$AWK"; then 2802 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2803else 2804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2805for as_dir in $PATH 2806do 2807 IFS=$as_save_IFS 2808 test -z "$as_dir" && as_dir=. 2809 for ac_exec_ext in '' $ac_executable_extensions; do 2810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2811 ac_cv_prog_AWK="$ac_prog" 2812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2813 break 2 2814 fi 2815done 2816 done 2817IFS=$as_save_IFS 2818 2819fi 2820fi 2821AWK=$ac_cv_prog_AWK 2822if test -n "$AWK"; then 2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2824$as_echo "$AWK" >&6; } 2825else 2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2827$as_echo "no" >&6; } 2828fi 2829 2830 2831 test -n "$AWK" && break 2832done 2833 2834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2835$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2836set x ${MAKE-make} 2837ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2838if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2839 $as_echo_n "(cached) " >&6 2840else 2841 cat >conftest.make <<\_ACEOF 2842SHELL = /bin/sh 2843all: 2844 @echo '@@@%%%=$(MAKE)=@@@%%%' 2845_ACEOF 2846# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2847case `${MAKE-make} -f conftest.make 2>/dev/null` in 2848 *@@@%%%=?*=@@@%%%*) 2849 eval ac_cv_prog_make_${ac_make}_set=yes;; 2850 *) 2851 eval ac_cv_prog_make_${ac_make}_set=no;; 2852esac 2853rm -f conftest.make 2854fi 2855if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2857$as_echo "yes" >&6; } 2858 SET_MAKE= 2859else 2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2861$as_echo "no" >&6; } 2862 SET_MAKE="MAKE=${MAKE-make}" 2863fi 2864 2865rm -rf .tst 2>/dev/null 2866mkdir .tst 2>/dev/null 2867if test -d .tst; then 2868 am__leading_dot=. 2869else 2870 am__leading_dot=_ 2871fi 2872rmdir .tst 2>/dev/null 2873 2874# Check whether --enable-silent-rules was given. 2875if test "${enable_silent_rules+set}" = set; then : 2876 enableval=$enable_silent_rules; 2877fi 2878 2879case $enable_silent_rules in # ((( 2880 yes) AM_DEFAULT_VERBOSITY=0;; 2881 no) AM_DEFAULT_VERBOSITY=1;; 2882 *) AM_DEFAULT_VERBOSITY=1;; 2883esac 2884am_make=${MAKE-make} 2885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2886$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2887if ${am_cv_make_support_nested_variables+:} false; then : 2888 $as_echo_n "(cached) " >&6 2889else 2890 if $as_echo 'TRUE=$(BAR$(V)) 2891BAR0=false 2892BAR1=true 2893V=1 2894am__doit: 2895 @$(TRUE) 2896.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2897 am_cv_make_support_nested_variables=yes 2898else 2899 am_cv_make_support_nested_variables=no 2900fi 2901fi 2902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2903$as_echo "$am_cv_make_support_nested_variables" >&6; } 2904if test $am_cv_make_support_nested_variables = yes; then 2905 AM_V='$(V)' 2906 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2907else 2908 AM_V=$AM_DEFAULT_VERBOSITY 2909 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2910fi 2911AM_BACKSLASH='\' 2912 2913if test "`cd $srcdir && pwd`" != "`pwd`"; then 2914 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2915 # is not polluted with repeated "-I." 2916 am__isrc=' -I$(srcdir)' 2917 # test to see if srcdir already configured 2918 if test -f $srcdir/config.status; then 2919 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2920 fi 2921fi 2922 2923# test whether we have cygpath 2924if test -z "$CYGPATH_W"; then 2925 if (cygpath --version) >/dev/null 2>/dev/null; then 2926 CYGPATH_W='cygpath -w' 2927 else 2928 CYGPATH_W=echo 2929 fi 2930fi 2931 2932 2933# Define the identity of the package. 2934 PACKAGE='ncdu' 2935 VERSION='1.16' 2936 2937 2938cat >>confdefs.h <<_ACEOF 2939#define PACKAGE "$PACKAGE" 2940_ACEOF 2941 2942 2943cat >>confdefs.h <<_ACEOF 2944#define VERSION "$VERSION" 2945_ACEOF 2946 2947# Some tools Automake needs. 2948 2949ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2950 2951 2952AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2953 2954 2955AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2956 2957 2958AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2959 2960 2961MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2962 2963# For better backward compatibility. To be removed once Automake 1.9.x 2964# dies out for good. For more background, see: 2965# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2966# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2967mkdir_p='$(MKDIR_P)' 2968 2969# We need awk for the "check" target (and possibly the TAP driver). The 2970# system "awk" is bad on some platforms. 2971# Always define AMTAR for backward compatibility. Yes, it's still used 2972# in the wild :-( We should find a proper way to deprecate it ... 2973AMTAR='$${TAR-tar}' 2974 2975 2976# We'll loop over all known methods to create a tar archive until one works. 2977_am_tools='gnutar pax cpio none' 2978 2979am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2980 2981 2982 2983 2984 2985 2986# POSIX will say in a future version that running "rm -f" with no argument 2987# is OK; and we want to be able to make that assumption in our Makefile 2988# recipes. So use an aggressive probe to check that the usage we want is 2989# actually supported "in the wild" to an acceptable degree. 2990# See automake bug#10828. 2991# To make any issue more visible, cause the running configure to be aborted 2992# by default if the 'rm' program in use doesn't match our expectations; the 2993# user can still override this though. 2994if rm -f && rm -fr && rm -rf; then : OK; else 2995 cat >&2 <<'END' 2996Oops! 2997 2998Your 'rm' program seems unable to run without file operands specified 2999on the command line, even when the '-f' option is present. This is contrary 3000to the behaviour of most rm programs out there, and not conforming with 3001the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3002 3003Please tell bug-automake@gnu.org about your system, including the value 3004of your $PATH and any error possibly output before this message. This 3005can help us improve future automake versions. 3006 3007END 3008 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3009 echo 'Configuration will proceed anyway, since you have set the' >&2 3010 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3011 echo >&2 3012 else 3013 cat >&2 <<'END' 3014Aborting the configuration process, to ensure you take notice of the issue. 3015 3016You can download and install GNU coreutils to get an 'rm' implementation 3017that behaves properly: <https://www.gnu.org/software/coreutils/>. 3018 3019If you want to complete the configuration process using your problematic 3020'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3021to "yes", and re-run configure. 3022 3023END 3024 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3025 fi 3026fi 3027 3028 3029# Check for programs. 3030ac_ext=c 3031ac_cpp='$CPP $CPPFLAGS' 3032ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3033ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3034ac_compiler_gnu=$ac_cv_c_compiler_gnu 3035if test -n "$ac_tool_prefix"; then 3036 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3037set dummy ${ac_tool_prefix}gcc; ac_word=$2 3038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3039$as_echo_n "checking for $ac_word... " >&6; } 3040if ${ac_cv_prog_CC+:} false; then : 3041 $as_echo_n "(cached) " >&6 3042else 3043 if test -n "$CC"; then 3044 ac_cv_prog_CC="$CC" # Let the user override the test. 3045else 3046as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3047for as_dir in $PATH 3048do 3049 IFS=$as_save_IFS 3050 test -z "$as_dir" && as_dir=. 3051 for ac_exec_ext in '' $ac_executable_extensions; do 3052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3053 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3055 break 2 3056 fi 3057done 3058 done 3059IFS=$as_save_IFS 3060 3061fi 3062fi 3063CC=$ac_cv_prog_CC 3064if test -n "$CC"; then 3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3066$as_echo "$CC" >&6; } 3067else 3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3069$as_echo "no" >&6; } 3070fi 3071 3072 3073fi 3074if test -z "$ac_cv_prog_CC"; then 3075 ac_ct_CC=$CC 3076 # Extract the first word of "gcc", so it can be a program name with args. 3077set dummy gcc; ac_word=$2 3078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3079$as_echo_n "checking for $ac_word... " >&6; } 3080if ${ac_cv_prog_ac_ct_CC+:} false; then : 3081 $as_echo_n "(cached) " >&6 3082else 3083 if test -n "$ac_ct_CC"; then 3084 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3085else 3086as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3087for as_dir in $PATH 3088do 3089 IFS=$as_save_IFS 3090 test -z "$as_dir" && as_dir=. 3091 for ac_exec_ext in '' $ac_executable_extensions; do 3092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3093 ac_cv_prog_ac_ct_CC="gcc" 3094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3095 break 2 3096 fi 3097done 3098 done 3099IFS=$as_save_IFS 3100 3101fi 3102fi 3103ac_ct_CC=$ac_cv_prog_ac_ct_CC 3104if test -n "$ac_ct_CC"; then 3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3106$as_echo "$ac_ct_CC" >&6; } 3107else 3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3109$as_echo "no" >&6; } 3110fi 3111 3112 if test "x$ac_ct_CC" = x; then 3113 CC="" 3114 else 3115 case $cross_compiling:$ac_tool_warned in 3116yes:) 3117{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3118$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3119ac_tool_warned=yes ;; 3120esac 3121 CC=$ac_ct_CC 3122 fi 3123else 3124 CC="$ac_cv_prog_CC" 3125fi 3126 3127if test -z "$CC"; then 3128 if test -n "$ac_tool_prefix"; then 3129 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3130set dummy ${ac_tool_prefix}cc; ac_word=$2 3131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3132$as_echo_n "checking for $ac_word... " >&6; } 3133if ${ac_cv_prog_CC+:} false; then : 3134 $as_echo_n "(cached) " >&6 3135else 3136 if test -n "$CC"; then 3137 ac_cv_prog_CC="$CC" # Let the user override the test. 3138else 3139as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3140for as_dir in $PATH 3141do 3142 IFS=$as_save_IFS 3143 test -z "$as_dir" && as_dir=. 3144 for ac_exec_ext in '' $ac_executable_extensions; do 3145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3146 ac_cv_prog_CC="${ac_tool_prefix}cc" 3147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3148 break 2 3149 fi 3150done 3151 done 3152IFS=$as_save_IFS 3153 3154fi 3155fi 3156CC=$ac_cv_prog_CC 3157if test -n "$CC"; then 3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3159$as_echo "$CC" >&6; } 3160else 3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3162$as_echo "no" >&6; } 3163fi 3164 3165 3166 fi 3167fi 3168if test -z "$CC"; then 3169 # Extract the first word of "cc", so it can be a program name with args. 3170set dummy cc; ac_word=$2 3171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3172$as_echo_n "checking for $ac_word... " >&6; } 3173if ${ac_cv_prog_CC+:} false; then : 3174 $as_echo_n "(cached) " >&6 3175else 3176 if test -n "$CC"; then 3177 ac_cv_prog_CC="$CC" # Let the user override the test. 3178else 3179 ac_prog_rejected=no 3180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3181for as_dir in $PATH 3182do 3183 IFS=$as_save_IFS 3184 test -z "$as_dir" && as_dir=. 3185 for ac_exec_ext in '' $ac_executable_extensions; do 3186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3187 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3188 ac_prog_rejected=yes 3189 continue 3190 fi 3191 ac_cv_prog_CC="cc" 3192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3193 break 2 3194 fi 3195done 3196 done 3197IFS=$as_save_IFS 3198 3199if test $ac_prog_rejected = yes; then 3200 # We found a bogon in the path, so make sure we never use it. 3201 set dummy $ac_cv_prog_CC 3202 shift 3203 if test $# != 0; then 3204 # We chose a different compiler from the bogus one. 3205 # However, it has the same basename, so the bogon will be chosen 3206 # first if we set CC to just the basename; use the full file name. 3207 shift 3208 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3209 fi 3210fi 3211fi 3212fi 3213CC=$ac_cv_prog_CC 3214if test -n "$CC"; then 3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3216$as_echo "$CC" >&6; } 3217else 3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3219$as_echo "no" >&6; } 3220fi 3221 3222 3223fi 3224if test -z "$CC"; then 3225 if test -n "$ac_tool_prefix"; then 3226 for ac_prog in cl.exe 3227 do 3228 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3229set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3231$as_echo_n "checking for $ac_word... " >&6; } 3232if ${ac_cv_prog_CC+:} false; then : 3233 $as_echo_n "(cached) " >&6 3234else 3235 if test -n "$CC"; then 3236 ac_cv_prog_CC="$CC" # Let the user override the test. 3237else 3238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3239for as_dir in $PATH 3240do 3241 IFS=$as_save_IFS 3242 test -z "$as_dir" && as_dir=. 3243 for ac_exec_ext in '' $ac_executable_extensions; do 3244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3245 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3247 break 2 3248 fi 3249done 3250 done 3251IFS=$as_save_IFS 3252 3253fi 3254fi 3255CC=$ac_cv_prog_CC 3256if test -n "$CC"; then 3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3258$as_echo "$CC" >&6; } 3259else 3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3261$as_echo "no" >&6; } 3262fi 3263 3264 3265 test -n "$CC" && break 3266 done 3267fi 3268if test -z "$CC"; then 3269 ac_ct_CC=$CC 3270 for ac_prog in cl.exe 3271do 3272 # Extract the first word of "$ac_prog", so it can be a program name with args. 3273set dummy $ac_prog; ac_word=$2 3274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3275$as_echo_n "checking for $ac_word... " >&6; } 3276if ${ac_cv_prog_ac_ct_CC+:} false; then : 3277 $as_echo_n "(cached) " >&6 3278else 3279 if test -n "$ac_ct_CC"; then 3280 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3281else 3282as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3283for as_dir in $PATH 3284do 3285 IFS=$as_save_IFS 3286 test -z "$as_dir" && as_dir=. 3287 for ac_exec_ext in '' $ac_executable_extensions; do 3288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3289 ac_cv_prog_ac_ct_CC="$ac_prog" 3290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3291 break 2 3292 fi 3293done 3294 done 3295IFS=$as_save_IFS 3296 3297fi 3298fi 3299ac_ct_CC=$ac_cv_prog_ac_ct_CC 3300if test -n "$ac_ct_CC"; then 3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3302$as_echo "$ac_ct_CC" >&6; } 3303else 3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3305$as_echo "no" >&6; } 3306fi 3307 3308 3309 test -n "$ac_ct_CC" && break 3310done 3311 3312 if test "x$ac_ct_CC" = x; then 3313 CC="" 3314 else 3315 case $cross_compiling:$ac_tool_warned in 3316yes:) 3317{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3318$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3319ac_tool_warned=yes ;; 3320esac 3321 CC=$ac_ct_CC 3322 fi 3323fi 3324 3325fi 3326 3327 3328test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3329$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3330as_fn_error $? "no acceptable C compiler found in \$PATH 3331See \`config.log' for more details" "$LINENO" 5; } 3332 3333# Provide some information about the compiler. 3334$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3335set X $ac_compile 3336ac_compiler=$2 3337for ac_option in --version -v -V -qversion; do 3338 { { ac_try="$ac_compiler $ac_option >&5" 3339case "(($ac_try" in 3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3341 *) ac_try_echo=$ac_try;; 3342esac 3343eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3344$as_echo "$ac_try_echo"; } >&5 3345 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3346 ac_status=$? 3347 if test -s conftest.err; then 3348 sed '10a\ 3349... rest of stderr output deleted ... 3350 10q' conftest.err >conftest.er1 3351 cat conftest.er1 >&5 3352 fi 3353 rm -f conftest.er1 conftest.err 3354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3355 test $ac_status = 0; } 3356done 3357 3358cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3359/* end confdefs.h. */ 3360 3361int 3362main () 3363{ 3364 3365 ; 3366 return 0; 3367} 3368_ACEOF 3369ac_clean_files_save=$ac_clean_files 3370ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3371# Try to create an executable without -o first, disregard a.out. 3372# It will help us diagnose broken compilers, and finding out an intuition 3373# of exeext. 3374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3375$as_echo_n "checking whether the C compiler works... " >&6; } 3376ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3377 3378# The possible output files: 3379ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3380 3381ac_rmfiles= 3382for ac_file in $ac_files 3383do 3384 case $ac_file in 3385 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3386 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3387 esac 3388done 3389rm -f $ac_rmfiles 3390 3391if { { ac_try="$ac_link_default" 3392case "(($ac_try" in 3393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3394 *) ac_try_echo=$ac_try;; 3395esac 3396eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3397$as_echo "$ac_try_echo"; } >&5 3398 (eval "$ac_link_default") 2>&5 3399 ac_status=$? 3400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3401 test $ac_status = 0; }; then : 3402 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3403# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3404# in a Makefile. We should not override ac_cv_exeext if it was cached, 3405# so that the user can short-circuit this test for compilers unknown to 3406# Autoconf. 3407for ac_file in $ac_files '' 3408do 3409 test -f "$ac_file" || continue 3410 case $ac_file in 3411 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3412 ;; 3413 [ab].out ) 3414 # We found the default executable, but exeext='' is most 3415 # certainly right. 3416 break;; 3417 *.* ) 3418 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3419 then :; else 3420 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3421 fi 3422 # We set ac_cv_exeext here because the later test for it is not 3423 # safe: cross compilers may not add the suffix if given an `-o' 3424 # argument, so we may need to know it at that point already. 3425 # Even if this section looks crufty: it has the advantage of 3426 # actually working. 3427 break;; 3428 * ) 3429 break;; 3430 esac 3431done 3432test "$ac_cv_exeext" = no && ac_cv_exeext= 3433 3434else 3435 ac_file='' 3436fi 3437if test -z "$ac_file"; then : 3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3439$as_echo "no" >&6; } 3440$as_echo "$as_me: failed program was:" >&5 3441sed 's/^/| /' conftest.$ac_ext >&5 3442 3443{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3444$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3445as_fn_error 77 "C compiler cannot create executables 3446See \`config.log' for more details" "$LINENO" 5; } 3447else 3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3449$as_echo "yes" >&6; } 3450fi 3451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3452$as_echo_n "checking for C compiler default output file name... " >&6; } 3453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3454$as_echo "$ac_file" >&6; } 3455ac_exeext=$ac_cv_exeext 3456 3457rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3458ac_clean_files=$ac_clean_files_save 3459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3460$as_echo_n "checking for suffix of executables... " >&6; } 3461if { { ac_try="$ac_link" 3462case "(($ac_try" in 3463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3464 *) ac_try_echo=$ac_try;; 3465esac 3466eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3467$as_echo "$ac_try_echo"; } >&5 3468 (eval "$ac_link") 2>&5 3469 ac_status=$? 3470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3471 test $ac_status = 0; }; then : 3472 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3473# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3474# work properly (i.e., refer to `conftest.exe'), while it won't with 3475# `rm'. 3476for ac_file in conftest.exe conftest conftest.*; do 3477 test -f "$ac_file" || continue 3478 case $ac_file in 3479 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3480 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3481 break;; 3482 * ) break;; 3483 esac 3484done 3485else 3486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3487$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3488as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3489See \`config.log' for more details" "$LINENO" 5; } 3490fi 3491rm -f conftest conftest$ac_cv_exeext 3492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3493$as_echo "$ac_cv_exeext" >&6; } 3494 3495rm -f conftest.$ac_ext 3496EXEEXT=$ac_cv_exeext 3497ac_exeext=$EXEEXT 3498cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3499/* end confdefs.h. */ 3500#include <stdio.h> 3501int 3502main () 3503{ 3504FILE *f = fopen ("conftest.out", "w"); 3505 return ferror (f) || fclose (f) != 0; 3506 3507 ; 3508 return 0; 3509} 3510_ACEOF 3511ac_clean_files="$ac_clean_files conftest.out" 3512# Check that the compiler produces executables we can run. If not, either 3513# the compiler is broken, or we cross compile. 3514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3515$as_echo_n "checking whether we are cross compiling... " >&6; } 3516if test "$cross_compiling" != yes; then 3517 { { ac_try="$ac_link" 3518case "(($ac_try" in 3519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3520 *) ac_try_echo=$ac_try;; 3521esac 3522eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3523$as_echo "$ac_try_echo"; } >&5 3524 (eval "$ac_link") 2>&5 3525 ac_status=$? 3526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3527 test $ac_status = 0; } 3528 if { ac_try='./conftest$ac_cv_exeext' 3529 { { case "(($ac_try" in 3530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3531 *) ac_try_echo=$ac_try;; 3532esac 3533eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3534$as_echo "$ac_try_echo"; } >&5 3535 (eval "$ac_try") 2>&5 3536 ac_status=$? 3537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3538 test $ac_status = 0; }; }; then 3539 cross_compiling=no 3540 else 3541 if test "$cross_compiling" = maybe; then 3542 cross_compiling=yes 3543 else 3544 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3545$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3546as_fn_error $? "cannot run C compiled programs. 3547If you meant to cross compile, use \`--host'. 3548See \`config.log' for more details" "$LINENO" 5; } 3549 fi 3550 fi 3551fi 3552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3553$as_echo "$cross_compiling" >&6; } 3554 3555rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3556ac_clean_files=$ac_clean_files_save 3557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3558$as_echo_n "checking for suffix of object files... " >&6; } 3559if ${ac_cv_objext+:} false; then : 3560 $as_echo_n "(cached) " >&6 3561else 3562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3563/* end confdefs.h. */ 3564 3565int 3566main () 3567{ 3568 3569 ; 3570 return 0; 3571} 3572_ACEOF 3573rm -f conftest.o conftest.obj 3574if { { ac_try="$ac_compile" 3575case "(($ac_try" in 3576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3577 *) ac_try_echo=$ac_try;; 3578esac 3579eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3580$as_echo "$ac_try_echo"; } >&5 3581 (eval "$ac_compile") 2>&5 3582 ac_status=$? 3583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3584 test $ac_status = 0; }; then : 3585 for ac_file in conftest.o conftest.obj conftest.*; do 3586 test -f "$ac_file" || continue; 3587 case $ac_file in 3588 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3589 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3590 break;; 3591 esac 3592done 3593else 3594 $as_echo "$as_me: failed program was:" >&5 3595sed 's/^/| /' conftest.$ac_ext >&5 3596 3597{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3598$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3599as_fn_error $? "cannot compute suffix of object files: cannot compile 3600See \`config.log' for more details" "$LINENO" 5; } 3601fi 3602rm -f conftest.$ac_cv_objext conftest.$ac_ext 3603fi 3604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3605$as_echo "$ac_cv_objext" >&6; } 3606OBJEXT=$ac_cv_objext 3607ac_objext=$OBJEXT 3608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3609$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3610if ${ac_cv_c_compiler_gnu+:} false; then : 3611 $as_echo_n "(cached) " >&6 3612else 3613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3614/* end confdefs.h. */ 3615 3616int 3617main () 3618{ 3619#ifndef __GNUC__ 3620 choke me 3621#endif 3622 3623 ; 3624 return 0; 3625} 3626_ACEOF 3627if ac_fn_c_try_compile "$LINENO"; then : 3628 ac_compiler_gnu=yes 3629else 3630 ac_compiler_gnu=no 3631fi 3632rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3633ac_cv_c_compiler_gnu=$ac_compiler_gnu 3634 3635fi 3636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3637$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3638if test $ac_compiler_gnu = yes; then 3639 GCC=yes 3640else 3641 GCC= 3642fi 3643ac_test_CFLAGS=${CFLAGS+set} 3644ac_save_CFLAGS=$CFLAGS 3645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3646$as_echo_n "checking whether $CC accepts -g... " >&6; } 3647if ${ac_cv_prog_cc_g+:} false; then : 3648 $as_echo_n "(cached) " >&6 3649else 3650 ac_save_c_werror_flag=$ac_c_werror_flag 3651 ac_c_werror_flag=yes 3652 ac_cv_prog_cc_g=no 3653 CFLAGS="-g" 3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3655/* end confdefs.h. */ 3656 3657int 3658main () 3659{ 3660 3661 ; 3662 return 0; 3663} 3664_ACEOF 3665if ac_fn_c_try_compile "$LINENO"; then : 3666 ac_cv_prog_cc_g=yes 3667else 3668 CFLAGS="" 3669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3670/* end confdefs.h. */ 3671 3672int 3673main () 3674{ 3675 3676 ; 3677 return 0; 3678} 3679_ACEOF 3680if ac_fn_c_try_compile "$LINENO"; then : 3681 3682else 3683 ac_c_werror_flag=$ac_save_c_werror_flag 3684 CFLAGS="-g" 3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3686/* end confdefs.h. */ 3687 3688int 3689main () 3690{ 3691 3692 ; 3693 return 0; 3694} 3695_ACEOF 3696if ac_fn_c_try_compile "$LINENO"; then : 3697 ac_cv_prog_cc_g=yes 3698fi 3699rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3700fi 3701rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3702fi 3703rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3704 ac_c_werror_flag=$ac_save_c_werror_flag 3705fi 3706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3707$as_echo "$ac_cv_prog_cc_g" >&6; } 3708if test "$ac_test_CFLAGS" = set; then 3709 CFLAGS=$ac_save_CFLAGS 3710elif test $ac_cv_prog_cc_g = yes; then 3711 if test "$GCC" = yes; then 3712 CFLAGS="-g -O2" 3713 else 3714 CFLAGS="-g" 3715 fi 3716else 3717 if test "$GCC" = yes; then 3718 CFLAGS="-O2" 3719 else 3720 CFLAGS= 3721 fi 3722fi 3723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3724$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3725if ${ac_cv_prog_cc_c89+:} false; then : 3726 $as_echo_n "(cached) " >&6 3727else 3728 ac_cv_prog_cc_c89=no 3729ac_save_CC=$CC 3730cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3731/* end confdefs.h. */ 3732#include <stdarg.h> 3733#include <stdio.h> 3734struct stat; 3735/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3736struct buf { int x; }; 3737FILE * (*rcsopen) (struct buf *, struct stat *, int); 3738static char *e (p, i) 3739 char **p; 3740 int i; 3741{ 3742 return p[i]; 3743} 3744static char *f (char * (*g) (char **, int), char **p, ...) 3745{ 3746 char *s; 3747 va_list v; 3748 va_start (v,p); 3749 s = g (p, va_arg (v,int)); 3750 va_end (v); 3751 return s; 3752} 3753 3754/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3755 function prototypes and stuff, but not '\xHH' hex character constants. 3756 These don't provoke an error unfortunately, instead are silently treated 3757 as 'x'. The following induces an error, until -std is added to get 3758 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3759 array size at least. It's necessary to write '\x00'==0 to get something 3760 that's true only with -std. */ 3761int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3762 3763/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3764 inside strings and character constants. */ 3765#define FOO(x) 'x' 3766int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3767 3768int test (int i, double x); 3769struct s1 {int (*f) (int a);}; 3770struct s2 {int (*f) (double a);}; 3771int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3772int argc; 3773char **argv; 3774int 3775main () 3776{ 3777return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3778 ; 3779 return 0; 3780} 3781_ACEOF 3782for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3783 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3784do 3785 CC="$ac_save_CC $ac_arg" 3786 if ac_fn_c_try_compile "$LINENO"; then : 3787 ac_cv_prog_cc_c89=$ac_arg 3788fi 3789rm -f core conftest.err conftest.$ac_objext 3790 test "x$ac_cv_prog_cc_c89" != "xno" && break 3791done 3792rm -f conftest.$ac_ext 3793CC=$ac_save_CC 3794 3795fi 3796# AC_CACHE_VAL 3797case "x$ac_cv_prog_cc_c89" in 3798 x) 3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3800$as_echo "none needed" >&6; } ;; 3801 xno) 3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3803$as_echo "unsupported" >&6; } ;; 3804 *) 3805 CC="$CC $ac_cv_prog_cc_c89" 3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3807$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3808esac 3809if test "x$ac_cv_prog_cc_c89" != xno; then : 3810 3811fi 3812 3813ac_ext=c 3814ac_cpp='$CPP $CPPFLAGS' 3815ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3816ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3817ac_compiler_gnu=$ac_cv_c_compiler_gnu 3818 3819ac_ext=c 3820ac_cpp='$CPP $CPPFLAGS' 3821ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3822ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3823ac_compiler_gnu=$ac_cv_c_compiler_gnu 3824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3825$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3826if ${am_cv_prog_cc_c_o+:} false; then : 3827 $as_echo_n "(cached) " >&6 3828else 3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3830/* end confdefs.h. */ 3831 3832int 3833main () 3834{ 3835 3836 ; 3837 return 0; 3838} 3839_ACEOF 3840 # Make sure it works both with $CC and with simple cc. 3841 # Following AC_PROG_CC_C_O, we do the test twice because some 3842 # compilers refuse to overwrite an existing .o file with -o, 3843 # though they will create one. 3844 am_cv_prog_cc_c_o=yes 3845 for am_i in 1 2; do 3846 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3847 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3848 ac_status=$? 3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3850 (exit $ac_status); } \ 3851 && test -f conftest2.$ac_objext; then 3852 : OK 3853 else 3854 am_cv_prog_cc_c_o=no 3855 break 3856 fi 3857 done 3858 rm -f core conftest* 3859 unset am_i 3860fi 3861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3862$as_echo "$am_cv_prog_cc_c_o" >&6; } 3863if test "$am_cv_prog_cc_c_o" != yes; then 3864 # Losing compiler, so override with the script. 3865 # FIXME: It is wrong to rewrite CC. 3866 # But if we don't then we get into trouble of one sort or another. 3867 # A longer-term fix would be to have automake use am__CC in this case, 3868 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3869 CC="$am_aux_dir/compile $CC" 3870fi 3871ac_ext=c 3872ac_cpp='$CPP $CPPFLAGS' 3873ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3874ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3875ac_compiler_gnu=$ac_cv_c_compiler_gnu 3876 3877DEPDIR="${am__leading_dot}deps" 3878 3879ac_config_commands="$ac_config_commands depfiles" 3880 3881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3882$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3883cat > confinc.mk << 'END' 3884am__doit: 3885 @echo this is the am__doit target >confinc.out 3886.PHONY: am__doit 3887END 3888am__include="#" 3889am__quote= 3890# BSD make does it like this. 3891echo '.include "confinc.mk" # ignored' > confmf.BSD 3892# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3893echo 'include confinc.mk # ignored' > confmf.GNU 3894_am_result=no 3895for s in GNU BSD; do 3896 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3897 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3898 ac_status=$? 3899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3900 (exit $ac_status); } 3901 case $?:`cat confinc.out 2>/dev/null` in #( 3902 '0:this is the am__doit target') : 3903 case $s in #( 3904 BSD) : 3905 am__include='.include' am__quote='"' ;; #( 3906 *) : 3907 am__include='include' am__quote='' ;; 3908esac ;; #( 3909 *) : 3910 ;; 3911esac 3912 if test "$am__include" != "#"; then 3913 _am_result="yes ($s style)" 3914 break 3915 fi 3916done 3917rm -f confinc.* confmf.* 3918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3919$as_echo "${_am_result}" >&6; } 3920 3921# Check whether --enable-dependency-tracking was given. 3922if test "${enable_dependency_tracking+set}" = set; then : 3923 enableval=$enable_dependency_tracking; 3924fi 3925 3926if test "x$enable_dependency_tracking" != xno; then 3927 am_depcomp="$ac_aux_dir/depcomp" 3928 AMDEPBACKSLASH='\' 3929 am__nodep='_no' 3930fi 3931 if test "x$enable_dependency_tracking" != xno; then 3932 AMDEP_TRUE= 3933 AMDEP_FALSE='#' 3934else 3935 AMDEP_TRUE='#' 3936 AMDEP_FALSE= 3937fi 3938 3939 3940 3941depcc="$CC" am_compiler_list= 3942 3943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3944$as_echo_n "checking dependency style of $depcc... " >&6; } 3945if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3946 $as_echo_n "(cached) " >&6 3947else 3948 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3949 # We make a subdir and do the tests there. Otherwise we can end up 3950 # making bogus files that we don't know about and never remove. For 3951 # instance it was reported that on HP-UX the gcc test will end up 3952 # making a dummy file named 'D' -- because '-MD' means "put the output 3953 # in D". 3954 rm -rf conftest.dir 3955 mkdir conftest.dir 3956 # Copy depcomp to subdir because otherwise we won't find it if we're 3957 # using a relative directory. 3958 cp "$am_depcomp" conftest.dir 3959 cd conftest.dir 3960 # We will build objects and dependencies in a subdirectory because 3961 # it helps to detect inapplicable dependency modes. For instance 3962 # both Tru64's cc and ICC support -MD to output dependencies as a 3963 # side effect of compilation, but ICC will put the dependencies in 3964 # the current directory while Tru64 will put them in the object 3965 # directory. 3966 mkdir sub 3967 3968 am_cv_CC_dependencies_compiler_type=none 3969 if test "$am_compiler_list" = ""; then 3970 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3971 fi 3972 am__universal=false 3973 case " $depcc " in #( 3974 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3975 esac 3976 3977 for depmode in $am_compiler_list; do 3978 # Setup a source with many dependencies, because some compilers 3979 # like to wrap large dependency lists on column 80 (with \), and 3980 # we should not choose a depcomp mode which is confused by this. 3981 # 3982 # We need to recreate these files for each test, as the compiler may 3983 # overwrite some of them when testing with obscure command lines. 3984 # This happens at least with the AIX C compiler. 3985 : > sub/conftest.c 3986 for i in 1 2 3 4 5 6; do 3987 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3988 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3989 # Solaris 10 /bin/sh. 3990 echo '/* dummy */' > sub/conftst$i.h 3991 done 3992 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3993 3994 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3995 # mode. It turns out that the SunPro C++ compiler does not properly 3996 # handle '-M -o', and we need to detect this. Also, some Intel 3997 # versions had trouble with output in subdirs. 3998 am__obj=sub/conftest.${OBJEXT-o} 3999 am__minus_obj="-o $am__obj" 4000 case $depmode in 4001 gcc) 4002 # This depmode causes a compiler race in universal mode. 4003 test "$am__universal" = false || continue 4004 ;; 4005 nosideeffect) 4006 # After this tag, mechanisms are not by side-effect, so they'll 4007 # only be used when explicitly requested. 4008 if test "x$enable_dependency_tracking" = xyes; then 4009 continue 4010 else 4011 break 4012 fi 4013 ;; 4014 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4015 # This compiler won't grok '-c -o', but also, the minuso test has 4016 # not run yet. These depmodes are late enough in the game, and 4017 # so weak that their functioning should not be impacted. 4018 am__obj=conftest.${OBJEXT-o} 4019 am__minus_obj= 4020 ;; 4021 none) break ;; 4022 esac 4023 if depmode=$depmode \ 4024 source=sub/conftest.c object=$am__obj \ 4025 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4026 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4027 >/dev/null 2>conftest.err && 4028 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4029 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4030 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4031 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4032 # icc doesn't choke on unknown options, it will just issue warnings 4033 # or remarks (even with -Werror). So we grep stderr for any message 4034 # that says an option was ignored or not supported. 4035 # When given -MP, icc 7.0 and 7.1 complain thusly: 4036 # icc: Command line warning: ignoring option '-M'; no argument required 4037 # The diagnosis changed in icc 8.0: 4038 # icc: Command line remark: option '-MP' not supported 4039 if (grep 'ignoring option' conftest.err || 4040 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4041 am_cv_CC_dependencies_compiler_type=$depmode 4042 break 4043 fi 4044 fi 4045 done 4046 4047 cd .. 4048 rm -rf conftest.dir 4049else 4050 am_cv_CC_dependencies_compiler_type=none 4051fi 4052 4053fi 4054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4055$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4056CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4057 4058 if 4059 test "x$enable_dependency_tracking" != xno \ 4060 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4061 am__fastdepCC_TRUE= 4062 am__fastdepCC_FALSE='#' 4063else 4064 am__fastdepCC_TRUE='#' 4065 am__fastdepCC_FALSE= 4066fi 4067 4068 4069 4070if test -n "$ac_tool_prefix"; then 4071 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4072set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4074$as_echo_n "checking for $ac_word... " >&6; } 4075if ${ac_cv_prog_RANLIB+:} false; then : 4076 $as_echo_n "(cached) " >&6 4077else 4078 if test -n "$RANLIB"; then 4079 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4080else 4081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4082for as_dir in $PATH 4083do 4084 IFS=$as_save_IFS 4085 test -z "$as_dir" && as_dir=. 4086 for ac_exec_ext in '' $ac_executable_extensions; do 4087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4088 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4090 break 2 4091 fi 4092done 4093 done 4094IFS=$as_save_IFS 4095 4096fi 4097fi 4098RANLIB=$ac_cv_prog_RANLIB 4099if test -n "$RANLIB"; then 4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4101$as_echo "$RANLIB" >&6; } 4102else 4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4104$as_echo "no" >&6; } 4105fi 4106 4107 4108fi 4109if test -z "$ac_cv_prog_RANLIB"; then 4110 ac_ct_RANLIB=$RANLIB 4111 # Extract the first word of "ranlib", so it can be a program name with args. 4112set dummy ranlib; ac_word=$2 4113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4114$as_echo_n "checking for $ac_word... " >&6; } 4115if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4116 $as_echo_n "(cached) " >&6 4117else 4118 if test -n "$ac_ct_RANLIB"; then 4119 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4120else 4121as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4122for as_dir in $PATH 4123do 4124 IFS=$as_save_IFS 4125 test -z "$as_dir" && as_dir=. 4126 for ac_exec_ext in '' $ac_executable_extensions; do 4127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4128 ac_cv_prog_ac_ct_RANLIB="ranlib" 4129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4130 break 2 4131 fi 4132done 4133 done 4134IFS=$as_save_IFS 4135 4136fi 4137fi 4138ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4139if test -n "$ac_ct_RANLIB"; then 4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4141$as_echo "$ac_ct_RANLIB" >&6; } 4142else 4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4144$as_echo "no" >&6; } 4145fi 4146 4147 if test "x$ac_ct_RANLIB" = x; then 4148 RANLIB=":" 4149 else 4150 case $cross_compiling:$ac_tool_warned in 4151yes:) 4152{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4153$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4154ac_tool_warned=yes ;; 4155esac 4156 RANLIB=$ac_ct_RANLIB 4157 fi 4158else 4159 RANLIB="$ac_cv_prog_RANLIB" 4160fi 4161 4162 4163 4164 4165 4166 4167 4168 4169if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4170 if test -n "$ac_tool_prefix"; then 4171 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4172set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4174$as_echo_n "checking for $ac_word... " >&6; } 4175if ${ac_cv_path_PKG_CONFIG+:} false; then : 4176 $as_echo_n "(cached) " >&6 4177else 4178 case $PKG_CONFIG in 4179 [\\/]* | ?:[\\/]*) 4180 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4181 ;; 4182 *) 4183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4184for as_dir in $PATH 4185do 4186 IFS=$as_save_IFS 4187 test -z "$as_dir" && as_dir=. 4188 for ac_exec_ext in '' $ac_executable_extensions; do 4189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4190 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4192 break 2 4193 fi 4194done 4195 done 4196IFS=$as_save_IFS 4197 4198 ;; 4199esac 4200fi 4201PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4202if test -n "$PKG_CONFIG"; then 4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4204$as_echo "$PKG_CONFIG" >&6; } 4205else 4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4207$as_echo "no" >&6; } 4208fi 4209 4210 4211fi 4212if test -z "$ac_cv_path_PKG_CONFIG"; then 4213 ac_pt_PKG_CONFIG=$PKG_CONFIG 4214 # Extract the first word of "pkg-config", so it can be a program name with args. 4215set dummy pkg-config; ac_word=$2 4216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4217$as_echo_n "checking for $ac_word... " >&6; } 4218if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4219 $as_echo_n "(cached) " >&6 4220else 4221 case $ac_pt_PKG_CONFIG in 4222 [\\/]* | ?:[\\/]*) 4223 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4224 ;; 4225 *) 4226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4227for as_dir in $PATH 4228do 4229 IFS=$as_save_IFS 4230 test -z "$as_dir" && as_dir=. 4231 for ac_exec_ext in '' $ac_executable_extensions; do 4232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4233 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4235 break 2 4236 fi 4237done 4238 done 4239IFS=$as_save_IFS 4240 4241 ;; 4242esac 4243fi 4244ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4245if test -n "$ac_pt_PKG_CONFIG"; then 4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4247$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4248else 4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4250$as_echo "no" >&6; } 4251fi 4252 4253 if test "x$ac_pt_PKG_CONFIG" = x; then 4254 PKG_CONFIG="" 4255 else 4256 case $cross_compiling:$ac_tool_warned in 4257yes:) 4258{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4259$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4260ac_tool_warned=yes ;; 4261esac 4262 PKG_CONFIG=$ac_pt_PKG_CONFIG 4263 fi 4264else 4265 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4266fi 4267 4268fi 4269if test -n "$PKG_CONFIG"; then 4270 _pkg_min_version=0.9.0 4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4272$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4273 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4275$as_echo "yes" >&6; } 4276 else 4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4278$as_echo "no" >&6; } 4279 PKG_CONFIG="" 4280 fi 4281fi 4282 4283# Check for header files. 4284 4285ac_ext=c 4286ac_cpp='$CPP $CPPFLAGS' 4287ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4288ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4289ac_compiler_gnu=$ac_cv_c_compiler_gnu 4290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4291$as_echo_n "checking how to run the C preprocessor... " >&6; } 4292# On Suns, sometimes $CPP names a directory. 4293if test -n "$CPP" && test -d "$CPP"; then 4294 CPP= 4295fi 4296if test -z "$CPP"; then 4297 if ${ac_cv_prog_CPP+:} false; then : 4298 $as_echo_n "(cached) " >&6 4299else 4300 # Double quotes because CPP needs to be expanded 4301 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4302 do 4303 ac_preproc_ok=false 4304for ac_c_preproc_warn_flag in '' yes 4305do 4306 # Use a header file that comes with gcc, so configuring glibc 4307 # with a fresh cross-compiler works. 4308 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4309 # <limits.h> exists even on freestanding compilers. 4310 # On the NeXT, cc -E runs the code through the compiler's parser, 4311 # not just through cpp. "Syntax error" is here to catch this case. 4312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4313/* end confdefs.h. */ 4314#ifdef __STDC__ 4315# include <limits.h> 4316#else 4317# include <assert.h> 4318#endif 4319 Syntax error 4320_ACEOF 4321if ac_fn_c_try_cpp "$LINENO"; then : 4322 4323else 4324 # Broken: fails on valid input. 4325continue 4326fi 4327rm -f conftest.err conftest.i conftest.$ac_ext 4328 4329 # OK, works on sane cases. Now check whether nonexistent headers 4330 # can be detected and how. 4331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4332/* end confdefs.h. */ 4333#include <ac_nonexistent.h> 4334_ACEOF 4335if ac_fn_c_try_cpp "$LINENO"; then : 4336 # Broken: success on invalid input. 4337continue 4338else 4339 # Passes both tests. 4340ac_preproc_ok=: 4341break 4342fi 4343rm -f conftest.err conftest.i conftest.$ac_ext 4344 4345done 4346# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4347rm -f conftest.i conftest.err conftest.$ac_ext 4348if $ac_preproc_ok; then : 4349 break 4350fi 4351 4352 done 4353 ac_cv_prog_CPP=$CPP 4354 4355fi 4356 CPP=$ac_cv_prog_CPP 4357else 4358 ac_cv_prog_CPP=$CPP 4359fi 4360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4361$as_echo "$CPP" >&6; } 4362ac_preproc_ok=false 4363for ac_c_preproc_warn_flag in '' yes 4364do 4365 # Use a header file that comes with gcc, so configuring glibc 4366 # with a fresh cross-compiler works. 4367 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4368 # <limits.h> exists even on freestanding compilers. 4369 # On the NeXT, cc -E runs the code through the compiler's parser, 4370 # not just through cpp. "Syntax error" is here to catch this case. 4371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4372/* end confdefs.h. */ 4373#ifdef __STDC__ 4374# include <limits.h> 4375#else 4376# include <assert.h> 4377#endif 4378 Syntax error 4379_ACEOF 4380if ac_fn_c_try_cpp "$LINENO"; then : 4381 4382else 4383 # Broken: fails on valid input. 4384continue 4385fi 4386rm -f conftest.err conftest.i conftest.$ac_ext 4387 4388 # OK, works on sane cases. Now check whether nonexistent headers 4389 # can be detected and how. 4390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4391/* end confdefs.h. */ 4392#include <ac_nonexistent.h> 4393_ACEOF 4394if ac_fn_c_try_cpp "$LINENO"; then : 4395 # Broken: success on invalid input. 4396continue 4397else 4398 # Passes both tests. 4399ac_preproc_ok=: 4400break 4401fi 4402rm -f conftest.err conftest.i conftest.$ac_ext 4403 4404done 4405# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4406rm -f conftest.i conftest.err conftest.$ac_ext 4407if $ac_preproc_ok; then : 4408 4409else 4410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4411$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4412as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4413See \`config.log' for more details" "$LINENO" 5; } 4414fi 4415 4416ac_ext=c 4417ac_cpp='$CPP $CPPFLAGS' 4418ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4419ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4420ac_compiler_gnu=$ac_cv_c_compiler_gnu 4421 4422 4423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4424$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4425if ${ac_cv_path_GREP+:} false; then : 4426 $as_echo_n "(cached) " >&6 4427else 4428 if test -z "$GREP"; then 4429 ac_path_GREP_found=false 4430 # Loop through the user's path and test for each of PROGNAME-LIST 4431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4432for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4433do 4434 IFS=$as_save_IFS 4435 test -z "$as_dir" && as_dir=. 4436 for ac_prog in grep ggrep; do 4437 for ac_exec_ext in '' $ac_executable_extensions; do 4438 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4439 as_fn_executable_p "$ac_path_GREP" || continue 4440# Check for GNU ac_path_GREP and select it if it is found. 4441 # Check for GNU $ac_path_GREP 4442case `"$ac_path_GREP" --version 2>&1` in 4443*GNU*) 4444 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4445*) 4446 ac_count=0 4447 $as_echo_n 0123456789 >"conftest.in" 4448 while : 4449 do 4450 cat "conftest.in" "conftest.in" >"conftest.tmp" 4451 mv "conftest.tmp" "conftest.in" 4452 cp "conftest.in" "conftest.nl" 4453 $as_echo 'GREP' >> "conftest.nl" 4454 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4455 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4456 as_fn_arith $ac_count + 1 && ac_count=$as_val 4457 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4458 # Best one so far, save it but keep looking for a better one 4459 ac_cv_path_GREP="$ac_path_GREP" 4460 ac_path_GREP_max=$ac_count 4461 fi 4462 # 10*(2^10) chars as input seems more than enough 4463 test $ac_count -gt 10 && break 4464 done 4465 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4466esac 4467 4468 $ac_path_GREP_found && break 3 4469 done 4470 done 4471 done 4472IFS=$as_save_IFS 4473 if test -z "$ac_cv_path_GREP"; then 4474 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4475 fi 4476else 4477 ac_cv_path_GREP=$GREP 4478fi 4479 4480fi 4481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4482$as_echo "$ac_cv_path_GREP" >&6; } 4483 GREP="$ac_cv_path_GREP" 4484 4485 4486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4487$as_echo_n "checking for egrep... " >&6; } 4488if ${ac_cv_path_EGREP+:} false; then : 4489 $as_echo_n "(cached) " >&6 4490else 4491 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4492 then ac_cv_path_EGREP="$GREP -E" 4493 else 4494 if test -z "$EGREP"; then 4495 ac_path_EGREP_found=false 4496 # Loop through the user's path and test for each of PROGNAME-LIST 4497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4498for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4499do 4500 IFS=$as_save_IFS 4501 test -z "$as_dir" && as_dir=. 4502 for ac_prog in egrep; do 4503 for ac_exec_ext in '' $ac_executable_extensions; do 4504 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4505 as_fn_executable_p "$ac_path_EGREP" || continue 4506# Check for GNU ac_path_EGREP and select it if it is found. 4507 # Check for GNU $ac_path_EGREP 4508case `"$ac_path_EGREP" --version 2>&1` in 4509*GNU*) 4510 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4511*) 4512 ac_count=0 4513 $as_echo_n 0123456789 >"conftest.in" 4514 while : 4515 do 4516 cat "conftest.in" "conftest.in" >"conftest.tmp" 4517 mv "conftest.tmp" "conftest.in" 4518 cp "conftest.in" "conftest.nl" 4519 $as_echo 'EGREP' >> "conftest.nl" 4520 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4521 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4522 as_fn_arith $ac_count + 1 && ac_count=$as_val 4523 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4524 # Best one so far, save it but keep looking for a better one 4525 ac_cv_path_EGREP="$ac_path_EGREP" 4526 ac_path_EGREP_max=$ac_count 4527 fi 4528 # 10*(2^10) chars as input seems more than enough 4529 test $ac_count -gt 10 && break 4530 done 4531 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4532esac 4533 4534 $ac_path_EGREP_found && break 3 4535 done 4536 done 4537 done 4538IFS=$as_save_IFS 4539 if test -z "$ac_cv_path_EGREP"; then 4540 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4541 fi 4542else 4543 ac_cv_path_EGREP=$EGREP 4544fi 4545 4546 fi 4547fi 4548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4549$as_echo "$ac_cv_path_EGREP" >&6; } 4550 EGREP="$ac_cv_path_EGREP" 4551 4552 4553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4554$as_echo_n "checking for ANSI C header files... " >&6; } 4555if ${ac_cv_header_stdc+:} false; then : 4556 $as_echo_n "(cached) " >&6 4557else 4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4559/* end confdefs.h. */ 4560#include <stdlib.h> 4561#include <stdarg.h> 4562#include <string.h> 4563#include <float.h> 4564 4565int 4566main () 4567{ 4568 4569 ; 4570 return 0; 4571} 4572_ACEOF 4573if ac_fn_c_try_compile "$LINENO"; then : 4574 ac_cv_header_stdc=yes 4575else 4576 ac_cv_header_stdc=no 4577fi 4578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4579 4580if test $ac_cv_header_stdc = yes; then 4581 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4583/* end confdefs.h. */ 4584#include <string.h> 4585 4586_ACEOF 4587if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4588 $EGREP "memchr" >/dev/null 2>&1; then : 4589 4590else 4591 ac_cv_header_stdc=no 4592fi 4593rm -f conftest* 4594 4595fi 4596 4597if test $ac_cv_header_stdc = yes; then 4598 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4600/* end confdefs.h. */ 4601#include <stdlib.h> 4602 4603_ACEOF 4604if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4605 $EGREP "free" >/dev/null 2>&1; then : 4606 4607else 4608 ac_cv_header_stdc=no 4609fi 4610rm -f conftest* 4611 4612fi 4613 4614if test $ac_cv_header_stdc = yes; then 4615 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4616 if test "$cross_compiling" = yes; then : 4617 : 4618else 4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4620/* end confdefs.h. */ 4621#include <ctype.h> 4622#include <stdlib.h> 4623#if ((' ' & 0x0FF) == 0x020) 4624# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4625# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4626#else 4627# define ISLOWER(c) \ 4628 (('a' <= (c) && (c) <= 'i') \ 4629 || ('j' <= (c) && (c) <= 'r') \ 4630 || ('s' <= (c) && (c) <= 'z')) 4631# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4632#endif 4633 4634#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4635int 4636main () 4637{ 4638 int i; 4639 for (i = 0; i < 256; i++) 4640 if (XOR (islower (i), ISLOWER (i)) 4641 || toupper (i) != TOUPPER (i)) 4642 return 2; 4643 return 0; 4644} 4645_ACEOF 4646if ac_fn_c_try_run "$LINENO"; then : 4647 4648else 4649 ac_cv_header_stdc=no 4650fi 4651rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4652 conftest.$ac_objext conftest.beam conftest.$ac_ext 4653fi 4654 4655fi 4656fi 4657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4658$as_echo "$ac_cv_header_stdc" >&6; } 4659if test $ac_cv_header_stdc = yes; then 4660 4661$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4662 4663fi 4664 4665# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4666for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4667 inttypes.h stdint.h unistd.h 4668do : 4669 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4670ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4671" 4672if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4673 cat >>confdefs.h <<_ACEOF 4674#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4675_ACEOF 4676 4677fi 4678 4679done 4680 4681 4682for ac_header in limits.h sys/time.h sys/types.h sys/stat.h dirent.h unistd.h fnmatch.h ncurses.h 4683do : 4684 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4685ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4686if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4687 cat >>confdefs.h <<_ACEOF 4688#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4689_ACEOF 4690 4691else 4692 as_fn_error $? "required header file not found" "$LINENO" 5 4693fi 4694 4695done 4696 4697 4698for ac_header in locale.h sys/statfs.h linux/magic.h 4699do : 4700 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4701ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4702if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4703 cat >>confdefs.h <<_ACEOF 4704#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4705_ACEOF 4706 4707fi 4708 4709done 4710 4711 4712# Check for typedefs, structures, and compiler characteristics. 4713ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t" 4714case $ac_cv_c_int64_t in #( 4715 no|yes) ;; #( 4716 *) 4717 4718cat >>confdefs.h <<_ACEOF 4719#define int64_t $ac_cv_c_int64_t 4720_ACEOF 4721;; 4722esac 4723 4724ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" 4725case $ac_cv_c_uint64_t in #( 4726 no|yes) ;; #( 4727 *) 4728 4729$as_echo "#define _UINT64_T 1" >>confdefs.h 4730 4731 4732cat >>confdefs.h <<_ACEOF 4733#define uint64_t $ac_cv_c_uint64_t 4734_ACEOF 4735;; 4736 esac 4737 4738# Check whether --enable-largefile was given. 4739if test "${enable_largefile+set}" = set; then : 4740 enableval=$enable_largefile; 4741fi 4742 4743if test "$enable_largefile" != no; then 4744 4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 4746$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 4747if ${ac_cv_sys_largefile_CC+:} false; then : 4748 $as_echo_n "(cached) " >&6 4749else 4750 ac_cv_sys_largefile_CC=no 4751 if test "$GCC" != yes; then 4752 ac_save_CC=$CC 4753 while :; do 4754 # IRIX 6.2 and later do not support large files by default, 4755 # so use the C compiler's -n32 option if that helps. 4756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4757/* end confdefs.h. */ 4758#include <sys/types.h> 4759 /* Check that off_t can represent 2**63 - 1 correctly. 4760 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4761 since some C++ compilers masquerading as C compilers 4762 incorrectly reject 9223372036854775807. */ 4763#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4764 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4765 && LARGE_OFF_T % 2147483647 == 1) 4766 ? 1 : -1]; 4767int 4768main () 4769{ 4770 4771 ; 4772 return 0; 4773} 4774_ACEOF 4775 if ac_fn_c_try_compile "$LINENO"; then : 4776 break 4777fi 4778rm -f core conftest.err conftest.$ac_objext 4779 CC="$CC -n32" 4780 if ac_fn_c_try_compile "$LINENO"; then : 4781 ac_cv_sys_largefile_CC=' -n32'; break 4782fi 4783rm -f core conftest.err conftest.$ac_objext 4784 break 4785 done 4786 CC=$ac_save_CC 4787 rm -f conftest.$ac_ext 4788 fi 4789fi 4790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 4791$as_echo "$ac_cv_sys_largefile_CC" >&6; } 4792 if test "$ac_cv_sys_largefile_CC" != no; then 4793 CC=$CC$ac_cv_sys_largefile_CC 4794 fi 4795 4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 4797$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 4798if ${ac_cv_sys_file_offset_bits+:} false; then : 4799 $as_echo_n "(cached) " >&6 4800else 4801 while :; do 4802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4803/* end confdefs.h. */ 4804#include <sys/types.h> 4805 /* Check that off_t can represent 2**63 - 1 correctly. 4806 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4807 since some C++ compilers masquerading as C compilers 4808 incorrectly reject 9223372036854775807. */ 4809#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4810 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4811 && LARGE_OFF_T % 2147483647 == 1) 4812 ? 1 : -1]; 4813int 4814main () 4815{ 4816 4817 ; 4818 return 0; 4819} 4820_ACEOF 4821if ac_fn_c_try_compile "$LINENO"; then : 4822 ac_cv_sys_file_offset_bits=no; break 4823fi 4824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4826/* end confdefs.h. */ 4827#define _FILE_OFFSET_BITS 64 4828#include <sys/types.h> 4829 /* Check that off_t can represent 2**63 - 1 correctly. 4830 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4831 since some C++ compilers masquerading as C compilers 4832 incorrectly reject 9223372036854775807. */ 4833#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4834 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4835 && LARGE_OFF_T % 2147483647 == 1) 4836 ? 1 : -1]; 4837int 4838main () 4839{ 4840 4841 ; 4842 return 0; 4843} 4844_ACEOF 4845if ac_fn_c_try_compile "$LINENO"; then : 4846 ac_cv_sys_file_offset_bits=64; break 4847fi 4848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4849 ac_cv_sys_file_offset_bits=unknown 4850 break 4851done 4852fi 4853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 4854$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 4855case $ac_cv_sys_file_offset_bits in #( 4856 no | unknown) ;; 4857 *) 4858cat >>confdefs.h <<_ACEOF 4859#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 4860_ACEOF 4861;; 4862esac 4863rm -rf conftest* 4864 if test $ac_cv_sys_file_offset_bits = unknown; then 4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 4866$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 4867if ${ac_cv_sys_large_files+:} false; then : 4868 $as_echo_n "(cached) " >&6 4869else 4870 while :; do 4871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4872/* end confdefs.h. */ 4873#include <sys/types.h> 4874 /* Check that off_t can represent 2**63 - 1 correctly. 4875 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4876 since some C++ compilers masquerading as C compilers 4877 incorrectly reject 9223372036854775807. */ 4878#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4879 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4880 && LARGE_OFF_T % 2147483647 == 1) 4881 ? 1 : -1]; 4882int 4883main () 4884{ 4885 4886 ; 4887 return 0; 4888} 4889_ACEOF 4890if ac_fn_c_try_compile "$LINENO"; then : 4891 ac_cv_sys_large_files=no; break 4892fi 4893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4895/* end confdefs.h. */ 4896#define _LARGE_FILES 1 4897#include <sys/types.h> 4898 /* Check that off_t can represent 2**63 - 1 correctly. 4899 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4900 since some C++ compilers masquerading as C compilers 4901 incorrectly reject 9223372036854775807. */ 4902#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 4903 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4904 && LARGE_OFF_T % 2147483647 == 1) 4905 ? 1 : -1]; 4906int 4907main () 4908{ 4909 4910 ; 4911 return 0; 4912} 4913_ACEOF 4914if ac_fn_c_try_compile "$LINENO"; then : 4915 ac_cv_sys_large_files=1; break 4916fi 4917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4918 ac_cv_sys_large_files=unknown 4919 break 4920done 4921fi 4922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 4923$as_echo "$ac_cv_sys_large_files" >&6; } 4924case $ac_cv_sys_large_files in #( 4925 no | unknown) ;; 4926 *) 4927cat >>confdefs.h <<_ACEOF 4928#define _LARGE_FILES $ac_cv_sys_large_files 4929_ACEOF 4930;; 4931esac 4932rm -rf conftest* 4933 fi 4934 4935 4936fi 4937 4938ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default" 4939if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then : 4940 4941cat >>confdefs.h <<_ACEOF 4942#define HAVE_STRUCT_STAT_ST_BLOCKS 1 4943_ACEOF 4944 4945 4946$as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h 4947 4948else 4949 case " $LIBOBJS " in 4950 *" fileblocks.$ac_objext "* ) ;; 4951 *) LIBOBJS="$LIBOBJS fileblocks.$ac_objext" 4952 ;; 4953esac 4954 4955fi 4956 4957 4958 4959# Check for library functions. 4960for ac_func in getcwd gettimeofday fnmatch chdir rmdir unlink lstat system getenv 4961do : 4962 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4963ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 4964if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 4965 cat >>confdefs.h <<_ACEOF 4966#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 4967_ACEOF 4968 4969else 4970 as_fn_error $? "required function missing" "$LINENO" 5 4971fi 4972done 4973 4974 4975for ac_func in statfs 4976do : 4977 ac_fn_c_check_func "$LINENO" "statfs" "ac_cv_func_statfs" 4978if test "x$ac_cv_func_statfs" = xyes; then : 4979 cat >>confdefs.h <<_ACEOF 4980#define HAVE_STATFS 1 4981_ACEOF 4982 4983fi 4984done 4985 4986 4987for ac_header in sys/attr.h 4988do : 4989 ac_fn_c_check_header_mongrel "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default" 4990if test "x$ac_cv_header_sys_attr_h" = xyes; then : 4991 cat >>confdefs.h <<_ACEOF 4992#define HAVE_SYS_ATTR_H 1 4993_ACEOF 4994 4995fi 4996 4997done 4998 4999 5000for ac_func in getattrlist 5001do : 5002 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist" 5003if test "x$ac_cv_func_getattrlist" = xyes; then : 5004 cat >>confdefs.h <<_ACEOF 5005#define HAVE_GETATTRLIST 1 5006_ACEOF 5007 5008fi 5009done 5010 5011 5012ac_fn_c_check_decl "$LINENO" "ATTR_CMNEXT_NOFIRMLINKPATH" "ac_cv_have_decl_ATTR_CMNEXT_NOFIRMLINKPATH" "#include <sys/attr.h> 5013" 5014if test "x$ac_cv_have_decl_ATTR_CMNEXT_NOFIRMLINKPATH" = xyes; then : 5015 ac_have_decl=1 5016else 5017 ac_have_decl=0 5018fi 5019 5020cat >>confdefs.h <<_ACEOF 5021#define HAVE_DECL_ATTR_CMNEXT_NOFIRMLINKPATH $ac_have_decl 5022_ACEOF 5023 5024 5025# Look for ncurses library to link to 5026ncurses=auto 5027 5028# Check whether --with-ncurses was given. 5029if test "${with_ncurses+set}" = set; then : 5030 withval=$with_ncurses; ncurses=ncurses 5031fi 5032 5033 5034# Check whether --with-ncursesw was given. 5035if test "${with_ncursesw+set}" = set; then : 5036 withval=$with_ncursesw; ncurses=ncursesw 5037fi 5038 5039if test "$ncurses" = "auto" -o "$ncurses" = "ncursesw"; then 5040 5041pkg_failed=no 5042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncursesw" >&5 5043$as_echo_n "checking for ncursesw... " >&6; } 5044 5045if test -n "$NCURSES_CFLAGS"; then 5046 pkg_cv_NCURSES_CFLAGS="$NCURSES_CFLAGS" 5047 elif test -n "$PKG_CONFIG"; then 5048 if test -n "$PKG_CONFIG" && \ 5049 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5 5050 ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5 5051 ac_status=$? 5052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5053 test $ac_status = 0; }; then 5054 pkg_cv_NCURSES_CFLAGS=`$PKG_CONFIG --cflags "ncursesw" 2>/dev/null` 5055 test "x$?" != "x0" && pkg_failed=yes 5056else 5057 pkg_failed=yes 5058fi 5059 else 5060 pkg_failed=untried 5061fi 5062if test -n "$NCURSES_LIBS"; then 5063 pkg_cv_NCURSES_LIBS="$NCURSES_LIBS" 5064 elif test -n "$PKG_CONFIG"; then 5065 if test -n "$PKG_CONFIG" && \ 5066 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5 5067 ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5 5068 ac_status=$? 5069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5070 test $ac_status = 0; }; then 5071 pkg_cv_NCURSES_LIBS=`$PKG_CONFIG --libs "ncursesw" 2>/dev/null` 5072 test "x$?" != "x0" && pkg_failed=yes 5073else 5074 pkg_failed=yes 5075fi 5076 else 5077 pkg_failed=untried 5078fi 5079 5080 5081 5082if test $pkg_failed = yes; then 5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5084$as_echo "no" >&6; } 5085 5086if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 5087 _pkg_short_errors_supported=yes 5088else 5089 _pkg_short_errors_supported=no 5090fi 5091 if test $_pkg_short_errors_supported = yes; then 5092 NCURSES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncursesw" 2>&1` 5093 else 5094 NCURSES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ncursesw" 2>&1` 5095 fi 5096 # Put the nasty error message in config.log where it belongs 5097 echo "$NCURSES_PKG_ERRORS" >&5 5098 5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5 5100$as_echo_n "checking for initscr in -lncursesw... " >&6; } 5101if ${ac_cv_lib_ncursesw_initscr+:} false; then : 5102 $as_echo_n "(cached) " >&6 5103else 5104 ac_check_lib_save_LIBS=$LIBS 5105LIBS="-lncursesw $LIBS" 5106cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5107/* end confdefs.h. */ 5108 5109/* Override any GCC internal prototype to avoid an error. 5110 Use char because int might match the return type of a GCC 5111 builtin and then its argument prototype would still apply. */ 5112#ifdef __cplusplus 5113extern "C" 5114#endif 5115char initscr (); 5116int 5117main () 5118{ 5119return initscr (); 5120 ; 5121 return 0; 5122} 5123_ACEOF 5124if ac_fn_c_try_link "$LINENO"; then : 5125 ac_cv_lib_ncursesw_initscr=yes 5126else 5127 ac_cv_lib_ncursesw_initscr=no 5128fi 5129rm -f core conftest.err conftest.$ac_objext \ 5130 conftest$ac_exeext conftest.$ac_ext 5131LIBS=$ac_check_lib_save_LIBS 5132fi 5133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5 5134$as_echo "$ac_cv_lib_ncursesw_initscr" >&6; } 5135if test "x$ac_cv_lib_ncursesw_initscr" = xyes; then : 5136 LIBS="$LIBS -lncursesw"; ncurses=ncursesw 5137else 5138 ncurses=ncurses 5139fi 5140 5141 5142elif test $pkg_failed = untried; then 5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5144$as_echo "no" >&6; } 5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5 5146$as_echo_n "checking for initscr in -lncursesw... " >&6; } 5147if ${ac_cv_lib_ncursesw_initscr+:} false; then : 5148 $as_echo_n "(cached) " >&6 5149else 5150 ac_check_lib_save_LIBS=$LIBS 5151LIBS="-lncursesw $LIBS" 5152cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5153/* end confdefs.h. */ 5154 5155/* Override any GCC internal prototype to avoid an error. 5156 Use char because int might match the return type of a GCC 5157 builtin and then its argument prototype would still apply. */ 5158#ifdef __cplusplus 5159extern "C" 5160#endif 5161char initscr (); 5162int 5163main () 5164{ 5165return initscr (); 5166 ; 5167 return 0; 5168} 5169_ACEOF 5170if ac_fn_c_try_link "$LINENO"; then : 5171 ac_cv_lib_ncursesw_initscr=yes 5172else 5173 ac_cv_lib_ncursesw_initscr=no 5174fi 5175rm -f core conftest.err conftest.$ac_objext \ 5176 conftest$ac_exeext conftest.$ac_ext 5177LIBS=$ac_check_lib_save_LIBS 5178fi 5179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5 5180$as_echo "$ac_cv_lib_ncursesw_initscr" >&6; } 5181if test "x$ac_cv_lib_ncursesw_initscr" = xyes; then : 5182 LIBS="$LIBS -lncursesw"; ncurses=ncursesw 5183else 5184 ncurses=ncurses 5185fi 5186 5187 5188else 5189 NCURSES_CFLAGS=$pkg_cv_NCURSES_CFLAGS 5190 NCURSES_LIBS=$pkg_cv_NCURSES_LIBS 5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5192$as_echo "yes" >&6; } 5193 LIBS="$LIBS $NCURSES_LIBS"; ncurses=ncursesw 5194fi 5195fi 5196if test "$ncurses" = "ncurses"; then 5197 5198pkg_failed=no 5199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncurses" >&5 5200$as_echo_n "checking for ncurses... " >&6; } 5201 5202if test -n "$NCURSES_CFLAGS"; then 5203 pkg_cv_NCURSES_CFLAGS="$NCURSES_CFLAGS" 5204 elif test -n "$PKG_CONFIG"; then 5205 if test -n "$PKG_CONFIG" && \ 5206 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5 5207 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5 5208 ac_status=$? 5209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5210 test $ac_status = 0; }; then 5211 pkg_cv_NCURSES_CFLAGS=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null` 5212 test "x$?" != "x0" && pkg_failed=yes 5213else 5214 pkg_failed=yes 5215fi 5216 else 5217 pkg_failed=untried 5218fi 5219if test -n "$NCURSES_LIBS"; then 5220 pkg_cv_NCURSES_LIBS="$NCURSES_LIBS" 5221 elif test -n "$PKG_CONFIG"; then 5222 if test -n "$PKG_CONFIG" && \ 5223 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5 5224 ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5 5225 ac_status=$? 5226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5227 test $ac_status = 0; }; then 5228 pkg_cv_NCURSES_LIBS=`$PKG_CONFIG --libs "ncurses" 2>/dev/null` 5229 test "x$?" != "x0" && pkg_failed=yes 5230else 5231 pkg_failed=yes 5232fi 5233 else 5234 pkg_failed=untried 5235fi 5236 5237 5238 5239if test $pkg_failed = yes; then 5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5241$as_echo "no" >&6; } 5242 5243if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 5244 _pkg_short_errors_supported=yes 5245else 5246 _pkg_short_errors_supported=no 5247fi 5248 if test $_pkg_short_errors_supported = yes; then 5249 NCURSES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ncurses" 2>&1` 5250 else 5251 NCURSES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ncurses" 2>&1` 5252 fi 5253 # Put the nasty error message in config.log where it belongs 5254 echo "$NCURSES_PKG_ERRORS" >&5 5255 5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5 5257$as_echo_n "checking for initscr in -lncurses... " >&6; } 5258if ${ac_cv_lib_ncurses_initscr+:} false; then : 5259 $as_echo_n "(cached) " >&6 5260else 5261 ac_check_lib_save_LIBS=$LIBS 5262LIBS="-lncurses $LIBS" 5263cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5264/* end confdefs.h. */ 5265 5266/* Override any GCC internal prototype to avoid an error. 5267 Use char because int might match the return type of a GCC 5268 builtin and then its argument prototype would still apply. */ 5269#ifdef __cplusplus 5270extern "C" 5271#endif 5272char initscr (); 5273int 5274main () 5275{ 5276return initscr (); 5277 ; 5278 return 0; 5279} 5280_ACEOF 5281if ac_fn_c_try_link "$LINENO"; then : 5282 ac_cv_lib_ncurses_initscr=yes 5283else 5284 ac_cv_lib_ncurses_initscr=no 5285fi 5286rm -f core conftest.err conftest.$ac_objext \ 5287 conftest$ac_exeext conftest.$ac_ext 5288LIBS=$ac_check_lib_save_LIBS 5289fi 5290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5 5291$as_echo "$ac_cv_lib_ncurses_initscr" >&6; } 5292if test "x$ac_cv_lib_ncurses_initscr" = xyes; then : 5293 LIBS="$LIBS -lncurses" 5294else 5295 as_fn_error $? "ncurses library is required" "$LINENO" 5 5296fi 5297 5298 5299elif test $pkg_failed = untried; then 5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5301$as_echo "no" >&6; } 5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5 5303$as_echo_n "checking for initscr in -lncurses... " >&6; } 5304if ${ac_cv_lib_ncurses_initscr+:} false; then : 5305 $as_echo_n "(cached) " >&6 5306else 5307 ac_check_lib_save_LIBS=$LIBS 5308LIBS="-lncurses $LIBS" 5309cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5310/* end confdefs.h. */ 5311 5312/* Override any GCC internal prototype to avoid an error. 5313 Use char because int might match the return type of a GCC 5314 builtin and then its argument prototype would still apply. */ 5315#ifdef __cplusplus 5316extern "C" 5317#endif 5318char initscr (); 5319int 5320main () 5321{ 5322return initscr (); 5323 ; 5324 return 0; 5325} 5326_ACEOF 5327if ac_fn_c_try_link "$LINENO"; then : 5328 ac_cv_lib_ncurses_initscr=yes 5329else 5330 ac_cv_lib_ncurses_initscr=no 5331fi 5332rm -f core conftest.err conftest.$ac_objext \ 5333 conftest$ac_exeext conftest.$ac_ext 5334LIBS=$ac_check_lib_save_LIBS 5335fi 5336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5 5337$as_echo "$ac_cv_lib_ncurses_initscr" >&6; } 5338if test "x$ac_cv_lib_ncurses_initscr" = xyes; then : 5339 LIBS="$LIBS -lncurses" 5340else 5341 as_fn_error $? "ncurses library is required" "$LINENO" 5 5342fi 5343 5344 5345else 5346 NCURSES_CFLAGS=$pkg_cv_NCURSES_CFLAGS 5347 NCURSES_LIBS=$pkg_cv_NCURSES_LIBS 5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5349$as_echo "yes" >&6; } 5350 LIBS="$LIBS $NCURSES_LIBS" 5351fi 5352fi 5353 5354# Configure default shell for spawning shell when $SHELL is not set 5355 5356# Check whether --with-shell was given. 5357if test "${with_shell+set}" = set; then : 5358 withval=$with_shell; DEFAULT_SHELL=$withval 5359else 5360 DEFAULT_SHELL=/bin/sh 5361fi 5362 5363{ $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_SHELL as the default shell if \$SHELL is not set" >&5 5364$as_echo "$as_me: Using $DEFAULT_SHELL as the default shell if \$SHELL is not set" >&6;} 5365 5366cat >>confdefs.h <<_ACEOF 5367#define DEFAULT_SHELL "$DEFAULT_SHELL" 5368_ACEOF 5369 5370 5371 5372ac_config_files="$ac_config_files Makefile" 5373 5374cat >confcache <<\_ACEOF 5375# This file is a shell script that caches the results of configure 5376# tests run on this system so they can be shared between configure 5377# scripts and configure runs, see configure's option --config-cache. 5378# It is not useful on other systems. If it contains results you don't 5379# want to keep, you may remove or edit it. 5380# 5381# config.status only pays attention to the cache file if you give it 5382# the --recheck option to rerun configure. 5383# 5384# `ac_cv_env_foo' variables (set or unset) will be overridden when 5385# loading this file, other *unset* `ac_cv_foo' will be assigned the 5386# following values. 5387 5388_ACEOF 5389 5390# The following way of writing the cache mishandles newlines in values, 5391# but we know of no workaround that is simple, portable, and efficient. 5392# So, we kill variables containing newlines. 5393# Ultrix sh set writes to stderr and can't be redirected directly, 5394# and sets the high bit in the cache file unless we assign to the vars. 5395( 5396 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5397 eval ac_val=\$$ac_var 5398 case $ac_val in #( 5399 *${as_nl}*) 5400 case $ac_var in #( 5401 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 5402$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 5403 esac 5404 case $ac_var in #( 5405 _ | IFS | as_nl) ;; #( 5406 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 5407 *) { eval $ac_var=; unset $ac_var;} ;; 5408 esac ;; 5409 esac 5410 done 5411 5412 (set) 2>&1 | 5413 case $as_nl`(ac_space=' '; set) 2>&1` in #( 5414 *${as_nl}ac_space=\ *) 5415 # `set' does not quote correctly, so add quotes: double-quote 5416 # substitution turns \\\\ into \\, and sed turns \\ into \. 5417 sed -n \ 5418 "s/'/'\\\\''/g; 5419 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5420 ;; #( 5421 *) 5422 # `set' quotes correctly as required by POSIX, so do not add quotes. 5423 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 5424 ;; 5425 esac | 5426 sort 5427) | 5428 sed ' 5429 /^ac_cv_env_/b end 5430 t clear 5431 :clear 5432 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5433 t end 5434 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5435 :end' >>confcache 5436if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5437 if test -w "$cache_file"; then 5438 if test "x$cache_file" != "x/dev/null"; then 5439 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 5440$as_echo "$as_me: updating cache $cache_file" >&6;} 5441 if test ! -f "$cache_file" || test -h "$cache_file"; then 5442 cat confcache >"$cache_file" 5443 else 5444 case $cache_file in #( 5445 */* | ?:*) 5446 mv -f confcache "$cache_file"$$ && 5447 mv -f "$cache_file"$$ "$cache_file" ;; #( 5448 *) 5449 mv -f confcache "$cache_file" ;; 5450 esac 5451 fi 5452 fi 5453 else 5454 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 5455$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5456 fi 5457fi 5458rm -f confcache 5459 5460test "x$prefix" = xNONE && prefix=$ac_default_prefix 5461# Let make expand exec_prefix. 5462test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5463 5464DEFS=-DHAVE_CONFIG_H 5465 5466ac_libobjs= 5467ac_ltlibobjs= 5468U= 5469for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5470 # 1. Remove the extension, and $U if already installed. 5471 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5472 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 5473 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5474 # will be set to the directory where LIBOBJS objects are built. 5475 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5476 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 5477done 5478LIBOBJS=$ac_libobjs 5479 5480LTLIBOBJS=$ac_ltlibobjs 5481 5482 5483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 5484$as_echo_n "checking that generated files are newer than configure... " >&6; } 5485 if test -n "$am_sleep_pid"; then 5486 # Hide warnings about reused PIDs. 5487 wait $am_sleep_pid 2>/dev/null 5488 fi 5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 5490$as_echo "done" >&6; } 5491 if test -n "$EXEEXT"; then 5492 am__EXEEXT_TRUE= 5493 am__EXEEXT_FALSE='#' 5494else 5495 am__EXEEXT_TRUE='#' 5496 am__EXEEXT_FALSE= 5497fi 5498 5499if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5500 as_fn_error $? "conditional \"AMDEP\" was never defined. 5501Usually this means the macro was only invoked conditionally." "$LINENO" 5 5502fi 5503if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5504 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 5505Usually this means the macro was only invoked conditionally." "$LINENO" 5 5506fi 5507 5508: "${CONFIG_STATUS=./config.status}" 5509ac_write_fail=0 5510ac_clean_files_save=$ac_clean_files 5511ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5512{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 5513$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5514as_write_fail=0 5515cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 5516#! $SHELL 5517# Generated by $as_me. 5518# Run this file to recreate the current configuration. 5519# Compiler output produced by configure, useful for debugging 5520# configure, is in config.log if it exists. 5521 5522debug=false 5523ac_cs_recheck=false 5524ac_cs_silent=false 5525 5526SHELL=\${CONFIG_SHELL-$SHELL} 5527export SHELL 5528_ASEOF 5529cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 5530## -------------------- ## 5531## M4sh Initialization. ## 5532## -------------------- ## 5533 5534# Be more Bourne compatible 5535DUALCASE=1; export DUALCASE # for MKS sh 5536if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 5537 emulate sh 5538 NULLCMD=: 5539 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5540 # is contrary to our usage. Disable this feature. 5541 alias -g '${1+"$@"}'='"$@"' 5542 setopt NO_GLOB_SUBST 5543else 5544 case `(set -o) 2>/dev/null` in #( 5545 *posix*) : 5546 set -o posix ;; #( 5547 *) : 5548 ;; 5549esac 5550fi 5551 5552 5553as_nl=' 5554' 5555export as_nl 5556# Printing a long string crashes Solaris 7 /usr/bin/printf. 5557as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5558as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 5559as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 5560# Prefer a ksh shell builtin over an external printf program on Solaris, 5561# but without wasting forks for bash or zsh. 5562if test -z "$BASH_VERSION$ZSH_VERSION" \ 5563 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 5564 as_echo='print -r --' 5565 as_echo_n='print -rn --' 5566elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5567 as_echo='printf %s\n' 5568 as_echo_n='printf %s' 5569else 5570 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5571 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5572 as_echo_n='/usr/ucb/echo -n' 5573 else 5574 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5575 as_echo_n_body='eval 5576 arg=$1; 5577 case $arg in #( 5578 *"$as_nl"*) 5579 expr "X$arg" : "X\\(.*\\)$as_nl"; 5580 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 5581 esac; 5582 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 5583 ' 5584 export as_echo_n_body 5585 as_echo_n='sh -c $as_echo_n_body as_echo' 5586 fi 5587 export as_echo_body 5588 as_echo='sh -c $as_echo_body as_echo' 5589fi 5590 5591# The user is always right. 5592if test "${PATH_SEPARATOR+set}" != set; then 5593 PATH_SEPARATOR=: 5594 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5595 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5596 PATH_SEPARATOR=';' 5597 } 5598fi 5599 5600 5601# IFS 5602# We need space, tab and new line, in precisely that order. Quoting is 5603# there to prevent editors from complaining about space-tab. 5604# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5605# splitting by setting IFS to empty value.) 5606IFS=" "" $as_nl" 5607 5608# Find who we are. Look in the path if we contain no directory separator. 5609as_myself= 5610case $0 in #(( 5611 *[\\/]* ) as_myself=$0 ;; 5612 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5613for as_dir in $PATH 5614do 5615 IFS=$as_save_IFS 5616 test -z "$as_dir" && as_dir=. 5617 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5618 done 5619IFS=$as_save_IFS 5620 5621 ;; 5622esac 5623# We did not find ourselves, most probably we were run as `sh COMMAND' 5624# in which case we are not to be found in the path. 5625if test "x$as_myself" = x; then 5626 as_myself=$0 5627fi 5628if test ! -f "$as_myself"; then 5629 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5630 exit 1 5631fi 5632 5633# Unset variables that we do not need and which cause bugs (e.g. in 5634# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 5635# suppresses any "Segmentation fault" message there. '((' could 5636# trigger a bug in pdksh 5.2.14. 5637for as_var in BASH_ENV ENV MAIL MAILPATH 5638do eval test x\${$as_var+set} = xset \ 5639 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 5640done 5641PS1='$ ' 5642PS2='> ' 5643PS4='+ ' 5644 5645# NLS nuisances. 5646LC_ALL=C 5647export LC_ALL 5648LANGUAGE=C 5649export LANGUAGE 5650 5651# CDPATH. 5652(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 5653 5654 5655# as_fn_error STATUS ERROR [LINENO LOG_FD] 5656# ---------------------------------------- 5657# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 5658# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 5659# script with STATUS, using 1 if that was 0. 5660as_fn_error () 5661{ 5662 as_status=$1; test $as_status -eq 0 && as_status=1 5663 if test "$4"; then 5664 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 5665 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 5666 fi 5667 $as_echo "$as_me: error: $2" >&2 5668 as_fn_exit $as_status 5669} # as_fn_error 5670 5671 5672# as_fn_set_status STATUS 5673# ----------------------- 5674# Set $? to STATUS, without forking. 5675as_fn_set_status () 5676{ 5677 return $1 5678} # as_fn_set_status 5679 5680# as_fn_exit STATUS 5681# ----------------- 5682# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 5683as_fn_exit () 5684{ 5685 set +e 5686 as_fn_set_status $1 5687 exit $1 5688} # as_fn_exit 5689 5690# as_fn_unset VAR 5691# --------------- 5692# Portably unset VAR. 5693as_fn_unset () 5694{ 5695 { eval $1=; unset $1;} 5696} 5697as_unset=as_fn_unset 5698# as_fn_append VAR VALUE 5699# ---------------------- 5700# Append the text in VALUE to the end of the definition contained in VAR. Take 5701# advantage of any shell optimizations that allow amortized linear growth over 5702# repeated appends, instead of the typical quadratic growth present in naive 5703# implementations. 5704if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 5705 eval 'as_fn_append () 5706 { 5707 eval $1+=\$2 5708 }' 5709else 5710 as_fn_append () 5711 { 5712 eval $1=\$$1\$2 5713 } 5714fi # as_fn_append 5715 5716# as_fn_arith ARG... 5717# ------------------ 5718# Perform arithmetic evaluation on the ARGs, and store the result in the 5719# global $as_val. Take advantage of shells that can avoid forks. The arguments 5720# must be portable across $(()) and expr. 5721if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 5722 eval 'as_fn_arith () 5723 { 5724 as_val=$(( $* )) 5725 }' 5726else 5727 as_fn_arith () 5728 { 5729 as_val=`expr "$@" || test $? -eq 1` 5730 } 5731fi # as_fn_arith 5732 5733 5734if expr a : '\(a\)' >/dev/null 2>&1 && 5735 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5736 as_expr=expr 5737else 5738 as_expr=false 5739fi 5740 5741if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5742 as_basename=basename 5743else 5744 as_basename=false 5745fi 5746 5747if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5748 as_dirname=dirname 5749else 5750 as_dirname=false 5751fi 5752 5753as_me=`$as_basename -- "$0" || 5754$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5755 X"$0" : 'X\(//\)$' \| \ 5756 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5757$as_echo X/"$0" | 5758 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5759 s//\1/ 5760 q 5761 } 5762 /^X\/\(\/\/\)$/{ 5763 s//\1/ 5764 q 5765 } 5766 /^X\/\(\/\).*/{ 5767 s//\1/ 5768 q 5769 } 5770 s/.*/./; q'` 5771 5772# Avoid depending upon Character Ranges. 5773as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5774as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5775as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5776as_cr_digits='0123456789' 5777as_cr_alnum=$as_cr_Letters$as_cr_digits 5778 5779ECHO_C= ECHO_N= ECHO_T= 5780case `echo -n x` in #((((( 5781-n*) 5782 case `echo 'xy\c'` in 5783 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5784 xy) ECHO_C='\c';; 5785 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5786 ECHO_T=' ';; 5787 esac;; 5788*) 5789 ECHO_N='-n';; 5790esac 5791 5792rm -f conf$$ conf$$.exe conf$$.file 5793if test -d conf$$.dir; then 5794 rm -f conf$$.dir/conf$$.file 5795else 5796 rm -f conf$$.dir 5797 mkdir conf$$.dir 2>/dev/null 5798fi 5799if (echo >conf$$.file) 2>/dev/null; then 5800 if ln -s conf$$.file conf$$ 2>/dev/null; then 5801 as_ln_s='ln -s' 5802 # ... but there are two gotchas: 5803 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5804 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5805 # In both cases, we have to default to `cp -pR'. 5806 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5807 as_ln_s='cp -pR' 5808 elif ln conf$$.file conf$$ 2>/dev/null; then 5809 as_ln_s=ln 5810 else 5811 as_ln_s='cp -pR' 5812 fi 5813else 5814 as_ln_s='cp -pR' 5815fi 5816rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5817rmdir conf$$.dir 2>/dev/null 5818 5819 5820# as_fn_mkdir_p 5821# ------------- 5822# Create "$as_dir" as a directory, including parents if necessary. 5823as_fn_mkdir_p () 5824{ 5825 5826 case $as_dir in #( 5827 -*) as_dir=./$as_dir;; 5828 esac 5829 test -d "$as_dir" || eval $as_mkdir_p || { 5830 as_dirs= 5831 while :; do 5832 case $as_dir in #( 5833 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5834 *) as_qdir=$as_dir;; 5835 esac 5836 as_dirs="'$as_qdir' $as_dirs" 5837 as_dir=`$as_dirname -- "$as_dir" || 5838$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5839 X"$as_dir" : 'X\(//\)[^/]' \| \ 5840 X"$as_dir" : 'X\(//\)$' \| \ 5841 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5842$as_echo X"$as_dir" | 5843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5844 s//\1/ 5845 q 5846 } 5847 /^X\(\/\/\)[^/].*/{ 5848 s//\1/ 5849 q 5850 } 5851 /^X\(\/\/\)$/{ 5852 s//\1/ 5853 q 5854 } 5855 /^X\(\/\).*/{ 5856 s//\1/ 5857 q 5858 } 5859 s/.*/./; q'` 5860 test -d "$as_dir" && break 5861 done 5862 test -z "$as_dirs" || eval "mkdir $as_dirs" 5863 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5864 5865 5866} # as_fn_mkdir_p 5867if mkdir -p . 2>/dev/null; then 5868 as_mkdir_p='mkdir -p "$as_dir"' 5869else 5870 test -d ./-p && rmdir ./-p 5871 as_mkdir_p=false 5872fi 5873 5874 5875# as_fn_executable_p FILE 5876# ----------------------- 5877# Test if FILE is an executable regular file. 5878as_fn_executable_p () 5879{ 5880 test -f "$1" && test -x "$1" 5881} # as_fn_executable_p 5882as_test_x='test -x' 5883as_executable_p=as_fn_executable_p 5884 5885# Sed expression to map a string onto a valid CPP name. 5886as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5887 5888# Sed expression to map a string onto a valid variable name. 5889as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5890 5891 5892exec 6>&1 5893## ----------------------------------- ## 5894## Main body of $CONFIG_STATUS script. ## 5895## ----------------------------------- ## 5896_ASEOF 5897test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5898 5899cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5900# Save the log message, to keep $0 and so on meaningful, and to 5901# report actual input values of CONFIG_FILES etc. instead of their 5902# values after options handling. 5903ac_log=" 5904This file was extended by ncdu $as_me 1.16, which was 5905generated by GNU Autoconf 2.69. Invocation command line was 5906 5907 CONFIG_FILES = $CONFIG_FILES 5908 CONFIG_HEADERS = $CONFIG_HEADERS 5909 CONFIG_LINKS = $CONFIG_LINKS 5910 CONFIG_COMMANDS = $CONFIG_COMMANDS 5911 $ $0 $@ 5912 5913on `(hostname || uname -n) 2>/dev/null | sed 1q` 5914" 5915 5916_ACEOF 5917 5918case $ac_config_files in *" 5919"*) set x $ac_config_files; shift; ac_config_files=$*;; 5920esac 5921 5922case $ac_config_headers in *" 5923"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 5924esac 5925 5926 5927cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5928# Files that config.status was made for. 5929config_files="$ac_config_files" 5930config_headers="$ac_config_headers" 5931config_commands="$ac_config_commands" 5932 5933_ACEOF 5934 5935cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5936ac_cs_usage="\ 5937\`$as_me' instantiates files and other configuration actions 5938from templates according to the current configuration. Unless the files 5939and actions are specified as TAGs, all are instantiated by default. 5940 5941Usage: $0 [OPTION]... [TAG]... 5942 5943 -h, --help print this help, then exit 5944 -V, --version print version number and configuration settings, then exit 5945 --config print configuration, then exit 5946 -q, --quiet, --silent 5947 do not print progress messages 5948 -d, --debug don't remove temporary files 5949 --recheck update $as_me by reconfiguring in the same conditions 5950 --file=FILE[:TEMPLATE] 5951 instantiate the configuration file FILE 5952 --header=FILE[:TEMPLATE] 5953 instantiate the configuration header FILE 5954 5955Configuration files: 5956$config_files 5957 5958Configuration headers: 5959$config_headers 5960 5961Configuration commands: 5962$config_commands 5963 5964Report bugs to <projects@yorhel.nl>." 5965 5966_ACEOF 5967cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5968ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5969ac_cs_version="\\ 5970ncdu config.status 1.16 5971configured by $0, generated by GNU Autoconf 2.69, 5972 with options \\"\$ac_cs_config\\" 5973 5974Copyright (C) 2012 Free Software Foundation, Inc. 5975This config.status script is free software; the Free Software Foundation 5976gives unlimited permission to copy, distribute and modify it." 5977 5978ac_pwd='$ac_pwd' 5979srcdir='$srcdir' 5980INSTALL='$INSTALL' 5981MKDIR_P='$MKDIR_P' 5982AWK='$AWK' 5983test -n "\$AWK" || AWK=awk 5984_ACEOF 5985 5986cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5987# The default lists apply if the user does not specify any file. 5988ac_need_defaults=: 5989while test $# != 0 5990do 5991 case $1 in 5992 --*=?*) 5993 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5994 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5995 ac_shift=: 5996 ;; 5997 --*=) 5998 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5999 ac_optarg= 6000 ac_shift=: 6001 ;; 6002 *) 6003 ac_option=$1 6004 ac_optarg=$2 6005 ac_shift=shift 6006 ;; 6007 esac 6008 6009 case $ac_option in 6010 # Handling of the options. 6011 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6012 ac_cs_recheck=: ;; 6013 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6014 $as_echo "$ac_cs_version"; exit ;; 6015 --config | --confi | --conf | --con | --co | --c ) 6016 $as_echo "$ac_cs_config"; exit ;; 6017 --debug | --debu | --deb | --de | --d | -d ) 6018 debug=: ;; 6019 --file | --fil | --fi | --f ) 6020 $ac_shift 6021 case $ac_optarg in 6022 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6023 '') as_fn_error $? "missing file argument" ;; 6024 esac 6025 as_fn_append CONFIG_FILES " '$ac_optarg'" 6026 ac_need_defaults=false;; 6027 --header | --heade | --head | --hea ) 6028 $ac_shift 6029 case $ac_optarg in 6030 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6031 esac 6032 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 6033 ac_need_defaults=false;; 6034 --he | --h) 6035 # Conflict between --help and --header 6036 as_fn_error $? "ambiguous option: \`$1' 6037Try \`$0 --help' for more information.";; 6038 --help | --hel | -h ) 6039 $as_echo "$ac_cs_usage"; exit ;; 6040 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6041 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6042 ac_cs_silent=: ;; 6043 6044 # This is an error. 6045 -*) as_fn_error $? "unrecognized option: \`$1' 6046Try \`$0 --help' for more information." ;; 6047 6048 *) as_fn_append ac_config_targets " $1" 6049 ac_need_defaults=false ;; 6050 6051 esac 6052 shift 6053done 6054 6055ac_configure_extra_args= 6056 6057if $ac_cs_silent; then 6058 exec 6>/dev/null 6059 ac_configure_extra_args="$ac_configure_extra_args --silent" 6060fi 6061 6062_ACEOF 6063cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6064if \$ac_cs_recheck; then 6065 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6066 shift 6067 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 6068 CONFIG_SHELL='$SHELL' 6069 export CONFIG_SHELL 6070 exec "\$@" 6071fi 6072 6073_ACEOF 6074cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6075exec 5>>config.log 6076{ 6077 echo 6078 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 6079## Running $as_me. ## 6080_ASBOX 6081 $as_echo "$ac_log" 6082} >&5 6083 6084_ACEOF 6085cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6086# 6087# INIT-COMMANDS 6088# 6089AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 6090 6091_ACEOF 6092 6093cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6094 6095# Handling of arguments. 6096for ac_config_target in $ac_config_targets 6097do 6098 case $ac_config_target in 6099 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 6100 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 6101 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6102 6103 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 6104 esac 6105done 6106 6107 6108# If the user did not use the arguments to specify the items to instantiate, 6109# then the envvar interface is used. Set only those that are not. 6110# We use the long form for the default assignment because of an extremely 6111# bizarre bug on SunOS 4.1.3. 6112if $ac_need_defaults; then 6113 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 6114 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 6115 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 6116fi 6117 6118# Have a temporary directory for convenience. Make it in the build tree 6119# simply because there is no reason against having it here, and in addition, 6120# creating and moving files from /tmp can sometimes cause problems. 6121# Hook for its removal unless debugging. 6122# Note that there is a small window in which the directory will not be cleaned: 6123# after its creation but before its name has been assigned to `$tmp'. 6124$debug || 6125{ 6126 tmp= ac_tmp= 6127 trap 'exit_status=$? 6128 : "${ac_tmp:=$tmp}" 6129 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 6130' 0 6131 trap 'as_fn_exit 1' 1 2 13 15 6132} 6133# Create a (secure) tmp directory for tmp files. 6134 6135{ 6136 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 6137 test -d "$tmp" 6138} || 6139{ 6140 tmp=./conf$$-$RANDOM 6141 (umask 077 && mkdir "$tmp") 6142} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 6143ac_tmp=$tmp 6144 6145# Set up the scripts for CONFIG_FILES section. 6146# No need to generate them if there are no CONFIG_FILES. 6147# This happens for instance with `./config.status config.h'. 6148if test -n "$CONFIG_FILES"; then 6149 6150 6151ac_cr=`echo X | tr X '\015'` 6152# On cygwin, bash can eat \r inside `` if the user requested igncr. 6153# But we know of no other shell where ac_cr would be empty at this 6154# point, so we can use a bashism as a fallback. 6155if test "x$ac_cr" = x; then 6156 eval ac_cr=\$\'\\r\' 6157fi 6158ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 6159if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 6160 ac_cs_awk_cr='\\r' 6161else 6162 ac_cs_awk_cr=$ac_cr 6163fi 6164 6165echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 6166_ACEOF 6167 6168 6169{ 6170 echo "cat >conf$$subs.awk <<_ACEOF" && 6171 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 6172 echo "_ACEOF" 6173} >conf$$subs.sh || 6174 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 6175ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 6176ac_delim='%!_!# ' 6177for ac_last_try in false false false false false :; do 6178 . ./conf$$subs.sh || 6179 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 6180 6181 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 6182 if test $ac_delim_n = $ac_delim_num; then 6183 break 6184 elif $ac_last_try; then 6185 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 6186 else 6187 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6188 fi 6189done 6190rm -f conf$$subs.sh 6191 6192cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6193cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 6194_ACEOF 6195sed -n ' 6196h 6197s/^/S["/; s/!.*/"]=/ 6198p 6199g 6200s/^[^!]*!// 6201:repl 6202t repl 6203s/'"$ac_delim"'$// 6204t delim 6205:nl 6206h 6207s/\(.\{148\}\)..*/\1/ 6208t more1 6209s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 6210p 6211n 6212b repl 6213:more1 6214s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6215p 6216g 6217s/.\{148\}// 6218t nl 6219:delim 6220h 6221s/\(.\{148\}\)..*/\1/ 6222t more2 6223s/["\\]/\\&/g; s/^/"/; s/$/"/ 6224p 6225b 6226:more2 6227s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6228p 6229g 6230s/.\{148\}// 6231t delim 6232' <conf$$subs.awk | sed ' 6233/^[^""]/{ 6234 N 6235 s/\n// 6236} 6237' >>$CONFIG_STATUS || ac_write_fail=1 6238rm -f conf$$subs.awk 6239cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6240_ACAWK 6241cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 6242 for (key in S) S_is_set[key] = 1 6243 FS = "" 6244 6245} 6246{ 6247 line = $ 0 6248 nfields = split(line, field, "@") 6249 substed = 0 6250 len = length(field[1]) 6251 for (i = 2; i < nfields; i++) { 6252 key = field[i] 6253 keylen = length(key) 6254 if (S_is_set[key]) { 6255 value = S[key] 6256 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 6257 len += length(value) + length(field[++i]) 6258 substed = 1 6259 } else 6260 len += 1 + keylen 6261 } 6262 6263 print line 6264} 6265 6266_ACAWK 6267_ACEOF 6268cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6269if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 6270 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 6271else 6272 cat 6273fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 6274 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 6275_ACEOF 6276 6277# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 6278# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 6279# trailing colons and then remove the whole line if VPATH becomes empty 6280# (actually we leave an empty line to preserve line numbers). 6281if test "x$srcdir" = x.; then 6282 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 6283h 6284s/// 6285s/^/:/ 6286s/[ ]*$/:/ 6287s/:\$(srcdir):/:/g 6288s/:\${srcdir}:/:/g 6289s/:@srcdir@:/:/g 6290s/^:*// 6291s/:*$// 6292x 6293s/\(=[ ]*\).*/\1/ 6294G 6295s/\n// 6296s/^[^=]*=[ ]*$// 6297}' 6298fi 6299 6300cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6301fi # test -n "$CONFIG_FILES" 6302 6303# Set up the scripts for CONFIG_HEADERS section. 6304# No need to generate them if there are no CONFIG_HEADERS. 6305# This happens for instance with `./config.status Makefile'. 6306if test -n "$CONFIG_HEADERS"; then 6307cat >"$ac_tmp/defines.awk" <<\_ACAWK || 6308BEGIN { 6309_ACEOF 6310 6311# Transform confdefs.h into an awk script `defines.awk', embedded as 6312# here-document in config.status, that substitutes the proper values into 6313# config.h.in to produce config.h. 6314 6315# Create a delimiter string that does not exist in confdefs.h, to ease 6316# handling of long lines. 6317ac_delim='%!_!# ' 6318for ac_last_try in false false :; do 6319 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 6320 if test -z "$ac_tt"; then 6321 break 6322 elif $ac_last_try; then 6323 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 6324 else 6325 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6326 fi 6327done 6328 6329# For the awk script, D is an array of macro values keyed by name, 6330# likewise P contains macro parameters if any. Preserve backslash 6331# newline sequences. 6332 6333ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 6334sed -n ' 6335s/.\{148\}/&'"$ac_delim"'/g 6336t rset 6337:rset 6338s/^[ ]*#[ ]*define[ ][ ]*/ / 6339t def 6340d 6341:def 6342s/\\$// 6343t bsnl 6344s/["\\]/\\&/g 6345s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 6346D["\1"]=" \3"/p 6347s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 6348d 6349:bsnl 6350s/["\\]/\\&/g 6351s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 6352D["\1"]=" \3\\\\\\n"\\/p 6353t cont 6354s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 6355t cont 6356d 6357:cont 6358n 6359s/.\{148\}/&'"$ac_delim"'/g 6360t clear 6361:clear 6362s/\\$// 6363t bsnlc 6364s/["\\]/\\&/g; s/^/"/; s/$/"/p 6365d 6366:bsnlc 6367s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 6368b cont 6369' <confdefs.h | sed ' 6370s/'"$ac_delim"'/"\\\ 6371"/g' >>$CONFIG_STATUS || ac_write_fail=1 6372 6373cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6374 for (key in D) D_is_set[key] = 1 6375 FS = "" 6376} 6377/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 6378 line = \$ 0 6379 split(line, arg, " ") 6380 if (arg[1] == "#") { 6381 defundef = arg[2] 6382 mac1 = arg[3] 6383 } else { 6384 defundef = substr(arg[1], 2) 6385 mac1 = arg[2] 6386 } 6387 split(mac1, mac2, "(") #) 6388 macro = mac2[1] 6389 prefix = substr(line, 1, index(line, defundef) - 1) 6390 if (D_is_set[macro]) { 6391 # Preserve the white space surrounding the "#". 6392 print prefix "define", macro P[macro] D[macro] 6393 next 6394 } else { 6395 # Replace #undef with comments. This is necessary, for example, 6396 # in the case of _POSIX_SOURCE, which is predefined and required 6397 # on some systems where configure will not decide to define it. 6398 if (defundef == "undef") { 6399 print "/*", prefix defundef, macro, "*/" 6400 next 6401 } 6402 } 6403} 6404{ print } 6405_ACAWK 6406_ACEOF 6407cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6408 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 6409fi # test -n "$CONFIG_HEADERS" 6410 6411 6412eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 6413shift 6414for ac_tag 6415do 6416 case $ac_tag in 6417 :[FHLC]) ac_mode=$ac_tag; continue;; 6418 esac 6419 case $ac_mode$ac_tag in 6420 :[FHL]*:*);; 6421 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 6422 :[FH]-) ac_tag=-:-;; 6423 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6424 esac 6425 ac_save_IFS=$IFS 6426 IFS=: 6427 set x $ac_tag 6428 IFS=$ac_save_IFS 6429 shift 6430 ac_file=$1 6431 shift 6432 6433 case $ac_mode in 6434 :L) ac_source=$1;; 6435 :[FH]) 6436 ac_file_inputs= 6437 for ac_f 6438 do 6439 case $ac_f in 6440 -) ac_f="$ac_tmp/stdin";; 6441 *) # Look for the file first in the build tree, then in the source tree 6442 # (if the path is not absolute). The absolute path cannot be DOS-style, 6443 # because $ac_f cannot contain `:'. 6444 test -f "$ac_f" || 6445 case $ac_f in 6446 [\\/$]*) false;; 6447 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6448 esac || 6449 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 6450 esac 6451 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 6452 as_fn_append ac_file_inputs " '$ac_f'" 6453 done 6454 6455 # Let's still pretend it is `configure' which instantiates (i.e., don't 6456 # use $as_me), people would be surprised to read: 6457 # /* config.h. Generated by config.status. */ 6458 configure_input='Generated from '` 6459 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 6460 `' by configure.' 6461 if test x"$ac_file" != x-; then 6462 configure_input="$ac_file. $configure_input" 6463 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 6464$as_echo "$as_me: creating $ac_file" >&6;} 6465 fi 6466 # Neutralize special characters interpreted by sed in replacement strings. 6467 case $configure_input in #( 6468 *\&* | *\|* | *\\* ) 6469 ac_sed_conf_input=`$as_echo "$configure_input" | 6470 sed 's/[\\\\&|]/\\\\&/g'`;; #( 6471 *) ac_sed_conf_input=$configure_input;; 6472 esac 6473 6474 case $ac_tag in 6475 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 6476 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 6477 esac 6478 ;; 6479 esac 6480 6481 ac_dir=`$as_dirname -- "$ac_file" || 6482$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6483 X"$ac_file" : 'X\(//\)[^/]' \| \ 6484 X"$ac_file" : 'X\(//\)$' \| \ 6485 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 6486$as_echo X"$ac_file" | 6487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6488 s//\1/ 6489 q 6490 } 6491 /^X\(\/\/\)[^/].*/{ 6492 s//\1/ 6493 q 6494 } 6495 /^X\(\/\/\)$/{ 6496 s//\1/ 6497 q 6498 } 6499 /^X\(\/\).*/{ 6500 s//\1/ 6501 q 6502 } 6503 s/.*/./; q'` 6504 as_dir="$ac_dir"; as_fn_mkdir_p 6505 ac_builddir=. 6506 6507case "$ac_dir" in 6508.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6509*) 6510 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 6511 # A ".." for each directory in $ac_dir_suffix. 6512 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 6513 case $ac_top_builddir_sub in 6514 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6515 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6516 esac ;; 6517esac 6518ac_abs_top_builddir=$ac_pwd 6519ac_abs_builddir=$ac_pwd$ac_dir_suffix 6520# for backward compatibility: 6521ac_top_builddir=$ac_top_build_prefix 6522 6523case $srcdir in 6524 .) # We are building in place. 6525 ac_srcdir=. 6526 ac_top_srcdir=$ac_top_builddir_sub 6527 ac_abs_top_srcdir=$ac_pwd ;; 6528 [\\/]* | ?:[\\/]* ) # Absolute name. 6529 ac_srcdir=$srcdir$ac_dir_suffix; 6530 ac_top_srcdir=$srcdir 6531 ac_abs_top_srcdir=$srcdir ;; 6532 *) # Relative name. 6533 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 6534 ac_top_srcdir=$ac_top_build_prefix$srcdir 6535 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 6536esac 6537ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 6538 6539 6540 case $ac_mode in 6541 :F) 6542 # 6543 # CONFIG_FILE 6544 # 6545 6546 case $INSTALL in 6547 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6548 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 6549 esac 6550 ac_MKDIR_P=$MKDIR_P 6551 case $MKDIR_P in 6552 [\\/$]* | ?:[\\/]* ) ;; 6553 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 6554 esac 6555_ACEOF 6556 6557cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6558# If the template does not know about datarootdir, expand it. 6559# FIXME: This hack should be removed a few years after 2.60. 6560ac_datarootdir_hack=; ac_datarootdir_seen= 6561ac_sed_dataroot=' 6562/datarootdir/ { 6563 p 6564 q 6565} 6566/@datadir@/p 6567/@docdir@/p 6568/@infodir@/p 6569/@localedir@/p 6570/@mandir@/p' 6571case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 6572*datarootdir*) ac_datarootdir_seen=yes;; 6573*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6575$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6576_ACEOF 6577cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6578 ac_datarootdir_hack=' 6579 s&@datadir@&$datadir&g 6580 s&@docdir@&$docdir&g 6581 s&@infodir@&$infodir&g 6582 s&@localedir@&$localedir&g 6583 s&@mandir@&$mandir&g 6584 s&\\\${datarootdir}&$datarootdir&g' ;; 6585esac 6586_ACEOF 6587 6588# Neutralize VPATH when `$srcdir' = `.'. 6589# Shell code in configure.ac might set extrasub. 6590# FIXME: do we really want to maintain this feature? 6591cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6592ac_sed_extra="$ac_vpsub 6593$extrasub 6594_ACEOF 6595cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6596:t 6597/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6598s|@configure_input@|$ac_sed_conf_input|;t t 6599s&@top_builddir@&$ac_top_builddir_sub&;t t 6600s&@top_build_prefix@&$ac_top_build_prefix&;t t 6601s&@srcdir@&$ac_srcdir&;t t 6602s&@abs_srcdir@&$ac_abs_srcdir&;t t 6603s&@top_srcdir@&$ac_top_srcdir&;t t 6604s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6605s&@builddir@&$ac_builddir&;t t 6606s&@abs_builddir@&$ac_abs_builddir&;t t 6607s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6608s&@INSTALL@&$ac_INSTALL&;t t 6609s&@MKDIR_P@&$ac_MKDIR_P&;t t 6610$ac_datarootdir_hack 6611" 6612eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 6613 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6614 6615test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6616 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 6617 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 6618 "$ac_tmp/out"`; test -z "$ac_out"; } && 6619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6620which seems to be undefined. Please make sure it is defined" >&5 6621$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6622which seems to be undefined. Please make sure it is defined" >&2;} 6623 6624 rm -f "$ac_tmp/stdin" 6625 case $ac_file in 6626 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 6627 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 6628 esac \ 6629 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6630 ;; 6631 :H) 6632 # 6633 # CONFIG_HEADER 6634 # 6635 if test x"$ac_file" != x-; then 6636 { 6637 $as_echo "/* $configure_input */" \ 6638 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 6639 } >"$ac_tmp/config.h" \ 6640 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6641 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 6642 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 6643$as_echo "$as_me: $ac_file is unchanged" >&6;} 6644 else 6645 rm -f "$ac_file" 6646 mv "$ac_tmp/config.h" "$ac_file" \ 6647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6648 fi 6649 else 6650 $as_echo "/* $configure_input */" \ 6651 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 6652 || as_fn_error $? "could not create -" "$LINENO" 5 6653 fi 6654# Compute "$ac_file"'s index in $config_headers. 6655_am_arg="$ac_file" 6656_am_stamp_count=1 6657for _am_header in $config_headers :; do 6658 case $_am_header in 6659 $_am_arg | $_am_arg:* ) 6660 break ;; 6661 * ) 6662 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6663 esac 6664done 6665echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 6666$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6667 X"$_am_arg" : 'X\(//\)[^/]' \| \ 6668 X"$_am_arg" : 'X\(//\)$' \| \ 6669 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 6670$as_echo X"$_am_arg" | 6671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6672 s//\1/ 6673 q 6674 } 6675 /^X\(\/\/\)[^/].*/{ 6676 s//\1/ 6677 q 6678 } 6679 /^X\(\/\/\)$/{ 6680 s//\1/ 6681 q 6682 } 6683 /^X\(\/\).*/{ 6684 s//\1/ 6685 q 6686 } 6687 s/.*/./; q'`/stamp-h$_am_stamp_count 6688 ;; 6689 6690 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 6691$as_echo "$as_me: executing $ac_file commands" >&6;} 6692 ;; 6693 esac 6694 6695 6696 case $ac_file$ac_mode in 6697 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 6698 # Older Autoconf quotes --file arguments for eval, but not when files 6699 # are listed without --file. Let's play safe and only enable the eval 6700 # if we detect the quoting. 6701 # TODO: see whether this extra hack can be removed once we start 6702 # requiring Autoconf 2.70 or later. 6703 case $CONFIG_FILES in #( 6704 *\'*) : 6705 eval set x "$CONFIG_FILES" ;; #( 6706 *) : 6707 set x $CONFIG_FILES ;; #( 6708 *) : 6709 ;; 6710esac 6711 shift 6712 # Used to flag and report bootstrapping failures. 6713 am_rc=0 6714 for am_mf 6715 do 6716 # Strip MF so we end up with the name of the file. 6717 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 6718 # Check whether this is an Automake generated Makefile which includes 6719 # dependency-tracking related rules and includes. 6720 # Grep'ing the whole file directly is not great: AIX grep has a line 6721 # limit of 2048, but all sed's we know have understand at least 4000. 6722 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 6723 || continue 6724 am_dirpart=`$as_dirname -- "$am_mf" || 6725$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6726 X"$am_mf" : 'X\(//\)[^/]' \| \ 6727 X"$am_mf" : 'X\(//\)$' \| \ 6728 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 6729$as_echo X"$am_mf" | 6730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6731 s//\1/ 6732 q 6733 } 6734 /^X\(\/\/\)[^/].*/{ 6735 s//\1/ 6736 q 6737 } 6738 /^X\(\/\/\)$/{ 6739 s//\1/ 6740 q 6741 } 6742 /^X\(\/\).*/{ 6743 s//\1/ 6744 q 6745 } 6746 s/.*/./; q'` 6747 am_filepart=`$as_basename -- "$am_mf" || 6748$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 6749 X"$am_mf" : 'X\(//\)$' \| \ 6750 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 6751$as_echo X/"$am_mf" | 6752 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6753 s//\1/ 6754 q 6755 } 6756 /^X\/\(\/\/\)$/{ 6757 s//\1/ 6758 q 6759 } 6760 /^X\/\(\/\).*/{ 6761 s//\1/ 6762 q 6763 } 6764 s/.*/./; q'` 6765 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 6766 && sed -e '/# am--include-marker/d' "$am_filepart" \ 6767 | $MAKE -f - am--depfiles" >&5 6768 (cd "$am_dirpart" \ 6769 && sed -e '/# am--include-marker/d' "$am_filepart" \ 6770 | $MAKE -f - am--depfiles) >&5 2>&5 6771 ac_status=$? 6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6773 (exit $ac_status); } || am_rc=$? 6774 done 6775 if test $am_rc -ne 0; then 6776 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6777$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6778as_fn_error $? "Something went wrong bootstrapping makefile fragments 6779 for automatic dependency tracking. If GNU make was not used, consider 6780 re-running the configure script with MAKE=\"gmake\" (or whatever is 6781 necessary). You can also try re-running configure with the 6782 '--disable-dependency-tracking' option to at least be able to build 6783 the package (albeit without support for automatic dependency tracking). 6784See \`config.log' for more details" "$LINENO" 5; } 6785 fi 6786 { am_dirpart=; unset am_dirpart;} 6787 { am_filepart=; unset am_filepart;} 6788 { am_mf=; unset am_mf;} 6789 { am_rc=; unset am_rc;} 6790 rm -f conftest-deps.mk 6791} 6792 ;; 6793 6794 esac 6795done # for ac_tag 6796 6797 6798as_fn_exit 0 6799_ACEOF 6800ac_clean_files=$ac_clean_files_save 6801 6802test $ac_write_fail = 0 || 6803 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 6804 6805 6806# configure is writing to config.log, and then calls config.status. 6807# config.status does its own redirection, appending to config.log. 6808# Unfortunately, on DOS this fails, as config.log is still kept open 6809# by configure, so config.status won't be able to write to it; its 6810# output is simply discarded. So we exec the FD to /dev/null, 6811# effectively closing config.log, so it can be properly (re)opened and 6812# appended to by config.status. When coming back to configure, we 6813# need to make the FD available again. 6814if test "$no_create" != yes; then 6815 ac_cs_success=: 6816 ac_config_status_args= 6817 test "$silent" = yes && 6818 ac_config_status_args="$ac_config_status_args --quiet" 6819 exec 5>/dev/null 6820 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6821 exec 5>>config.log 6822 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6823 # would make configure fail if this is the last instruction. 6824 $ac_cs_success || as_fn_exit 1 6825fi 6826if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6828$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6829fi 6830 6831