1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.70 for bibclean 3.06. 4# 5# Report bugs to <Nelson H. F. Beebe <beebe@math.utah.edu>>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2017, 2020 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 19as_nop=: 20if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 21then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else $as_nop 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38 39# Reset variables that may have inherited troublesome values from 40# the environment. 41 42# IFS needs to be set, to space, tab, and newline, in precisely that order. 43# (If _AS_PATH_WALK were called with IFS unset, it would have the 44# side effect of setting IFS to empty, thus disabling word splitting.) 45# Quoting is to prevent editors from complaining about space-tab. 46as_nl=' 47' 48export as_nl 49IFS=" "" $as_nl" 50 51PS1='$ ' 52PS2='> ' 53PS4='+ ' 54 55# Ensure predictable behavior from utilities with locale-dependent output. 56LC_ALL=C 57export LC_ALL 58LANGUAGE=C 59export LANGUAGE 60 61# We cannot yet rely on "unset" to work, but we need these variables 62# to be unset--not just set to an empty or harmless value--now, to 63# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 64# also avoids known problems related to "unset" and subshell syntax 65# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 66for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 67do eval test \${$as_var+y} \ 68 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 69done 70 71# Ensure that fds 0, 1, and 2 are open. 72if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 73if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 74if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 75 76# The user is always right. 77if ${PATH_SEPARATOR+false} :; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# Find who we are. Look in the path if we contain no directory separator. 87as_myself= 88case $0 in #(( 89 *[\\/]* ) as_myself=$0 ;; 90 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 91for as_dir in $PATH 92do 93 IFS=$as_save_IFS 94 case $as_dir in #((( 95 '') as_dir=./ ;; 96 */) ;; 97 *) as_dir=$as_dir/ ;; 98 esac 99 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 100 done 101IFS=$as_save_IFS 102 103 ;; 104esac 105# We did not find ourselves, most probably we were run as `sh COMMAND' 106# in which case we are not to be found in the path. 107if test "x$as_myself" = x; then 108 as_myself=$0 109fi 110if test ! -f "$as_myself"; then 111 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113fi 114 115 116# Use a proper internal environment variable to ensure we don't fall 117 # into an infinite loop, continuously re-executing ourselves. 118 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 119 _as_can_reexec=no; export _as_can_reexec; 120 # We cannot yet assume a decent shell, so we have to provide a 121# neutralization value for shells without unset; and this also 122# works around shells that cannot unset nonexistent variables. 123# Preserve -v and -x to the replacement shell. 124BASH_ENV=/dev/null 125ENV=/dev/null 126(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 127case $- in # (((( 128 *v*x* | *x*v* ) as_opts=-vx ;; 129 *v* ) as_opts=-v ;; 130 *x* ) as_opts=-x ;; 131 * ) as_opts= ;; 132esac 133exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 134# Admittedly, this is quite paranoid, since all the known shells bail 135# out after a failed `exec'. 136printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 137exit 255 138 fi 139 # We don't want this to propagate to other subprocesses. 140 { _as_can_reexec=; unset _as_can_reexec;} 141if test "x$CONFIG_SHELL" = x; then 142 as_bourne_compatible="as_nop=: 143if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 144then : 145 emulate sh 146 NULLCMD=: 147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 148 # is contrary to our usage. Disable this feature. 149 alias -g '\${1+\"\$@\"}'='\"\$@\"' 150 setopt NO_GLOB_SUBST 151else \$as_nop 152 case \`(set -o) 2>/dev/null\` in #( 153 *posix*) : 154 set -o posix ;; #( 155 *) : 156 ;; 157esac 158fi 159" 160 as_required="as_fn_return () { (exit \$1); } 161as_fn_success () { as_fn_return 0; } 162as_fn_failure () { as_fn_return 1; } 163as_fn_ret_success () { return 0; } 164as_fn_ret_failure () { return 1; } 165 166exitcode=0 167as_fn_success || { exitcode=1; echo as_fn_success failed.; } 168as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 169as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 170as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 171if ( set x; as_fn_ret_success y && test x = \"\$1\" ) 172then : 173 174else \$as_nop 175 exitcode=1; echo positional parameters were not saved. 176fi 177test x\$exitcode = x0 || exit 1 178blah=\$(echo \$(echo blah)) 179test x\"\$blah\" = xblah || exit 1 180test -x / || exit 1" 181 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 182 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 183 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 184 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 185test \$(( 1 + 1 )) = 2 || exit 1" 186 if (eval "$as_required") 2>/dev/null 187then : 188 as_have_required=yes 189else $as_nop 190 as_have_required=no 191fi 192 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 193then : 194 195else $as_nop 196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 197as_found=false 198for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 199do 200 IFS=$as_save_IFS 201 case $as_dir in #((( 202 '') as_dir=./ ;; 203 */) ;; 204 *) as_dir=$as_dir/ ;; 205 esac 206 as_found=: 207 case $as_dir in #( 208 /*) 209 for as_base in sh bash ksh sh5; do 210 # Try only shells that exist, to save several forks. 211 as_shell=$as_dir$as_base 212 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 213 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 214then : 215 CONFIG_SHELL=$as_shell as_have_required=yes 216 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 217then : 218 break 2 219fi 220fi 221 done;; 222 esac 223 as_found=false 224done 225IFS=$as_save_IFS 226if $as_found 227then : 228 229else $as_nop 230 if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 231 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 232then : 233 CONFIG_SHELL=$SHELL as_have_required=yes 234fi 235fi 236 237 238 if test "x$CONFIG_SHELL" != x 239then : 240 export CONFIG_SHELL 241 # We cannot yet assume a decent shell, so we have to provide a 242# neutralization value for shells without unset; and this also 243# works around shells that cannot unset nonexistent variables. 244# Preserve -v and -x to the replacement shell. 245BASH_ENV=/dev/null 246ENV=/dev/null 247(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 248case $- in # (((( 249 *v*x* | *x*v* ) as_opts=-vx ;; 250 *v* ) as_opts=-v ;; 251 *x* ) as_opts=-x ;; 252 * ) as_opts= ;; 253esac 254exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 255# Admittedly, this is quite paranoid, since all the known shells bail 256# out after a failed `exec'. 257printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 258exit 255 259fi 260 261 if test x$as_have_required = xno 262then : 263 printf "%s\n" "$0: This script requires a shell more modern than all" 264 printf "%s\n" "$0: the shells that I found on your system." 265 if test ${ZSH_VERSION+y} ; then 266 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and Nelson H. F. Beebe 270$0: <beebe@math.utah.edu> about your system, including any 271$0: error possibly output before this message. Then install 272$0: a modern shell, or manually run the script under such a 273$0: shell if you do have one." 274 fi 275 exit 1 276fi 277fi 278fi 279SHELL=${CONFIG_SHELL-/bin/sh} 280export SHELL 281# Unset more variables known to interfere with behavior of common tools. 282CLICOLOR_FORCE= GREP_OPTIONS= 283unset CLICOLOR_FORCE GREP_OPTIONS 284 285## --------------------- ## 286## M4sh Shell Functions. ## 287## --------------------- ## 288# as_fn_unset VAR 289# --------------- 290# Portably unset VAR. 291as_fn_unset () 292{ 293 { eval $1=; unset $1;} 294} 295as_unset=as_fn_unset 296 297 298# as_fn_set_status STATUS 299# ----------------------- 300# Set $? to STATUS, without forking. 301as_fn_set_status () 302{ 303 return $1 304} # as_fn_set_status 305 306# as_fn_exit STATUS 307# ----------------- 308# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 309as_fn_exit () 310{ 311 set +e 312 as_fn_set_status $1 313 exit $1 314} # as_fn_exit 315# as_fn_nop 316# --------- 317# Do nothing but, unlike ":", preserve the value of $?. 318as_fn_nop () 319{ 320 return $? 321} 322as_nop=as_fn_nop 323 324# as_fn_mkdir_p 325# ------------- 326# Create "$as_dir" as a directory, including parents if necessary. 327as_fn_mkdir_p () 328{ 329 330 case $as_dir in #( 331 -*) as_dir=./$as_dir;; 332 esac 333 test -d "$as_dir" || eval $as_mkdir_p || { 334 as_dirs= 335 while :; do 336 case $as_dir in #( 337 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 338 *) as_qdir=$as_dir;; 339 esac 340 as_dirs="'$as_qdir' $as_dirs" 341 as_dir=`$as_dirname -- "$as_dir" || 342$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 343 X"$as_dir" : 'X\(//\)[^/]' \| \ 344 X"$as_dir" : 'X\(//\)$' \| \ 345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 346printf "%s\n" X"$as_dir" | 347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)[^/].*/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\/\)$/{ 356 s//\1/ 357 q 358 } 359 /^X\(\/\).*/{ 360 s//\1/ 361 q 362 } 363 s/.*/./; q'` 364 test -d "$as_dir" && break 365 done 366 test -z "$as_dirs" || eval "mkdir $as_dirs" 367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 368 369 370} # as_fn_mkdir_p 371 372# as_fn_executable_p FILE 373# ----------------------- 374# Test if FILE is an executable regular file. 375as_fn_executable_p () 376{ 377 test -f "$1" && test -x "$1" 378} # as_fn_executable_p 379# as_fn_append VAR VALUE 380# ---------------------- 381# Append the text in VALUE to the end of the definition contained in VAR. Take 382# advantage of any shell optimizations that allow amortized linear growth over 383# repeated appends, instead of the typical quadratic growth present in naive 384# implementations. 385if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 386then : 387 eval 'as_fn_append () 388 { 389 eval $1+=\$2 390 }' 391else $as_nop 392 as_fn_append () 393 { 394 eval $1=\$$1\$2 395 } 396fi # as_fn_append 397 398# as_fn_arith ARG... 399# ------------------ 400# Perform arithmetic evaluation on the ARGs, and store the result in the 401# global $as_val. Take advantage of shells that can avoid forks. The arguments 402# must be portable across $(()) and expr. 403if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 404then : 405 eval 'as_fn_arith () 406 { 407 as_val=$(( $* )) 408 }' 409else $as_nop 410 as_fn_arith () 411 { 412 as_val=`expr "$@" || test $? -eq 1` 413 } 414fi # as_fn_arith 415 416# as_fn_nop 417# --------- 418# Do nothing but, unlike ":", preserve the value of $?. 419as_fn_nop () 420{ 421 return $? 422} 423as_nop=as_fn_nop 424# as_fn_nop 425# --------- 426# Do nothing but, unlike ":", preserve the value of $?. 427as_fn_nop () 428{ 429 return $? 430} 431as_nop=as_fn_nop 432 433# as_fn_error STATUS ERROR [LINENO LOG_FD] 434# ---------------------------------------- 435# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 436# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 437# script with STATUS, using 1 if that was 0. 438as_fn_error () 439{ 440 as_status=$1; test $as_status -eq 0 && as_status=1 441 if test "$4"; then 442 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 444 fi 445 printf "%s\n" "$as_me: error: $2" >&2 446 as_fn_exit $as_status 447} # as_fn_error 448 449if expr a : '\(a\)' >/dev/null 2>&1 && 450 test "X`expr 00001 : '.*\(...\)'`" = X001; then 451 as_expr=expr 452else 453 as_expr=false 454fi 455 456if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 457 as_basename=basename 458else 459 as_basename=false 460fi 461 462if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 463 as_dirname=dirname 464else 465 as_dirname=false 466fi 467 468as_me=`$as_basename -- "$0" || 469$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 470 X"$0" : 'X\(//\)$' \| \ 471 X"$0" : 'X\(/\)' \| . 2>/dev/null || 472printf "%s\n" X/"$0" | 473 sed '/^.*\/\([^/][^/]*\)\/*$/{ 474 s//\1/ 475 q 476 } 477 /^X\/\(\/\/\)$/{ 478 s//\1/ 479 q 480 } 481 /^X\/\(\/\).*/{ 482 s//\1/ 483 q 484 } 485 s/.*/./; q'` 486 487# Avoid depending upon Character Ranges. 488as_cr_letters='abcdefghijklmnopqrstuvwxyz' 489as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 490as_cr_Letters=$as_cr_letters$as_cr_LETTERS 491as_cr_digits='0123456789' 492as_cr_alnum=$as_cr_Letters$as_cr_digits 493 494 495 as_lineno_1=$LINENO as_lineno_1a=$LINENO 496 as_lineno_2=$LINENO as_lineno_2a=$LINENO 497 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 498 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 499 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 500 sed -n ' 501 p 502 /[$]LINENO/= 503 ' <$as_myself | 504 sed ' 505 s/[$]LINENO.*/&-/ 506 t lineno 507 b 508 :lineno 509 N 510 :loop 511 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 512 t loop 513 s/-\n.*// 514 ' >$as_me.lineno && 515 chmod +x "$as_me.lineno" || 516 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 517 518 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 519 # already done that, so ensure we don't try to do so again and fall 520 # in an infinite loop. This has already happened in practice. 521 _as_can_reexec=no; export _as_can_reexec 522 # Don't try to exec as it changes $[0], causing all sort of problems 523 # (the dirname of $[0] is not the place where we might find the 524 # original and so on. Autoconf is especially sensitive to this). 525 . "./$as_me.lineno" 526 # Exit status is that of the last command. 527 exit 528} 529 530 531# Determine whether it's possible to make 'echo' print without a newline. 532# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 533# for compatibility with existing Makefiles. 534ECHO_C= ECHO_N= ECHO_T= 535case `echo -n x` in #((((( 536-n*) 537 case `echo 'xy\c'` in 538 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 539 xy) ECHO_C='\c';; 540 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 541 ECHO_T=' ';; 542 esac;; 543*) 544 ECHO_N='-n';; 545esac 546 547# For backward compatibility with old third-party macros, we provide 548# the shell variables $as_echo and $as_echo_n. New code should use 549# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 550as_echo='printf %s\n' 551as_echo_n='printf %s' 552 553 554rm -f conf$$ conf$$.exe conf$$.file 555if test -d conf$$.dir; then 556 rm -f conf$$.dir/conf$$.file 557else 558 rm -f conf$$.dir 559 mkdir conf$$.dir 2>/dev/null 560fi 561if (echo >conf$$.file) 2>/dev/null; then 562 if ln -s conf$$.file conf$$ 2>/dev/null; then 563 as_ln_s='ln -s' 564 # ... but there are two gotchas: 565 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 566 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 567 # In both cases, we have to default to `cp -pR'. 568 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 569 as_ln_s='cp -pR' 570 elif ln conf$$.file conf$$ 2>/dev/null; then 571 as_ln_s=ln 572 else 573 as_ln_s='cp -pR' 574 fi 575else 576 as_ln_s='cp -pR' 577fi 578rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 579rmdir conf$$.dir 2>/dev/null 580 581if mkdir -p . 2>/dev/null; then 582 as_mkdir_p='mkdir -p "$as_dir"' 583else 584 test -d ./-p && rmdir ./-p 585 as_mkdir_p=false 586fi 587 588as_test_x='test -x' 589as_executable_p=as_fn_executable_p 590 591# Sed expression to map a string onto a valid CPP name. 592as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 593 594# Sed expression to map a string onto a valid variable name. 595as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 596 597 598test -n "$DJDIR" || exec 7<&0 </dev/null 599exec 6>&1 600 601# Name of the host. 602# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 603# so uname gets run too. 604ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 605 606# 607# Initializations. 608# 609ac_default_prefix=/usr/local 610ac_clean_files= 611ac_config_libobj_dir=. 612LIBOBJS= 613cross_compiling=no 614subdirs= 615MFLAGS= 616MAKEFLAGS= 617 618# Identity of this package. 619PACKAGE_NAME='bibclean' 620PACKAGE_TARNAME='bibclean' 621PACKAGE_VERSION='3.06' 622PACKAGE_STRING='bibclean 3.06' 623PACKAGE_BUGREPORT='Nelson H. F. Beebe <beebe@math.utah.edu>' 624PACKAGE_URL='' 625 626ac_unique_file="bibclean.c" 627# Factoring default headers for most tests. 628ac_includes_default="\ 629#include <stddef.h> 630#ifdef HAVE_STDIO_H 631# include <stdio.h> 632#endif 633#ifdef HAVE_STDLIB_H 634# include <stdlib.h> 635#endif 636#ifdef HAVE_STRING_H 637# include <string.h> 638#endif 639#ifdef HAVE_INTTYPES_H 640# include <inttypes.h> 641#endif 642#ifdef HAVE_STDINT_H 643# include <stdint.h> 644#endif 645#ifdef HAVE_STRINGS_H 646# include <strings.h> 647#endif 648#ifdef HAVE_SYS_TYPES_H 649# include <sys/types.h> 650#endif 651#ifdef HAVE_SYS_STAT_H 652# include <sys/stat.h> 653#endif 654#ifdef HAVE_UNISTD_H 655# include <unistd.h> 656#endif" 657 658ac_header_c_list= 659ac_subst_vars='LTLIBOBJS 660VM 661LIBOBJS 662CPP 663EGREP 664OBJEXT 665EXEEXT 666ac_ct_CC 667CPPFLAGS 668LDFLAGS 669CFLAGS 670CC 671ZOO 672ZIP 673WINE 674UNZIP 675UNO 676TR 677TOUCH 678TEST 679TAR 680STRIP 681SPLINT 682SED 683RM 684RATS 685NROFF 686MV 687MKDIR 688MAN2HTML 689LS 690LN 691LINT 692LATEX 693JAR 694ITS4 695HTMLPRETTY 696HTMLNCHECK 697GZIP 698GREP 699FLAWFINDER 700EXPR 701ETAGS 702DITROFF 703DISTILL 704DIFF 705DATE 706CUT 707CPPCHECK 708CP 709CMP 710CHMOD 711CHECKSUM 712CAT 713BIBTEX 714AWK 715AUTOHEADER 716AUTOCONF 717ANTIC 718target_alias 719host_alias 720build_alias 721LIBS 722ECHO_T 723ECHO_N 724ECHO_C 725DEFS 726mandir 727localedir 728libdir 729psdir 730pdfdir 731dvidir 732htmldir 733infodir 734docdir 735oldincludedir 736includedir 737runstatedir 738localstatedir 739sharedstatedir 740sysconfdir 741datadir 742datarootdir 743libexecdir 744sbindir 745bindir 746program_transform_name 747prefix 748exec_prefix 749PACKAGE_URL 750PACKAGE_BUGREPORT 751PACKAGE_STRING 752PACKAGE_VERSION 753PACKAGE_TARNAME 754PACKAGE_NAME 755PATH_SEPARATOR 756SHELL' 757ac_subst_files='' 758ac_user_opts=' 759enable_option_checking 760' 761 ac_precious_vars='build_alias 762host_alias 763target_alias 764CC 765CFLAGS 766LDFLAGS 767LIBS 768CPPFLAGS 769CPP' 770 771 772# Initialize some variables set by options. 773ac_init_help= 774ac_init_version=false 775ac_unrecognized_opts= 776ac_unrecognized_sep= 777# The variables have the same names as the options, with 778# dashes changed to underlines. 779cache_file=/dev/null 780exec_prefix=NONE 781no_create= 782no_recursion= 783prefix=NONE 784program_prefix=NONE 785program_suffix=NONE 786program_transform_name=s,x,x, 787silent= 788site= 789srcdir= 790verbose= 791x_includes=NONE 792x_libraries=NONE 793 794# Installation directory options. 795# These are left unexpanded so users can "make install exec_prefix=/foo" 796# and all the variables that are supposed to be based on exec_prefix 797# by default will actually change. 798# Use braces instead of parens because sh, perl, etc. also accept them. 799# (The list follows the same order as the GNU Coding Standards.) 800bindir='${exec_prefix}/bin' 801sbindir='${exec_prefix}/sbin' 802libexecdir='${exec_prefix}/libexec' 803datarootdir='${prefix}/share' 804datadir='${datarootdir}' 805sysconfdir='${prefix}/etc' 806sharedstatedir='${prefix}/com' 807localstatedir='${prefix}/var' 808runstatedir='${localstatedir}/run' 809includedir='${prefix}/include' 810oldincludedir='/usr/include' 811docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 812infodir='${datarootdir}/info' 813htmldir='${docdir}' 814dvidir='${docdir}' 815pdfdir='${docdir}' 816psdir='${docdir}' 817libdir='${exec_prefix}/lib' 818localedir='${datarootdir}/locale' 819mandir='${datarootdir}/man' 820 821ac_prev= 822ac_dashdash= 823for ac_option 824do 825 # If the previous option needs an argument, assign it. 826 if test -n "$ac_prev"; then 827 eval $ac_prev=\$ac_option 828 ac_prev= 829 continue 830 fi 831 832 case $ac_option in 833 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 834 *=) ac_optarg= ;; 835 *) ac_optarg=yes ;; 836 esac 837 838 case $ac_dashdash$ac_option in 839 --) 840 ac_dashdash=yes ;; 841 842 -bindir | --bindir | --bindi | --bind | --bin | --bi) 843 ac_prev=bindir ;; 844 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 845 bindir=$ac_optarg ;; 846 847 -build | --build | --buil | --bui | --bu) 848 ac_prev=build_alias ;; 849 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 850 build_alias=$ac_optarg ;; 851 852 -cache-file | --cache-file | --cache-fil | --cache-fi \ 853 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 854 ac_prev=cache_file ;; 855 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 856 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 857 cache_file=$ac_optarg ;; 858 859 --config-cache | -C) 860 cache_file=config.cache ;; 861 862 -datadir | --datadir | --datadi | --datad) 863 ac_prev=datadir ;; 864 -datadir=* | --datadir=* | --datadi=* | --datad=*) 865 datadir=$ac_optarg ;; 866 867 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 868 | --dataroo | --dataro | --datar) 869 ac_prev=datarootdir ;; 870 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 871 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 872 datarootdir=$ac_optarg ;; 873 874 -disable-* | --disable-*) 875 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 876 # Reject names that are not valid shell variable names. 877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 878 as_fn_error $? "invalid feature name: \`$ac_useropt'" 879 ac_useropt_orig=$ac_useropt 880 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 881 case $ac_user_opts in 882 *" 883"enable_$ac_useropt" 884"*) ;; 885 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 886 ac_unrecognized_sep=', ';; 887 esac 888 eval enable_$ac_useropt=no ;; 889 890 -docdir | --docdir | --docdi | --doc | --do) 891 ac_prev=docdir ;; 892 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 893 docdir=$ac_optarg ;; 894 895 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 896 ac_prev=dvidir ;; 897 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 898 dvidir=$ac_optarg ;; 899 900 -enable-* | --enable-*) 901 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 902 # Reject names that are not valid shell variable names. 903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 904 as_fn_error $? "invalid feature name: \`$ac_useropt'" 905 ac_useropt_orig=$ac_useropt 906 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 907 case $ac_user_opts in 908 *" 909"enable_$ac_useropt" 910"*) ;; 911 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 912 ac_unrecognized_sep=', ';; 913 esac 914 eval enable_$ac_useropt=\$ac_optarg ;; 915 916 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 917 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 918 | --exec | --exe | --ex) 919 ac_prev=exec_prefix ;; 920 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 921 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 922 | --exec=* | --exe=* | --ex=*) 923 exec_prefix=$ac_optarg ;; 924 925 -gas | --gas | --ga | --g) 926 # Obsolete; use --with-gas. 927 with_gas=yes ;; 928 929 -help | --help | --hel | --he | -h) 930 ac_init_help=long ;; 931 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 932 ac_init_help=recursive ;; 933 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 934 ac_init_help=short ;; 935 936 -host | --host | --hos | --ho) 937 ac_prev=host_alias ;; 938 -host=* | --host=* | --hos=* | --ho=*) 939 host_alias=$ac_optarg ;; 940 941 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 942 ac_prev=htmldir ;; 943 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 944 | --ht=*) 945 htmldir=$ac_optarg ;; 946 947 -includedir | --includedir | --includedi | --included | --include \ 948 | --includ | --inclu | --incl | --inc) 949 ac_prev=includedir ;; 950 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 951 | --includ=* | --inclu=* | --incl=* | --inc=*) 952 includedir=$ac_optarg ;; 953 954 -infodir | --infodir | --infodi | --infod | --info | --inf) 955 ac_prev=infodir ;; 956 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 957 infodir=$ac_optarg ;; 958 959 -libdir | --libdir | --libdi | --libd) 960 ac_prev=libdir ;; 961 -libdir=* | --libdir=* | --libdi=* | --libd=*) 962 libdir=$ac_optarg ;; 963 964 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 965 | --libexe | --libex | --libe) 966 ac_prev=libexecdir ;; 967 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 968 | --libexe=* | --libex=* | --libe=*) 969 libexecdir=$ac_optarg ;; 970 971 -localedir | --localedir | --localedi | --localed | --locale) 972 ac_prev=localedir ;; 973 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 974 localedir=$ac_optarg ;; 975 976 -localstatedir | --localstatedir | --localstatedi | --localstated \ 977 | --localstate | --localstat | --localsta | --localst | --locals) 978 ac_prev=localstatedir ;; 979 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 980 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 981 localstatedir=$ac_optarg ;; 982 983 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 984 ac_prev=mandir ;; 985 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 986 mandir=$ac_optarg ;; 987 988 -nfp | --nfp | --nf) 989 # Obsolete; use --without-fp. 990 with_fp=no ;; 991 992 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 993 | --no-cr | --no-c | -n) 994 no_create=yes ;; 995 996 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 997 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 998 no_recursion=yes ;; 999 1000 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1001 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1002 | --oldin | --oldi | --old | --ol | --o) 1003 ac_prev=oldincludedir ;; 1004 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1005 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1006 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1007 oldincludedir=$ac_optarg ;; 1008 1009 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1010 ac_prev=prefix ;; 1011 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1012 prefix=$ac_optarg ;; 1013 1014 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1015 | --program-pre | --program-pr | --program-p) 1016 ac_prev=program_prefix ;; 1017 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1018 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1019 program_prefix=$ac_optarg ;; 1020 1021 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1022 | --program-suf | --program-su | --program-s) 1023 ac_prev=program_suffix ;; 1024 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1025 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1026 program_suffix=$ac_optarg ;; 1027 1028 -program-transform-name | --program-transform-name \ 1029 | --program-transform-nam | --program-transform-na \ 1030 | --program-transform-n | --program-transform- \ 1031 | --program-transform | --program-transfor \ 1032 | --program-transfo | --program-transf \ 1033 | --program-trans | --program-tran \ 1034 | --progr-tra | --program-tr | --program-t) 1035 ac_prev=program_transform_name ;; 1036 -program-transform-name=* | --program-transform-name=* \ 1037 | --program-transform-nam=* | --program-transform-na=* \ 1038 | --program-transform-n=* | --program-transform-=* \ 1039 | --program-transform=* | --program-transfor=* \ 1040 | --program-transfo=* | --program-transf=* \ 1041 | --program-trans=* | --program-tran=* \ 1042 | --progr-tra=* | --program-tr=* | --program-t=*) 1043 program_transform_name=$ac_optarg ;; 1044 1045 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1046 ac_prev=pdfdir ;; 1047 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1048 pdfdir=$ac_optarg ;; 1049 1050 -psdir | --psdir | --psdi | --psd | --ps) 1051 ac_prev=psdir ;; 1052 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1053 psdir=$ac_optarg ;; 1054 1055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1056 | -silent | --silent | --silen | --sile | --sil) 1057 silent=yes ;; 1058 1059 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1060 | --runstate | --runstat | --runsta | --runst | --runs \ 1061 | --run | --ru | --r) 1062 ac_prev=runstatedir ;; 1063 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1064 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1065 | --run=* | --ru=* | --r=*) 1066 runstatedir=$ac_optarg ;; 1067 1068 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1069 ac_prev=sbindir ;; 1070 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1071 | --sbi=* | --sb=*) 1072 sbindir=$ac_optarg ;; 1073 1074 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1075 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1076 | --sharedst | --shareds | --shared | --share | --shar \ 1077 | --sha | --sh) 1078 ac_prev=sharedstatedir ;; 1079 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1080 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1081 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1082 | --sha=* | --sh=*) 1083 sharedstatedir=$ac_optarg ;; 1084 1085 -site | --site | --sit) 1086 ac_prev=site ;; 1087 -site=* | --site=* | --sit=*) 1088 site=$ac_optarg ;; 1089 1090 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1091 ac_prev=srcdir ;; 1092 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1093 srcdir=$ac_optarg ;; 1094 1095 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1096 | --syscon | --sysco | --sysc | --sys | --sy) 1097 ac_prev=sysconfdir ;; 1098 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1099 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1100 sysconfdir=$ac_optarg ;; 1101 1102 -target | --target | --targe | --targ | --tar | --ta | --t) 1103 ac_prev=target_alias ;; 1104 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1105 target_alias=$ac_optarg ;; 1106 1107 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1108 verbose=yes ;; 1109 1110 -version | --version | --versio | --versi | --vers | -V) 1111 ac_init_version=: ;; 1112 1113 -with-* | --with-*) 1114 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1115 # Reject names that are not valid shell variable names. 1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1117 as_fn_error $? "invalid package name: \`$ac_useropt'" 1118 ac_useropt_orig=$ac_useropt 1119 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1120 case $ac_user_opts in 1121 *" 1122"with_$ac_useropt" 1123"*) ;; 1124 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1125 ac_unrecognized_sep=', ';; 1126 esac 1127 eval with_$ac_useropt=\$ac_optarg ;; 1128 1129 -without-* | --without-*) 1130 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1131 # Reject names that are not valid shell variable names. 1132 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1133 as_fn_error $? "invalid package name: \`$ac_useropt'" 1134 ac_useropt_orig=$ac_useropt 1135 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1136 case $ac_user_opts in 1137 *" 1138"with_$ac_useropt" 1139"*) ;; 1140 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1141 ac_unrecognized_sep=', ';; 1142 esac 1143 eval with_$ac_useropt=no ;; 1144 1145 --x) 1146 # Obsolete; use --with-x. 1147 with_x=yes ;; 1148 1149 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1150 | --x-incl | --x-inc | --x-in | --x-i) 1151 ac_prev=x_includes ;; 1152 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1153 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1154 x_includes=$ac_optarg ;; 1155 1156 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1157 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1158 ac_prev=x_libraries ;; 1159 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1160 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1161 x_libraries=$ac_optarg ;; 1162 1163 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1164Try \`$0 --help' for more information" 1165 ;; 1166 1167 *=*) 1168 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1169 # Reject names that are not valid shell variable names. 1170 case $ac_envvar in #( 1171 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1172 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1173 esac 1174 eval $ac_envvar=\$ac_optarg 1175 export $ac_envvar ;; 1176 1177 *) 1178 # FIXME: should be removed in autoconf 3.0. 1179 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1180 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1181 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1182 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1183 ;; 1184 1185 esac 1186done 1187 1188if test -n "$ac_prev"; then 1189 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1190 as_fn_error $? "missing argument to $ac_option" 1191fi 1192 1193if test -n "$ac_unrecognized_opts"; then 1194 case $enable_option_checking in 1195 no) ;; 1196 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1197 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1198 esac 1199fi 1200 1201# Check all directory arguments for consistency. 1202for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1203 datadir sysconfdir sharedstatedir localstatedir includedir \ 1204 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1205 libdir localedir mandir runstatedir 1206do 1207 eval ac_val=\$$ac_var 1208 # Remove trailing slashes. 1209 case $ac_val in 1210 */ ) 1211 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1212 eval $ac_var=\$ac_val;; 1213 esac 1214 # Be sure to have absolute directory names. 1215 case $ac_val in 1216 [\\/$]* | ?:[\\/]* ) continue;; 1217 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1218 esac 1219 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1220done 1221 1222# There might be people who depend on the old broken behavior: `$host' 1223# used to hold the argument of --host etc. 1224# FIXME: To remove some day. 1225build=$build_alias 1226host=$host_alias 1227target=$target_alias 1228 1229# FIXME: To remove some day. 1230if test "x$host_alias" != x; then 1231 if test "x$build_alias" = x; then 1232 cross_compiling=maybe 1233 elif test "x$build_alias" != "x$host_alias"; then 1234 cross_compiling=yes 1235 fi 1236fi 1237 1238ac_tool_prefix= 1239test -n "$host_alias" && ac_tool_prefix=$host_alias- 1240 1241test "$silent" = yes && exec 6>/dev/null 1242 1243 1244ac_pwd=`pwd` && test -n "$ac_pwd" && 1245ac_ls_di=`ls -di .` && 1246ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1247 as_fn_error $? "working directory cannot be determined" 1248test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1249 as_fn_error $? "pwd does not report name of working directory" 1250 1251 1252# Find the source files, if location was not specified. 1253if test -z "$srcdir"; then 1254 ac_srcdir_defaulted=yes 1255 # Try the directory containing this script, then the parent directory. 1256 ac_confdir=`$as_dirname -- "$as_myself" || 1257$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1258 X"$as_myself" : 'X\(//\)[^/]' \| \ 1259 X"$as_myself" : 'X\(//\)$' \| \ 1260 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1261printf "%s\n" X"$as_myself" | 1262 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1263 s//\1/ 1264 q 1265 } 1266 /^X\(\/\/\)[^/].*/{ 1267 s//\1/ 1268 q 1269 } 1270 /^X\(\/\/\)$/{ 1271 s//\1/ 1272 q 1273 } 1274 /^X\(\/\).*/{ 1275 s//\1/ 1276 q 1277 } 1278 s/.*/./; q'` 1279 srcdir=$ac_confdir 1280 if test ! -r "$srcdir/$ac_unique_file"; then 1281 srcdir=.. 1282 fi 1283else 1284 ac_srcdir_defaulted=no 1285fi 1286if test ! -r "$srcdir/$ac_unique_file"; then 1287 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1288 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1289fi 1290ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1291ac_abs_confdir=`( 1292 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1293 pwd)` 1294# When building in place, set srcdir=. 1295if test "$ac_abs_confdir" = "$ac_pwd"; then 1296 srcdir=. 1297fi 1298# Remove unnecessary trailing slashes from srcdir. 1299# Double slashes in file names in object file debugging info 1300# mess up M-x gdb in Emacs. 1301case $srcdir in 1302*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1303esac 1304for ac_var in $ac_precious_vars; do 1305 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1306 eval ac_env_${ac_var}_value=\$${ac_var} 1307 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1308 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1309done 1310 1311# 1312# Report the --help message. 1313# 1314if test "$ac_init_help" = "long"; then 1315 # Omit some internal or obsolete options to make the list less imposing. 1316 # This message is too long to be a string in the A/UX 3.1 sh. 1317 cat <<_ACEOF 1318\`configure' configures bibclean 3.06 to adapt to many kinds of systems. 1319 1320Usage: $0 [OPTION]... [VAR=VALUE]... 1321 1322To assign environment variables (e.g., CC, CFLAGS...), specify them as 1323VAR=VALUE. See below for descriptions of some of the useful variables. 1324 1325Defaults for the options are specified in brackets. 1326 1327Configuration: 1328 -h, --help display this help and exit 1329 --help=short display options specific to this package 1330 --help=recursive display the short help of all the included packages 1331 -V, --version display version information and exit 1332 -q, --quiet, --silent do not print \`checking ...' messages 1333 --cache-file=FILE cache test results in FILE [disabled] 1334 -C, --config-cache alias for \`--cache-file=config.cache' 1335 -n, --no-create do not create output files 1336 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1337 1338Installation directories: 1339 --prefix=PREFIX install architecture-independent files in PREFIX 1340 [$ac_default_prefix] 1341 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1342 [PREFIX] 1343 1344By default, \`make install' will install all the files in 1345\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1346an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1347for instance \`--prefix=\$HOME'. 1348 1349For better control, use the options below. 1350 1351Fine tuning of the installation directories: 1352 --bindir=DIR user executables [EPREFIX/bin] 1353 --sbindir=DIR system admin executables [EPREFIX/sbin] 1354 --libexecdir=DIR program executables [EPREFIX/libexec] 1355 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1356 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1357 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1358 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1359 --libdir=DIR object code libraries [EPREFIX/lib] 1360 --includedir=DIR C header files [PREFIX/include] 1361 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1362 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1363 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1364 --infodir=DIR info documentation [DATAROOTDIR/info] 1365 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1366 --mandir=DIR man documentation [DATAROOTDIR/man] 1367 --docdir=DIR documentation root [DATAROOTDIR/doc/bibclean] 1368 --htmldir=DIR html documentation [DOCDIR] 1369 --dvidir=DIR dvi documentation [DOCDIR] 1370 --pdfdir=DIR pdf documentation [DOCDIR] 1371 --psdir=DIR ps documentation [DOCDIR] 1372_ACEOF 1373 1374 cat <<\_ACEOF 1375_ACEOF 1376fi 1377 1378if test -n "$ac_init_help"; then 1379 case $ac_init_help in 1380 short | recursive ) echo "Configuration of bibclean 3.06:";; 1381 esac 1382 cat <<\_ACEOF 1383 1384Some influential environment variables: 1385 CC C compiler command 1386 CFLAGS C compiler flags 1387 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1388 nonstandard directory <lib dir> 1389 LIBS libraries to pass to the linker, e.g. -l<library> 1390 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1391 you have headers in a nonstandard directory <include dir> 1392 CPP C preprocessor 1393 1394Use these variables to override the choices made by `configure' or to help 1395it to find libraries and programs with nonstandard names/locations. 1396 1397Report bugs to <Nelson H. F. Beebe <beebe@math.utah.edu>>. 1398_ACEOF 1399ac_status=$? 1400fi 1401 1402if test "$ac_init_help" = "recursive"; then 1403 # If there are subdirs, report their specific --help. 1404 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1405 test -d "$ac_dir" || 1406 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1407 continue 1408 ac_builddir=. 1409 1410case "$ac_dir" in 1411.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1412*) 1413 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1414 # A ".." for each directory in $ac_dir_suffix. 1415 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1416 case $ac_top_builddir_sub in 1417 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1418 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1419 esac ;; 1420esac 1421ac_abs_top_builddir=$ac_pwd 1422ac_abs_builddir=$ac_pwd$ac_dir_suffix 1423# for backward compatibility: 1424ac_top_builddir=$ac_top_build_prefix 1425 1426case $srcdir in 1427 .) # We are building in place. 1428 ac_srcdir=. 1429 ac_top_srcdir=$ac_top_builddir_sub 1430 ac_abs_top_srcdir=$ac_pwd ;; 1431 [\\/]* | ?:[\\/]* ) # Absolute name. 1432 ac_srcdir=$srcdir$ac_dir_suffix; 1433 ac_top_srcdir=$srcdir 1434 ac_abs_top_srcdir=$srcdir ;; 1435 *) # Relative name. 1436 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1437 ac_top_srcdir=$ac_top_build_prefix$srcdir 1438 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1439esac 1440ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1441 1442 cd "$ac_dir" || { ac_status=$?; continue; } 1443 # Check for configure.gnu first; this name is used for a wrapper for 1444 # Metaconfig's "Configure" on case-insensitive file systems. 1445 if test -f "$ac_srcdir/configure.gnu"; then 1446 echo && 1447 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1448 elif test -f "$ac_srcdir/configure"; then 1449 echo && 1450 $SHELL "$ac_srcdir/configure" --help=recursive 1451 else 1452 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1453 fi || ac_status=$? 1454 cd "$ac_pwd" || { ac_status=$?; break; } 1455 done 1456fi 1457 1458test -n "$ac_init_help" && exit $ac_status 1459if $ac_init_version; then 1460 cat <<\_ACEOF 1461bibclean configure 3.06 1462generated by GNU Autoconf 2.70 1463 1464Copyright (C) 2020 Free Software Foundation, Inc. 1465This configure script is free software; the Free Software Foundation 1466gives unlimited permission to copy, distribute and modify it. 1467_ACEOF 1468 exit 1469fi 1470 1471## ------------------------ ## 1472## Autoconf initialization. ## 1473## ------------------------ ## 1474 1475# ac_fn_c_try_compile LINENO 1476# -------------------------- 1477# Try to compile conftest.$ac_ext, and return whether this succeeded. 1478ac_fn_c_try_compile () 1479{ 1480 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1481 rm -f conftest.$ac_objext conftest.beam 1482 if { { ac_try="$ac_compile" 1483case "(($ac_try" in 1484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1485 *) ac_try_echo=$ac_try;; 1486esac 1487eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1488printf "%s\n" "$ac_try_echo"; } >&5 1489 (eval "$ac_compile") 2>conftest.err 1490 ac_status=$? 1491 if test -s conftest.err; then 1492 grep -v '^ *+' conftest.err >conftest.er1 1493 cat conftest.er1 >&5 1494 mv -f conftest.er1 conftest.err 1495 fi 1496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1497 test $ac_status = 0; } && { 1498 test -z "$ac_c_werror_flag" || 1499 test ! -s conftest.err 1500 } && test -s conftest.$ac_objext 1501then : 1502 ac_retval=0 1503else $as_nop 1504 printf "%s\n" "$as_me: failed program was:" >&5 1505sed 's/^/| /' conftest.$ac_ext >&5 1506 1507 ac_retval=1 1508fi 1509 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1510 as_fn_set_status $ac_retval 1511 1512} # ac_fn_c_try_compile 1513 1514# ac_fn_c_try_run LINENO 1515# ---------------------- 1516# Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that 1517# executables *can* be run. 1518ac_fn_c_try_run () 1519{ 1520 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1521 if { { ac_try="$ac_link" 1522case "(($ac_try" in 1523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1524 *) ac_try_echo=$ac_try;; 1525esac 1526eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1527printf "%s\n" "$ac_try_echo"; } >&5 1528 (eval "$ac_link") 2>&5 1529 ac_status=$? 1530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1531 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1532 { { case "(($ac_try" in 1533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1534 *) ac_try_echo=$ac_try;; 1535esac 1536eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1537printf "%s\n" "$ac_try_echo"; } >&5 1538 (eval "$ac_try") 2>&5 1539 ac_status=$? 1540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1541 test $ac_status = 0; }; } 1542then : 1543 ac_retval=0 1544else $as_nop 1545 printf "%s\n" "$as_me: program exited with status $ac_status" >&5 1546 printf "%s\n" "$as_me: failed program was:" >&5 1547sed 's/^/| /' conftest.$ac_ext >&5 1548 1549 ac_retval=$ac_status 1550fi 1551 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1553 as_fn_set_status $ac_retval 1554 1555} # ac_fn_c_try_run 1556 1557# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1558# ------------------------------------------------------- 1559# Tests whether HEADER exists and can be compiled using the include files in 1560# INCLUDES, setting the cache variable VAR accordingly. 1561ac_fn_c_check_header_compile () 1562{ 1563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1565printf %s "checking for $2... " >&6; } 1566if eval test \${$3+y} 1567then : 1568 printf %s "(cached) " >&6 1569else $as_nop 1570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1571/* end confdefs.h. */ 1572$4 1573#include <$2> 1574_ACEOF 1575if ac_fn_c_try_compile "$LINENO" 1576then : 1577 eval "$3=yes" 1578else $as_nop 1579 eval "$3=no" 1580fi 1581rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1582fi 1583eval ac_res=\$$3 1584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1585printf "%s\n" "$ac_res" >&6; } 1586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1587 1588} # ac_fn_c_check_header_compile 1589 1590# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1591# ------------------------------------------- 1592# Tests whether TYPE exists after having included INCLUDES, setting cache 1593# variable VAR accordingly. 1594ac_fn_c_check_type () 1595{ 1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1598printf %s "checking for $2... " >&6; } 1599if eval test \${$3+y} 1600then : 1601 printf %s "(cached) " >&6 1602else $as_nop 1603 eval "$3=no" 1604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1605/* end confdefs.h. */ 1606$4 1607int 1608main (void) 1609{ 1610if (sizeof ($2)) 1611 return 0; 1612 ; 1613 return 0; 1614} 1615_ACEOF 1616if ac_fn_c_try_compile "$LINENO" 1617then : 1618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1619/* end confdefs.h. */ 1620$4 1621int 1622main (void) 1623{ 1624if (sizeof (($2))) 1625 return 0; 1626 ; 1627 return 0; 1628} 1629_ACEOF 1630if ac_fn_c_try_compile "$LINENO" 1631then : 1632 1633else $as_nop 1634 eval "$3=yes" 1635fi 1636rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1637fi 1638rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1639fi 1640eval ac_res=\$$3 1641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1642printf "%s\n" "$ac_res" >&6; } 1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1644 1645} # ac_fn_c_check_type 1646 1647# ac_fn_c_try_cpp LINENO 1648# ---------------------- 1649# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1650ac_fn_c_try_cpp () 1651{ 1652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1653 if { { ac_try="$ac_cpp conftest.$ac_ext" 1654case "(($ac_try" in 1655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1656 *) ac_try_echo=$ac_try;; 1657esac 1658eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1659printf "%s\n" "$ac_try_echo"; } >&5 1660 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1661 ac_status=$? 1662 if test -s conftest.err; then 1663 grep -v '^ *+' conftest.err >conftest.er1 1664 cat conftest.er1 >&5 1665 mv -f conftest.er1 conftest.err 1666 fi 1667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1668 test $ac_status = 0; } > conftest.i && { 1669 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1670 test ! -s conftest.err 1671 } 1672then : 1673 ac_retval=0 1674else $as_nop 1675 printf "%s\n" "$as_me: failed program was:" >&5 1676sed 's/^/| /' conftest.$ac_ext >&5 1677 1678 ac_retval=1 1679fi 1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1681 as_fn_set_status $ac_retval 1682 1683} # ac_fn_c_try_cpp 1684 1685# ac_fn_c_try_link LINENO 1686# ----------------------- 1687# Try to link conftest.$ac_ext, and return whether this succeeded. 1688ac_fn_c_try_link () 1689{ 1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1691 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 1692 if { { ac_try="$ac_link" 1693case "(($ac_try" in 1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1695 *) ac_try_echo=$ac_try;; 1696esac 1697eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1698printf "%s\n" "$ac_try_echo"; } >&5 1699 (eval "$ac_link") 2>conftest.err 1700 ac_status=$? 1701 if test -s conftest.err; then 1702 grep -v '^ *+' conftest.err >conftest.er1 1703 cat conftest.er1 >&5 1704 mv -f conftest.er1 conftest.err 1705 fi 1706 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1707 test $ac_status = 0; } && { 1708 test -z "$ac_c_werror_flag" || 1709 test ! -s conftest.err 1710 } && test -s conftest$ac_exeext && { 1711 test "$cross_compiling" = yes || 1712 test -x conftest$ac_exeext 1713 } 1714then : 1715 ac_retval=0 1716else $as_nop 1717 printf "%s\n" "$as_me: failed program was:" >&5 1718sed 's/^/| /' conftest.$ac_ext >&5 1719 1720 ac_retval=1 1721fi 1722 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1723 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1724 # interfere with the next link command; also delete a directory that is 1725 # left behind by Apple's compiler. We do this before executing the actions. 1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1728 as_fn_set_status $ac_retval 1729 1730} # ac_fn_c_try_link 1731 1732# ac_fn_c_check_func LINENO FUNC VAR 1733# ---------------------------------- 1734# Tests whether FUNC exists, setting the cache variable VAR accordingly 1735ac_fn_c_check_func () 1736{ 1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1739printf %s "checking for $2... " >&6; } 1740if eval test \${$3+y} 1741then : 1742 printf %s "(cached) " >&6 1743else $as_nop 1744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1745/* end confdefs.h. */ 1746/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1747 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1748#define $2 innocuous_$2 1749 1750/* System header to define __stub macros and hopefully few prototypes, 1751 which can conflict with char $2 (); below. */ 1752 1753#include <limits.h> 1754#undef $2 1755 1756/* Override any GCC internal prototype to avoid an error. 1757 Use char because int might match the return type of a GCC 1758 builtin and then its argument prototype would still apply. */ 1759#ifdef __cplusplus 1760extern "C" 1761#endif 1762char $2 (); 1763/* The GNU C library defines this for functions which it implements 1764 to always fail with ENOSYS. Some functions are actually named 1765 something starting with __ and the normal name is an alias. */ 1766#if defined __stub_$2 || defined __stub___$2 1767choke me 1768#endif 1769 1770int 1771main (void) 1772{ 1773return $2 (); 1774 ; 1775 return 0; 1776} 1777_ACEOF 1778if ac_fn_c_try_link "$LINENO" 1779then : 1780 eval "$3=yes" 1781else $as_nop 1782 eval "$3=no" 1783fi 1784rm -f core conftest.err conftest.$ac_objext conftest.beam \ 1785 conftest$ac_exeext conftest.$ac_ext 1786fi 1787eval ac_res=\$$3 1788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1789printf "%s\n" "$ac_res" >&6; } 1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1791 1792} # ac_fn_c_check_func 1793 1794# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 1795# --------------------------------------------- 1796# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 1797# accordingly. 1798ac_fn_c_check_decl () 1799{ 1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1801 # Initialize each $ac_[]_AC_LANG_ABBREV[]_decl_warn_flag once. 1802 as_decl_name=`echo $2|sed 's/ *(.*//'` 1803 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 1804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 1805printf %s "checking whether $as_decl_name is declared... " >&6; } 1806if eval test \${$3+y} 1807then : 1808 printf %s "(cached) " >&6 1809else $as_nop 1810 ac_save_werror_flag=$ac_c_werror_flag 1811 ac_c_werror_flag="$ac_c_decl_warn_flag$ac_c_werror_flag" 1812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1813/* end confdefs.h. */ 1814$4 1815int 1816main (void) 1817{ 1818#ifndef $as_decl_name 1819#ifdef __cplusplus 1820 (void) $as_decl_use; 1821#else 1822 (void) $as_decl_name; 1823#endif 1824#endif 1825 1826 ; 1827 return 0; 1828} 1829_ACEOF 1830if ac_fn_c_try_compile "$LINENO" 1831then : 1832 eval "$3=yes" 1833else $as_nop 1834 eval "$3=no" 1835fi 1836rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1837 ac_c_werror_flag=$ac_save_werror_flag 1838fi 1839eval ac_res=\$$3 1840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1841printf "%s\n" "$ac_res" >&6; } 1842 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1843 1844} # ac_fn_c_check_decl 1845ac_configure_args_raw= 1846for ac_arg 1847do 1848 case $ac_arg in 1849 *\'*) 1850 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1851 esac 1852 as_fn_append ac_configure_args_raw " '$ac_arg'" 1853done 1854 1855case $ac_configure_args_raw in 1856 *$as_nl*) 1857 ac_safe_unquote= ;; 1858 *) 1859 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1860 ac_unsafe_a="$ac_unsafe_z#~" 1861 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1862 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1863esac 1864 1865cat >config.log <<_ACEOF 1866This file contains any messages produced by compilers while 1867running configure, to aid debugging if configure makes a mistake. 1868 1869It was created by bibclean $as_me 3.06, which was 1870generated by GNU Autoconf 2.70. Invocation command line was 1871 1872 $ $0$ac_configure_args_raw 1873 1874_ACEOF 1875exec 5>>config.log 1876{ 1877cat <<_ASUNAME 1878## --------- ## 1879## Platform. ## 1880## --------- ## 1881 1882hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1883uname -m = `(uname -m) 2>/dev/null || echo unknown` 1884uname -r = `(uname -r) 2>/dev/null || echo unknown` 1885uname -s = `(uname -s) 2>/dev/null || echo unknown` 1886uname -v = `(uname -v) 2>/dev/null || echo unknown` 1887 1888/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1889/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1890 1891/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1892/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1893/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1894/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1895/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1896/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1897/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1898 1899_ASUNAME 1900 1901as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1902for as_dir in $PATH 1903do 1904 IFS=$as_save_IFS 1905 case $as_dir in #((( 1906 '') as_dir=./ ;; 1907 */) ;; 1908 *) as_dir=$as_dir/ ;; 1909 esac 1910 printf "%s\n" "PATH: $as_dir" 1911 done 1912IFS=$as_save_IFS 1913 1914} >&5 1915 1916cat >&5 <<_ACEOF 1917 1918 1919## ----------- ## 1920## Core tests. ## 1921## ----------- ## 1922 1923_ACEOF 1924 1925 1926# Keep a trace of the command line. 1927# Strip out --no-create and --no-recursion so they do not pile up. 1928# Strip out --silent because we don't want to record it for future runs. 1929# Also quote any args containing shell meta-characters. 1930# Make two passes to allow for proper duplicate-argument suppression. 1931ac_configure_args= 1932ac_configure_args0= 1933ac_configure_args1= 1934ac_must_keep_next=false 1935for ac_pass in 1 2 1936do 1937 for ac_arg 1938 do 1939 case $ac_arg in 1940 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1941 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1942 | -silent | --silent | --silen | --sile | --sil) 1943 continue ;; 1944 *\'*) 1945 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1946 esac 1947 case $ac_pass in 1948 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1949 2) 1950 as_fn_append ac_configure_args1 " '$ac_arg'" 1951 if test $ac_must_keep_next = true; then 1952 ac_must_keep_next=false # Got value, back to normal. 1953 else 1954 case $ac_arg in 1955 *=* | --config-cache | -C | -disable-* | --disable-* \ 1956 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1957 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1958 | -with-* | --with-* | -without-* | --without-* | --x) 1959 case "$ac_configure_args0 " in 1960 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1961 esac 1962 ;; 1963 -* ) ac_must_keep_next=true ;; 1964 esac 1965 fi 1966 as_fn_append ac_configure_args " '$ac_arg'" 1967 ;; 1968 esac 1969 done 1970done 1971{ ac_configure_args0=; unset ac_configure_args0;} 1972{ ac_configure_args1=; unset ac_configure_args1;} 1973 1974# When interrupted or exit'd, cleanup temporary files, and complete 1975# config.log. We remove comments because anyway the quotes in there 1976# would cause problems or look ugly. 1977# WARNING: Use '\'' to represent an apostrophe within the trap. 1978# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1979trap 'exit_status=$? 1980 # Sanitize IFS. 1981 IFS=" "" $as_nl" 1982 # Save into config.log some information that might help in debugging. 1983 { 1984 echo 1985 1986 printf "%s\n" "## ---------------- ## 1987## Cache variables. ## 1988## ---------------- ##" 1989 echo 1990 # The following way of writing the cache mishandles newlines in values, 1991( 1992 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1993 eval ac_val=\$$ac_var 1994 case $ac_val in #( 1995 *${as_nl}*) 1996 case $ac_var in #( 1997 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1998printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1999 esac 2000 case $ac_var in #( 2001 _ | IFS | as_nl) ;; #( 2002 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2003 *) { eval $ac_var=; unset $ac_var;} ;; 2004 esac ;; 2005 esac 2006 done 2007 (set) 2>&1 | 2008 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2009 *${as_nl}ac_space=\ *) 2010 sed -n \ 2011 "s/'\''/'\''\\\\'\'''\''/g; 2012 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2013 ;; #( 2014 *) 2015 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2016 ;; 2017 esac | 2018 sort 2019) 2020 echo 2021 2022 printf "%s\n" "## ----------------- ## 2023## Output variables. ## 2024## ----------------- ##" 2025 echo 2026 for ac_var in $ac_subst_vars 2027 do 2028 eval ac_val=\$$ac_var 2029 case $ac_val in 2030 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2031 esac 2032 printf "%s\n" "$ac_var='\''$ac_val'\''" 2033 done | sort 2034 echo 2035 2036 if test -n "$ac_subst_files"; then 2037 printf "%s\n" "## ------------------- ## 2038## File substitutions. ## 2039## ------------------- ##" 2040 echo 2041 for ac_var in $ac_subst_files 2042 do 2043 eval ac_val=\$$ac_var 2044 case $ac_val in 2045 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2046 esac 2047 printf "%s\n" "$ac_var='\''$ac_val'\''" 2048 done | sort 2049 echo 2050 fi 2051 2052 if test -s confdefs.h; then 2053 printf "%s\n" "## ----------- ## 2054## confdefs.h. ## 2055## ----------- ##" 2056 echo 2057 cat confdefs.h 2058 echo 2059 fi 2060 test "$ac_signal" != 0 && 2061 printf "%s\n" "$as_me: caught signal $ac_signal" 2062 printf "%s\n" "$as_me: exit $exit_status" 2063 } >&5 2064 rm -f core *.core core.conftest.* && 2065 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2066 exit $exit_status 2067' 0 2068for ac_signal in 1 2 13 15; do 2069 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2070done 2071ac_signal=0 2072 2073# confdefs.h avoids OS command line length limits that DEFS can exceed. 2074rm -f -r conftest* confdefs.h 2075 2076printf "%s\n" "/* confdefs.h */" > confdefs.h 2077 2078# Predefined preprocessor variables. 2079 2080printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 2081 2082printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 2083 2084printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 2085 2086printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 2087 2088printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 2089 2090printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 2091 2092 2093# Let the site file select an alternate cache file if it wants to. 2094# Prefer an explicitly selected file to automatically selected ones. 2095if test -n "$CONFIG_SITE"; then 2096 ac_site_files="$CONFIG_SITE" 2097elif test "x$prefix" != xNONE; then 2098 ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 2099else 2100 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 2101fi 2102 2103for ac_site_file in $ac_site_files 2104do 2105 case $ac_site_file in #( 2106 */*) : 2107 ;; #( 2108 *) : 2109 ac_site_file=./$ac_site_file ;; 2110esac 2111 if test -f "$ac_site_file" && test -r "$ac_site_file"; then 2112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2113printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 2114 sed 's/^/| /' "$ac_site_file" >&5 2115 . "$ac_site_file" \ 2116 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2117printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2118as_fn_error $? "failed to load site script $ac_site_file 2119See \`config.log' for more details" "$LINENO" 5; } 2120 fi 2121done 2122 2123if test -r "$cache_file"; then 2124 # Some versions of bash will fail to source /dev/null (special files 2125 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2126 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2128printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 2129 case $cache_file in 2130 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2131 *) . "./$cache_file";; 2132 esac 2133 fi 2134else 2135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2136printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 2137 >$cache_file 2138fi 2139 2140# Test code for whether the C compiler supports C89 (global declarations) 2141ac_c_conftest_c89_globals=' 2142/* Does the compiler advertise C89 conformance? 2143 Do not test the value of __STDC__, because some compilers set it to 0 2144 while being otherwise adequately conformant. */ 2145#if !defined __STDC__ 2146# error "Compiler does not advertise C89 conformance" 2147#endif 2148 2149#include <stddef.h> 2150#include <stdarg.h> 2151struct stat; 2152/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ 2153struct buf { int x; }; 2154struct buf * (*rcsopen) (struct buf *, struct stat *, int); 2155static char *e (p, i) 2156 char **p; 2157 int i; 2158{ 2159 return p[i]; 2160} 2161static char *f (char * (*g) (char **, int), char **p, ...) 2162{ 2163 char *s; 2164 va_list v; 2165 va_start (v,p); 2166 s = g (p, va_arg (v,int)); 2167 va_end (v); 2168 return s; 2169} 2170 2171/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2172 function prototypes and stuff, but not \xHH hex character constants. 2173 These do not provoke an error unfortunately, instead are silently treated 2174 as an "x". The following induces an error, until -std is added to get 2175 proper ANSI mode. Curiously \x00 != x always comes out true, for an 2176 array size at least. It is necessary to write \x00 == 0 to get something 2177 that is true only with -std. */ 2178int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; 2179 2180/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2181 inside strings and character constants. */ 2182#define FOO(x) '\''x'\'' 2183int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; 2184 2185int test (int i, double x); 2186struct s1 {int (*f) (int a);}; 2187struct s2 {int (*f) (double a);}; 2188int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), 2189 int, int);' 2190 2191# Test code for whether the C compiler supports C89 (body of main). 2192ac_c_conftest_c89_main=' 2193ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); 2194' 2195 2196# Test code for whether the C compiler supports C99 (global declarations) 2197ac_c_conftest_c99_globals=' 2198// Does the compiler advertise C99 conformance? 2199#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L 2200# error "Compiler does not advertise C99 conformance" 2201#endif 2202 2203#include <stdbool.h> 2204extern int puts (const char *); 2205extern int printf (const char *, ...); 2206extern int dprintf (int, const char *, ...); 2207extern void *malloc (size_t); 2208 2209// Check varargs macros. These examples are taken from C99 6.10.3.5. 2210// dprintf is used instead of fprintf to avoid needing to declare 2211// FILE and stderr. 2212#define debug(...) dprintf (2, __VA_ARGS__) 2213#define showlist(...) puts (#__VA_ARGS__) 2214#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 2215static void 2216test_varargs_macros (void) 2217{ 2218 int x = 1234; 2219 int y = 5678; 2220 debug ("Flag"); 2221 debug ("X = %d\n", x); 2222 showlist (The first, second, and third items.); 2223 report (x>y, "x is %d but y is %d", x, y); 2224} 2225 2226// Check long long types. 2227#define BIG64 18446744073709551615ull 2228#define BIG32 4294967295ul 2229#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 2230#if !BIG_OK 2231 #error "your preprocessor is broken" 2232#endif 2233#if BIG_OK 2234#else 2235 #error "your preprocessor is broken" 2236#endif 2237static long long int bignum = -9223372036854775807LL; 2238static unsigned long long int ubignum = BIG64; 2239 2240struct incomplete_array 2241{ 2242 int datasize; 2243 double data[]; 2244}; 2245 2246struct named_init { 2247 int number; 2248 const wchar_t *name; 2249 double average; 2250}; 2251 2252typedef const char *ccp; 2253 2254static inline int 2255test_restrict (ccp restrict text) 2256{ 2257 // See if C++-style comments work. 2258 // Iterate through items via the restricted pointer. 2259 // Also check for declarations in for loops. 2260 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) 2261 continue; 2262 return 0; 2263} 2264 2265// Check varargs and va_copy. 2266static bool 2267test_varargs (const char *format, ...) 2268{ 2269 va_list args; 2270 va_start (args, format); 2271 va_list args_copy; 2272 va_copy (args_copy, args); 2273 2274 const char *str = ""; 2275 int number = 0; 2276 float fnumber = 0; 2277 2278 while (*format) 2279 { 2280 switch (*format++) 2281 { 2282 case '\''s'\'': // string 2283 str = va_arg (args_copy, const char *); 2284 break; 2285 case '\''d'\'': // int 2286 number = va_arg (args_copy, int); 2287 break; 2288 case '\''f'\'': // float 2289 fnumber = va_arg (args_copy, double); 2290 break; 2291 default: 2292 break; 2293 } 2294 } 2295 va_end (args_copy); 2296 va_end (args); 2297 2298 return *str && number && fnumber; 2299} 2300' 2301 2302# Test code for whether the C compiler supports C99 (body of main). 2303ac_c_conftest_c99_main=' 2304 // Check bool. 2305 _Bool success = false; 2306 success |= (argc != 0); 2307 2308 // Check restrict. 2309 if (test_restrict ("String literal") == 0) 2310 success = true; 2311 char *restrict newvar = "Another string"; 2312 2313 // Check varargs. 2314 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); 2315 test_varargs_macros (); 2316 2317 // Check flexible array members. 2318 struct incomplete_array *ia = 2319 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2320 ia->datasize = 10; 2321 for (int i = 0; i < ia->datasize; ++i) 2322 ia->data[i] = i * 1.234; 2323 2324 // Check named initializers. 2325 struct named_init ni = { 2326 .number = 34, 2327 .name = L"Test wide string", 2328 .average = 543.34343, 2329 }; 2330 2331 ni.number = 58; 2332 2333 int dynamic_array[ni.number]; 2334 dynamic_array[0] = argv[0][0]; 2335 dynamic_array[ni.number - 1] = 543; 2336 2337 // work around unused variable warnings 2338 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' 2339 || dynamic_array[ni.number - 1] != 543); 2340' 2341 2342# Test code for whether the C compiler supports C11 (global declarations) 2343ac_c_conftest_c11_globals=' 2344// Does the compiler advertise C11 conformance? 2345#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L 2346# error "Compiler does not advertise C11 conformance" 2347#endif 2348 2349// Check _Alignas. 2350char _Alignas (double) aligned_as_double; 2351char _Alignas (0) no_special_alignment; 2352extern char aligned_as_int; 2353char _Alignas (0) _Alignas (int) aligned_as_int; 2354 2355// Check _Alignof. 2356enum 2357{ 2358 int_alignment = _Alignof (int), 2359 int_array_alignment = _Alignof (int[100]), 2360 char_alignment = _Alignof (char) 2361}; 2362_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); 2363 2364// Check _Noreturn. 2365int _Noreturn does_not_return (void) { for (;;) continue; } 2366 2367// Check _Static_assert. 2368struct test_static_assert 2369{ 2370 int x; 2371 _Static_assert (sizeof (int) <= sizeof (long int), 2372 "_Static_assert does not work in struct"); 2373 long int y; 2374}; 2375 2376// Check UTF-8 literals. 2377#define u8 syntax error! 2378char const utf8_literal[] = u8"happens to be ASCII" "another string"; 2379 2380// Check duplicate typedefs. 2381typedef long *long_ptr; 2382typedef long int *long_ptr; 2383typedef long_ptr long_ptr; 2384 2385// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. 2386struct anonymous 2387{ 2388 union { 2389 struct { int i; int j; }; 2390 struct { int k; long int l; } w; 2391 }; 2392 int m; 2393} v1; 2394' 2395 2396# Test code for whether the C compiler supports C11 (body of main). 2397ac_c_conftest_c11_main=' 2398 _Static_assert ((offsetof (struct anonymous, i) 2399 == offsetof (struct anonymous, w.k)), 2400 "Anonymous union alignment botch"); 2401 v1.i = 2; 2402 v1.w.k = 5; 2403 ok |= v1.i != 5; 2404' 2405 2406# Test code for whether the C compiler supports C11 (complete). 2407ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} 2408${ac_c_conftest_c99_globals} 2409${ac_c_conftest_c11_globals} 2410 2411int 2412main (int argc, char **argv) 2413{ 2414 int ok = 0; 2415 ${ac_c_conftest_c89_main} 2416 ${ac_c_conftest_c99_main} 2417 ${ac_c_conftest_c11_main} 2418 return ok; 2419} 2420" 2421 2422# Test code for whether the C compiler supports C99 (complete). 2423ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} 2424${ac_c_conftest_c99_globals} 2425 2426int 2427main (int argc, char **argv) 2428{ 2429 int ok = 0; 2430 ${ac_c_conftest_c89_main} 2431 ${ac_c_conftest_c99_main} 2432 return ok; 2433} 2434" 2435 2436# Test code for whether the C compiler supports C89 (complete). 2437ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} 2438 2439int 2440main (int argc, char **argv) 2441{ 2442 int ok = 0; 2443 ${ac_c_conftest_c89_main} 2444 return ok; 2445} 2446" 2447 2448as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" 2449as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" 2450as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" 2451as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" 2452as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" 2453as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" 2454as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" 2455as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" 2456as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" 2457as_fn_append ac_header_c_list " utime.h utime_h HAVE_UTIME_H" 2458# Check that the precious variables saved in the cache have kept the same 2459# value. 2460ac_cache_corrupted=false 2461for ac_var in $ac_precious_vars; do 2462 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2463 eval ac_new_set=\$ac_env_${ac_var}_set 2464 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2465 eval ac_new_val=\$ac_env_${ac_var}_value 2466 case $ac_old_set,$ac_new_set in 2467 set,) 2468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2469printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2470 ac_cache_corrupted=: ;; 2471 ,set) 2472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2473printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2474 ac_cache_corrupted=: ;; 2475 ,);; 2476 *) 2477 if test "x$ac_old_val" != "x$ac_new_val"; then 2478 # differences in whitespace do not lead to failure. 2479 ac_old_val_w=`echo x $ac_old_val` 2480 ac_new_val_w=`echo x $ac_new_val` 2481 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2483printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2484 ac_cache_corrupted=: 2485 else 2486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2487printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2488 eval $ac_var=\$ac_old_val 2489 fi 2490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2491printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 2492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2493printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 2494 fi;; 2495 esac 2496 # Pass precious variables to config.status. 2497 if test "$ac_new_set" = set; then 2498 case $ac_new_val in 2499 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2500 *) ac_arg=$ac_var=$ac_new_val ;; 2501 esac 2502 case " $ac_configure_args " in 2503 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2504 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2505 esac 2506 fi 2507done 2508if $ac_cache_corrupted; then 2509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2510printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2512printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 2513 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 2514 and start over" "$LINENO" 5 2515fi 2516## -------------------- ## 2517## Main body of script. ## 2518## -------------------- ## 2519 2520ac_ext=c 2521ac_cpp='$CPP $CPPFLAGS' 2522ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2523ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2524ac_compiler_gnu=$ac_cv_c_compiler_gnu 2525 2526 2527PACKAGE_DATE="06-Mar-2021" 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 2538 2539printf "%s\n" "#define PACKAGE_DATE \"$PACKAGE_DATE\"" >>confdefs.h 2540 2541printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 2542 2543printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 2544 2545printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 2546 2547printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 2548 2549 2550ac_config_headers="$ac_config_headers config.h:config.hin" 2551 2552 2553 2554for ac_prog in antic 2555do 2556 # Extract the first word of "$ac_prog", so it can be a program name with args. 2557set dummy $ac_prog; ac_word=$2 2558{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2559printf %s "checking for $ac_word... " >&6; } 2560if test ${ac_cv_prog_ANTIC+y} 2561then : 2562 printf %s "(cached) " >&6 2563else $as_nop 2564 if test -n "$ANTIC"; then 2565 ac_cv_prog_ANTIC="$ANTIC" # Let the user override the test. 2566else 2567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2568for as_dir in $PATH 2569do 2570 IFS=$as_save_IFS 2571 case $as_dir in #((( 2572 '') as_dir=./ ;; 2573 */) ;; 2574 *) as_dir=$as_dir/ ;; 2575 esac 2576 for ac_exec_ext in '' $ac_executable_extensions; do 2577 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2578 ac_cv_prog_ANTIC="$ac_prog" 2579 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2580 break 2 2581 fi 2582done 2583 done 2584IFS=$as_save_IFS 2585 2586fi 2587fi 2588ANTIC=$ac_cv_prog_ANTIC 2589if test -n "$ANTIC"; then 2590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ANTIC" >&5 2591printf "%s\n" "$ANTIC" >&6; } 2592else 2593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2594printf "%s\n" "no" >&6; } 2595fi 2596 2597 2598 test -n "$ANTIC" && break 2599done 2600 2601for ac_prog in autoconf 2602do 2603 # Extract the first word of "$ac_prog", so it can be a program name with args. 2604set dummy $ac_prog; ac_word=$2 2605{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2606printf %s "checking for $ac_word... " >&6; } 2607if test ${ac_cv_prog_AUTOCONF+y} 2608then : 2609 printf %s "(cached) " >&6 2610else $as_nop 2611 if test -n "$AUTOCONF"; then 2612 ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test. 2613else 2614as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2615for as_dir in $PATH 2616do 2617 IFS=$as_save_IFS 2618 case $as_dir in #((( 2619 '') as_dir=./ ;; 2620 */) ;; 2621 *) as_dir=$as_dir/ ;; 2622 esac 2623 for ac_exec_ext in '' $ac_executable_extensions; do 2624 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2625 ac_cv_prog_AUTOCONF="$ac_prog" 2626 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2627 break 2 2628 fi 2629done 2630 done 2631IFS=$as_save_IFS 2632 2633fi 2634fi 2635AUTOCONF=$ac_cv_prog_AUTOCONF 2636if test -n "$AUTOCONF"; then 2637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5 2638printf "%s\n" "$AUTOCONF" >&6; } 2639else 2640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2641printf "%s\n" "no" >&6; } 2642fi 2643 2644 2645 test -n "$AUTOCONF" && break 2646done 2647 2648for ac_prog in autoheader 2649do 2650 # Extract the first word of "$ac_prog", so it can be a program name with args. 2651set dummy $ac_prog; ac_word=$2 2652{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2653printf %s "checking for $ac_word... " >&6; } 2654if test ${ac_cv_prog_AUTOHEADER+y} 2655then : 2656 printf %s "(cached) " >&6 2657else $as_nop 2658 if test -n "$AUTOHEADER"; then 2659 ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test. 2660else 2661as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2662for as_dir in $PATH 2663do 2664 IFS=$as_save_IFS 2665 case $as_dir in #((( 2666 '') as_dir=./ ;; 2667 */) ;; 2668 *) as_dir=$as_dir/ ;; 2669 esac 2670 for ac_exec_ext in '' $ac_executable_extensions; do 2671 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2672 ac_cv_prog_AUTOHEADER="$ac_prog" 2673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2674 break 2 2675 fi 2676done 2677 done 2678IFS=$as_save_IFS 2679 2680fi 2681fi 2682AUTOHEADER=$ac_cv_prog_AUTOHEADER 2683if test -n "$AUTOHEADER"; then 2684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5 2685printf "%s\n" "$AUTOHEADER" >&6; } 2686else 2687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2688printf "%s\n" "no" >&6; } 2689fi 2690 2691 2692 test -n "$AUTOHEADER" && break 2693done 2694 2695for ac_prog in mawk nawk gawk bawk awk 2696do 2697 # Extract the first word of "$ac_prog", so it can be a program name with args. 2698set dummy $ac_prog; ac_word=$2 2699{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2700printf %s "checking for $ac_word... " >&6; } 2701if test ${ac_cv_prog_AWK+y} 2702then : 2703 printf %s "(cached) " >&6 2704else $as_nop 2705 if test -n "$AWK"; then 2706 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2707else 2708as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2709for as_dir in $PATH 2710do 2711 IFS=$as_save_IFS 2712 case $as_dir in #((( 2713 '') as_dir=./ ;; 2714 */) ;; 2715 *) as_dir=$as_dir/ ;; 2716 esac 2717 for ac_exec_ext in '' $ac_executable_extensions; do 2718 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2719 ac_cv_prog_AWK="$ac_prog" 2720 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2721 break 2 2722 fi 2723done 2724 done 2725IFS=$as_save_IFS 2726 2727fi 2728fi 2729AWK=$ac_cv_prog_AWK 2730if test -n "$AWK"; then 2731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2732printf "%s\n" "$AWK" >&6; } 2733else 2734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2735printf "%s\n" "no" >&6; } 2736fi 2737 2738 2739 test -n "$AWK" && break 2740done 2741 2742for ac_prog in bibtex 2743do 2744 # Extract the first word of "$ac_prog", so it can be a program name with args. 2745set dummy $ac_prog; ac_word=$2 2746{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2747printf %s "checking for $ac_word... " >&6; } 2748if test ${ac_cv_prog_BIBTEX+y} 2749then : 2750 printf %s "(cached) " >&6 2751else $as_nop 2752 if test -n "$BIBTEX"; then 2753 ac_cv_prog_BIBTEX="$BIBTEX" # Let the user override the test. 2754else 2755as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2756for as_dir in $PATH 2757do 2758 IFS=$as_save_IFS 2759 case $as_dir in #((( 2760 '') as_dir=./ ;; 2761 */) ;; 2762 *) as_dir=$as_dir/ ;; 2763 esac 2764 for ac_exec_ext in '' $ac_executable_extensions; do 2765 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2766 ac_cv_prog_BIBTEX="$ac_prog" 2767 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2768 break 2 2769 fi 2770done 2771 done 2772IFS=$as_save_IFS 2773 2774fi 2775fi 2776BIBTEX=$ac_cv_prog_BIBTEX 2777if test -n "$BIBTEX"; then 2778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BIBTEX" >&5 2779printf "%s\n" "$BIBTEX" >&6; } 2780else 2781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2782printf "%s\n" "no" >&6; } 2783fi 2784 2785 2786 test -n "$BIBTEX" && break 2787done 2788 2789for ac_prog in cat 2790do 2791 # Extract the first word of "$ac_prog", so it can be a program name with args. 2792set dummy $ac_prog; ac_word=$2 2793{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2794printf %s "checking for $ac_word... " >&6; } 2795if test ${ac_cv_prog_CAT+y} 2796then : 2797 printf %s "(cached) " >&6 2798else $as_nop 2799 if test -n "$CAT"; then 2800 ac_cv_prog_CAT="$CAT" # Let the user override the test. 2801else 2802as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2803for as_dir in $PATH 2804do 2805 IFS=$as_save_IFS 2806 case $as_dir in #((( 2807 '') as_dir=./ ;; 2808 */) ;; 2809 *) as_dir=$as_dir/ ;; 2810 esac 2811 for ac_exec_ext in '' $ac_executable_extensions; do 2812 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2813 ac_cv_prog_CAT="$ac_prog" 2814 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2815 break 2 2816 fi 2817done 2818 done 2819IFS=$as_save_IFS 2820 2821fi 2822fi 2823CAT=$ac_cv_prog_CAT 2824if test -n "$CAT"; then 2825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5 2826printf "%s\n" "$CAT" >&6; } 2827else 2828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2829printf "%s\n" "no" >&6; } 2830fi 2831 2832 2833 test -n "$CAT" && break 2834done 2835 2836for ac_prog in checksum 2837do 2838 # Extract the first word of "$ac_prog", so it can be a program name with args. 2839set dummy $ac_prog; ac_word=$2 2840{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2841printf %s "checking for $ac_word... " >&6; } 2842if test ${ac_cv_prog_CHECKSUM+y} 2843then : 2844 printf %s "(cached) " >&6 2845else $as_nop 2846 if test -n "$CHECKSUM"; then 2847 ac_cv_prog_CHECKSUM="$CHECKSUM" # Let the user override the test. 2848else 2849as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2850for as_dir in $PATH 2851do 2852 IFS=$as_save_IFS 2853 case $as_dir in #((( 2854 '') as_dir=./ ;; 2855 */) ;; 2856 *) as_dir=$as_dir/ ;; 2857 esac 2858 for ac_exec_ext in '' $ac_executable_extensions; do 2859 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2860 ac_cv_prog_CHECKSUM="$ac_prog" 2861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2862 break 2 2863 fi 2864done 2865 done 2866IFS=$as_save_IFS 2867 2868fi 2869fi 2870CHECKSUM=$ac_cv_prog_CHECKSUM 2871if test -n "$CHECKSUM"; then 2872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CHECKSUM" >&5 2873printf "%s\n" "$CHECKSUM" >&6; } 2874else 2875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2876printf "%s\n" "no" >&6; } 2877fi 2878 2879 2880 test -n "$CHECKSUM" && break 2881done 2882 2883for ac_prog in chmod 2884do 2885 # Extract the first word of "$ac_prog", so it can be a program name with args. 2886set dummy $ac_prog; ac_word=$2 2887{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2888printf %s "checking for $ac_word... " >&6; } 2889if test ${ac_cv_prog_CHMOD+y} 2890then : 2891 printf %s "(cached) " >&6 2892else $as_nop 2893 if test -n "$CHMOD"; then 2894 ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test. 2895else 2896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2897for as_dir in $PATH 2898do 2899 IFS=$as_save_IFS 2900 case $as_dir in #((( 2901 '') as_dir=./ ;; 2902 */) ;; 2903 *) as_dir=$as_dir/ ;; 2904 esac 2905 for ac_exec_ext in '' $ac_executable_extensions; do 2906 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2907 ac_cv_prog_CHMOD="$ac_prog" 2908 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2909 break 2 2910 fi 2911done 2912 done 2913IFS=$as_save_IFS 2914 2915fi 2916fi 2917CHMOD=$ac_cv_prog_CHMOD 2918if test -n "$CHMOD"; then 2919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5 2920printf "%s\n" "$CHMOD" >&6; } 2921else 2922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2923printf "%s\n" "no" >&6; } 2924fi 2925 2926 2927 test -n "$CHMOD" && break 2928done 2929 2930for ac_prog in cmp 2931do 2932 # Extract the first word of "$ac_prog", so it can be a program name with args. 2933set dummy $ac_prog; ac_word=$2 2934{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2935printf %s "checking for $ac_word... " >&6; } 2936if test ${ac_cv_prog_CMP+y} 2937then : 2938 printf %s "(cached) " >&6 2939else $as_nop 2940 if test -n "$CMP"; then 2941 ac_cv_prog_CMP="$CMP" # Let the user override the test. 2942else 2943as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2944for as_dir in $PATH 2945do 2946 IFS=$as_save_IFS 2947 case $as_dir in #((( 2948 '') as_dir=./ ;; 2949 */) ;; 2950 *) as_dir=$as_dir/ ;; 2951 esac 2952 for ac_exec_ext in '' $ac_executable_extensions; do 2953 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2954 ac_cv_prog_CMP="$ac_prog" 2955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2956 break 2 2957 fi 2958done 2959 done 2960IFS=$as_save_IFS 2961 2962fi 2963fi 2964CMP=$ac_cv_prog_CMP 2965if test -n "$CMP"; then 2966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CMP" >&5 2967printf "%s\n" "$CMP" >&6; } 2968else 2969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2970printf "%s\n" "no" >&6; } 2971fi 2972 2973 2974 test -n "$CMP" && break 2975done 2976 2977 2978# Extract the first word of "scp", so it can be a program name with args. 2979set dummy scp; ac_word=$2 2980{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2981printf %s "checking for $ac_word... " >&6; } 2982if test ${ac_cv_prog_CP+y} 2983then : 2984 printf %s "(cached) " >&6 2985else $as_nop 2986 if test -n "$CP"; then 2987 ac_cv_prog_CP="$CP" # Let the user override the test. 2988else 2989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2990for as_dir in $PATH 2991do 2992 IFS=$as_save_IFS 2993 case $as_dir in #((( 2994 '') as_dir=./ ;; 2995 */) ;; 2996 *) as_dir=$as_dir/ ;; 2997 esac 2998 for ac_exec_ext in '' $ac_executable_extensions; do 2999 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3000 ac_cv_prog_CP="scp -p" 3001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3002 break 2 3003 fi 3004done 3005 done 3006IFS=$as_save_IFS 3007 3008fi 3009fi 3010CP=$ac_cv_prog_CP 3011if test -n "$CP"; then 3012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CP" >&5 3013printf "%s\n" "$CP" >&6; } 3014else 3015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3016printf "%s\n" "no" >&6; } 3017fi 3018 3019 3020# Extract the first word of "rcp", so it can be a program name with args. 3021set dummy rcp; ac_word=$2 3022{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3023printf %s "checking for $ac_word... " >&6; } 3024if test ${ac_cv_prog_CP+y} 3025then : 3026 printf %s "(cached) " >&6 3027else $as_nop 3028 if test -n "$CP"; then 3029 ac_cv_prog_CP="$CP" # Let the user override the test. 3030else 3031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3032for as_dir in $PATH 3033do 3034 IFS=$as_save_IFS 3035 case $as_dir in #((( 3036 '') as_dir=./ ;; 3037 */) ;; 3038 *) as_dir=$as_dir/ ;; 3039 esac 3040 for ac_exec_ext in '' $ac_executable_extensions; do 3041 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3042 ac_cv_prog_CP="rcp -p" 3043 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3044 break 2 3045 fi 3046done 3047 done 3048IFS=$as_save_IFS 3049 3050fi 3051fi 3052CP=$ac_cv_prog_CP 3053if test -n "$CP"; then 3054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CP" >&5 3055printf "%s\n" "$CP" >&6; } 3056else 3057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3058printf "%s\n" "no" >&6; } 3059fi 3060 3061 3062# Extract the first word of "cp", so it can be a program name with args. 3063set dummy cp; ac_word=$2 3064{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3065printf %s "checking for $ac_word... " >&6; } 3066if test ${ac_cv_prog_CP+y} 3067then : 3068 printf %s "(cached) " >&6 3069else $as_nop 3070 if test -n "$CP"; then 3071 ac_cv_prog_CP="$CP" # Let the user override the test. 3072else 3073as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3074for as_dir in $PATH 3075do 3076 IFS=$as_save_IFS 3077 case $as_dir in #((( 3078 '') as_dir=./ ;; 3079 */) ;; 3080 *) as_dir=$as_dir/ ;; 3081 esac 3082 for ac_exec_ext in '' $ac_executable_extensions; do 3083 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3084 ac_cv_prog_CP="cp" 3085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3086 break 2 3087 fi 3088done 3089 done 3090IFS=$as_save_IFS 3091 3092fi 3093fi 3094CP=$ac_cv_prog_CP 3095if test -n "$CP"; then 3096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CP" >&5 3097printf "%s\n" "$CP" >&6; } 3098else 3099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3100printf "%s\n" "no" >&6; } 3101fi 3102 3103 3104 3105for ac_prog in cppcheck 3106do 3107 # Extract the first word of "$ac_prog", so it can be a program name with args. 3108set dummy $ac_prog; ac_word=$2 3109{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3110printf %s "checking for $ac_word... " >&6; } 3111if test ${ac_cv_prog_CPPCHECK+y} 3112then : 3113 printf %s "(cached) " >&6 3114else $as_nop 3115 if test -n "$CPPCHECK"; then 3116 ac_cv_prog_CPPCHECK="$CPPCHECK" # Let the user override the test. 3117else 3118as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3119for as_dir in $PATH 3120do 3121 IFS=$as_save_IFS 3122 case $as_dir in #((( 3123 '') as_dir=./ ;; 3124 */) ;; 3125 *) as_dir=$as_dir/ ;; 3126 esac 3127 for ac_exec_ext in '' $ac_executable_extensions; do 3128 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3129 ac_cv_prog_CPPCHECK="$ac_prog" 3130 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3131 break 2 3132 fi 3133done 3134 done 3135IFS=$as_save_IFS 3136 3137fi 3138fi 3139CPPCHECK=$ac_cv_prog_CPPCHECK 3140if test -n "$CPPCHECK"; then 3141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPCHECK" >&5 3142printf "%s\n" "$CPPCHECK" >&6; } 3143else 3144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3145printf "%s\n" "no" >&6; } 3146fi 3147 3148 3149 test -n "$CPPCHECK" && break 3150done 3151 3152for ac_prog in cut 3153do 3154 # Extract the first word of "$ac_prog", so it can be a program name with args. 3155set dummy $ac_prog; ac_word=$2 3156{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3157printf %s "checking for $ac_word... " >&6; } 3158if test ${ac_cv_prog_CUT+y} 3159then : 3160 printf %s "(cached) " >&6 3161else $as_nop 3162 if test -n "$CUT"; then 3163 ac_cv_prog_CUT="$CUT" # Let the user override the test. 3164else 3165as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3166for as_dir in $PATH 3167do 3168 IFS=$as_save_IFS 3169 case $as_dir in #((( 3170 '') as_dir=./ ;; 3171 */) ;; 3172 *) as_dir=$as_dir/ ;; 3173 esac 3174 for ac_exec_ext in '' $ac_executable_extensions; do 3175 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3176 ac_cv_prog_CUT="$ac_prog" 3177 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3178 break 2 3179 fi 3180done 3181 done 3182IFS=$as_save_IFS 3183 3184fi 3185fi 3186CUT=$ac_cv_prog_CUT 3187if test -n "$CUT"; then 3188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CUT" >&5 3189printf "%s\n" "$CUT" >&6; } 3190else 3191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3192printf "%s\n" "no" >&6; } 3193fi 3194 3195 3196 test -n "$CUT" && break 3197done 3198 3199for ac_prog in date 3200do 3201 # Extract the first word of "$ac_prog", so it can be a program name with args. 3202set dummy $ac_prog; ac_word=$2 3203{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3204printf %s "checking for $ac_word... " >&6; } 3205if test ${ac_cv_prog_DATE+y} 3206then : 3207 printf %s "(cached) " >&6 3208else $as_nop 3209 if test -n "$DATE"; then 3210 ac_cv_prog_DATE="$DATE" # Let the user override the test. 3211else 3212as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3213for as_dir in $PATH 3214do 3215 IFS=$as_save_IFS 3216 case $as_dir in #((( 3217 '') as_dir=./ ;; 3218 */) ;; 3219 *) as_dir=$as_dir/ ;; 3220 esac 3221 for ac_exec_ext in '' $ac_executable_extensions; do 3222 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3223 ac_cv_prog_DATE="$ac_prog" 3224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3225 break 2 3226 fi 3227done 3228 done 3229IFS=$as_save_IFS 3230 3231fi 3232fi 3233DATE=$ac_cv_prog_DATE 3234if test -n "$DATE"; then 3235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DATE" >&5 3236printf "%s\n" "$DATE" >&6; } 3237else 3238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3239printf "%s\n" "no" >&6; } 3240fi 3241 3242 3243 test -n "$DATE" && break 3244done 3245 3246for ac_prog in diff 3247do 3248 # Extract the first word of "$ac_prog", so it can be a program name with args. 3249set dummy $ac_prog; ac_word=$2 3250{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3251printf %s "checking for $ac_word... " >&6; } 3252if test ${ac_cv_prog_DIFF+y} 3253then : 3254 printf %s "(cached) " >&6 3255else $as_nop 3256 if test -n "$DIFF"; then 3257 ac_cv_prog_DIFF="$DIFF" # Let the user override the test. 3258else 3259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3260for as_dir in $PATH 3261do 3262 IFS=$as_save_IFS 3263 case $as_dir in #((( 3264 '') as_dir=./ ;; 3265 */) ;; 3266 *) as_dir=$as_dir/ ;; 3267 esac 3268 for ac_exec_ext in '' $ac_executable_extensions; do 3269 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3270 ac_cv_prog_DIFF="$ac_prog" 3271 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3272 break 2 3273 fi 3274done 3275 done 3276IFS=$as_save_IFS 3277 3278fi 3279fi 3280DIFF=$ac_cv_prog_DIFF 3281if test -n "$DIFF"; then 3282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DIFF" >&5 3283printf "%s\n" "$DIFF" >&6; } 3284else 3285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3286printf "%s\n" "no" >&6; } 3287fi 3288 3289 3290 test -n "$DIFF" && break 3291done 3292 3293for ac_prog in distill ps2pdf 3294do 3295 # Extract the first word of "$ac_prog", so it can be a program name with args. 3296set dummy $ac_prog; ac_word=$2 3297{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3298printf %s "checking for $ac_word... " >&6; } 3299if test ${ac_cv_prog_DISTILL+y} 3300then : 3301 printf %s "(cached) " >&6 3302else $as_nop 3303 if test -n "$DISTILL"; then 3304 ac_cv_prog_DISTILL="$DISTILL" # Let the user override the test. 3305else 3306as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3307for as_dir in $PATH 3308do 3309 IFS=$as_save_IFS 3310 case $as_dir in #((( 3311 '') as_dir=./ ;; 3312 */) ;; 3313 *) as_dir=$as_dir/ ;; 3314 esac 3315 for ac_exec_ext in '' $ac_executable_extensions; do 3316 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3317 ac_cv_prog_DISTILL="$ac_prog" 3318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3319 break 2 3320 fi 3321done 3322 done 3323IFS=$as_save_IFS 3324 3325fi 3326fi 3327DISTILL=$ac_cv_prog_DISTILL 3328if test -n "$DISTILL"; then 3329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DISTILL" >&5 3330printf "%s\n" "$DISTILL" >&6; } 3331else 3332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3333printf "%s\n" "no" >&6; } 3334fi 3335 3336 3337 test -n "$DISTILL" && break 3338done 3339 3340for ac_prog in ditroff groff 3341do 3342 # Extract the first word of "$ac_prog", so it can be a program name with args. 3343set dummy $ac_prog; ac_word=$2 3344{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3345printf %s "checking for $ac_word... " >&6; } 3346if test ${ac_cv_prog_DITROFF+y} 3347then : 3348 printf %s "(cached) " >&6 3349else $as_nop 3350 if test -n "$DITROFF"; then 3351 ac_cv_prog_DITROFF="$DITROFF" # Let the user override the test. 3352else 3353as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3354for as_dir in $PATH 3355do 3356 IFS=$as_save_IFS 3357 case $as_dir in #((( 3358 '') as_dir=./ ;; 3359 */) ;; 3360 *) as_dir=$as_dir/ ;; 3361 esac 3362 for ac_exec_ext in '' $ac_executable_extensions; do 3363 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3364 ac_cv_prog_DITROFF="$ac_prog" 3365 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3366 break 2 3367 fi 3368done 3369 done 3370IFS=$as_save_IFS 3371 3372fi 3373fi 3374DITROFF=$ac_cv_prog_DITROFF 3375if test -n "$DITROFF"; then 3376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DITROFF" >&5 3377printf "%s\n" "$DITROFF" >&6; } 3378else 3379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3380printf "%s\n" "no" >&6; } 3381fi 3382 3383 3384 test -n "$DITROFF" && break 3385done 3386 3387for ac_prog in etags 3388do 3389 # Extract the first word of "$ac_prog", so it can be a program name with args. 3390set dummy $ac_prog; ac_word=$2 3391{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3392printf %s "checking for $ac_word... " >&6; } 3393if test ${ac_cv_prog_ETAGS+y} 3394then : 3395 printf %s "(cached) " >&6 3396else $as_nop 3397 if test -n "$ETAGS"; then 3398 ac_cv_prog_ETAGS="$ETAGS" # Let the user override the test. 3399else 3400as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3401for as_dir in $PATH 3402do 3403 IFS=$as_save_IFS 3404 case $as_dir in #((( 3405 '') as_dir=./ ;; 3406 */) ;; 3407 *) as_dir=$as_dir/ ;; 3408 esac 3409 for ac_exec_ext in '' $ac_executable_extensions; do 3410 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3411 ac_cv_prog_ETAGS="$ac_prog" 3412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3413 break 2 3414 fi 3415done 3416 done 3417IFS=$as_save_IFS 3418 3419fi 3420fi 3421ETAGS=$ac_cv_prog_ETAGS 3422if test -n "$ETAGS"; then 3423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ETAGS" >&5 3424printf "%s\n" "$ETAGS" >&6; } 3425else 3426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3427printf "%s\n" "no" >&6; } 3428fi 3429 3430 3431 test -n "$ETAGS" && break 3432done 3433 3434for ac_prog in expr 3435do 3436 # Extract the first word of "$ac_prog", so it can be a program name with args. 3437set dummy $ac_prog; ac_word=$2 3438{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3439printf %s "checking for $ac_word... " >&6; } 3440if test ${ac_cv_prog_EXPR+y} 3441then : 3442 printf %s "(cached) " >&6 3443else $as_nop 3444 if test -n "$EXPR"; then 3445 ac_cv_prog_EXPR="$EXPR" # Let the user override the test. 3446else 3447as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3448for as_dir in $PATH 3449do 3450 IFS=$as_save_IFS 3451 case $as_dir in #((( 3452 '') as_dir=./ ;; 3453 */) ;; 3454 *) as_dir=$as_dir/ ;; 3455 esac 3456 for ac_exec_ext in '' $ac_executable_extensions; do 3457 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3458 ac_cv_prog_EXPR="$ac_prog" 3459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3460 break 2 3461 fi 3462done 3463 done 3464IFS=$as_save_IFS 3465 3466fi 3467fi 3468EXPR=$ac_cv_prog_EXPR 3469if test -n "$EXPR"; then 3470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $EXPR" >&5 3471printf "%s\n" "$EXPR" >&6; } 3472else 3473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3474printf "%s\n" "no" >&6; } 3475fi 3476 3477 3478 test -n "$EXPR" && break 3479done 3480 3481for ac_prog in flawfinder 3482do 3483 # Extract the first word of "$ac_prog", so it can be a program name with args. 3484set dummy $ac_prog; ac_word=$2 3485{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3486printf %s "checking for $ac_word... " >&6; } 3487if test ${ac_cv_prog_FLAWFINDER+y} 3488then : 3489 printf %s "(cached) " >&6 3490else $as_nop 3491 if test -n "$FLAWFINDER"; then 3492 ac_cv_prog_FLAWFINDER="$FLAWFINDER" # Let the user override the test. 3493else 3494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3495for as_dir in $PATH 3496do 3497 IFS=$as_save_IFS 3498 case $as_dir in #((( 3499 '') as_dir=./ ;; 3500 */) ;; 3501 *) as_dir=$as_dir/ ;; 3502 esac 3503 for ac_exec_ext in '' $ac_executable_extensions; do 3504 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3505 ac_cv_prog_FLAWFINDER="$ac_prog" 3506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3507 break 2 3508 fi 3509done 3510 done 3511IFS=$as_save_IFS 3512 3513fi 3514fi 3515FLAWFINDER=$ac_cv_prog_FLAWFINDER 3516if test -n "$FLAWFINDER"; then 3517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLAWFINDER" >&5 3518printf "%s\n" "$FLAWFINDER" >&6; } 3519else 3520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3521printf "%s\n" "no" >&6; } 3522fi 3523 3524 3525 test -n "$FLAWFINDER" && break 3526done 3527 3528for ac_prog in egrep grep 3529do 3530 # Extract the first word of "$ac_prog", so it can be a program name with args. 3531set dummy $ac_prog; ac_word=$2 3532{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3533printf %s "checking for $ac_word... " >&6; } 3534if test ${ac_cv_prog_GREP+y} 3535then : 3536 printf %s "(cached) " >&6 3537else $as_nop 3538 if test -n "$GREP"; then 3539 ac_cv_prog_GREP="$GREP" # Let the user override the test. 3540else 3541as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3542for as_dir in $PATH 3543do 3544 IFS=$as_save_IFS 3545 case $as_dir in #((( 3546 '') as_dir=./ ;; 3547 */) ;; 3548 *) as_dir=$as_dir/ ;; 3549 esac 3550 for ac_exec_ext in '' $ac_executable_extensions; do 3551 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3552 ac_cv_prog_GREP="$ac_prog" 3553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3554 break 2 3555 fi 3556done 3557 done 3558IFS=$as_save_IFS 3559 3560fi 3561fi 3562GREP=$ac_cv_prog_GREP 3563if test -n "$GREP"; then 3564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GREP" >&5 3565printf "%s\n" "$GREP" >&6; } 3566else 3567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3568printf "%s\n" "no" >&6; } 3569fi 3570 3571 3572 test -n "$GREP" && break 3573done 3574 3575for ac_prog in gzip compress 3576do 3577 # Extract the first word of "$ac_prog", so it can be a program name with args. 3578set dummy $ac_prog; ac_word=$2 3579{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3580printf %s "checking for $ac_word... " >&6; } 3581if test ${ac_cv_prog_GZIP+y} 3582then : 3583 printf %s "(cached) " >&6 3584else $as_nop 3585 if test -n "$GZIP"; then 3586 ac_cv_prog_GZIP="$GZIP" # Let the user override the test. 3587else 3588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3589for as_dir in $PATH 3590do 3591 IFS=$as_save_IFS 3592 case $as_dir in #((( 3593 '') as_dir=./ ;; 3594 */) ;; 3595 *) as_dir=$as_dir/ ;; 3596 esac 3597 for ac_exec_ext in '' $ac_executable_extensions; do 3598 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3599 ac_cv_prog_GZIP="$ac_prog" 3600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3601 break 2 3602 fi 3603done 3604 done 3605IFS=$as_save_IFS 3606 3607fi 3608fi 3609GZIP=$ac_cv_prog_GZIP 3610if test -n "$GZIP"; then 3611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GZIP" >&5 3612printf "%s\n" "$GZIP" >&6; } 3613else 3614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3615printf "%s\n" "no" >&6; } 3616fi 3617 3618 3619 test -n "$GZIP" && break 3620done 3621 3622for ac_prog in html-ncheck echo 3623do 3624 # Extract the first word of "$ac_prog", so it can be a program name with args. 3625set dummy $ac_prog; ac_word=$2 3626{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3627printf %s "checking for $ac_word... " >&6; } 3628if test ${ac_cv_prog_HTMLNCHECK+y} 3629then : 3630 printf %s "(cached) " >&6 3631else $as_nop 3632 if test -n "$HTMLNCHECK"; then 3633 ac_cv_prog_HTMLNCHECK="$HTMLNCHECK" # Let the user override the test. 3634else 3635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3636for as_dir in $PATH 3637do 3638 IFS=$as_save_IFS 3639 case $as_dir in #((( 3640 '') as_dir=./ ;; 3641 */) ;; 3642 *) as_dir=$as_dir/ ;; 3643 esac 3644 for ac_exec_ext in '' $ac_executable_extensions; do 3645 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3646 ac_cv_prog_HTMLNCHECK="$ac_prog" 3647 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3648 break 2 3649 fi 3650done 3651 done 3652IFS=$as_save_IFS 3653 3654fi 3655fi 3656HTMLNCHECK=$ac_cv_prog_HTMLNCHECK 3657if test -n "$HTMLNCHECK"; then 3658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HTMLNCHECK" >&5 3659printf "%s\n" "$HTMLNCHECK" >&6; } 3660else 3661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3662printf "%s\n" "no" >&6; } 3663fi 3664 3665 3666 test -n "$HTMLNCHECK" && break 3667done 3668 3669for ac_prog in html-pretty echo 3670do 3671 # Extract the first word of "$ac_prog", so it can be a program name with args. 3672set dummy $ac_prog; ac_word=$2 3673{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3674printf %s "checking for $ac_word... " >&6; } 3675if test ${ac_cv_prog_HTMLPRETTY+y} 3676then : 3677 printf %s "(cached) " >&6 3678else $as_nop 3679 if test -n "$HTMLPRETTY"; then 3680 ac_cv_prog_HTMLPRETTY="$HTMLPRETTY" # Let the user override the test. 3681else 3682as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3683for as_dir in $PATH 3684do 3685 IFS=$as_save_IFS 3686 case $as_dir in #((( 3687 '') as_dir=./ ;; 3688 */) ;; 3689 *) as_dir=$as_dir/ ;; 3690 esac 3691 for ac_exec_ext in '' $ac_executable_extensions; do 3692 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3693 ac_cv_prog_HTMLPRETTY="$ac_prog" 3694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3695 break 2 3696 fi 3697done 3698 done 3699IFS=$as_save_IFS 3700 3701fi 3702fi 3703HTMLPRETTY=$ac_cv_prog_HTMLPRETTY 3704if test -n "$HTMLPRETTY"; then 3705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HTMLPRETTY" >&5 3706printf "%s\n" "$HTMLPRETTY" >&6; } 3707else 3708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3709printf "%s\n" "no" >&6; } 3710fi 3711 3712 3713 test -n "$HTMLPRETTY" && break 3714done 3715 3716for ac_prog in its4 3717do 3718 # Extract the first word of "$ac_prog", so it can be a program name with args. 3719set dummy $ac_prog; ac_word=$2 3720{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3721printf %s "checking for $ac_word... " >&6; } 3722if test ${ac_cv_prog_ITS4+y} 3723then : 3724 printf %s "(cached) " >&6 3725else $as_nop 3726 if test -n "$ITS4"; then 3727 ac_cv_prog_ITS4="$ITS4" # Let the user override the test. 3728else 3729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3730for as_dir in $PATH 3731do 3732 IFS=$as_save_IFS 3733 case $as_dir in #((( 3734 '') as_dir=./ ;; 3735 */) ;; 3736 *) as_dir=$as_dir/ ;; 3737 esac 3738 for ac_exec_ext in '' $ac_executable_extensions; do 3739 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3740 ac_cv_prog_ITS4="$ac_prog" 3741 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3742 break 2 3743 fi 3744done 3745 done 3746IFS=$as_save_IFS 3747 3748fi 3749fi 3750ITS4=$ac_cv_prog_ITS4 3751if test -n "$ITS4"; then 3752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ITS4" >&5 3753printf "%s\n" "$ITS4" >&6; } 3754else 3755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3756printf "%s\n" "no" >&6; } 3757fi 3758 3759 3760 test -n "$ITS4" && break 3761done 3762 3763for ac_prog in jar tar 3764do 3765 # Extract the first word of "$ac_prog", so it can be a program name with args. 3766set dummy $ac_prog; ac_word=$2 3767{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3768printf %s "checking for $ac_word... " >&6; } 3769if test ${ac_cv_prog_JAR+y} 3770then : 3771 printf %s "(cached) " >&6 3772else $as_nop 3773 if test -n "$JAR"; then 3774 ac_cv_prog_JAR="$JAR" # Let the user override the test. 3775else 3776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3777for as_dir in $PATH 3778do 3779 IFS=$as_save_IFS 3780 case $as_dir in #((( 3781 '') as_dir=./ ;; 3782 */) ;; 3783 *) as_dir=$as_dir/ ;; 3784 esac 3785 for ac_exec_ext in '' $ac_executable_extensions; do 3786 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3787 ac_cv_prog_JAR="$ac_prog" 3788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3789 break 2 3790 fi 3791done 3792 done 3793IFS=$as_save_IFS 3794 3795fi 3796fi 3797JAR=$ac_cv_prog_JAR 3798if test -n "$JAR"; then 3799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5 3800printf "%s\n" "$JAR" >&6; } 3801else 3802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3803printf "%s\n" "no" >&6; } 3804fi 3805 3806 3807 test -n "$JAR" && break 3808done 3809 3810for ac_prog in latex2e latex 3811do 3812 # Extract the first word of "$ac_prog", so it can be a program name with args. 3813set dummy $ac_prog; ac_word=$2 3814{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3815printf %s "checking for $ac_word... " >&6; } 3816if test ${ac_cv_prog_LATEX+y} 3817then : 3818 printf %s "(cached) " >&6 3819else $as_nop 3820 if test -n "$LATEX"; then 3821 ac_cv_prog_LATEX="$LATEX" # Let the user override the test. 3822else 3823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3824for as_dir in $PATH 3825do 3826 IFS=$as_save_IFS 3827 case $as_dir in #((( 3828 '') as_dir=./ ;; 3829 */) ;; 3830 *) as_dir=$as_dir/ ;; 3831 esac 3832 for ac_exec_ext in '' $ac_executable_extensions; do 3833 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3834 ac_cv_prog_LATEX="$ac_prog" 3835 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3836 break 2 3837 fi 3838done 3839 done 3840IFS=$as_save_IFS 3841 3842fi 3843fi 3844LATEX=$ac_cv_prog_LATEX 3845if test -n "$LATEX"; then 3846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5 3847printf "%s\n" "$LATEX" >&6; } 3848else 3849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3850printf "%s\n" "no" >&6; } 3851fi 3852 3853 3854 test -n "$LATEX" && break 3855done 3856 3857for ac_prog in lint 3858do 3859 # Extract the first word of "$ac_prog", so it can be a program name with args. 3860set dummy $ac_prog; ac_word=$2 3861{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3862printf %s "checking for $ac_word... " >&6; } 3863if test ${ac_cv_prog_LINT+y} 3864then : 3865 printf %s "(cached) " >&6 3866else $as_nop 3867 if test -n "$LINT"; then 3868 ac_cv_prog_LINT="$LINT" # Let the user override the test. 3869else 3870as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3871for as_dir in $PATH 3872do 3873 IFS=$as_save_IFS 3874 case $as_dir in #((( 3875 '') as_dir=./ ;; 3876 */) ;; 3877 *) as_dir=$as_dir/ ;; 3878 esac 3879 for ac_exec_ext in '' $ac_executable_extensions; do 3880 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3881 ac_cv_prog_LINT="$ac_prog" 3882 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3883 break 2 3884 fi 3885done 3886 done 3887IFS=$as_save_IFS 3888 3889fi 3890fi 3891LINT=$ac_cv_prog_LINT 3892if test -n "$LINT"; then 3893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5 3894printf "%s\n" "$LINT" >&6; } 3895else 3896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3897printf "%s\n" "no" >&6; } 3898fi 3899 3900 3901 test -n "$LINT" && break 3902done 3903 3904for ac_prog in ln 3905do 3906 # Extract the first word of "$ac_prog", so it can be a program name with args. 3907set dummy $ac_prog; ac_word=$2 3908{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3909printf %s "checking for $ac_word... " >&6; } 3910if test ${ac_cv_prog_LN+y} 3911then : 3912 printf %s "(cached) " >&6 3913else $as_nop 3914 if test -n "$LN"; then 3915 ac_cv_prog_LN="$LN" # Let the user override the test. 3916else 3917as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3918for as_dir in $PATH 3919do 3920 IFS=$as_save_IFS 3921 case $as_dir in #((( 3922 '') as_dir=./ ;; 3923 */) ;; 3924 *) as_dir=$as_dir/ ;; 3925 esac 3926 for ac_exec_ext in '' $ac_executable_extensions; do 3927 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3928 ac_cv_prog_LN="$ac_prog" 3929 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3930 break 2 3931 fi 3932done 3933 done 3934IFS=$as_save_IFS 3935 3936fi 3937fi 3938LN=$ac_cv_prog_LN 3939if test -n "$LN"; then 3940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LN" >&5 3941printf "%s\n" "$LN" >&6; } 3942else 3943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3944printf "%s\n" "no" >&6; } 3945fi 3946 3947 3948 test -n "$LN" && break 3949done 3950 3951for ac_prog in ls 3952do 3953 # Extract the first word of "$ac_prog", so it can be a program name with args. 3954set dummy $ac_prog; ac_word=$2 3955{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3956printf %s "checking for $ac_word... " >&6; } 3957if test ${ac_cv_prog_LS+y} 3958then : 3959 printf %s "(cached) " >&6 3960else $as_nop 3961 if test -n "$LS"; then 3962 ac_cv_prog_LS="$LS" # Let the user override the test. 3963else 3964as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3965for as_dir in $PATH 3966do 3967 IFS=$as_save_IFS 3968 case $as_dir in #((( 3969 '') as_dir=./ ;; 3970 */) ;; 3971 *) as_dir=$as_dir/ ;; 3972 esac 3973 for ac_exec_ext in '' $ac_executable_extensions; do 3974 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3975 ac_cv_prog_LS="$ac_prog" 3976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3977 break 2 3978 fi 3979done 3980 done 3981IFS=$as_save_IFS 3982 3983fi 3984fi 3985LS=$ac_cv_prog_LS 3986if test -n "$LS"; then 3987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LS" >&5 3988printf "%s\n" "$LS" >&6; } 3989else 3990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3991printf "%s\n" "no" >&6; } 3992fi 3993 3994 3995 test -n "$LS" && break 3996done 3997 3998for ac_prog in man2html 3999do 4000 # Extract the first word of "$ac_prog", so it can be a program name with args. 4001set dummy $ac_prog; ac_word=$2 4002{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4003printf %s "checking for $ac_word... " >&6; } 4004if test ${ac_cv_prog_MAN2HTML+y} 4005then : 4006 printf %s "(cached) " >&6 4007else $as_nop 4008 if test -n "$MAN2HTML"; then 4009 ac_cv_prog_MAN2HTML="$MAN2HTML" # Let the user override the test. 4010else 4011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4012for as_dir in $PATH 4013do 4014 IFS=$as_save_IFS 4015 case $as_dir in #((( 4016 '') as_dir=./ ;; 4017 */) ;; 4018 *) as_dir=$as_dir/ ;; 4019 esac 4020 for ac_exec_ext in '' $ac_executable_extensions; do 4021 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4022 ac_cv_prog_MAN2HTML="$ac_prog" 4023 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4024 break 2 4025 fi 4026done 4027 done 4028IFS=$as_save_IFS 4029 4030fi 4031fi 4032MAN2HTML=$ac_cv_prog_MAN2HTML 4033if test -n "$MAN2HTML"; then 4034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAN2HTML" >&5 4035printf "%s\n" "$MAN2HTML" >&6; } 4036else 4037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4038printf "%s\n" "no" >&6; } 4039fi 4040 4041 4042 test -n "$MAN2HTML" && break 4043done 4044 4045for ac_prog in mkdir 4046do 4047 # Extract the first word of "$ac_prog", so it can be a program name with args. 4048set dummy $ac_prog; ac_word=$2 4049{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4050printf %s "checking for $ac_word... " >&6; } 4051if test ${ac_cv_prog_MKDIR+y} 4052then : 4053 printf %s "(cached) " >&6 4054else $as_nop 4055 if test -n "$MKDIR"; then 4056 ac_cv_prog_MKDIR="$MKDIR" # Let the user override the test. 4057else 4058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4059for as_dir in $PATH 4060do 4061 IFS=$as_save_IFS 4062 case $as_dir in #((( 4063 '') as_dir=./ ;; 4064 */) ;; 4065 *) as_dir=$as_dir/ ;; 4066 esac 4067 for ac_exec_ext in '' $ac_executable_extensions; do 4068 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4069 ac_cv_prog_MKDIR="$ac_prog" 4070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4071 break 2 4072 fi 4073done 4074 done 4075IFS=$as_save_IFS 4076 4077fi 4078fi 4079MKDIR=$ac_cv_prog_MKDIR 4080if test -n "$MKDIR"; then 4081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5 4082printf "%s\n" "$MKDIR" >&6; } 4083else 4084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4085printf "%s\n" "no" >&6; } 4086fi 4087 4088 4089 test -n "$MKDIR" && break 4090done 4091 4092for ac_prog in mv 4093do 4094 # Extract the first word of "$ac_prog", so it can be a program name with args. 4095set dummy $ac_prog; ac_word=$2 4096{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4097printf %s "checking for $ac_word... " >&6; } 4098if test ${ac_cv_prog_MV+y} 4099then : 4100 printf %s "(cached) " >&6 4101else $as_nop 4102 if test -n "$MV"; then 4103 ac_cv_prog_MV="$MV" # Let the user override the test. 4104else 4105as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4106for as_dir in $PATH 4107do 4108 IFS=$as_save_IFS 4109 case $as_dir in #((( 4110 '') as_dir=./ ;; 4111 */) ;; 4112 *) as_dir=$as_dir/ ;; 4113 esac 4114 for ac_exec_ext in '' $ac_executable_extensions; do 4115 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4116 ac_cv_prog_MV="$ac_prog" 4117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4118 break 2 4119 fi 4120done 4121 done 4122IFS=$as_save_IFS 4123 4124fi 4125fi 4126MV=$ac_cv_prog_MV 4127if test -n "$MV"; then 4128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MV" >&5 4129printf "%s\n" "$MV" >&6; } 4130else 4131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4132printf "%s\n" "no" >&6; } 4133fi 4134 4135 4136 test -n "$MV" && break 4137done 4138 4139for ac_prog in nroff 4140do 4141 # Extract the first word of "$ac_prog", so it can be a program name with args. 4142set dummy $ac_prog; ac_word=$2 4143{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4144printf %s "checking for $ac_word... " >&6; } 4145if test ${ac_cv_prog_NROFF+y} 4146then : 4147 printf %s "(cached) " >&6 4148else $as_nop 4149 if test -n "$NROFF"; then 4150 ac_cv_prog_NROFF="$NROFF" # Let the user override the test. 4151else 4152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4153for as_dir in $PATH 4154do 4155 IFS=$as_save_IFS 4156 case $as_dir in #((( 4157 '') as_dir=./ ;; 4158 */) ;; 4159 *) as_dir=$as_dir/ ;; 4160 esac 4161 for ac_exec_ext in '' $ac_executable_extensions; do 4162 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4163 ac_cv_prog_NROFF="$ac_prog" 4164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4165 break 2 4166 fi 4167done 4168 done 4169IFS=$as_save_IFS 4170 4171fi 4172fi 4173NROFF=$ac_cv_prog_NROFF 4174if test -n "$NROFF"; then 4175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5 4176printf "%s\n" "$NROFF" >&6; } 4177else 4178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4179printf "%s\n" "no" >&6; } 4180fi 4181 4182 4183 test -n "$NROFF" && break 4184done 4185 4186for ac_prog in rats 4187do 4188 # Extract the first word of "$ac_prog", so it can be a program name with args. 4189set dummy $ac_prog; ac_word=$2 4190{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4191printf %s "checking for $ac_word... " >&6; } 4192if test ${ac_cv_prog_RATS+y} 4193then : 4194 printf %s "(cached) " >&6 4195else $as_nop 4196 if test -n "$RATS"; then 4197 ac_cv_prog_RATS="$RATS" # Let the user override the test. 4198else 4199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4200for as_dir in $PATH 4201do 4202 IFS=$as_save_IFS 4203 case $as_dir in #((( 4204 '') as_dir=./ ;; 4205 */) ;; 4206 *) as_dir=$as_dir/ ;; 4207 esac 4208 for ac_exec_ext in '' $ac_executable_extensions; do 4209 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4210 ac_cv_prog_RATS="$ac_prog" 4211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4212 break 2 4213 fi 4214done 4215 done 4216IFS=$as_save_IFS 4217 4218fi 4219fi 4220RATS=$ac_cv_prog_RATS 4221if test -n "$RATS"; then 4222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RATS" >&5 4223printf "%s\n" "$RATS" >&6; } 4224else 4225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4226printf "%s\n" "no" >&6; } 4227fi 4228 4229 4230 test -n "$RATS" && break 4231done 4232 4233for ac_prog in rm 4234do 4235 # Extract the first word of "$ac_prog", so it can be a program name with args. 4236set dummy $ac_prog; ac_word=$2 4237{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4238printf %s "checking for $ac_word... " >&6; } 4239if test ${ac_cv_prog_RM+y} 4240then : 4241 printf %s "(cached) " >&6 4242else $as_nop 4243 if test -n "$RM"; then 4244 ac_cv_prog_RM="$RM" # Let the user override the test. 4245else 4246as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4247for as_dir in $PATH 4248do 4249 IFS=$as_save_IFS 4250 case $as_dir in #((( 4251 '') as_dir=./ ;; 4252 */) ;; 4253 *) as_dir=$as_dir/ ;; 4254 esac 4255 for ac_exec_ext in '' $ac_executable_extensions; do 4256 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4257 ac_cv_prog_RM="$ac_prog" 4258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4259 break 2 4260 fi 4261done 4262 done 4263IFS=$as_save_IFS 4264 4265fi 4266fi 4267RM=$ac_cv_prog_RM 4268if test -n "$RM"; then 4269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RM" >&5 4270printf "%s\n" "$RM" >&6; } 4271else 4272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4273printf "%s\n" "no" >&6; } 4274fi 4275 4276 4277 test -n "$RM" && break 4278done 4279 4280for ac_prog in sed 4281do 4282 # Extract the first word of "$ac_prog", so it can be a program name with args. 4283set dummy $ac_prog; ac_word=$2 4284{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4285printf %s "checking for $ac_word... " >&6; } 4286if test ${ac_cv_prog_SED+y} 4287then : 4288 printf %s "(cached) " >&6 4289else $as_nop 4290 if test -n "$SED"; then 4291 ac_cv_prog_SED="$SED" # Let the user override the test. 4292else 4293as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4294for as_dir in $PATH 4295do 4296 IFS=$as_save_IFS 4297 case $as_dir in #((( 4298 '') as_dir=./ ;; 4299 */) ;; 4300 *) as_dir=$as_dir/ ;; 4301 esac 4302 for ac_exec_ext in '' $ac_executable_extensions; do 4303 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4304 ac_cv_prog_SED="$ac_prog" 4305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4306 break 2 4307 fi 4308done 4309 done 4310IFS=$as_save_IFS 4311 4312fi 4313fi 4314SED=$ac_cv_prog_SED 4315if test -n "$SED"; then 4316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 4317printf "%s\n" "$SED" >&6; } 4318else 4319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4320printf "%s\n" "no" >&6; } 4321fi 4322 4323 4324 test -n "$SED" && break 4325done 4326 4327for ac_prog in splint lclint 4328do 4329 # Extract the first word of "$ac_prog", so it can be a program name with args. 4330set dummy $ac_prog; ac_word=$2 4331{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4332printf %s "checking for $ac_word... " >&6; } 4333if test ${ac_cv_prog_SPLINT+y} 4334then : 4335 printf %s "(cached) " >&6 4336else $as_nop 4337 if test -n "$SPLINT"; then 4338 ac_cv_prog_SPLINT="$SPLINT" # Let the user override the test. 4339else 4340as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4341for as_dir in $PATH 4342do 4343 IFS=$as_save_IFS 4344 case $as_dir in #((( 4345 '') as_dir=./ ;; 4346 */) ;; 4347 *) as_dir=$as_dir/ ;; 4348 esac 4349 for ac_exec_ext in '' $ac_executable_extensions; do 4350 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4351 ac_cv_prog_SPLINT="$ac_prog" 4352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4353 break 2 4354 fi 4355done 4356 done 4357IFS=$as_save_IFS 4358 4359fi 4360fi 4361SPLINT=$ac_cv_prog_SPLINT 4362if test -n "$SPLINT"; then 4363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SPLINT" >&5 4364printf "%s\n" "$SPLINT" >&6; } 4365else 4366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4367printf "%s\n" "no" >&6; } 4368fi 4369 4370 4371 test -n "$SPLINT" && break 4372done 4373 4374# Extract the first word of "sh", so it can be a program name with args. 4375set dummy sh; ac_word=$2 4376{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4377printf %s "checking for $ac_word... " >&6; } 4378if test ${ac_cv_path_SHELL+y} 4379then : 4380 printf %s "(cached) " >&6 4381else $as_nop 4382 case $SHELL in 4383 [\\/]* | ?:[\\/]*) 4384 ac_cv_path_SHELL="$SHELL" # Let the user override the test with a path. 4385 ;; 4386 *) 4387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4388for as_dir in $PATH 4389do 4390 IFS=$as_save_IFS 4391 case $as_dir in #((( 4392 '') as_dir=./ ;; 4393 */) ;; 4394 *) as_dir=$as_dir/ ;; 4395 esac 4396 for ac_exec_ext in '' $ac_executable_extensions; do 4397 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4398 ac_cv_path_SHELL="$as_dir$ac_word$ac_exec_ext" 4399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4400 break 2 4401 fi 4402done 4403 done 4404IFS=$as_save_IFS 4405 4406 ;; 4407esac 4408fi 4409SHELL=$ac_cv_path_SHELL 4410if test -n "$SHELL"; then 4411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SHELL" >&5 4412printf "%s\n" "$SHELL" >&6; } 4413else 4414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4415printf "%s\n" "no" >&6; } 4416fi 4417 4418 4419for ac_prog in strip 4420do 4421 # Extract the first word of "$ac_prog", so it can be a program name with args. 4422set dummy $ac_prog; ac_word=$2 4423{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4424printf %s "checking for $ac_word... " >&6; } 4425if test ${ac_cv_prog_STRIP+y} 4426then : 4427 printf %s "(cached) " >&6 4428else $as_nop 4429 if test -n "$STRIP"; then 4430 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 4431else 4432as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4433for as_dir in $PATH 4434do 4435 IFS=$as_save_IFS 4436 case $as_dir in #((( 4437 '') as_dir=./ ;; 4438 */) ;; 4439 *) as_dir=$as_dir/ ;; 4440 esac 4441 for ac_exec_ext in '' $ac_executable_extensions; do 4442 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4443 ac_cv_prog_STRIP="$ac_prog" 4444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4445 break 2 4446 fi 4447done 4448 done 4449IFS=$as_save_IFS 4450 4451fi 4452fi 4453STRIP=$ac_cv_prog_STRIP 4454if test -n "$STRIP"; then 4455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 4456printf "%s\n" "$STRIP" >&6; } 4457else 4458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4459printf "%s\n" "no" >&6; } 4460fi 4461 4462 4463 test -n "$STRIP" && break 4464done 4465 4466for ac_prog in gtar gnutar tar 4467do 4468 # Extract the first word of "$ac_prog", so it can be a program name with args. 4469set dummy $ac_prog; ac_word=$2 4470{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4471printf %s "checking for $ac_word... " >&6; } 4472if test ${ac_cv_prog_TAR+y} 4473then : 4474 printf %s "(cached) " >&6 4475else $as_nop 4476 if test -n "$TAR"; then 4477 ac_cv_prog_TAR="$TAR" # Let the user override the test. 4478else 4479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4480for as_dir in $PATH 4481do 4482 IFS=$as_save_IFS 4483 case $as_dir in #((( 4484 '') as_dir=./ ;; 4485 */) ;; 4486 *) as_dir=$as_dir/ ;; 4487 esac 4488 for ac_exec_ext in '' $ac_executable_extensions; do 4489 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4490 ac_cv_prog_TAR="$ac_prog" 4491 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4492 break 2 4493 fi 4494done 4495 done 4496IFS=$as_save_IFS 4497 4498fi 4499fi 4500TAR=$ac_cv_prog_TAR 4501if test -n "$TAR"; then 4502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5 4503printf "%s\n" "$TAR" >&6; } 4504else 4505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4506printf "%s\n" "no" >&6; } 4507fi 4508 4509 4510 test -n "$TAR" && break 4511done 4512 4513for ac_prog in test 4514do 4515 # Extract the first word of "$ac_prog", so it can be a program name with args. 4516set dummy $ac_prog; ac_word=$2 4517{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4518printf %s "checking for $ac_word... " >&6; } 4519if test ${ac_cv_prog_TEST+y} 4520then : 4521 printf %s "(cached) " >&6 4522else $as_nop 4523 if test -n "$TEST"; then 4524 ac_cv_prog_TEST="$TEST" # Let the user override the test. 4525else 4526as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4527for as_dir in $PATH 4528do 4529 IFS=$as_save_IFS 4530 case $as_dir in #((( 4531 '') as_dir=./ ;; 4532 */) ;; 4533 *) as_dir=$as_dir/ ;; 4534 esac 4535 for ac_exec_ext in '' $ac_executable_extensions; do 4536 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4537 ac_cv_prog_TEST="$ac_prog" 4538 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4539 break 2 4540 fi 4541done 4542 done 4543IFS=$as_save_IFS 4544 4545fi 4546fi 4547TEST=$ac_cv_prog_TEST 4548if test -n "$TEST"; then 4549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TEST" >&5 4550printf "%s\n" "$TEST" >&6; } 4551else 4552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4553printf "%s\n" "no" >&6; } 4554fi 4555 4556 4557 test -n "$TEST" && break 4558done 4559 4560for ac_prog in touch 4561do 4562 # Extract the first word of "$ac_prog", so it can be a program name with args. 4563set dummy $ac_prog; ac_word=$2 4564{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4565printf %s "checking for $ac_word... " >&6; } 4566if test ${ac_cv_prog_TOUCH+y} 4567then : 4568 printf %s "(cached) " >&6 4569else $as_nop 4570 if test -n "$TOUCH"; then 4571 ac_cv_prog_TOUCH="$TOUCH" # Let the user override the test. 4572else 4573as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4574for as_dir in $PATH 4575do 4576 IFS=$as_save_IFS 4577 case $as_dir in #((( 4578 '') as_dir=./ ;; 4579 */) ;; 4580 *) as_dir=$as_dir/ ;; 4581 esac 4582 for ac_exec_ext in '' $ac_executable_extensions; do 4583 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4584 ac_cv_prog_TOUCH="$ac_prog" 4585 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4586 break 2 4587 fi 4588done 4589 done 4590IFS=$as_save_IFS 4591 4592fi 4593fi 4594TOUCH=$ac_cv_prog_TOUCH 4595if test -n "$TOUCH"; then 4596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5 4597printf "%s\n" "$TOUCH" >&6; } 4598else 4599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4600printf "%s\n" "no" >&6; } 4601fi 4602 4603 4604 test -n "$TOUCH" && break 4605done 4606 4607for ac_prog in tr 4608do 4609 # Extract the first word of "$ac_prog", so it can be a program name with args. 4610set dummy $ac_prog; ac_word=$2 4611{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4612printf %s "checking for $ac_word... " >&6; } 4613if test ${ac_cv_prog_TR+y} 4614then : 4615 printf %s "(cached) " >&6 4616else $as_nop 4617 if test -n "$TR"; then 4618 ac_cv_prog_TR="$TR" # Let the user override the test. 4619else 4620as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4621for as_dir in $PATH 4622do 4623 IFS=$as_save_IFS 4624 case $as_dir in #((( 4625 '') as_dir=./ ;; 4626 */) ;; 4627 *) as_dir=$as_dir/ ;; 4628 esac 4629 for ac_exec_ext in '' $ac_executable_extensions; do 4630 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4631 ac_cv_prog_TR="$ac_prog" 4632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4633 break 2 4634 fi 4635done 4636 done 4637IFS=$as_save_IFS 4638 4639fi 4640fi 4641TR=$ac_cv_prog_TR 4642if test -n "$TR"; then 4643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TR" >&5 4644printf "%s\n" "$TR" >&6; } 4645else 4646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4647printf "%s\n" "no" >&6; } 4648fi 4649 4650 4651 test -n "$TR" && break 4652done 4653 4654for ac_prog in uno 4655do 4656 # Extract the first word of "$ac_prog", so it can be a program name with args. 4657set dummy $ac_prog; ac_word=$2 4658{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4659printf %s "checking for $ac_word... " >&6; } 4660if test ${ac_cv_prog_UNO+y} 4661then : 4662 printf %s "(cached) " >&6 4663else $as_nop 4664 if test -n "$UNO"; then 4665 ac_cv_prog_UNO="$UNO" # Let the user override the test. 4666else 4667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4668for as_dir in $PATH 4669do 4670 IFS=$as_save_IFS 4671 case $as_dir in #((( 4672 '') as_dir=./ ;; 4673 */) ;; 4674 *) as_dir=$as_dir/ ;; 4675 esac 4676 for ac_exec_ext in '' $ac_executable_extensions; do 4677 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4678 ac_cv_prog_UNO="$ac_prog" 4679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4680 break 2 4681 fi 4682done 4683 done 4684IFS=$as_save_IFS 4685 4686fi 4687fi 4688UNO=$ac_cv_prog_UNO 4689if test -n "$UNO"; then 4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UNO" >&5 4691printf "%s\n" "$UNO" >&6; } 4692else 4693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4694printf "%s\n" "no" >&6; } 4695fi 4696 4697 4698 test -n "$UNO" && break 4699done 4700 4701for ac_prog in unzip 4702do 4703 # Extract the first word of "$ac_prog", so it can be a program name with args. 4704set dummy $ac_prog; ac_word=$2 4705{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4706printf %s "checking for $ac_word... " >&6; } 4707if test ${ac_cv_prog_UNZIP+y} 4708then : 4709 printf %s "(cached) " >&6 4710else $as_nop 4711 if test -n "$UNZIP"; then 4712 ac_cv_prog_UNZIP="$UNZIP" # Let the user override the test. 4713else 4714as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4715for as_dir in $PATH 4716do 4717 IFS=$as_save_IFS 4718 case $as_dir in #((( 4719 '') as_dir=./ ;; 4720 */) ;; 4721 *) as_dir=$as_dir/ ;; 4722 esac 4723 for ac_exec_ext in '' $ac_executable_extensions; do 4724 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4725 ac_cv_prog_UNZIP="$ac_prog" 4726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4727 break 2 4728 fi 4729done 4730 done 4731IFS=$as_save_IFS 4732 4733fi 4734fi 4735UNZIP=$ac_cv_prog_UNZIP 4736if test -n "$UNZIP"; then 4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UNZIP" >&5 4738printf "%s\n" "$UNZIP" >&6; } 4739else 4740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4741printf "%s\n" "no" >&6; } 4742fi 4743 4744 4745 test -n "$UNZIP" && break 4746done 4747 4748for ac_prog in wine 4749do 4750 # Extract the first word of "$ac_prog", so it can be a program name with args. 4751set dummy $ac_prog; ac_word=$2 4752{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4753printf %s "checking for $ac_word... " >&6; } 4754if test ${ac_cv_prog_WINE+y} 4755then : 4756 printf %s "(cached) " >&6 4757else $as_nop 4758 if test -n "$WINE"; then 4759 ac_cv_prog_WINE="$WINE" # Let the user override the test. 4760else 4761as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4762for as_dir in $PATH 4763do 4764 IFS=$as_save_IFS 4765 case $as_dir in #((( 4766 '') as_dir=./ ;; 4767 */) ;; 4768 *) as_dir=$as_dir/ ;; 4769 esac 4770 for ac_exec_ext in '' $ac_executable_extensions; do 4771 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4772 ac_cv_prog_WINE="$ac_prog" 4773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4774 break 2 4775 fi 4776done 4777 done 4778IFS=$as_save_IFS 4779 4780fi 4781fi 4782WINE=$ac_cv_prog_WINE 4783if test -n "$WINE"; then 4784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WINE" >&5 4785printf "%s\n" "$WINE" >&6; } 4786else 4787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4788printf "%s\n" "no" >&6; } 4789fi 4790 4791 4792 test -n "$WINE" && break 4793done 4794 4795for ac_prog in zip false 4796do 4797 # Extract the first word of "$ac_prog", so it can be a program name with args. 4798set dummy $ac_prog; ac_word=$2 4799{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4800printf %s "checking for $ac_word... " >&6; } 4801if test ${ac_cv_prog_ZIP+y} 4802then : 4803 printf %s "(cached) " >&6 4804else $as_nop 4805 if test -n "$ZIP"; then 4806 ac_cv_prog_ZIP="$ZIP" # Let the user override the test. 4807else 4808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4809for as_dir in $PATH 4810do 4811 IFS=$as_save_IFS 4812 case $as_dir in #((( 4813 '') as_dir=./ ;; 4814 */) ;; 4815 *) as_dir=$as_dir/ ;; 4816 esac 4817 for ac_exec_ext in '' $ac_executable_extensions; do 4818 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4819 ac_cv_prog_ZIP="$ac_prog" 4820 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4821 break 2 4822 fi 4823done 4824 done 4825IFS=$as_save_IFS 4826 4827fi 4828fi 4829ZIP=$ac_cv_prog_ZIP 4830if test -n "$ZIP"; then 4831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5 4832printf "%s\n" "$ZIP" >&6; } 4833else 4834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4835printf "%s\n" "no" >&6; } 4836fi 4837 4838 4839 test -n "$ZIP" && break 4840done 4841 4842for ac_prog in zoo false 4843do 4844 # Extract the first word of "$ac_prog", so it can be a program name with args. 4845set dummy $ac_prog; ac_word=$2 4846{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4847printf %s "checking for $ac_word... " >&6; } 4848if test ${ac_cv_prog_ZOO+y} 4849then : 4850 printf %s "(cached) " >&6 4851else $as_nop 4852 if test -n "$ZOO"; then 4853 ac_cv_prog_ZOO="$ZOO" # Let the user override the test. 4854else 4855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4856for as_dir in $PATH 4857do 4858 IFS=$as_save_IFS 4859 case $as_dir in #((( 4860 '') as_dir=./ ;; 4861 */) ;; 4862 *) as_dir=$as_dir/ ;; 4863 esac 4864 for ac_exec_ext in '' $ac_executable_extensions; do 4865 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4866 ac_cv_prog_ZOO="$ac_prog" 4867 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4868 break 2 4869 fi 4870done 4871 done 4872IFS=$as_save_IFS 4873 4874fi 4875fi 4876ZOO=$ac_cv_prog_ZOO 4877if test -n "$ZOO"; then 4878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ZOO" >&5 4879printf "%s\n" "$ZOO" >&6; } 4880else 4881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4882printf "%s\n" "no" >&6; } 4883fi 4884 4885 4886 test -n "$ZOO" && break 4887done 4888 4889 4890{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we have NeXT system" >&5 4891printf %s "checking whether we have NeXT system... " >&6; } 4892if test -d /NextAdmin 4893then CFLAGS=-posix 4894{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4895printf "%s\n" "yes" >&6; } 4896else 4897{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4898printf "%s\n" "no" >&6; } 4899fi 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910ac_ext=c 4911ac_cpp='$CPP $CPPFLAGS' 4912ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4913ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4914ac_compiler_gnu=$ac_cv_c_compiler_gnu 4915if test -n "$ac_tool_prefix"; then 4916 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4917set dummy ${ac_tool_prefix}gcc; ac_word=$2 4918{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4919printf %s "checking for $ac_word... " >&6; } 4920if test ${ac_cv_prog_CC+y} 4921then : 4922 printf %s "(cached) " >&6 4923else $as_nop 4924 if test -n "$CC"; then 4925 ac_cv_prog_CC="$CC" # Let the user override the test. 4926else 4927as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4928for as_dir in $PATH 4929do 4930 IFS=$as_save_IFS 4931 case $as_dir in #((( 4932 '') as_dir=./ ;; 4933 */) ;; 4934 *) as_dir=$as_dir/ ;; 4935 esac 4936 for ac_exec_ext in '' $ac_executable_extensions; do 4937 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4938 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4939 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4940 break 2 4941 fi 4942done 4943 done 4944IFS=$as_save_IFS 4945 4946fi 4947fi 4948CC=$ac_cv_prog_CC 4949if test -n "$CC"; then 4950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4951printf "%s\n" "$CC" >&6; } 4952else 4953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4954printf "%s\n" "no" >&6; } 4955fi 4956 4957 4958fi 4959if test -z "$ac_cv_prog_CC"; then 4960 ac_ct_CC=$CC 4961 # Extract the first word of "gcc", so it can be a program name with args. 4962set dummy gcc; ac_word=$2 4963{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4964printf %s "checking for $ac_word... " >&6; } 4965if test ${ac_cv_prog_ac_ct_CC+y} 4966then : 4967 printf %s "(cached) " >&6 4968else $as_nop 4969 if test -n "$ac_ct_CC"; then 4970 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4971else 4972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4973for as_dir in $PATH 4974do 4975 IFS=$as_save_IFS 4976 case $as_dir in #((( 4977 '') as_dir=./ ;; 4978 */) ;; 4979 *) as_dir=$as_dir/ ;; 4980 esac 4981 for ac_exec_ext in '' $ac_executable_extensions; do 4982 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4983 ac_cv_prog_ac_ct_CC="gcc" 4984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4985 break 2 4986 fi 4987done 4988 done 4989IFS=$as_save_IFS 4990 4991fi 4992fi 4993ac_ct_CC=$ac_cv_prog_ac_ct_CC 4994if test -n "$ac_ct_CC"; then 4995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4996printf "%s\n" "$ac_ct_CC" >&6; } 4997else 4998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4999printf "%s\n" "no" >&6; } 5000fi 5001 5002 if test "x$ac_ct_CC" = x; then 5003 CC="" 5004 else 5005 case $cross_compiling:$ac_tool_warned in 5006yes:) 5007{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5008printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5009ac_tool_warned=yes ;; 5010esac 5011 CC=$ac_ct_CC 5012 fi 5013else 5014 CC="$ac_cv_prog_CC" 5015fi 5016 5017if test -z "$CC"; then 5018 if test -n "$ac_tool_prefix"; then 5019 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 5020set dummy ${ac_tool_prefix}cc; ac_word=$2 5021{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5022printf %s "checking for $ac_word... " >&6; } 5023if test ${ac_cv_prog_CC+y} 5024then : 5025 printf %s "(cached) " >&6 5026else $as_nop 5027 if test -n "$CC"; then 5028 ac_cv_prog_CC="$CC" # Let the user override the test. 5029else 5030as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5031for as_dir in $PATH 5032do 5033 IFS=$as_save_IFS 5034 case $as_dir in #((( 5035 '') as_dir=./ ;; 5036 */) ;; 5037 *) as_dir=$as_dir/ ;; 5038 esac 5039 for ac_exec_ext in '' $ac_executable_extensions; do 5040 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5041 ac_cv_prog_CC="${ac_tool_prefix}cc" 5042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5043 break 2 5044 fi 5045done 5046 done 5047IFS=$as_save_IFS 5048 5049fi 5050fi 5051CC=$ac_cv_prog_CC 5052if test -n "$CC"; then 5053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5054printf "%s\n" "$CC" >&6; } 5055else 5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5057printf "%s\n" "no" >&6; } 5058fi 5059 5060 5061 fi 5062fi 5063if test -z "$CC"; then 5064 # Extract the first word of "cc", so it can be a program name with args. 5065set dummy cc; ac_word=$2 5066{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5067printf %s "checking for $ac_word... " >&6; } 5068if test ${ac_cv_prog_CC+y} 5069then : 5070 printf %s "(cached) " >&6 5071else $as_nop 5072 if test -n "$CC"; then 5073 ac_cv_prog_CC="$CC" # Let the user override the test. 5074else 5075 ac_prog_rejected=no 5076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5077for as_dir in $PATH 5078do 5079 IFS=$as_save_IFS 5080 case $as_dir in #((( 5081 '') as_dir=./ ;; 5082 */) ;; 5083 *) as_dir=$as_dir/ ;; 5084 esac 5085 for ac_exec_ext in '' $ac_executable_extensions; do 5086 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5087 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 5088 ac_prog_rejected=yes 5089 continue 5090 fi 5091 ac_cv_prog_CC="cc" 5092 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5093 break 2 5094 fi 5095done 5096 done 5097IFS=$as_save_IFS 5098 5099if test $ac_prog_rejected = yes; then 5100 # We found a bogon in the path, so make sure we never use it. 5101 set dummy $ac_cv_prog_CC 5102 shift 5103 if test $# != 0; then 5104 # We chose a different compiler from the bogus one. 5105 # However, it has the same basename, so the bogon will be chosen 5106 # first if we set CC to just the basename; use the full file name. 5107 shift 5108 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 5109 fi 5110fi 5111fi 5112fi 5113CC=$ac_cv_prog_CC 5114if test -n "$CC"; then 5115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5116printf "%s\n" "$CC" >&6; } 5117else 5118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5119printf "%s\n" "no" >&6; } 5120fi 5121 5122 5123fi 5124if test -z "$CC"; then 5125 if test -n "$ac_tool_prefix"; then 5126 for ac_prog in cl.exe 5127 do 5128 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5129set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5130{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5131printf %s "checking for $ac_word... " >&6; } 5132if test ${ac_cv_prog_CC+y} 5133then : 5134 printf %s "(cached) " >&6 5135else $as_nop 5136 if test -n "$CC"; then 5137 ac_cv_prog_CC="$CC" # Let the user override the test. 5138else 5139as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5140for as_dir in $PATH 5141do 5142 IFS=$as_save_IFS 5143 case $as_dir in #((( 5144 '') as_dir=./ ;; 5145 */) ;; 5146 *) as_dir=$as_dir/ ;; 5147 esac 5148 for ac_exec_ext in '' $ac_executable_extensions; do 5149 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5150 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 5151 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5152 break 2 5153 fi 5154done 5155 done 5156IFS=$as_save_IFS 5157 5158fi 5159fi 5160CC=$ac_cv_prog_CC 5161if test -n "$CC"; then 5162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5163printf "%s\n" "$CC" >&6; } 5164else 5165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5166printf "%s\n" "no" >&6; } 5167fi 5168 5169 5170 test -n "$CC" && break 5171 done 5172fi 5173if test -z "$CC"; then 5174 ac_ct_CC=$CC 5175 for ac_prog in cl.exe 5176do 5177 # Extract the first word of "$ac_prog", so it can be a program name with args. 5178set dummy $ac_prog; ac_word=$2 5179{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5180printf %s "checking for $ac_word... " >&6; } 5181if test ${ac_cv_prog_ac_ct_CC+y} 5182then : 5183 printf %s "(cached) " >&6 5184else $as_nop 5185 if test -n "$ac_ct_CC"; then 5186 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5187else 5188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5189for as_dir in $PATH 5190do 5191 IFS=$as_save_IFS 5192 case $as_dir in #((( 5193 '') as_dir=./ ;; 5194 */) ;; 5195 *) as_dir=$as_dir/ ;; 5196 esac 5197 for ac_exec_ext in '' $ac_executable_extensions; do 5198 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5199 ac_cv_prog_ac_ct_CC="$ac_prog" 5200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5201 break 2 5202 fi 5203done 5204 done 5205IFS=$as_save_IFS 5206 5207fi 5208fi 5209ac_ct_CC=$ac_cv_prog_ac_ct_CC 5210if test -n "$ac_ct_CC"; then 5211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5212printf "%s\n" "$ac_ct_CC" >&6; } 5213else 5214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5215printf "%s\n" "no" >&6; } 5216fi 5217 5218 5219 test -n "$ac_ct_CC" && break 5220done 5221 5222 if test "x$ac_ct_CC" = x; then 5223 CC="" 5224 else 5225 case $cross_compiling:$ac_tool_warned in 5226yes:) 5227{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5228printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5229ac_tool_warned=yes ;; 5230esac 5231 CC=$ac_ct_CC 5232 fi 5233fi 5234 5235fi 5236if test -z "$CC"; then 5237 if test -n "$ac_tool_prefix"; then 5238 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 5239set dummy ${ac_tool_prefix}clang; ac_word=$2 5240{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5241printf %s "checking for $ac_word... " >&6; } 5242if test ${ac_cv_prog_CC+y} 5243then : 5244 printf %s "(cached) " >&6 5245else $as_nop 5246 if test -n "$CC"; then 5247 ac_cv_prog_CC="$CC" # Let the user override the test. 5248else 5249as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5250for as_dir in $PATH 5251do 5252 IFS=$as_save_IFS 5253 case $as_dir in #((( 5254 '') as_dir=./ ;; 5255 */) ;; 5256 *) as_dir=$as_dir/ ;; 5257 esac 5258 for ac_exec_ext in '' $ac_executable_extensions; do 5259 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5260 ac_cv_prog_CC="${ac_tool_prefix}clang" 5261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5262 break 2 5263 fi 5264done 5265 done 5266IFS=$as_save_IFS 5267 5268fi 5269fi 5270CC=$ac_cv_prog_CC 5271if test -n "$CC"; then 5272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5273printf "%s\n" "$CC" >&6; } 5274else 5275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5276printf "%s\n" "no" >&6; } 5277fi 5278 5279 5280fi 5281if test -z "$ac_cv_prog_CC"; then 5282 ac_ct_CC=$CC 5283 # Extract the first word of "clang", so it can be a program name with args. 5284set dummy clang; ac_word=$2 5285{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5286printf %s "checking for $ac_word... " >&6; } 5287if test ${ac_cv_prog_ac_ct_CC+y} 5288then : 5289 printf %s "(cached) " >&6 5290else $as_nop 5291 if test -n "$ac_ct_CC"; then 5292 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5293else 5294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5295for as_dir in $PATH 5296do 5297 IFS=$as_save_IFS 5298 case $as_dir in #((( 5299 '') as_dir=./ ;; 5300 */) ;; 5301 *) as_dir=$as_dir/ ;; 5302 esac 5303 for ac_exec_ext in '' $ac_executable_extensions; do 5304 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5305 ac_cv_prog_ac_ct_CC="clang" 5306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5307 break 2 5308 fi 5309done 5310 done 5311IFS=$as_save_IFS 5312 5313fi 5314fi 5315ac_ct_CC=$ac_cv_prog_ac_ct_CC 5316if test -n "$ac_ct_CC"; then 5317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5318printf "%s\n" "$ac_ct_CC" >&6; } 5319else 5320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5321printf "%s\n" "no" >&6; } 5322fi 5323 5324 if test "x$ac_ct_CC" = x; then 5325 CC="" 5326 else 5327 case $cross_compiling:$ac_tool_warned in 5328yes:) 5329{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5330printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5331ac_tool_warned=yes ;; 5332esac 5333 CC=$ac_ct_CC 5334 fi 5335else 5336 CC="$ac_cv_prog_CC" 5337fi 5338 5339fi 5340 5341 5342test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5343printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 5344as_fn_error $? "no acceptable C compiler found in \$PATH 5345See \`config.log' for more details" "$LINENO" 5; } 5346 5347# Provide some information about the compiler. 5348printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 5349set X $ac_compile 5350ac_compiler=$2 5351for ac_option in --version -v -V -qversion -version; do 5352 { { ac_try="$ac_compiler $ac_option >&5" 5353case "(($ac_try" in 5354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5355 *) ac_try_echo=$ac_try;; 5356esac 5357eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5358printf "%s\n" "$ac_try_echo"; } >&5 5359 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5360 ac_status=$? 5361 if test -s conftest.err; then 5362 sed '10a\ 5363... rest of stderr output deleted ... 5364 10q' conftest.err >conftest.er1 5365 cat conftest.er1 >&5 5366 fi 5367 rm -f conftest.er1 conftest.err 5368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5369 test $ac_status = 0; } 5370done 5371 5372cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5373/* end confdefs.h. */ 5374 5375int 5376main (void) 5377{ 5378 5379 ; 5380 return 0; 5381} 5382_ACEOF 5383ac_clean_files_save=$ac_clean_files 5384ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 5385# Try to create an executable without -o first, disregard a.out. 5386# It will help us diagnose broken compilers, and finding out an intuition 5387# of exeext. 5388{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 5389printf %s "checking whether the C compiler works... " >&6; } 5390ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 5391 5392# The possible output files: 5393ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 5394 5395ac_rmfiles= 5396for ac_file in $ac_files 5397do 5398 case $ac_file in 5399 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 5400 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 5401 esac 5402done 5403rm -f $ac_rmfiles 5404 5405if { { ac_try="$ac_link_default" 5406case "(($ac_try" in 5407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5408 *) ac_try_echo=$ac_try;; 5409esac 5410eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5411printf "%s\n" "$ac_try_echo"; } >&5 5412 (eval "$ac_link_default") 2>&5 5413 ac_status=$? 5414 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5415 test $ac_status = 0; } 5416then : 5417 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 5418# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 5419# in a Makefile. We should not override ac_cv_exeext if it was cached, 5420# so that the user can short-circuit this test for compilers unknown to 5421# Autoconf. 5422for ac_file in $ac_files '' 5423do 5424 test -f "$ac_file" || continue 5425 case $ac_file in 5426 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 5427 ;; 5428 [ab].out ) 5429 # We found the default executable, but exeext='' is most 5430 # certainly right. 5431 break;; 5432 *.* ) 5433 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; 5434 then :; else 5435 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 5436 fi 5437 # We set ac_cv_exeext here because the later test for it is not 5438 # safe: cross compilers may not add the suffix if given an `-o' 5439 # argument, so we may need to know it at that point already. 5440 # Even if this section looks crufty: it has the advantage of 5441 # actually working. 5442 break;; 5443 * ) 5444 break;; 5445 esac 5446done 5447test "$ac_cv_exeext" = no && ac_cv_exeext= 5448 5449else $as_nop 5450 ac_file='' 5451fi 5452if test -z "$ac_file" 5453then : 5454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5455printf "%s\n" "no" >&6; } 5456printf "%s\n" "$as_me: failed program was:" >&5 5457sed 's/^/| /' conftest.$ac_ext >&5 5458 5459{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5460printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 5461as_fn_error 77 "C compiler cannot create executables 5462See \`config.log' for more details" "$LINENO" 5; } 5463else $as_nop 5464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5465printf "%s\n" "yes" >&6; } 5466fi 5467{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 5468printf %s "checking for C compiler default output file name... " >&6; } 5469{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 5470printf "%s\n" "$ac_file" >&6; } 5471ac_exeext=$ac_cv_exeext 5472 5473rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 5474ac_clean_files=$ac_clean_files_save 5475{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 5476printf %s "checking for suffix of executables... " >&6; } 5477if { { ac_try="$ac_link" 5478case "(($ac_try" in 5479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5480 *) ac_try_echo=$ac_try;; 5481esac 5482eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5483printf "%s\n" "$ac_try_echo"; } >&5 5484 (eval "$ac_link") 2>&5 5485 ac_status=$? 5486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5487 test $ac_status = 0; } 5488then : 5489 # If both `conftest.exe' and `conftest' are `present' (well, observable) 5490# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 5491# work properly (i.e., refer to `conftest.exe'), while it won't with 5492# `rm'. 5493for ac_file in conftest.exe conftest conftest.*; do 5494 test -f "$ac_file" || continue 5495 case $ac_file in 5496 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 5497 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 5498 break;; 5499 * ) break;; 5500 esac 5501done 5502else $as_nop 5503 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5504printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 5505as_fn_error $? "cannot compute suffix of executables: cannot compile and link 5506See \`config.log' for more details" "$LINENO" 5; } 5507fi 5508rm -f conftest conftest$ac_cv_exeext 5509{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 5510printf "%s\n" "$ac_cv_exeext" >&6; } 5511 5512rm -f conftest.$ac_ext 5513EXEEXT=$ac_cv_exeext 5514ac_exeext=$EXEEXT 5515cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5516/* end confdefs.h. */ 5517#include <stdio.h> 5518int 5519main (void) 5520{ 5521FILE *f = fopen ("conftest.out", "w"); 5522 return ferror (f) || fclose (f) != 0; 5523 5524 ; 5525 return 0; 5526} 5527_ACEOF 5528ac_clean_files="$ac_clean_files conftest.out" 5529# Check that the compiler produces executables we can run. If not, either 5530# the compiler is broken, or we cross compile. 5531{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 5532printf %s "checking whether we are cross compiling... " >&6; } 5533if test "$cross_compiling" != yes; then 5534 { { ac_try="$ac_link" 5535case "(($ac_try" in 5536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5537 *) ac_try_echo=$ac_try;; 5538esac 5539eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5540printf "%s\n" "$ac_try_echo"; } >&5 5541 (eval "$ac_link") 2>&5 5542 ac_status=$? 5543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5544 test $ac_status = 0; } 5545 if { ac_try='./conftest$ac_cv_exeext' 5546 { { case "(($ac_try" in 5547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5548 *) ac_try_echo=$ac_try;; 5549esac 5550eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5551printf "%s\n" "$ac_try_echo"; } >&5 5552 (eval "$ac_try") 2>&5 5553 ac_status=$? 5554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5555 test $ac_status = 0; }; }; then 5556 cross_compiling=no 5557 else 5558 if test "$cross_compiling" = maybe; then 5559 cross_compiling=yes 5560 else 5561 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5562printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 5563as_fn_error 77 "cannot run C compiled programs. 5564If you meant to cross compile, use \`--host'. 5565See \`config.log' for more details" "$LINENO" 5; } 5566 fi 5567 fi 5568fi 5569{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 5570printf "%s\n" "$cross_compiling" >&6; } 5571 5572rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 5573ac_clean_files=$ac_clean_files_save 5574{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 5575printf %s "checking for suffix of object files... " >&6; } 5576if test ${ac_cv_objext+y} 5577then : 5578 printf %s "(cached) " >&6 5579else $as_nop 5580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5581/* end confdefs.h. */ 5582 5583int 5584main (void) 5585{ 5586 5587 ; 5588 return 0; 5589} 5590_ACEOF 5591rm -f conftest.o conftest.obj 5592if { { ac_try="$ac_compile" 5593case "(($ac_try" in 5594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5595 *) ac_try_echo=$ac_try;; 5596esac 5597eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5598printf "%s\n" "$ac_try_echo"; } >&5 5599 (eval "$ac_compile") 2>&5 5600 ac_status=$? 5601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5602 test $ac_status = 0; } 5603then : 5604 for ac_file in conftest.o conftest.obj conftest.*; do 5605 test -f "$ac_file" || continue; 5606 case $ac_file in 5607 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 5608 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 5609 break;; 5610 esac 5611done 5612else $as_nop 5613 printf "%s\n" "$as_me: failed program was:" >&5 5614sed 's/^/| /' conftest.$ac_ext >&5 5615 5616{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5617printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 5618as_fn_error $? "cannot compute suffix of object files: cannot compile 5619See \`config.log' for more details" "$LINENO" 5; } 5620fi 5621rm -f conftest.$ac_cv_objext conftest.$ac_ext 5622fi 5623{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 5624printf "%s\n" "$ac_cv_objext" >&6; } 5625OBJEXT=$ac_cv_objext 5626ac_objext=$OBJEXT 5627{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 5628printf %s "checking whether the compiler supports GNU C... " >&6; } 5629if test ${ac_cv_c_compiler_gnu+y} 5630then : 5631 printf %s "(cached) " >&6 5632else $as_nop 5633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5634/* end confdefs.h. */ 5635 5636int 5637main (void) 5638{ 5639#ifndef __GNUC__ 5640 choke me 5641#endif 5642 5643 ; 5644 return 0; 5645} 5646_ACEOF 5647if ac_fn_c_try_compile "$LINENO" 5648then : 5649 ac_compiler_gnu=yes 5650else $as_nop 5651 ac_compiler_gnu=no 5652fi 5653rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5654ac_cv_c_compiler_gnu=$ac_compiler_gnu 5655 5656fi 5657{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 5658printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 5659ac_compiler_gnu=$ac_cv_c_compiler_gnu 5660 5661if test $ac_compiler_gnu = yes; then 5662 GCC=yes 5663else 5664 GCC= 5665fi 5666ac_test_CFLAGS=${CFLAGS+y} 5667ac_save_CFLAGS=$CFLAGS 5668{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 5669printf %s "checking whether $CC accepts -g... " >&6; } 5670if test ${ac_cv_prog_cc_g+y} 5671then : 5672 printf %s "(cached) " >&6 5673else $as_nop 5674 ac_save_c_werror_flag=$ac_c_werror_flag 5675 ac_c_werror_flag=yes 5676 ac_cv_prog_cc_g=no 5677 CFLAGS="-g" 5678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5679/* end confdefs.h. */ 5680 5681int 5682main (void) 5683{ 5684 5685 ; 5686 return 0; 5687} 5688_ACEOF 5689if ac_fn_c_try_compile "$LINENO" 5690then : 5691 ac_cv_prog_cc_g=yes 5692else $as_nop 5693 CFLAGS="" 5694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5695/* end confdefs.h. */ 5696 5697int 5698main (void) 5699{ 5700 5701 ; 5702 return 0; 5703} 5704_ACEOF 5705if ac_fn_c_try_compile "$LINENO" 5706then : 5707 5708else $as_nop 5709 ac_c_werror_flag=$ac_save_c_werror_flag 5710 CFLAGS="-g" 5711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5712/* end confdefs.h. */ 5713 5714int 5715main (void) 5716{ 5717 5718 ; 5719 return 0; 5720} 5721_ACEOF 5722if ac_fn_c_try_compile "$LINENO" 5723then : 5724 ac_cv_prog_cc_g=yes 5725fi 5726rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5727fi 5728rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5729fi 5730rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5731 ac_c_werror_flag=$ac_save_c_werror_flag 5732fi 5733{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 5734printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 5735if test $ac_test_CFLAGS; then 5736 CFLAGS=$ac_save_CFLAGS 5737elif test $ac_cv_prog_cc_g = yes; then 5738 if test "$GCC" = yes; then 5739 CFLAGS="-g -O2" 5740 else 5741 CFLAGS="-g" 5742 fi 5743else 5744 if test "$GCC" = yes; then 5745 CFLAGS="-O2" 5746 else 5747 CFLAGS= 5748 fi 5749fi 5750{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 5751printf %s "checking for $CC option to enable C11 features... " >&6; } 5752if test ${ac_cv_prog_cc_c11+y} 5753then : 5754 printf %s "(cached) " >&6 5755else $as_nop 5756 ac_cv_prog_cc_c11=no 5757ac_save_CC=$CC 5758cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5759/* end confdefs.h. */ 5760$ac_c_conftest_c11_program 5761_ACEOF 5762for ac_arg in '' -std=gnu11 5763do 5764 CC="$ac_save_CC $ac_arg" 5765 if ac_fn_c_try_compile "$LINENO" 5766then : 5767 ac_cv_prog_cc_c11=$ac_arg 5768fi 5769rm -f core conftest.err conftest.$ac_objext conftest.beam 5770 test "x$ac_cv_prog_cc_c11" != "xno" && break 5771done 5772rm -f conftest.$ac_ext 5773CC=$ac_save_CC 5774 5775fi 5776# AC_CACHE_VAL 5777ac_prog_cc_stdc_options= 5778case "x$ac_cv_prog_cc_c11" in #( 5779 x) : 5780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5781printf "%s\n" "none needed" >&6; } ;; #( 5782 xno) : 5783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5784printf "%s\n" "unsupported" >&6; } ;; #( 5785 *) : 5786 ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c11" 5787 CC="$CC$ac_prog_cc_stdc_options" 5788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 5789printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } ;; 5790esac 5791if test "x$ac_cv_prog_cc_c11" != xno 5792then : 5793 ac_prog_cc_stdc=c11 5794 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 5795else $as_nop 5796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 5797printf %s "checking for $CC option to enable C99 features... " >&6; } 5798if test ${ac_cv_prog_cc_c99+y} 5799then : 5800 printf %s "(cached) " >&6 5801else $as_nop 5802 ac_cv_prog_cc_c99=no 5803ac_save_CC=$CC 5804cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5805/* end confdefs.h. */ 5806$ac_c_conftest_c89_program 5807_ACEOF 5808for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc1x -qlanglvl=extc99 5809do 5810 CC="$ac_save_CC $ac_arg" 5811 if ac_fn_c_try_compile "$LINENO" 5812then : 5813 ac_cv_prog_cc_c99=$ac_arg 5814fi 5815rm -f core conftest.err conftest.$ac_objext conftest.beam 5816 test "x$ac_cv_prog_cc_c99" != "xno" && break 5817done 5818rm -f conftest.$ac_ext 5819CC=$ac_save_CC 5820 5821fi 5822# AC_CACHE_VAL 5823ac_prog_cc_stdc_options= 5824case "x$ac_cv_prog_cc_c99" in #( 5825 x) : 5826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5827printf "%s\n" "none needed" >&6; } ;; #( 5828 xno) : 5829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5830printf "%s\n" "unsupported" >&6; } ;; #( 5831 *) : 5832 ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c99" 5833 CC="$CC$ac_prog_cc_stdc_options" 5834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 5835printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } ;; 5836esac 5837if test "x$ac_cv_prog_cc_c99" != xno 5838then : 5839 ac_prog_cc_stdc=c99 5840 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 5841else $as_nop 5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 5843printf %s "checking for $CC option to enable C89 features... " >&6; } 5844if test ${ac_cv_prog_cc_c89+y} 5845then : 5846 printf %s "(cached) " >&6 5847else $as_nop 5848 ac_cv_prog_cc_c89=no 5849ac_save_CC=$CC 5850cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5851/* end confdefs.h. */ 5852$ac_c_conftest_c89_program 5853_ACEOF 5854for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5855 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5856do 5857 CC="$ac_save_CC $ac_arg" 5858 if ac_fn_c_try_compile "$LINENO" 5859then : 5860 ac_cv_prog_cc_c89=$ac_arg 5861fi 5862rm -f core conftest.err conftest.$ac_objext conftest.beam 5863 test "x$ac_cv_prog_cc_c89" != "xno" && break 5864done 5865rm -f conftest.$ac_ext 5866CC=$ac_save_CC 5867 5868fi 5869# AC_CACHE_VAL 5870ac_prog_cc_stdc_options= 5871case "x$ac_cv_prog_cc_c89" in #( 5872 x) : 5873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5874printf "%s\n" "none needed" >&6; } ;; #( 5875 xno) : 5876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5877printf "%s\n" "unsupported" >&6; } ;; #( 5878 *) : 5879 ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c89" 5880 CC="$CC$ac_prog_cc_stdc_options" 5881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5882printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } ;; 5883esac 5884if test "x$ac_cv_prog_cc_c89" != xno 5885then : 5886 ac_prog_cc_stdc=c89 5887 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 5888else $as_nop 5889 ac_prog_cc_stdc=no 5890 ac_cv_prog_cc_stdc=no 5891fi 5892 5893fi 5894 5895fi 5896 5897ac_ext=c 5898ac_cpp='$CPP $CPPFLAGS' 5899ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5900ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5901ac_compiler_gnu=$ac_cv_c_compiler_gnu 5902 5903 5904{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need _ALL_SOURCE" >&5 5905printf %s "checking whether we need _ALL_SOURCE... " >&6; } 5906all=no 5907 5908cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5909/* end confdefs.h. */ 5910 5911#include <sys/types.h> 5912#include <sys/ioctl.h> 5913struct winsize w; 5914 5915int 5916main (void) 5917{ 5918 5919 ; 5920 return 0; 5921} 5922_ACEOF 5923if ac_fn_c_try_compile "$LINENO" 5924then : 5925 5926else $as_nop 5927 all=maybe 5928fi 5929rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5930if test $all = maybe ; then 5931cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5932/* end confdefs.h. */ 5933 5934#define _ALL_SOURCE 5935#include <sys/types.h> 5936#include <sys/ioctl.h> 5937struct winsize w; 5938 5939int 5940main (void) 5941{ 5942 5943 ; 5944 return 0; 5945} 5946_ACEOF 5947if ac_fn_c_try_compile "$LINENO" 5948then : 5949 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h 5950 all=yes 5951fi 5952rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5953fi 5954if test $all = maybe ; then all=no ; fi 5955{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $all" >&5 5956printf "%s\n" "$all" >&6; } 5957 5958{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need _POSIX_SOURCE" >&5 5959printf %s "checking whether we need _POSIX_SOURCE... " >&6; } 5960posix=no 5961cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5962/* end confdefs.h. */ 5963 5964#include <sys/types.h> 5965#include <sys/stat.h> 5966struct stat buffer; 5967 5968int 5969main (void) 5970{ 5971 5972 ; 5973 return 0; 5974} 5975_ACEOF 5976if ac_fn_c_try_compile "$LINENO" 5977then : 5978 5979else $as_nop 5980 posix=maybe 5981fi 5982rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5983if test $posix = maybe ; then 5984cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5985/* end confdefs.h. */ 5986 5987#define _POSIX_SOURCE 5988#include <sys/types.h> 5989#include <sys/stat.h> 5990struct stat buffer; 5991 5992int 5993main (void) 5994{ 5995 5996 ; 5997 return 0; 5998} 5999_ACEOF 6000if ac_fn_c_try_compile "$LINENO" 6001then : 6002 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h 6003 posix=yes 6004fi 6005rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6006fi 6007if test $posix = maybe ; then posix=no ; fi 6008{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $posix" >&5 6009printf "%s\n" "$posix" >&6; } 6010 6011{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Standard C and C++ function declarations" >&5 6012printf %s "checking for Standard C and C++ function declarations... " >&6; } 6013cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6014/* end confdefs.h. */ 6015void foo(void){} 6016int bar(int x, float y, char z){return 1;} 6017int 6018main (void) 6019{ 6020 6021 ; 6022 return 0; 6023} 6024_ACEOF 6025if ac_fn_c_try_compile "$LINENO" 6026then : 6027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6028printf "%s\n" "yes" >&6; } 6029 printf "%s\n" "#define HAVE_STDC 1" >>confdefs.h 6030 6031else $as_nop 6032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6033printf "%s\n" "no" >&6; } 6034fi 6035rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6036 6037{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SunOS C++ free() argument type bug" >&5 6038printf %s "checking for SunOS C++ free() argument type bug... " >&6; } 6039freebug=no 6040cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6041/* end confdefs.h. */ 6042#include <stdlib.h> 6043int 6044main (void) 6045{ 6046void *p; p = (void*)0; free(p) 6047 ; 6048 return 0; 6049} 6050_ACEOF 6051if ac_fn_c_try_compile "$LINENO" 6052then : 6053 6054else $as_nop 6055 freebug=maybe 6056fi 6057rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6058 6059if test $freebug = maybe ; then 6060cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6061/* end confdefs.h. */ 6062#include <stdlib.h> 6063int 6064main (void) 6065{ 6066void *p; p = (void*)0; free((char*)p) 6067 ; 6068 return 0; 6069} 6070_ACEOF 6071if ac_fn_c_try_compile "$LINENO" 6072then : 6073 printf "%s\n" "#define FREE_CAST_IS_CHAR_STAR 1" >>confdefs.h 6074 freebug=yes 6075fi 6076rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6077fi 6078if test $freebug = maybe ; then freebug=no ; fi 6079{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $freebug" >&5 6080printf "%s\n" "$freebug" >&6; } 6081 6082{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Standard C alert character" >&5 6083printf %s "checking for Standard C alert character... " >&6; } 6084havealert=yes 6085if test "$cross_compiling" = yes 6086then : 6087 havealert=no 6088else $as_nop 6089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6090/* end confdefs.h. */ 6091int main(){return((int)'\a'-007);} 6092_ACEOF 6093if ac_fn_c_try_run "$LINENO" 6094then : 6095 havealert=yes 6096 printf "%s\n" "#define HAVE_ALERT_CHAR 1" >>confdefs.h 6097 6098else $as_nop 6099 havealert=no 6100fi 6101rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6102 conftest.$ac_objext conftest.beam conftest.$ac_ext 6103fi 6104 6105{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $havealert" >&5 6106printf "%s\n" "$havealert" >&6; } 6107 6108 6109 6110{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for <limits.h> <sys/param.h> compatibility" >&5 6111printf %s "checking for <limits.h> <sys/param.h> compatibility... " >&6; } 6112cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6113/* end confdefs.h. */ 6114#include <sys/param.h> 6115 #include <limits.h> 6116int 6117main (void) 6118{ 6119 6120 ; 6121 return 0; 6122} 6123_ACEOF 6124if ac_fn_c_try_compile "$LINENO" 6125then : 6126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6127printf "%s\n" "yes" >&6; } 6128else $as_nop 6129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6130printf "%s\n" "no" >&6; } 6131 ac_cv_header_sys_param_h=no} 6132fi 6133rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6134 6135 6136# Autoupdate added the next two lines to ensure that your configure 6137# script's behavior did not change. They are probably safe to remove. 6138ac_header= ac_cache= 6139for ac_item in $ac_header_c_list 6140do 6141 if test $ac_cache; then 6142 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" 6143 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then 6144 printf "%s\n" "#define $ac_item 1" >> confdefs.h 6145 fi 6146 ac_header= ac_cache= 6147 elif test $ac_header; then 6148 ac_cache=$ac_item 6149 else 6150 ac_header=$ac_item 6151 fi 6152done 6153 6154 6155 6156 6157 6158 6159 6160 6161if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes 6162then : 6163 6164printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h 6165 6166fi 6167{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 6168printf %s "checking for grep that handles long lines and -e... " >&6; } 6169if test ${ac_cv_path_GREP+y} 6170then : 6171 printf %s "(cached) " >&6 6172else $as_nop 6173 if test -z "$GREP"; then 6174 ac_path_GREP_found=false 6175 # Loop through the user's path and test for each of PROGNAME-LIST 6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6177for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6178do 6179 IFS=$as_save_IFS 6180 case $as_dir in #((( 6181 '') as_dir=./ ;; 6182 */) ;; 6183 *) as_dir=$as_dir/ ;; 6184 esac 6185 for ac_prog in grep ggrep 6186 do 6187 for ac_exec_ext in '' $ac_executable_extensions; do 6188 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" 6189 as_fn_executable_p "$ac_path_GREP" || continue 6190# Check for GNU ac_path_GREP and select it if it is found. 6191 # Check for GNU $ac_path_GREP 6192case `"$ac_path_GREP" --version 2>&1` in 6193*GNU*) 6194 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 6195*) 6196 ac_count=0 6197 printf %s 0123456789 >"conftest.in" 6198 while : 6199 do 6200 cat "conftest.in" "conftest.in" >"conftest.tmp" 6201 mv "conftest.tmp" "conftest.in" 6202 cp "conftest.in" "conftest.nl" 6203 printf "%s\n" 'GREP' >> "conftest.nl" 6204 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 6205 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6206 as_fn_arith $ac_count + 1 && ac_count=$as_val 6207 if test $ac_count -gt ${ac_path_GREP_max-0}; then 6208 # Best one so far, save it but keep looking for a better one 6209 ac_cv_path_GREP="$ac_path_GREP" 6210 ac_path_GREP_max=$ac_count 6211 fi 6212 # 10*(2^10) chars as input seems more than enough 6213 test $ac_count -gt 10 && break 6214 done 6215 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6216esac 6217 6218 $ac_path_GREP_found && break 3 6219 done 6220 done 6221 done 6222IFS=$as_save_IFS 6223 if test -z "$ac_cv_path_GREP"; then 6224 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6225 fi 6226else 6227 ac_cv_path_GREP=$GREP 6228fi 6229 6230fi 6231{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 6232printf "%s\n" "$ac_cv_path_GREP" >&6; } 6233 GREP="$ac_cv_path_GREP" 6234 6235 6236{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 6237printf %s "checking for egrep... " >&6; } 6238if test ${ac_cv_path_EGREP+y} 6239then : 6240 printf %s "(cached) " >&6 6241else $as_nop 6242 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 6243 then ac_cv_path_EGREP="$GREP -E" 6244 else 6245 if test -z "$EGREP"; then 6246 ac_path_EGREP_found=false 6247 # Loop through the user's path and test for each of PROGNAME-LIST 6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6249for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6250do 6251 IFS=$as_save_IFS 6252 case $as_dir in #((( 6253 '') as_dir=./ ;; 6254 */) ;; 6255 *) as_dir=$as_dir/ ;; 6256 esac 6257 for ac_prog in egrep 6258 do 6259 for ac_exec_ext in '' $ac_executable_extensions; do 6260 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" 6261 as_fn_executable_p "$ac_path_EGREP" || continue 6262# Check for GNU ac_path_EGREP and select it if it is found. 6263 # Check for GNU $ac_path_EGREP 6264case `"$ac_path_EGREP" --version 2>&1` in 6265*GNU*) 6266 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 6267*) 6268 ac_count=0 6269 printf %s 0123456789 >"conftest.in" 6270 while : 6271 do 6272 cat "conftest.in" "conftest.in" >"conftest.tmp" 6273 mv "conftest.tmp" "conftest.in" 6274 cp "conftest.in" "conftest.nl" 6275 printf "%s\n" 'EGREP' >> "conftest.nl" 6276 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 6277 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6278 as_fn_arith $ac_count + 1 && ac_count=$as_val 6279 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 6280 # Best one so far, save it but keep looking for a better one 6281 ac_cv_path_EGREP="$ac_path_EGREP" 6282 ac_path_EGREP_max=$ac_count 6283 fi 6284 # 10*(2^10) chars as input seems more than enough 6285 test $ac_count -gt 10 && break 6286 done 6287 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6288esac 6289 6290 $ac_path_EGREP_found && break 3 6291 done 6292 done 6293 done 6294IFS=$as_save_IFS 6295 if test -z "$ac_cv_path_EGREP"; then 6296 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6297 fi 6298else 6299 ac_cv_path_EGREP=$EGREP 6300fi 6301 6302 fi 6303fi 6304{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 6305printf "%s\n" "$ac_cv_path_EGREP" >&6; } 6306 EGREP="$ac_cv_path_EGREP" 6307 6308 6309 6310ac_fn_c_check_header_compile "$LINENO" "conio.h" "ac_cv_header_conio_h" "$ac_includes_default" 6311if test "x$ac_cv_header_conio_h" = xyes 6312then : 6313 printf "%s\n" "#define HAVE_CONIO_H 1" >>confdefs.h 6314 6315fi 6316ac_fn_c_check_header_compile "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 6317if test "x$ac_cv_header_ctype_h" = xyes 6318then : 6319 printf "%s\n" "#define HAVE_CTYPE_H 1" >>confdefs.h 6320 6321fi 6322ac_fn_c_check_header_compile "$LINENO" "descrip.h" "ac_cv_header_descrip_h" "$ac_includes_default" 6323if test "x$ac_cv_header_descrip_h" = xyes 6324then : 6325 printf "%s\n" "#define HAVE_DESCRIP_H 1" >>confdefs.h 6326 6327fi 6328ac_fn_c_check_header_compile "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 6329if test "x$ac_cv_header_errno_h" = xyes 6330then : 6331 printf "%s\n" "#define HAVE_ERRNO_H 1" >>confdefs.h 6332 6333fi 6334ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 6335if test "x$ac_cv_header_fcntl_h" = xyes 6336then : 6337 printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h 6338 6339fi 6340ac_fn_c_check_header_compile "$LINENO" "io.h" "ac_cv_header_io_h" "$ac_includes_default" 6341if test "x$ac_cv_header_io_h" = xyes 6342then : 6343 printf "%s\n" "#define HAVE_IO_H 1" >>confdefs.h 6344 6345fi 6346ac_fn_c_check_header_compile "$LINENO" "iodef.h" "ac_cv_header_iodef_h" "$ac_includes_default" 6347if test "x$ac_cv_header_iodef_h" = xyes 6348then : 6349 printf "%s\n" "#define HAVE_IODEF_H 1" >>confdefs.h 6350 6351fi 6352ac_fn_c_check_header_compile "$LINENO" "jpidef.h" "ac_cv_header_jpidef_h" "$ac_includes_default" 6353if test "x$ac_cv_header_jpidef_h" = xyes 6354then : 6355 printf "%s\n" "#define HAVE_JPIDEF_H 1" >>confdefs.h 6356 6357fi 6358ac_fn_c_check_header_compile "$LINENO" "libc.h" "ac_cv_header_libc_h" "$ac_includes_default" 6359if test "x$ac_cv_header_libc_h" = xyes 6360then : 6361 printf "%s\n" "#define HAVE_LIBC_H 1" >>confdefs.h 6362 6363fi 6364ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 6365if test "x$ac_cv_header_limits_h" = xyes 6366then : 6367 printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h 6368 6369fi 6370ac_fn_c_check_header_compile "$LINENO" "osfcn.h" "ac_cv_header_osfcn_h" "$ac_includes_default" 6371if test "x$ac_cv_header_osfcn_h" = xyes 6372then : 6373 printf "%s\n" "#define HAVE_OSFCN_H 1" >>confdefs.h 6374 6375fi 6376ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default" 6377if test "x$ac_cv_header_pwd_h" = xyes 6378then : 6379 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h 6380 6381fi 6382ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default" 6383if test "x$ac_cv_header_regex_h" = xyes 6384then : 6385 printf "%s\n" "#define HAVE_REGEX_H 1" >>confdefs.h 6386 6387fi 6388ac_fn_c_check_header_compile "$LINENO" "regexp.h" "ac_cv_header_regexp_h" "$ac_includes_default" 6389if test "x$ac_cv_header_regexp_h" = xyes 6390then : 6391 printf "%s\n" "#define HAVE_REGEXP_H 1" >>confdefs.h 6392 6393fi 6394ac_fn_c_check_header_compile "$LINENO" "rms.h" "ac_cv_header_rms_h" "$ac_includes_default" 6395if test "x$ac_cv_header_rms_h" = xyes 6396then : 6397 printf "%s\n" "#define HAVE_RMS_H 1" >>confdefs.h 6398 6399fi 6400ac_fn_c_check_header_compile "$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default" 6401if test "x$ac_cv_header_sgtty_h" = xyes 6402then : 6403 printf "%s\n" "#define HAVE_SGTTY_H 1" >>confdefs.h 6404 6405fi 6406ac_fn_c_check_header_compile "$LINENO" "ssdef.h" "ac_cv_header_ssdef_h" "$ac_includes_default" 6407if test "x$ac_cv_header_ssdef_h" = xyes 6408then : 6409 printf "%s\n" "#define HAVE_SSDEF_H 1" >>confdefs.h 6410 6411fi 6412ac_fn_c_check_header_compile "$LINENO" "stat.h" "ac_cv_header_stat_h" "$ac_includes_default" 6413if test "x$ac_cv_header_stat_h" = xyes 6414then : 6415 printf "%s\n" "#define HAVE_STAT_H 1" >>confdefs.h 6416 6417fi 6418ac_fn_c_check_header_compile "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default" 6419if test "x$ac_cv_header_stdbool_h" = xyes 6420then : 6421 printf "%s\n" "#define HAVE_STDBOOL_H 1" >>confdefs.h 6422 6423fi 6424ac_fn_c_check_header_compile "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 6425if test "x$ac_cv_header_stdio_h" = xyes 6426then : 6427 printf "%s\n" "#define HAVE_STDIO_H 1" >>confdefs.h 6428 6429fi 6430ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 6431if test "x$ac_cv_header_stdlib_h" = xyes 6432then : 6433 printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h 6434 6435fi 6436ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 6437if test "x$ac_cv_header_string_h" = xyes 6438then : 6439 printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h 6440 6441fi 6442ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 6443if test "x$ac_cv_header_sys_ioctl_h" = xyes 6444then : 6445 printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h 6446 6447fi 6448ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" 6449if test "x$ac_cv_header_sys_param_h" = xyes 6450then : 6451 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h 6452 6453fi 6454ac_fn_c_check_header_compile "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default" 6455if test "x$ac_cv_header_sys_stat_h" = xyes 6456then : 6457 printf "%s\n" "#define HAVE_SYS_STAT_H 1" >>confdefs.h 6458 6459fi 6460ac_fn_c_check_header_compile "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 6461if test "x$ac_cv_header_sys_types_h" = xyes 6462then : 6463 printf "%s\n" "#define HAVE_SYS_TYPES_H 1" >>confdefs.h 6464 6465fi 6466ac_fn_c_check_header_compile "$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default" 6467if test "x$ac_cv_header_termio_h" = xyes 6468then : 6469 printf "%s\n" "#define HAVE_TERMIO_H 1" >>confdefs.h 6470 6471fi 6472ac_fn_c_check_header_compile "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default" 6473if test "x$ac_cv_header_termios_h" = xyes 6474then : 6475 printf "%s\n" "#define HAVE_TERMIOS_H 1" >>confdefs.h 6476 6477fi 6478ac_fn_c_check_header_compile "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 6479if test "x$ac_cv_header_time_h" = xyes 6480then : 6481 printf "%s\n" "#define HAVE_TIME_H 1" >>confdefs.h 6482 6483fi 6484ac_fn_c_check_header_compile "$LINENO" "tt2def.h" "ac_cv_header_tt2def_h" "$ac_includes_default" 6485if test "x$ac_cv_header_tt2def_h" = xyes 6486then : 6487 printf "%s\n" "#define HAVE_TT2DEF_H 1" >>confdefs.h 6488 6489fi 6490ac_fn_c_check_header_compile "$LINENO" "ttdef.h" "ac_cv_header_ttdef_h" "$ac_includes_default" 6491if test "x$ac_cv_header_ttdef_h" = xyes 6492then : 6493 printf "%s\n" "#define HAVE_TTDEF_H 1" >>confdefs.h 6494 6495fi 6496ac_fn_c_check_header_compile "$LINENO" "types.h" "ac_cv_header_types_h" "$ac_includes_default" 6497if test "x$ac_cv_header_types_h" = xyes 6498then : 6499 printf "%s\n" "#define HAVE_TYPES_H 1" >>confdefs.h 6500 6501fi 6502ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 6503if test "x$ac_cv_header_unistd_h" = xyes 6504then : 6505 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h 6506 6507fi 6508ac_fn_c_check_header_compile "$LINENO" "unixio.h" "ac_cv_header_unixio_h" "$ac_includes_default" 6509if test "x$ac_cv_header_unixio_h" = xyes 6510then : 6511 printf "%s\n" "#define HAVE_UNIXIO_H 1" >>confdefs.h 6512 6513fi 6514 6515 6516{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 6517printf %s "checking for an ANSI C-conforming const... " >&6; } 6518if test ${ac_cv_c_const+y} 6519then : 6520 printf %s "(cached) " >&6 6521else $as_nop 6522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6523/* end confdefs.h. */ 6524 6525int 6526main (void) 6527{ 6528 6529#ifndef __cplusplus 6530 /* Ultrix mips cc rejects this sort of thing. */ 6531 typedef int charset[2]; 6532 const charset cs = { 0, 0 }; 6533 /* SunOS 4.1.1 cc rejects this. */ 6534 char const *const *pcpcc; 6535 char **ppc; 6536 /* NEC SVR4.0.2 mips cc rejects this. */ 6537 struct point {int x, y;}; 6538 static struct point const zero = {0,0}; 6539 /* IBM XL C 1.02.0.0 rejects this. 6540 It does not let you subtract one const X* pointer from another in 6541 an arm of an if-expression whose if-part is not a constant 6542 expression */ 6543 const char *g = "string"; 6544 pcpcc = &g + (g ? g-g : 0); 6545 /* HPUX 7.0 cc rejects these. */ 6546 ++pcpcc; 6547 ppc = (char**) pcpcc; 6548 pcpcc = (char const *const *) ppc; 6549 { /* SCO 3.2v4 cc rejects this sort of thing. */ 6550 char tx; 6551 char *t = &tx; 6552 char const *s = 0 ? (char *) 0 : (char const *) 0; 6553 6554 *t++ = 0; 6555 if (s) return 0; 6556 } 6557 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 6558 int x[] = {25, 17}; 6559 const int *foo = &x[0]; 6560 ++foo; 6561 } 6562 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 6563 typedef const int *iptr; 6564 iptr p = 0; 6565 ++p; 6566 } 6567 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying 6568 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 6569 struct s { int j; const int *ap[3]; } bx; 6570 struct s *b = &bx; b->j = 5; 6571 } 6572 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 6573 const int foo = 10; 6574 if (!foo) return 0; 6575 } 6576 return !cs[0] && !zero.x; 6577#endif 6578 6579 ; 6580 return 0; 6581} 6582_ACEOF 6583if ac_fn_c_try_compile "$LINENO" 6584then : 6585 ac_cv_c_const=yes 6586else $as_nop 6587 ac_cv_c_const=no 6588fi 6589rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6590fi 6591{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 6592printf "%s\n" "$ac_cv_c_const" >&6; } 6593if test $ac_cv_c_const = no; then 6594 6595printf "%s\n" "#define const /**/" >>confdefs.h 6596 6597fi 6598 6599ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 6600if test "x$ac_cv_type_mode_t" = xyes 6601then : 6602 6603else $as_nop 6604 6605printf "%s\n" "#define mode_t int" >>confdefs.h 6606 6607fi 6608 6609ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 6610if test "x$ac_cv_type_size_t" = xyes 6611then : 6612 6613else $as_nop 6614 6615printf "%s\n" "#define size_t unsigned int" >>confdefs.h 6616 6617fi 6618 6619{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 6620printf %s "checking whether struct tm is in sys/time.h or time.h... " >&6; } 6621if test ${ac_cv_struct_tm+y} 6622then : 6623 printf %s "(cached) " >&6 6624else $as_nop 6625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6626/* end confdefs.h. */ 6627#include <sys/types.h> 6628#include <time.h> 6629 6630int 6631main (void) 6632{ 6633struct tm tm; 6634 int *p = &tm.tm_sec; 6635 return !p; 6636 ; 6637 return 0; 6638} 6639_ACEOF 6640if ac_fn_c_try_compile "$LINENO" 6641then : 6642 ac_cv_struct_tm=time.h 6643else $as_nop 6644 ac_cv_struct_tm=sys/time.h 6645fi 6646rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 6647fi 6648{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 6649printf "%s\n" "$ac_cv_struct_tm" >&6; } 6650if test $ac_cv_struct_tm = sys/time.h; then 6651 6652printf "%s\n" "#define TM_IN_SYS_TIME 1" >>confdefs.h 6653 6654fi 6655 6656 6657ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "#include <stdbool.h> 6658" 6659if test "x$ac_cv_type__Bool" = xyes 6660then : 6661 6662printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h 6663 6664 6665fi 6666 6667 6668ac_ext=c 6669ac_cpp='$CPP $CPPFLAGS' 6670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6672ac_compiler_gnu=$ac_cv_c_compiler_gnu 6673{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 6674printf %s "checking how to run the C preprocessor... " >&6; } 6675# On Suns, sometimes $CPP names a directory. 6676if test -n "$CPP" && test -d "$CPP"; then 6677 CPP= 6678fi 6679if test -z "$CPP"; then 6680 if test ${ac_cv_prog_CPP+y} 6681then : 6682 printf %s "(cached) " >&6 6683else $as_nop 6684 # Double quotes because $CC needs to be expanded 6685 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp 6686 do 6687 ac_preproc_ok=false 6688for ac_c_preproc_warn_flag in '' yes 6689do 6690 # Use a header file that comes with gcc, so configuring glibc 6691 # with a fresh cross-compiler works. 6692 # On the NeXT, cc -E runs the code through the compiler's parser, 6693 # not just through cpp. "Syntax error" is here to catch this case. 6694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6695/* end confdefs.h. */ 6696#include <limits.h> 6697 Syntax error 6698_ACEOF 6699if ac_fn_c_try_cpp "$LINENO" 6700then : 6701 6702else $as_nop 6703 # Broken: fails on valid input. 6704continue 6705fi 6706rm -f conftest.err conftest.i conftest.$ac_ext 6707 6708 # OK, works on sane cases. Now check whether nonexistent headers 6709 # can be detected and how. 6710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6711/* end confdefs.h. */ 6712#include <ac_nonexistent.h> 6713_ACEOF 6714if ac_fn_c_try_cpp "$LINENO" 6715then : 6716 # Broken: success on invalid input. 6717continue 6718else $as_nop 6719 # Passes both tests. 6720ac_preproc_ok=: 6721break 6722fi 6723rm -f conftest.err conftest.i conftest.$ac_ext 6724 6725done 6726# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6727rm -f conftest.i conftest.err conftest.$ac_ext 6728if $ac_preproc_ok 6729then : 6730 break 6731fi 6732 6733 done 6734 ac_cv_prog_CPP=$CPP 6735 6736fi 6737 CPP=$ac_cv_prog_CPP 6738else 6739 ac_cv_prog_CPP=$CPP 6740fi 6741{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 6742printf "%s\n" "$CPP" >&6; } 6743ac_preproc_ok=false 6744for ac_c_preproc_warn_flag in '' yes 6745do 6746 # Use a header file that comes with gcc, so configuring glibc 6747 # with a fresh cross-compiler works. 6748 # On the NeXT, cc -E runs the code through the compiler's parser, 6749 # not just through cpp. "Syntax error" is here to catch this case. 6750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6751/* end confdefs.h. */ 6752#include <limits.h> 6753 Syntax error 6754_ACEOF 6755if ac_fn_c_try_cpp "$LINENO" 6756then : 6757 6758else $as_nop 6759 # Broken: fails on valid input. 6760continue 6761fi 6762rm -f conftest.err conftest.i conftest.$ac_ext 6763 6764 # OK, works on sane cases. Now check whether nonexistent headers 6765 # can be detected and how. 6766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6767/* end confdefs.h. */ 6768#include <ac_nonexistent.h> 6769_ACEOF 6770if ac_fn_c_try_cpp "$LINENO" 6771then : 6772 # Broken: success on invalid input. 6773continue 6774else $as_nop 6775 # Passes both tests. 6776ac_preproc_ok=: 6777break 6778fi 6779rm -f conftest.err conftest.i conftest.$ac_ext 6780 6781done 6782# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6783rm -f conftest.i conftest.err conftest.$ac_ext 6784if $ac_preproc_ok 6785then : 6786 6787else $as_nop 6788 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6789printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 6790as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 6791See \`config.log' for more details" "$LINENO" 5; } 6792fi 6793 6794ac_ext=c 6795ac_cpp='$CPP $CPPFLAGS' 6796ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6797ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6798ac_compiler_gnu=$ac_cv_c_compiler_gnu 6799 6800 6801if test $ac_cv_c_compiler_gnu = yes; then 6802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 6803printf %s "checking whether $CC needs -traditional... " >&6; } 6804if test ${ac_cv_prog_gcc_traditional+y} 6805then : 6806 printf %s "(cached) " >&6 6807else $as_nop 6808 ac_pattern="Autoconf.*'x'" 6809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6810/* end confdefs.h. */ 6811#include <sgtty.h> 6812Autoconf TIOCGETP 6813_ACEOF 6814if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6815 $EGREP "$ac_pattern" >/dev/null 2>&1 6816then : 6817 ac_cv_prog_gcc_traditional=yes 6818else $as_nop 6819 ac_cv_prog_gcc_traditional=no 6820fi 6821rm -rf conftest* 6822 6823 6824 if test $ac_cv_prog_gcc_traditional = no; then 6825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6826/* end confdefs.h. */ 6827#include <termio.h> 6828Autoconf TCGETA 6829_ACEOF 6830if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6831 $EGREP "$ac_pattern" >/dev/null 2>&1 6832then : 6833 ac_cv_prog_gcc_traditional=yes 6834fi 6835rm -rf conftest* 6836 6837 fi 6838fi 6839{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 6840printf "%s\n" "$ac_cv_prog_gcc_traditional" >&6; } 6841 if test $ac_cv_prog_gcc_traditional = yes; then 6842 CC="$CC -traditional" 6843 fi 6844fi 6845 6846 6847 6848{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether utime accepts a null argument" >&5 6849printf %s "checking whether utime accepts a null argument... " >&6; } 6850if test ${ac_cv_func_utime_null+y} 6851then : 6852 printf %s "(cached) " >&6 6853else $as_nop 6854 rm -f conftest.data; >conftest.data 6855# Sequent interprets utime(file, 0) to mean use start of epoch. Wrong. 6856if test "$cross_compiling" = yes 6857then : 6858 ac_cv_func_utime_null='guessing yes' 6859else $as_nop 6860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6861/* end confdefs.h. */ 6862$ac_includes_default 6863 #ifdef HAVE_UTIME_H 6864 # include <utime.h> 6865 #endif 6866int 6867main (void) 6868{ 6869struct stat s, t; 6870 return ! (stat ("conftest.data", &s) == 0 6871 && utime ("conftest.data", 0) == 0 6872 && stat ("conftest.data", &t) == 0 6873 && t.st_mtime >= s.st_mtime 6874 && t.st_mtime - s.st_mtime < 120); 6875 ; 6876 return 0; 6877} 6878_ACEOF 6879if ac_fn_c_try_run "$LINENO" 6880then : 6881 ac_cv_func_utime_null=yes 6882else $as_nop 6883 ac_cv_func_utime_null=no 6884fi 6885rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6886 conftest.$ac_objext conftest.beam conftest.$ac_ext 6887fi 6888 6889fi 6890{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_utime_null" >&5 6891printf "%s\n" "$ac_cv_func_utime_null" >&6; } 6892if test "x$ac_cv_func_utime_null" != xno; then 6893 ac_cv_func_utime_null=yes 6894 6895printf "%s\n" "#define HAVE_UTIME_NULL 1" >>confdefs.h 6896 6897fi 6898rm -f conftest.data 6899 6900ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol" 6901if test "x$ac_cv_func_strtol" = xyes 6902then : 6903 printf "%s\n" "#define HAVE_STRTOL 1" >>confdefs.h 6904 6905else $as_nop 6906 case " $LIBOBJS " in 6907 *" strtol.$ac_objext "* ) ;; 6908 *) LIBOBJS="$LIBOBJS strtol.$ac_objext" 6909 ;; 6910esac 6911 6912fi 6913 6914ac_fn_c_check_func "$LINENO" "getcwd" "ac_cv_func_getcwd" 6915if test "x$ac_cv_func_getcwd" = xyes 6916then : 6917 printf "%s\n" "#define HAVE_GETCWD 1" >>confdefs.h 6918 6919fi 6920ac_fn_c_check_func "$LINENO" "getpwnam" "ac_cv_func_getpwnam" 6921if test "x$ac_cv_func_getpwnam" = xyes 6922then : 6923 printf "%s\n" "#define HAVE_GETPWNAM 1" >>confdefs.h 6924 6925fi 6926ac_fn_c_check_func "$LINENO" "getwd" "ac_cv_func_getwd" 6927if test "x$ac_cv_func_getwd" = xyes 6928then : 6929 printf "%s\n" "#define HAVE_GETWD 1" >>confdefs.h 6930 6931fi 6932ac_fn_c_check_func "$LINENO" "re_comp" "ac_cv_func_re_comp" 6933if test "x$ac_cv_func_re_comp" = xyes 6934then : 6935 printf "%s\n" "#define HAVE_RE_COMP 1" >>confdefs.h 6936 6937fi 6938ac_fn_c_check_func "$LINENO" "strcspn" "ac_cv_func_strcspn" 6939if test "x$ac_cv_func_strcspn" = xyes 6940then : 6941 printf "%s\n" "#define HAVE_STRCSPN 1" >>confdefs.h 6942 6943fi 6944ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup" 6945if test "x$ac_cv_func_strdup" = xyes 6946then : 6947 printf "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h 6948 6949fi 6950ac_fn_c_check_func "$LINENO" "strspn" "ac_cv_func_strspn" 6951if test "x$ac_cv_func_strspn" = xyes 6952then : 6953 printf "%s\n" "#define HAVE_STRSPN 1" >>confdefs.h 6954 6955fi 6956ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr" 6957if test "x$ac_cv_func_strstr" = xyes 6958then : 6959 printf "%s\n" "#define HAVE_STRSTR 1" >>confdefs.h 6960 6961fi 6962ac_fn_c_check_func "$LINENO" "strtod" "ac_cv_func_strtod" 6963if test "x$ac_cv_func_strtod" = xyes 6964then : 6965 printf "%s\n" "#define HAVE_STRTOD 1" >>confdefs.h 6966 6967fi 6968ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol" 6969if test "x$ac_cv_func_strtol" = xyes 6970then : 6971 printf "%s\n" "#define HAVE_STRTOL 1" >>confdefs.h 6972 6973fi 6974 6975# The Clang compiler raises a warning for an undeclared identifier that matches 6976# a compiler builtin function. All extant Clang versions are affected, as of 6977# Clang 3.6.0. Test a builtin known to every version. This problem affects the 6978# C and Objective C languages, but Clang does report an error under C++ and 6979# Objective C++. 6980# 6981# Passing -fno-builtin to the compiler would suppress this problem. That 6982# strategy would have the advantage of being insensitive to stray warnings, but 6983# it would make tests less realistic. 6984{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how $CC reports undeclared, standard C functions" >&5 6985printf %s "checking how $CC reports undeclared, standard C functions... " >&6; } 6986if test ${ac_cv_c_decl_report+y} 6987then : 6988 printf %s "(cached) " >&6 6989else $as_nop 6990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6991/* end confdefs.h. */ 6992 6993int 6994main (void) 6995{ 6996(void) strchr; 6997 ; 6998 return 0; 6999} 7000_ACEOF 7001if ac_fn_c_try_compile "$LINENO" 7002then : 7003 if test -s conftest.err 7004then : 7005 # For AC_CHECK_DECL to react to warnings, the compiler must be silent on 7006 # valid AC_CHECK_DECL input. No library function is consistently available 7007 # on freestanding implementations, so test against a dummy declaration. 7008 # Include always-available headers on the off chance that they somehow 7009 # elicit warnings. 7010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7011/* end confdefs.h. */ 7012#include <float.h> 7013#include <limits.h> 7014#include <stdarg.h> 7015#include <stddef.h> 7016extern void ac_decl (int, char *); 7017int 7018main (void) 7019{ 7020#ifdef __cplusplus 7021 (void) ac_decl ((int) 0, (char *) 0); 7022 (void) ac_decl; 7023#else 7024 (void) ac_decl; 7025#endif 7026 7027 ; 7028 return 0; 7029} 7030_ACEOF 7031if ac_fn_c_try_compile "$LINENO" 7032then : 7033 if test -s conftest.err 7034then : 7035 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7036printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 7037as_fn_error $? "cannot detect from compiler exit status or warnings 7038See \`config.log' for more details" "$LINENO" 5; } 7039else $as_nop 7040 ac_cv_c_decl_report=warning 7041fi 7042else $as_nop 7043 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7044printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 7045as_fn_error $? "cannot compile a simple declaration test 7046See \`config.log' for more details" "$LINENO" 5; } 7047fi 7048rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7049else $as_nop 7050 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7051printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 7052as_fn_error $? "compiler does not report undeclared identifiers 7053See \`config.log' for more details" "$LINENO" 5; } 7054fi 7055else $as_nop 7056 ac_cv_c_decl_report=error 7057fi 7058rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 7059fi 7060{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_decl_report" >&5 7061printf "%s\n" "$ac_cv_c_decl_report" >&6; } 7062 7063case $ac_cv_c_decl_report in 7064 warning) ac_c_decl_warn_flag=yes ;; 7065 *) ac_c_decl_warn_flag= ;; 7066esac 7067 7068ac_fn_c_check_decl "$LINENO" "fileno" "ac_cv_have_decl_fileno" "$ac_includes_default" 7069if test "x$ac_cv_have_decl_fileno" = xyes 7070then : 7071 ac_have_decl=1 7072else $as_nop 7073 ac_have_decl=0 7074fi 7075 7076printf "%s\n" "#define HAVE_DECL_FILENO $ac_have_decl" >>confdefs.h 7077 7078 7079 7080{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for isatty" >&5 7081printf %s "checking for isatty... " >&6; } 7082cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7083/* end confdefs.h. */ 7084 7085#if defined(HAVE_STDIO_H) 7086#include <stdio.h> 7087#endif 7088#if defined(HAVE_STDLIB_H) 7089#include <stdlib.h> 7090#endif 7091#if defined(HAVE_UNISTD_H) 7092#include <unistd.h> 7093#endif 7094 7095int 7096main (void) 7097{ 7098(void)isatty(1) 7099 ; 7100 return 0; 7101} 7102_ACEOF 7103if ac_fn_c_try_link "$LINENO" 7104then : 7105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7106printf "%s\n" "yes" >&6; } 7107 printf "%s\n" "#define HAVE_ISATTY 1" >>confdefs.h 7108 7109else $as_nop 7110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7111printf "%s\n" "no" >&6; } 7112fi 7113rm -f core conftest.err conftest.$ac_objext conftest.beam \ 7114 conftest$ac_exeext conftest.$ac_ext 7115 7116{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ioctl prototype" >&5 7117printf %s "checking for ioctl prototype... " >&6; } 7118cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7119/* end confdefs.h. */ 7120 7121#include <sys/ioctl.h> 7122#include <unistd.h> 7123 7124_ACEOF 7125if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7126 $EGREP "ioctl[ ]*[(]" >/dev/null 2>&1 7127then : 7128 7129printf "%s\n" "#define HAVE_IOCTL_PROTOTYPE 1" >>confdefs.h 7130 7131{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7132printf "%s\n" "yes" >&6; } 7133 7134else $as_nop 7135 7136{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7137printf "%s\n" "no" >&6; } 7138 7139fi 7140rm -rf conftest* 7141 7142 7143if test "$CC" = "lcc" 7144then 7145 CFLAGS="`echo $CFLAGS | sed -e 's/-g //g' -e 's/ -g$//g' -e 's/^-g$//'`" 7146fi 7147 7148 7149 7150ac_fn_c_check_header_compile "$LINENO" "sys/pledge.h" "ac_cv_header_sys_pledge_h" "$ac_includes_default" 7151if test "x$ac_cv_header_sys_pledge_h" = xyes 7152then : 7153 printf "%s\n" "#define HAVE_SYS_PLEDGE_H 1" >>confdefs.h 7154 7155fi 7156 7157 7158test "x$ac_cv_exeext" = "x.exe" && VM='$(WINE)' 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168# Old autoconf style: AC_CONFIG_FILES([Makefile]) 7169cat >confcache <<\_ACEOF 7170# This file is a shell script that caches the results of configure 7171# tests run on this system so they can be shared between configure 7172# scripts and configure runs, see configure's option --config-cache. 7173# It is not useful on other systems. If it contains results you don't 7174# want to keep, you may remove or edit it. 7175# 7176# config.status only pays attention to the cache file if you give it 7177# the --recheck option to rerun configure. 7178# 7179# `ac_cv_env_foo' variables (set or unset) will be overridden when 7180# loading this file, other *unset* `ac_cv_foo' will be assigned the 7181# following values. 7182 7183_ACEOF 7184 7185# The following way of writing the cache mishandles newlines in values, 7186# but we know of no workaround that is simple, portable, and efficient. 7187# So, we kill variables containing newlines. 7188# Ultrix sh set writes to stderr and can't be redirected directly, 7189# and sets the high bit in the cache file unless we assign to the vars. 7190( 7191 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 7192 eval ac_val=\$$ac_var 7193 case $ac_val in #( 7194 *${as_nl}*) 7195 case $ac_var in #( 7196 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 7197printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 7198 esac 7199 case $ac_var in #( 7200 _ | IFS | as_nl) ;; #( 7201 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 7202 *) { eval $ac_var=; unset $ac_var;} ;; 7203 esac ;; 7204 esac 7205 done 7206 7207 (set) 2>&1 | 7208 case $as_nl`(ac_space=' '; set) 2>&1` in #( 7209 *${as_nl}ac_space=\ *) 7210 # `set' does not quote correctly, so add quotes: double-quote 7211 # substitution turns \\\\ into \\, and sed turns \\ into \. 7212 sed -n \ 7213 "s/'/'\\\\''/g; 7214 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7215 ;; #( 7216 *) 7217 # `set' quotes correctly as required by POSIX, so do not add quotes. 7218 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7219 ;; 7220 esac | 7221 sort 7222) | 7223 sed ' 7224 /^ac_cv_env_/b end 7225 t clear 7226 :clear 7227 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 7228 t end 7229 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7230 :end' >>confcache 7231if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7232 if test -w "$cache_file"; then 7233 if test "x$cache_file" != "x/dev/null"; then 7234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 7235printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 7236 if test ! -f "$cache_file" || test -h "$cache_file"; then 7237 cat confcache >"$cache_file" 7238 else 7239 case $cache_file in #( 7240 */* | ?:*) 7241 mv -f confcache "$cache_file"$$ && 7242 mv -f "$cache_file"$$ "$cache_file" ;; #( 7243 *) 7244 mv -f confcache "$cache_file" ;; 7245 esac 7246 fi 7247 fi 7248 else 7249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 7250printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 7251 fi 7252fi 7253rm -f confcache 7254 7255test "x$prefix" = xNONE && prefix=$ac_default_prefix 7256# Let make expand exec_prefix. 7257test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7258 7259DEFS=-DHAVE_CONFIG_H 7260 7261ac_libobjs= 7262ac_ltlibobjs= 7263U= 7264for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7265 # 1. Remove the extension, and $U if already installed. 7266 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 7267 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 7268 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 7269 # will be set to the directory where LIBOBJS objects are built. 7270 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7271 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 7272done 7273LIBOBJS=$ac_libobjs 7274 7275LTLIBOBJS=$ac_ltlibobjs 7276 7277 7278 7279: "${CONFIG_STATUS=./config.status}" 7280ac_write_fail=0 7281ac_clean_files_save=$ac_clean_files 7282ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7283{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 7284printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 7285as_write_fail=0 7286cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 7287#! $SHELL 7288# Generated by $as_me. 7289# Run this file to recreate the current configuration. 7290# Compiler output produced by configure, useful for debugging 7291# configure, is in config.log if it exists. 7292 7293debug=false 7294ac_cs_recheck=false 7295ac_cs_silent=false 7296 7297SHELL=\${CONFIG_SHELL-$SHELL} 7298export SHELL 7299_ASEOF 7300cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 7301## -------------------- ## 7302## M4sh Initialization. ## 7303## -------------------- ## 7304 7305# Be more Bourne compatible 7306DUALCASE=1; export DUALCASE # for MKS sh 7307as_nop=: 7308if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 7309then : 7310 emulate sh 7311 NULLCMD=: 7312 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 7313 # is contrary to our usage. Disable this feature. 7314 alias -g '${1+"$@"}'='"$@"' 7315 setopt NO_GLOB_SUBST 7316else $as_nop 7317 case `(set -o) 2>/dev/null` in #( 7318 *posix*) : 7319 set -o posix ;; #( 7320 *) : 7321 ;; 7322esac 7323fi 7324 7325 7326 7327# Reset variables that may have inherited troublesome values from 7328# the environment. 7329 7330# IFS needs to be set, to space, tab, and newline, in precisely that order. 7331# (If _AS_PATH_WALK were called with IFS unset, it would have the 7332# side effect of setting IFS to empty, thus disabling word splitting.) 7333# Quoting is to prevent editors from complaining about space-tab. 7334as_nl=' 7335' 7336export as_nl 7337IFS=" "" $as_nl" 7338 7339PS1='$ ' 7340PS2='> ' 7341PS4='+ ' 7342 7343# Ensure predictable behavior from utilities with locale-dependent output. 7344LC_ALL=C 7345export LC_ALL 7346LANGUAGE=C 7347export LANGUAGE 7348 7349# We cannot yet rely on "unset" to work, but we need these variables 7350# to be unset--not just set to an empty or harmless value--now, to 7351# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 7352# also avoids known problems related to "unset" and subshell syntax 7353# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 7354for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 7355do eval test \${$as_var+y} \ 7356 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 7357done 7358 7359# Ensure that fds 0, 1, and 2 are open. 7360if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 7361if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 7362if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 7363 7364# The user is always right. 7365if ${PATH_SEPARATOR+false} :; then 7366 PATH_SEPARATOR=: 7367 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 7368 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 7369 PATH_SEPARATOR=';' 7370 } 7371fi 7372 7373 7374# Find who we are. Look in the path if we contain no directory separator. 7375as_myself= 7376case $0 in #(( 7377 *[\\/]* ) as_myself=$0 ;; 7378 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7379for as_dir in $PATH 7380do 7381 IFS=$as_save_IFS 7382 case $as_dir in #((( 7383 '') as_dir=./ ;; 7384 */) ;; 7385 *) as_dir=$as_dir/ ;; 7386 esac 7387 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 7388 done 7389IFS=$as_save_IFS 7390 7391 ;; 7392esac 7393# We did not find ourselves, most probably we were run as `sh COMMAND' 7394# in which case we are not to be found in the path. 7395if test "x$as_myself" = x; then 7396 as_myself=$0 7397fi 7398if test ! -f "$as_myself"; then 7399 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 7400 exit 1 7401fi 7402 7403 7404 7405# as_fn_error STATUS ERROR [LINENO LOG_FD] 7406# ---------------------------------------- 7407# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 7408# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 7409# script with STATUS, using 1 if that was 0. 7410as_fn_error () 7411{ 7412 as_status=$1; test $as_status -eq 0 && as_status=1 7413 if test "$4"; then 7414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 7415 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 7416 fi 7417 printf "%s\n" "$as_me: error: $2" >&2 7418 as_fn_exit $as_status 7419} # as_fn_error 7420 7421 7422 7423# as_fn_set_status STATUS 7424# ----------------------- 7425# Set $? to STATUS, without forking. 7426as_fn_set_status () 7427{ 7428 return $1 7429} # as_fn_set_status 7430 7431# as_fn_exit STATUS 7432# ----------------- 7433# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 7434as_fn_exit () 7435{ 7436 set +e 7437 as_fn_set_status $1 7438 exit $1 7439} # as_fn_exit 7440 7441# as_fn_unset VAR 7442# --------------- 7443# Portably unset VAR. 7444as_fn_unset () 7445{ 7446 { eval $1=; unset $1;} 7447} 7448as_unset=as_fn_unset 7449 7450# as_fn_append VAR VALUE 7451# ---------------------- 7452# Append the text in VALUE to the end of the definition contained in VAR. Take 7453# advantage of any shell optimizations that allow amortized linear growth over 7454# repeated appends, instead of the typical quadratic growth present in naive 7455# implementations. 7456if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 7457then : 7458 eval 'as_fn_append () 7459 { 7460 eval $1+=\$2 7461 }' 7462else $as_nop 7463 as_fn_append () 7464 { 7465 eval $1=\$$1\$2 7466 } 7467fi # as_fn_append 7468 7469# as_fn_arith ARG... 7470# ------------------ 7471# Perform arithmetic evaluation on the ARGs, and store the result in the 7472# global $as_val. Take advantage of shells that can avoid forks. The arguments 7473# must be portable across $(()) and expr. 7474if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 7475then : 7476 eval 'as_fn_arith () 7477 { 7478 as_val=$(( $* )) 7479 }' 7480else $as_nop 7481 as_fn_arith () 7482 { 7483 as_val=`expr "$@" || test $? -eq 1` 7484 } 7485fi # as_fn_arith 7486 7487 7488if expr a : '\(a\)' >/dev/null 2>&1 && 7489 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7490 as_expr=expr 7491else 7492 as_expr=false 7493fi 7494 7495if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 7496 as_basename=basename 7497else 7498 as_basename=false 7499fi 7500 7501if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7502 as_dirname=dirname 7503else 7504 as_dirname=false 7505fi 7506 7507as_me=`$as_basename -- "$0" || 7508$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7509 X"$0" : 'X\(//\)$' \| \ 7510 X"$0" : 'X\(/\)' \| . 2>/dev/null || 7511printf "%s\n" X/"$0" | 7512 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7513 s//\1/ 7514 q 7515 } 7516 /^X\/\(\/\/\)$/{ 7517 s//\1/ 7518 q 7519 } 7520 /^X\/\(\/\).*/{ 7521 s//\1/ 7522 q 7523 } 7524 s/.*/./; q'` 7525 7526# Avoid depending upon Character Ranges. 7527as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7528as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7529as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7530as_cr_digits='0123456789' 7531as_cr_alnum=$as_cr_Letters$as_cr_digits 7532 7533 7534# Determine whether it's possible to make 'echo' print without a newline. 7535# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 7536# for compatibility with existing Makefiles. 7537ECHO_C= ECHO_N= ECHO_T= 7538case `echo -n x` in #((((( 7539-n*) 7540 case `echo 'xy\c'` in 7541 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7542 xy) ECHO_C='\c';; 7543 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7544 ECHO_T=' ';; 7545 esac;; 7546*) 7547 ECHO_N='-n';; 7548esac 7549 7550# For backward compatibility with old third-party macros, we provide 7551# the shell variables $as_echo and $as_echo_n. New code should use 7552# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 7553as_echo='printf %s\n' 7554as_echo_n='printf %s' 7555 7556rm -f conf$$ conf$$.exe conf$$.file 7557if test -d conf$$.dir; then 7558 rm -f conf$$.dir/conf$$.file 7559else 7560 rm -f conf$$.dir 7561 mkdir conf$$.dir 2>/dev/null 7562fi 7563if (echo >conf$$.file) 2>/dev/null; then 7564 if ln -s conf$$.file conf$$ 2>/dev/null; then 7565 as_ln_s='ln -s' 7566 # ... but there are two gotchas: 7567 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7568 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7569 # In both cases, we have to default to `cp -pR'. 7570 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7571 as_ln_s='cp -pR' 7572 elif ln conf$$.file conf$$ 2>/dev/null; then 7573 as_ln_s=ln 7574 else 7575 as_ln_s='cp -pR' 7576 fi 7577else 7578 as_ln_s='cp -pR' 7579fi 7580rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7581rmdir conf$$.dir 2>/dev/null 7582 7583 7584# as_fn_mkdir_p 7585# ------------- 7586# Create "$as_dir" as a directory, including parents if necessary. 7587as_fn_mkdir_p () 7588{ 7589 7590 case $as_dir in #( 7591 -*) as_dir=./$as_dir;; 7592 esac 7593 test -d "$as_dir" || eval $as_mkdir_p || { 7594 as_dirs= 7595 while :; do 7596 case $as_dir in #( 7597 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7598 *) as_qdir=$as_dir;; 7599 esac 7600 as_dirs="'$as_qdir' $as_dirs" 7601 as_dir=`$as_dirname -- "$as_dir" || 7602$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7603 X"$as_dir" : 'X\(//\)[^/]' \| \ 7604 X"$as_dir" : 'X\(//\)$' \| \ 7605 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7606printf "%s\n" X"$as_dir" | 7607 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7608 s//\1/ 7609 q 7610 } 7611 /^X\(\/\/\)[^/].*/{ 7612 s//\1/ 7613 q 7614 } 7615 /^X\(\/\/\)$/{ 7616 s//\1/ 7617 q 7618 } 7619 /^X\(\/\).*/{ 7620 s//\1/ 7621 q 7622 } 7623 s/.*/./; q'` 7624 test -d "$as_dir" && break 7625 done 7626 test -z "$as_dirs" || eval "mkdir $as_dirs" 7627 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7628 7629 7630} # as_fn_mkdir_p 7631if mkdir -p . 2>/dev/null; then 7632 as_mkdir_p='mkdir -p "$as_dir"' 7633else 7634 test -d ./-p && rmdir ./-p 7635 as_mkdir_p=false 7636fi 7637 7638 7639# as_fn_executable_p FILE 7640# ----------------------- 7641# Test if FILE is an executable regular file. 7642as_fn_executable_p () 7643{ 7644 test -f "$1" && test -x "$1" 7645} # as_fn_executable_p 7646as_test_x='test -x' 7647as_executable_p=as_fn_executable_p 7648 7649# Sed expression to map a string onto a valid CPP name. 7650as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7651 7652# Sed expression to map a string onto a valid variable name. 7653as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7654 7655 7656exec 6>&1 7657## ----------------------------------- ## 7658## Main body of $CONFIG_STATUS script. ## 7659## ----------------------------------- ## 7660_ASEOF 7661test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7662 7663cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7664# Save the log message, to keep $0 and so on meaningful, and to 7665# report actual input values of CONFIG_FILES etc. instead of their 7666# values after options handling. 7667ac_log=" 7668This file was extended by bibclean $as_me 3.06, which was 7669generated by GNU Autoconf 2.70. Invocation command line was 7670 7671 CONFIG_FILES = $CONFIG_FILES 7672 CONFIG_HEADERS = $CONFIG_HEADERS 7673 CONFIG_LINKS = $CONFIG_LINKS 7674 CONFIG_COMMANDS = $CONFIG_COMMANDS 7675 $ $0 $@ 7676 7677on `(hostname || uname -n) 2>/dev/null | sed 1q` 7678" 7679 7680_ACEOF 7681 7682 7683case $ac_config_headers in *" 7684"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7685esac 7686 7687 7688cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7689# Files that config.status was made for. 7690config_headers="$ac_config_headers" 7691 7692_ACEOF 7693 7694cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7695ac_cs_usage="\ 7696\`$as_me' instantiates files and other configuration actions 7697from templates according to the current configuration. Unless the files 7698and actions are specified as TAGs, all are instantiated by default. 7699 7700Usage: $0 [OPTION]... [TAG]... 7701 7702 -h, --help print this help, then exit 7703 -V, --version print version number and configuration settings, then exit 7704 --config print configuration, then exit 7705 -q, --quiet, --silent 7706 do not print progress messages 7707 -d, --debug don't remove temporary files 7708 --recheck update $as_me by reconfiguring in the same conditions 7709 --header=FILE[:TEMPLATE] 7710 instantiate the configuration header FILE 7711 7712Configuration headers: 7713$config_headers 7714 7715Report bugs to <Nelson H. F. Beebe <beebe@math.utah.edu>>." 7716 7717_ACEOF 7718ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 7719ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 7720cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7721ac_cs_config='$ac_cs_config_escaped' 7722ac_cs_version="\\ 7723bibclean config.status 3.06 7724configured by $0, generated by GNU Autoconf 2.70, 7725 with options \\"\$ac_cs_config\\" 7726 7727Copyright (C) 2020 Free Software Foundation, Inc. 7728This config.status script is free software; the Free Software Foundation 7729gives unlimited permission to copy, distribute and modify it." 7730 7731ac_pwd='$ac_pwd' 7732srcdir='$srcdir' 7733test -n "\$AWK" || AWK=awk 7734_ACEOF 7735 7736cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7737# The default lists apply if the user does not specify any file. 7738ac_need_defaults=: 7739while test $# != 0 7740do 7741 case $1 in 7742 --*=?*) 7743 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7744 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7745 ac_shift=: 7746 ;; 7747 --*=) 7748 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7749 ac_optarg= 7750 ac_shift=: 7751 ;; 7752 *) 7753 ac_option=$1 7754 ac_optarg=$2 7755 ac_shift=shift 7756 ;; 7757 esac 7758 7759 case $ac_option in 7760 # Handling of the options. 7761 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7762 ac_cs_recheck=: ;; 7763 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7764 printf "%s\n" "$ac_cs_version"; exit ;; 7765 --config | --confi | --conf | --con | --co | --c ) 7766 printf "%s\n" "$ac_cs_config"; exit ;; 7767 --debug | --debu | --deb | --de | --d | -d ) 7768 debug=: ;; 7769 --header | --heade | --head | --hea ) 7770 $ac_shift 7771 case $ac_optarg in 7772 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7773 esac 7774 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7775 ac_need_defaults=false;; 7776 --he | --h) 7777 # Conflict between --help and --header 7778 as_fn_error $? "ambiguous option: \`$1' 7779Try \`$0 --help' for more information.";; 7780 --help | --hel | -h ) 7781 printf "%s\n" "$ac_cs_usage"; exit ;; 7782 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7783 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7784 ac_cs_silent=: ;; 7785 7786 # This is an error. 7787 -*) as_fn_error $? "unrecognized option: \`$1' 7788Try \`$0 --help' for more information." ;; 7789 7790 *) as_fn_append ac_config_targets " $1" 7791 ac_need_defaults=false ;; 7792 7793 esac 7794 shift 7795done 7796 7797ac_configure_extra_args= 7798 7799if $ac_cs_silent; then 7800 exec 6>/dev/null 7801 ac_configure_extra_args="$ac_configure_extra_args --silent" 7802fi 7803 7804_ACEOF 7805cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7806if \$ac_cs_recheck; then 7807 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7808 shift 7809 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 7810 CONFIG_SHELL='$SHELL' 7811 export CONFIG_SHELL 7812 exec "\$@" 7813fi 7814 7815_ACEOF 7816cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7817exec 5>>config.log 7818{ 7819 echo 7820 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7821## Running $as_me. ## 7822_ASBOX 7823 printf "%s\n" "$ac_log" 7824} >&5 7825 7826_ACEOF 7827cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7828_ACEOF 7829 7830cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7831 7832# Handling of arguments. 7833for ac_config_target in $ac_config_targets 7834do 7835 case $ac_config_target in 7836 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;; 7837 7838 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7839 esac 7840done 7841 7842 7843# If the user did not use the arguments to specify the items to instantiate, 7844# then the envvar interface is used. Set only those that are not. 7845# We use the long form for the default assignment because of an extremely 7846# bizarre bug on SunOS 4.1.3. 7847if $ac_need_defaults; then 7848 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 7849fi 7850 7851# Have a temporary directory for convenience. Make it in the build tree 7852# simply because there is no reason against having it here, and in addition, 7853# creating and moving files from /tmp can sometimes cause problems. 7854# Hook for its removal unless debugging. 7855# Note that there is a small window in which the directory will not be cleaned: 7856# after its creation but before its name has been assigned to `$tmp'. 7857$debug || 7858{ 7859 tmp= ac_tmp= 7860 trap 'exit_status=$? 7861 : "${ac_tmp:=$tmp}" 7862 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 7863' 0 7864 trap 'as_fn_exit 1' 1 2 13 15 7865} 7866# Create a (secure) tmp directory for tmp files. 7867 7868{ 7869 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7870 test -d "$tmp" 7871} || 7872{ 7873 tmp=./conf$$-$RANDOM 7874 (umask 077 && mkdir "$tmp") 7875} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7876ac_tmp=$tmp 7877 7878# Set up the scripts for CONFIG_HEADERS section. 7879# No need to generate them if there are no CONFIG_HEADERS. 7880# This happens for instance with `./config.status Makefile'. 7881if test -n "$CONFIG_HEADERS"; then 7882cat >"$ac_tmp/defines.awk" <<\_ACAWK || 7883BEGIN { 7884_ACEOF 7885 7886# Transform confdefs.h into an awk script `defines.awk', embedded as 7887# here-document in config.status, that substitutes the proper values into 7888# config.h.in to produce config.h. 7889 7890# Create a delimiter string that does not exist in confdefs.h, to ease 7891# handling of long lines. 7892ac_delim='%!_!# ' 7893for ac_last_try in false false :; do 7894 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 7895 if test -z "$ac_tt"; then 7896 break 7897 elif $ac_last_try; then 7898 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 7899 else 7900 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7901 fi 7902done 7903 7904# For the awk script, D is an array of macro values keyed by name, 7905# likewise P contains macro parameters if any. Preserve backslash 7906# newline sequences. 7907 7908ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7909sed -n ' 7910s/.\{148\}/&'"$ac_delim"'/g 7911t rset 7912:rset 7913s/^[ ]*#[ ]*define[ ][ ]*/ / 7914t def 7915d 7916:def 7917s/\\$// 7918t bsnl 7919s/["\\]/\\&/g 7920s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7921D["\1"]=" \3"/p 7922s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7923d 7924:bsnl 7925s/["\\]/\\&/g 7926s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7927D["\1"]=" \3\\\\\\n"\\/p 7928t cont 7929s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7930t cont 7931d 7932:cont 7933n 7934s/.\{148\}/&'"$ac_delim"'/g 7935t clear 7936:clear 7937s/\\$// 7938t bsnlc 7939s/["\\]/\\&/g; s/^/"/; s/$/"/p 7940d 7941:bsnlc 7942s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7943b cont 7944' <confdefs.h | sed ' 7945s/'"$ac_delim"'/"\\\ 7946"/g' >>$CONFIG_STATUS || ac_write_fail=1 7947 7948cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7949 for (key in D) D_is_set[key] = 1 7950 FS = "" 7951} 7952/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7953 line = \$ 0 7954 split(line, arg, " ") 7955 if (arg[1] == "#") { 7956 defundef = arg[2] 7957 mac1 = arg[3] 7958 } else { 7959 defundef = substr(arg[1], 2) 7960 mac1 = arg[2] 7961 } 7962 split(mac1, mac2, "(") #) 7963 macro = mac2[1] 7964 prefix = substr(line, 1, index(line, defundef) - 1) 7965 if (D_is_set[macro]) { 7966 # Preserve the white space surrounding the "#". 7967 print prefix "define", macro P[macro] D[macro] 7968 next 7969 } else { 7970 # Replace #undef with comments. This is necessary, for example, 7971 # in the case of _POSIX_SOURCE, which is predefined and required 7972 # on some systems where configure will not decide to define it. 7973 if (defundef == "undef") { 7974 print "/*", prefix defundef, macro, "*/" 7975 next 7976 } 7977 } 7978} 7979{ print } 7980_ACAWK 7981_ACEOF 7982cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7983 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 7984fi # test -n "$CONFIG_HEADERS" 7985 7986 7987eval set X " :H $CONFIG_HEADERS " 7988shift 7989for ac_tag 7990do 7991 case $ac_tag in 7992 :[FHLC]) ac_mode=$ac_tag; continue;; 7993 esac 7994 case $ac_mode$ac_tag in 7995 :[FHL]*:*);; 7996 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 7997 :[FH]-) ac_tag=-:-;; 7998 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7999 esac 8000 ac_save_IFS=$IFS 8001 IFS=: 8002 set x $ac_tag 8003 IFS=$ac_save_IFS 8004 shift 8005 ac_file=$1 8006 shift 8007 8008 case $ac_mode in 8009 :L) ac_source=$1;; 8010 :[FH]) 8011 ac_file_inputs= 8012 for ac_f 8013 do 8014 case $ac_f in 8015 -) ac_f="$ac_tmp/stdin";; 8016 *) # Look for the file first in the build tree, then in the source tree 8017 # (if the path is not absolute). The absolute path cannot be DOS-style, 8018 # because $ac_f cannot contain `:'. 8019 test -f "$ac_f" || 8020 case $ac_f in 8021 [\\/$]*) false;; 8022 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8023 esac || 8024 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 8025 esac 8026 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 8027 as_fn_append ac_file_inputs " '$ac_f'" 8028 done 8029 8030 # Let's still pretend it is `configure' which instantiates (i.e., don't 8031 # use $as_me), people would be surprised to read: 8032 # /* config.h. Generated by config.status. */ 8033 configure_input='Generated from '` 8034 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 8035 `' by configure.' 8036 if test x"$ac_file" != x-; then 8037 configure_input="$ac_file. $configure_input" 8038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 8039printf "%s\n" "$as_me: creating $ac_file" >&6;} 8040 fi 8041 # Neutralize special characters interpreted by sed in replacement strings. 8042 case $configure_input in #( 8043 *\&* | *\|* | *\\* ) 8044 ac_sed_conf_input=`printf "%s\n" "$configure_input" | 8045 sed 's/[\\\\&|]/\\\\&/g'`;; #( 8046 *) ac_sed_conf_input=$configure_input;; 8047 esac 8048 8049 case $ac_tag in 8050 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 8051 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 8052 esac 8053 ;; 8054 esac 8055 8056 ac_dir=`$as_dirname -- "$ac_file" || 8057$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8058 X"$ac_file" : 'X\(//\)[^/]' \| \ 8059 X"$ac_file" : 'X\(//\)$' \| \ 8060 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 8061printf "%s\n" X"$ac_file" | 8062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8063 s//\1/ 8064 q 8065 } 8066 /^X\(\/\/\)[^/].*/{ 8067 s//\1/ 8068 q 8069 } 8070 /^X\(\/\/\)$/{ 8071 s//\1/ 8072 q 8073 } 8074 /^X\(\/\).*/{ 8075 s//\1/ 8076 q 8077 } 8078 s/.*/./; q'` 8079 as_dir="$ac_dir"; as_fn_mkdir_p 8080 ac_builddir=. 8081 8082case "$ac_dir" in 8083.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8084*) 8085 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 8086 # A ".." for each directory in $ac_dir_suffix. 8087 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 8088 case $ac_top_builddir_sub in 8089 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8090 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8091 esac ;; 8092esac 8093ac_abs_top_builddir=$ac_pwd 8094ac_abs_builddir=$ac_pwd$ac_dir_suffix 8095# for backward compatibility: 8096ac_top_builddir=$ac_top_build_prefix 8097 8098case $srcdir in 8099 .) # We are building in place. 8100 ac_srcdir=. 8101 ac_top_srcdir=$ac_top_builddir_sub 8102 ac_abs_top_srcdir=$ac_pwd ;; 8103 [\\/]* | ?:[\\/]* ) # Absolute name. 8104 ac_srcdir=$srcdir$ac_dir_suffix; 8105 ac_top_srcdir=$srcdir 8106 ac_abs_top_srcdir=$srcdir ;; 8107 *) # Relative name. 8108 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8109 ac_top_srcdir=$ac_top_build_prefix$srcdir 8110 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8111esac 8112ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8113 8114 8115 case $ac_mode in 8116 8117 :H) 8118 # 8119 # CONFIG_HEADER 8120 # 8121 if test x"$ac_file" != x-; then 8122 { 8123 printf "%s\n" "/* $configure_input */" >&1 \ 8124 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 8125 } >"$ac_tmp/config.h" \ 8126 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8127 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 8128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 8129printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 8130 else 8131 rm -f "$ac_file" 8132 mv "$ac_tmp/config.h" "$ac_file" \ 8133 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8134 fi 8135 else 8136 printf "%s\n" "/* $configure_input */" >&1 \ 8137 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 8138 || as_fn_error $? "could not create -" "$LINENO" 5 8139 fi 8140 ;; 8141 8142 8143 esac 8144 8145done # for ac_tag 8146 8147 8148as_fn_exit 0 8149_ACEOF 8150ac_clean_files=$ac_clean_files_save 8151 8152test $ac_write_fail = 0 || 8153 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 8154 8155 8156# configure is writing to config.log, and then calls config.status. 8157# config.status does its own redirection, appending to config.log. 8158# Unfortunately, on DOS this fails, as config.log is still kept open 8159# by configure, so config.status won't be able to write to it; its 8160# output is simply discarded. So we exec the FD to /dev/null, 8161# effectively closing config.log, so it can be properly (re)opened and 8162# appended to by config.status. When coming back to configure, we 8163# need to make the FD available again. 8164if test "$no_create" != yes; then 8165 ac_cs_success=: 8166 ac_config_status_args= 8167 test "$silent" = yes && 8168 ac_config_status_args="$ac_config_status_args --quiet" 8169 exec 5>/dev/null 8170 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 8171 exec 5>>config.log 8172 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8173 # would make configure fail if this is the last instruction. 8174 $ac_cs_success || as_fn_exit 1 8175fi 8176if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8178printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8179fi 8180 8181# New autoconf style: 8182ac_config_files="$ac_config_files Makefile" 8183 8184cat >confcache <<\_ACEOF 8185# This file is a shell script that caches the results of configure 8186# tests run on this system so they can be shared between configure 8187# scripts and configure runs, see configure's option --config-cache. 8188# It is not useful on other systems. If it contains results you don't 8189# want to keep, you may remove or edit it. 8190# 8191# config.status only pays attention to the cache file if you give it 8192# the --recheck option to rerun configure. 8193# 8194# `ac_cv_env_foo' variables (set or unset) will be overridden when 8195# loading this file, other *unset* `ac_cv_foo' will be assigned the 8196# following values. 8197 8198_ACEOF 8199 8200# The following way of writing the cache mishandles newlines in values, 8201# but we know of no workaround that is simple, portable, and efficient. 8202# So, we kill variables containing newlines. 8203# Ultrix sh set writes to stderr and can't be redirected directly, 8204# and sets the high bit in the cache file unless we assign to the vars. 8205( 8206 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 8207 eval ac_val=\$$ac_var 8208 case $ac_val in #( 8209 *${as_nl}*) 8210 case $ac_var in #( 8211 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 8212printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 8213 esac 8214 case $ac_var in #( 8215 _ | IFS | as_nl) ;; #( 8216 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 8217 *) { eval $ac_var=; unset $ac_var;} ;; 8218 esac ;; 8219 esac 8220 done 8221 8222 (set) 2>&1 | 8223 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8224 *${as_nl}ac_space=\ *) 8225 # `set' does not quote correctly, so add quotes: double-quote 8226 # substitution turns \\\\ into \\, and sed turns \\ into \. 8227 sed -n \ 8228 "s/'/'\\\\''/g; 8229 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8230 ;; #( 8231 *) 8232 # `set' quotes correctly as required by POSIX, so do not add quotes. 8233 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 8234 ;; 8235 esac | 8236 sort 8237) | 8238 sed ' 8239 /^ac_cv_env_/b end 8240 t clear 8241 :clear 8242 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 8243 t end 8244 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 8245 :end' >>confcache 8246if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 8247 if test -w "$cache_file"; then 8248 if test "x$cache_file" != "x/dev/null"; then 8249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 8250printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 8251 if test ! -f "$cache_file" || test -h "$cache_file"; then 8252 cat confcache >"$cache_file" 8253 else 8254 case $cache_file in #( 8255 */* | ?:*) 8256 mv -f confcache "$cache_file"$$ && 8257 mv -f "$cache_file"$$ "$cache_file" ;; #( 8258 *) 8259 mv -f confcache "$cache_file" ;; 8260 esac 8261 fi 8262 fi 8263 else 8264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 8265printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 8266 fi 8267fi 8268rm -f confcache 8269 8270test "x$prefix" = xNONE && prefix=$ac_default_prefix 8271# Let make expand exec_prefix. 8272test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 8273 8274DEFS=-DHAVE_CONFIG_H 8275 8276ac_libobjs= 8277ac_ltlibobjs= 8278U= 8279for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8280 # 1. Remove the extension, and $U if already installed. 8281 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 8282 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 8283 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 8284 # will be set to the directory where LIBOBJS objects are built. 8285 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 8286 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 8287done 8288LIBOBJS=$ac_libobjs 8289 8290LTLIBOBJS=$ac_ltlibobjs 8291 8292 8293 8294: "${CONFIG_STATUS=./config.status}" 8295ac_write_fail=0 8296ac_clean_files_save=$ac_clean_files 8297ac_clean_files="$ac_clean_files $CONFIG_STATUS" 8298{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 8299printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 8300as_write_fail=0 8301cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 8302#! $SHELL 8303# Generated by $as_me. 8304# Run this file to recreate the current configuration. 8305# Compiler output produced by configure, useful for debugging 8306# configure, is in config.log if it exists. 8307 8308debug=false 8309ac_cs_recheck=false 8310ac_cs_silent=false 8311 8312SHELL=\${CONFIG_SHELL-$SHELL} 8313export SHELL 8314_ASEOF 8315cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 8316## -------------------- ## 8317## M4sh Initialization. ## 8318## -------------------- ## 8319 8320# Be more Bourne compatible 8321DUALCASE=1; export DUALCASE # for MKS sh 8322as_nop=: 8323if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 8324then : 8325 emulate sh 8326 NULLCMD=: 8327 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 8328 # is contrary to our usage. Disable this feature. 8329 alias -g '${1+"$@"}'='"$@"' 8330 setopt NO_GLOB_SUBST 8331else $as_nop 8332 case `(set -o) 2>/dev/null` in #( 8333 *posix*) : 8334 set -o posix ;; #( 8335 *) : 8336 ;; 8337esac 8338fi 8339 8340 8341 8342# Reset variables that may have inherited troublesome values from 8343# the environment. 8344 8345# IFS needs to be set, to space, tab, and newline, in precisely that order. 8346# (If _AS_PATH_WALK were called with IFS unset, it would have the 8347# side effect of setting IFS to empty, thus disabling word splitting.) 8348# Quoting is to prevent editors from complaining about space-tab. 8349as_nl=' 8350' 8351export as_nl 8352IFS=" "" $as_nl" 8353 8354PS1='$ ' 8355PS2='> ' 8356PS4='+ ' 8357 8358# Ensure predictable behavior from utilities with locale-dependent output. 8359LC_ALL=C 8360export LC_ALL 8361LANGUAGE=C 8362export LANGUAGE 8363 8364# We cannot yet rely on "unset" to work, but we need these variables 8365# to be unset--not just set to an empty or harmless value--now, to 8366# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 8367# also avoids known problems related to "unset" and subshell syntax 8368# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 8369for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 8370do eval test \${$as_var+y} \ 8371 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 8372done 8373 8374# Ensure that fds 0, 1, and 2 are open. 8375if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 8376if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 8377if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 8378 8379# The user is always right. 8380if ${PATH_SEPARATOR+false} :; then 8381 PATH_SEPARATOR=: 8382 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8383 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8384 PATH_SEPARATOR=';' 8385 } 8386fi 8387 8388 8389# Find who we are. Look in the path if we contain no directory separator. 8390as_myself= 8391case $0 in #(( 8392 *[\\/]* ) as_myself=$0 ;; 8393 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8394for as_dir in $PATH 8395do 8396 IFS=$as_save_IFS 8397 case $as_dir in #((( 8398 '') as_dir=./ ;; 8399 */) ;; 8400 *) as_dir=$as_dir/ ;; 8401 esac 8402 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 8403 done 8404IFS=$as_save_IFS 8405 8406 ;; 8407esac 8408# We did not find ourselves, most probably we were run as `sh COMMAND' 8409# in which case we are not to be found in the path. 8410if test "x$as_myself" = x; then 8411 as_myself=$0 8412fi 8413if test ! -f "$as_myself"; then 8414 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8415 exit 1 8416fi 8417 8418 8419 8420# as_fn_error STATUS ERROR [LINENO LOG_FD] 8421# ---------------------------------------- 8422# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 8423# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 8424# script with STATUS, using 1 if that was 0. 8425as_fn_error () 8426{ 8427 as_status=$1; test $as_status -eq 0 && as_status=1 8428 if test "$4"; then 8429 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 8430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 8431 fi 8432 printf "%s\n" "$as_me: error: $2" >&2 8433 as_fn_exit $as_status 8434} # as_fn_error 8435 8436 8437 8438# as_fn_set_status STATUS 8439# ----------------------- 8440# Set $? to STATUS, without forking. 8441as_fn_set_status () 8442{ 8443 return $1 8444} # as_fn_set_status 8445 8446# as_fn_exit STATUS 8447# ----------------- 8448# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 8449as_fn_exit () 8450{ 8451 set +e 8452 as_fn_set_status $1 8453 exit $1 8454} # as_fn_exit 8455 8456# as_fn_unset VAR 8457# --------------- 8458# Portably unset VAR. 8459as_fn_unset () 8460{ 8461 { eval $1=; unset $1;} 8462} 8463as_unset=as_fn_unset 8464 8465# as_fn_append VAR VALUE 8466# ---------------------- 8467# Append the text in VALUE to the end of the definition contained in VAR. Take 8468# advantage of any shell optimizations that allow amortized linear growth over 8469# repeated appends, instead of the typical quadratic growth present in naive 8470# implementations. 8471if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 8472then : 8473 eval 'as_fn_append () 8474 { 8475 eval $1+=\$2 8476 }' 8477else $as_nop 8478 as_fn_append () 8479 { 8480 eval $1=\$$1\$2 8481 } 8482fi # as_fn_append 8483 8484# as_fn_arith ARG... 8485# ------------------ 8486# Perform arithmetic evaluation on the ARGs, and store the result in the 8487# global $as_val. Take advantage of shells that can avoid forks. The arguments 8488# must be portable across $(()) and expr. 8489if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 8490then : 8491 eval 'as_fn_arith () 8492 { 8493 as_val=$(( $* )) 8494 }' 8495else $as_nop 8496 as_fn_arith () 8497 { 8498 as_val=`expr "$@" || test $? -eq 1` 8499 } 8500fi # as_fn_arith 8501 8502 8503if expr a : '\(a\)' >/dev/null 2>&1 && 8504 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8505 as_expr=expr 8506else 8507 as_expr=false 8508fi 8509 8510if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8511 as_basename=basename 8512else 8513 as_basename=false 8514fi 8515 8516if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8517 as_dirname=dirname 8518else 8519 as_dirname=false 8520fi 8521 8522as_me=`$as_basename -- "$0" || 8523$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8524 X"$0" : 'X\(//\)$' \| \ 8525 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8526printf "%s\n" X/"$0" | 8527 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8528 s//\1/ 8529 q 8530 } 8531 /^X\/\(\/\/\)$/{ 8532 s//\1/ 8533 q 8534 } 8535 /^X\/\(\/\).*/{ 8536 s//\1/ 8537 q 8538 } 8539 s/.*/./; q'` 8540 8541# Avoid depending upon Character Ranges. 8542as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8543as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8544as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8545as_cr_digits='0123456789' 8546as_cr_alnum=$as_cr_Letters$as_cr_digits 8547 8548 8549# Determine whether it's possible to make 'echo' print without a newline. 8550# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 8551# for compatibility with existing Makefiles. 8552ECHO_C= ECHO_N= ECHO_T= 8553case `echo -n x` in #((((( 8554-n*) 8555 case `echo 'xy\c'` in 8556 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8557 xy) ECHO_C='\c';; 8558 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 8559 ECHO_T=' ';; 8560 esac;; 8561*) 8562 ECHO_N='-n';; 8563esac 8564 8565# For backward compatibility with old third-party macros, we provide 8566# the shell variables $as_echo and $as_echo_n. New code should use 8567# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 8568as_echo='printf %s\n' 8569as_echo_n='printf %s' 8570 8571rm -f conf$$ conf$$.exe conf$$.file 8572if test -d conf$$.dir; then 8573 rm -f conf$$.dir/conf$$.file 8574else 8575 rm -f conf$$.dir 8576 mkdir conf$$.dir 2>/dev/null 8577fi 8578if (echo >conf$$.file) 2>/dev/null; then 8579 if ln -s conf$$.file conf$$ 2>/dev/null; then 8580 as_ln_s='ln -s' 8581 # ... but there are two gotchas: 8582 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8583 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8584 # In both cases, we have to default to `cp -pR'. 8585 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8586 as_ln_s='cp -pR' 8587 elif ln conf$$.file conf$$ 2>/dev/null; then 8588 as_ln_s=ln 8589 else 8590 as_ln_s='cp -pR' 8591 fi 8592else 8593 as_ln_s='cp -pR' 8594fi 8595rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8596rmdir conf$$.dir 2>/dev/null 8597 8598 8599# as_fn_mkdir_p 8600# ------------- 8601# Create "$as_dir" as a directory, including parents if necessary. 8602as_fn_mkdir_p () 8603{ 8604 8605 case $as_dir in #( 8606 -*) as_dir=./$as_dir;; 8607 esac 8608 test -d "$as_dir" || eval $as_mkdir_p || { 8609 as_dirs= 8610 while :; do 8611 case $as_dir in #( 8612 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 8613 *) as_qdir=$as_dir;; 8614 esac 8615 as_dirs="'$as_qdir' $as_dirs" 8616 as_dir=`$as_dirname -- "$as_dir" || 8617$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8618 X"$as_dir" : 'X\(//\)[^/]' \| \ 8619 X"$as_dir" : 'X\(//\)$' \| \ 8620 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8621printf "%s\n" X"$as_dir" | 8622 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8623 s//\1/ 8624 q 8625 } 8626 /^X\(\/\/\)[^/].*/{ 8627 s//\1/ 8628 q 8629 } 8630 /^X\(\/\/\)$/{ 8631 s//\1/ 8632 q 8633 } 8634 /^X\(\/\).*/{ 8635 s//\1/ 8636 q 8637 } 8638 s/.*/./; q'` 8639 test -d "$as_dir" && break 8640 done 8641 test -z "$as_dirs" || eval "mkdir $as_dirs" 8642 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 8643 8644 8645} # as_fn_mkdir_p 8646if mkdir -p . 2>/dev/null; then 8647 as_mkdir_p='mkdir -p "$as_dir"' 8648else 8649 test -d ./-p && rmdir ./-p 8650 as_mkdir_p=false 8651fi 8652 8653 8654# as_fn_executable_p FILE 8655# ----------------------- 8656# Test if FILE is an executable regular file. 8657as_fn_executable_p () 8658{ 8659 test -f "$1" && test -x "$1" 8660} # as_fn_executable_p 8661as_test_x='test -x' 8662as_executable_p=as_fn_executable_p 8663 8664# Sed expression to map a string onto a valid CPP name. 8665as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 8666 8667# Sed expression to map a string onto a valid variable name. 8668as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 8669 8670 8671exec 6>&1 8672## ----------------------------------- ## 8673## Main body of $CONFIG_STATUS script. ## 8674## ----------------------------------- ## 8675_ASEOF 8676test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 8677 8678cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8679# Save the log message, to keep $0 and so on meaningful, and to 8680# report actual input values of CONFIG_FILES etc. instead of their 8681# values after options handling. 8682ac_log=" 8683This file was extended by bibclean $as_me 3.06, which was 8684generated by GNU Autoconf 2.70. Invocation command line was 8685 8686 CONFIG_FILES = $CONFIG_FILES 8687 CONFIG_HEADERS = $CONFIG_HEADERS 8688 CONFIG_LINKS = $CONFIG_LINKS 8689 CONFIG_COMMANDS = $CONFIG_COMMANDS 8690 $ $0 $@ 8691 8692on `(hostname || uname -n) 2>/dev/null | sed 1q` 8693" 8694 8695_ACEOF 8696 8697case $ac_config_files in *" 8698"*) set x $ac_config_files; shift; ac_config_files=$*;; 8699esac 8700 8701case $ac_config_headers in *" 8702"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 8703esac 8704 8705 8706cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8707# Files that config.status was made for. 8708config_files="$ac_config_files" 8709config_headers="$ac_config_headers" 8710 8711_ACEOF 8712 8713cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8714ac_cs_usage="\ 8715\`$as_me' instantiates files and other configuration actions 8716from templates according to the current configuration. Unless the files 8717and actions are specified as TAGs, all are instantiated by default. 8718 8719Usage: $0 [OPTION]... [TAG]... 8720 8721 -h, --help print this help, then exit 8722 -V, --version print version number and configuration settings, then exit 8723 --config print configuration, then exit 8724 -q, --quiet, --silent 8725 do not print progress messages 8726 -d, --debug don't remove temporary files 8727 --recheck update $as_me by reconfiguring in the same conditions 8728 --file=FILE[:TEMPLATE] 8729 instantiate the configuration file FILE 8730 --header=FILE[:TEMPLATE] 8731 instantiate the configuration header FILE 8732 8733Configuration files: 8734$config_files 8735 8736Configuration headers: 8737$config_headers 8738 8739Report bugs to <Nelson H. F. Beebe <beebe@math.utah.edu>>." 8740 8741_ACEOF 8742ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 8743ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 8744cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8745ac_cs_config='$ac_cs_config_escaped' 8746ac_cs_version="\\ 8747bibclean config.status 3.06 8748configured by $0, generated by GNU Autoconf 2.70, 8749 with options \\"\$ac_cs_config\\" 8750 8751Copyright (C) 2020 Free Software Foundation, Inc. 8752This config.status script is free software; the Free Software Foundation 8753gives unlimited permission to copy, distribute and modify it." 8754 8755ac_pwd='$ac_pwd' 8756srcdir='$srcdir' 8757test -n "\$AWK" || AWK=awk 8758_ACEOF 8759 8760cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8761# The default lists apply if the user does not specify any file. 8762ac_need_defaults=: 8763while test $# != 0 8764do 8765 case $1 in 8766 --*=?*) 8767 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8768 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 8769 ac_shift=: 8770 ;; 8771 --*=) 8772 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8773 ac_optarg= 8774 ac_shift=: 8775 ;; 8776 *) 8777 ac_option=$1 8778 ac_optarg=$2 8779 ac_shift=shift 8780 ;; 8781 esac 8782 8783 case $ac_option in 8784 # Handling of the options. 8785 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8786 ac_cs_recheck=: ;; 8787 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8788 printf "%s\n" "$ac_cs_version"; exit ;; 8789 --config | --confi | --conf | --con | --co | --c ) 8790 printf "%s\n" "$ac_cs_config"; exit ;; 8791 --debug | --debu | --deb | --de | --d | -d ) 8792 debug=: ;; 8793 --file | --fil | --fi | --f ) 8794 $ac_shift 8795 case $ac_optarg in 8796 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8797 '') as_fn_error $? "missing file argument" ;; 8798 esac 8799 as_fn_append CONFIG_FILES " '$ac_optarg'" 8800 ac_need_defaults=false;; 8801 --header | --heade | --head | --hea ) 8802 $ac_shift 8803 case $ac_optarg in 8804 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8805 esac 8806 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 8807 ac_need_defaults=false;; 8808 --he | --h) 8809 # Conflict between --help and --header 8810 as_fn_error $? "ambiguous option: \`$1' 8811Try \`$0 --help' for more information.";; 8812 --help | --hel | -h ) 8813 printf "%s\n" "$ac_cs_usage"; exit ;; 8814 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8815 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8816 ac_cs_silent=: ;; 8817 8818 # This is an error. 8819 -*) as_fn_error $? "unrecognized option: \`$1' 8820Try \`$0 --help' for more information." ;; 8821 8822 *) as_fn_append ac_config_targets " $1" 8823 ac_need_defaults=false ;; 8824 8825 esac 8826 shift 8827done 8828 8829ac_configure_extra_args= 8830 8831if $ac_cs_silent; then 8832 exec 6>/dev/null 8833 ac_configure_extra_args="$ac_configure_extra_args --silent" 8834fi 8835 8836_ACEOF 8837cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8838if \$ac_cs_recheck; then 8839 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8840 shift 8841 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 8842 CONFIG_SHELL='$SHELL' 8843 export CONFIG_SHELL 8844 exec "\$@" 8845fi 8846 8847_ACEOF 8848cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8849exec 5>>config.log 8850{ 8851 echo 8852 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8853## Running $as_me. ## 8854_ASBOX 8855 printf "%s\n" "$ac_log" 8856} >&5 8857 8858_ACEOF 8859cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8860_ACEOF 8861 8862cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8863 8864# Handling of arguments. 8865for ac_config_target in $ac_config_targets 8866do 8867 case $ac_config_target in 8868 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;; 8869 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8870 8871 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 8872 esac 8873done 8874 8875 8876# If the user did not use the arguments to specify the items to instantiate, 8877# then the envvar interface is used. Set only those that are not. 8878# We use the long form for the default assignment because of an extremely 8879# bizarre bug on SunOS 4.1.3. 8880if $ac_need_defaults; then 8881 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 8882 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 8883fi 8884 8885# Have a temporary directory for convenience. Make it in the build tree 8886# simply because there is no reason against having it here, and in addition, 8887# creating and moving files from /tmp can sometimes cause problems. 8888# Hook for its removal unless debugging. 8889# Note that there is a small window in which the directory will not be cleaned: 8890# after its creation but before its name has been assigned to `$tmp'. 8891$debug || 8892{ 8893 tmp= ac_tmp= 8894 trap 'exit_status=$? 8895 : "${ac_tmp:=$tmp}" 8896 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 8897' 0 8898 trap 'as_fn_exit 1' 1 2 13 15 8899} 8900# Create a (secure) tmp directory for tmp files. 8901 8902{ 8903 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8904 test -d "$tmp" 8905} || 8906{ 8907 tmp=./conf$$-$RANDOM 8908 (umask 077 && mkdir "$tmp") 8909} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 8910ac_tmp=$tmp 8911 8912# Set up the scripts for CONFIG_FILES section. 8913# No need to generate them if there are no CONFIG_FILES. 8914# This happens for instance with `./config.status config.h'. 8915if test -n "$CONFIG_FILES"; then 8916 8917 8918ac_cr=`echo X | tr X '\015'` 8919# On cygwin, bash can eat \r inside `` if the user requested igncr. 8920# But we know of no other shell where ac_cr would be empty at this 8921# point, so we can use a bashism as a fallback. 8922if test "x$ac_cr" = x; then 8923 eval ac_cr=\$\'\\r\' 8924fi 8925ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 8926if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 8927 ac_cs_awk_cr='\\r' 8928else 8929 ac_cs_awk_cr=$ac_cr 8930fi 8931 8932echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 8933_ACEOF 8934 8935 8936{ 8937 echo "cat >conf$$subs.awk <<_ACEOF" && 8938 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 8939 echo "_ACEOF" 8940} >conf$$subs.sh || 8941 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8942ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 8943ac_delim='%!_!# ' 8944for ac_last_try in false false false false false :; do 8945 . ./conf$$subs.sh || 8946 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8947 8948 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 8949 if test $ac_delim_n = $ac_delim_num; then 8950 break 8951 elif $ac_last_try; then 8952 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8953 else 8954 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8955 fi 8956done 8957rm -f conf$$subs.sh 8958 8959cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8960cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 8961_ACEOF 8962sed -n ' 8963h 8964s/^/S["/; s/!.*/"]=/ 8965p 8966g 8967s/^[^!]*!// 8968:repl 8969t repl 8970s/'"$ac_delim"'$// 8971t delim 8972:nl 8973h 8974s/\(.\{148\}\)..*/\1/ 8975t more1 8976s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 8977p 8978n 8979b repl 8980:more1 8981s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8982p 8983g 8984s/.\{148\}// 8985t nl 8986:delim 8987h 8988s/\(.\{148\}\)..*/\1/ 8989t more2 8990s/["\\]/\\&/g; s/^/"/; s/$/"/ 8991p 8992b 8993:more2 8994s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8995p 8996g 8997s/.\{148\}// 8998t delim 8999' <conf$$subs.awk | sed ' 9000/^[^""]/{ 9001 N 9002 s/\n// 9003} 9004' >>$CONFIG_STATUS || ac_write_fail=1 9005rm -f conf$$subs.awk 9006cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9007_ACAWK 9008cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 9009 for (key in S) S_is_set[key] = 1 9010 FS = "" 9011 9012} 9013{ 9014 line = $ 0 9015 nfields = split(line, field, "@") 9016 substed = 0 9017 len = length(field[1]) 9018 for (i = 2; i < nfields; i++) { 9019 key = field[i] 9020 keylen = length(key) 9021 if (S_is_set[key]) { 9022 value = S[key] 9023 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 9024 len += length(value) + length(field[++i]) 9025 substed = 1 9026 } else 9027 len += 1 + keylen 9028 } 9029 9030 print line 9031} 9032 9033_ACAWK 9034_ACEOF 9035cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9036if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 9037 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 9038else 9039 cat 9040fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 9041 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 9042_ACEOF 9043 9044# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 9045# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 9046# trailing colons and then remove the whole line if VPATH becomes empty 9047# (actually we leave an empty line to preserve line numbers). 9048if test "x$srcdir" = x.; then 9049 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 9050h 9051s/// 9052s/^/:/ 9053s/[ ]*$/:/ 9054s/:\$(srcdir):/:/g 9055s/:\${srcdir}:/:/g 9056s/:@srcdir@:/:/g 9057s/^:*// 9058s/:*$// 9059x 9060s/\(=[ ]*\).*/\1/ 9061G 9062s/\n// 9063s/^[^=]*=[ ]*$// 9064}' 9065fi 9066 9067cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9068fi # test -n "$CONFIG_FILES" 9069 9070# Set up the scripts for CONFIG_HEADERS section. 9071# No need to generate them if there are no CONFIG_HEADERS. 9072# This happens for instance with `./config.status Makefile'. 9073if test -n "$CONFIG_HEADERS"; then 9074cat >"$ac_tmp/defines.awk" <<\_ACAWK || 9075BEGIN { 9076_ACEOF 9077 9078# Transform confdefs.h into an awk script `defines.awk', embedded as 9079# here-document in config.status, that substitutes the proper values into 9080# config.h.in to produce config.h. 9081 9082# Create a delimiter string that does not exist in confdefs.h, to ease 9083# handling of long lines. 9084ac_delim='%!_!# ' 9085for ac_last_try in false false :; do 9086 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 9087 if test -z "$ac_tt"; then 9088 break 9089 elif $ac_last_try; then 9090 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 9091 else 9092 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 9093 fi 9094done 9095 9096# For the awk script, D is an array of macro values keyed by name, 9097# likewise P contains macro parameters if any. Preserve backslash 9098# newline sequences. 9099 9100ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 9101sed -n ' 9102s/.\{148\}/&'"$ac_delim"'/g 9103t rset 9104:rset 9105s/^[ ]*#[ ]*define[ ][ ]*/ / 9106t def 9107d 9108:def 9109s/\\$// 9110t bsnl 9111s/["\\]/\\&/g 9112s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9113D["\1"]=" \3"/p 9114s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 9115d 9116:bsnl 9117s/["\\]/\\&/g 9118s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 9119D["\1"]=" \3\\\\\\n"\\/p 9120t cont 9121s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 9122t cont 9123d 9124:cont 9125n 9126s/.\{148\}/&'"$ac_delim"'/g 9127t clear 9128:clear 9129s/\\$// 9130t bsnlc 9131s/["\\]/\\&/g; s/^/"/; s/$/"/p 9132d 9133:bsnlc 9134s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 9135b cont 9136' <confdefs.h | sed ' 9137s/'"$ac_delim"'/"\\\ 9138"/g' >>$CONFIG_STATUS || ac_write_fail=1 9139 9140cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9141 for (key in D) D_is_set[key] = 1 9142 FS = "" 9143} 9144/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 9145 line = \$ 0 9146 split(line, arg, " ") 9147 if (arg[1] == "#") { 9148 defundef = arg[2] 9149 mac1 = arg[3] 9150 } else { 9151 defundef = substr(arg[1], 2) 9152 mac1 = arg[2] 9153 } 9154 split(mac1, mac2, "(") #) 9155 macro = mac2[1] 9156 prefix = substr(line, 1, index(line, defundef) - 1) 9157 if (D_is_set[macro]) { 9158 # Preserve the white space surrounding the "#". 9159 print prefix "define", macro P[macro] D[macro] 9160 next 9161 } else { 9162 # Replace #undef with comments. This is necessary, for example, 9163 # in the case of _POSIX_SOURCE, which is predefined and required 9164 # on some systems where configure will not decide to define it. 9165 if (defundef == "undef") { 9166 print "/*", prefix defundef, macro, "*/" 9167 next 9168 } 9169 } 9170} 9171{ print } 9172_ACAWK 9173_ACEOF 9174cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9175 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 9176fi # test -n "$CONFIG_HEADERS" 9177 9178 9179eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 9180shift 9181for ac_tag 9182do 9183 case $ac_tag in 9184 :[FHLC]) ac_mode=$ac_tag; continue;; 9185 esac 9186 case $ac_mode$ac_tag in 9187 :[FHL]*:*);; 9188 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 9189 :[FH]-) ac_tag=-:-;; 9190 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9191 esac 9192 ac_save_IFS=$IFS 9193 IFS=: 9194 set x $ac_tag 9195 IFS=$ac_save_IFS 9196 shift 9197 ac_file=$1 9198 shift 9199 9200 case $ac_mode in 9201 :L) ac_source=$1;; 9202 :[FH]) 9203 ac_file_inputs= 9204 for ac_f 9205 do 9206 case $ac_f in 9207 -) ac_f="$ac_tmp/stdin";; 9208 *) # Look for the file first in the build tree, then in the source tree 9209 # (if the path is not absolute). The absolute path cannot be DOS-style, 9210 # because $ac_f cannot contain `:'. 9211 test -f "$ac_f" || 9212 case $ac_f in 9213 [\\/$]*) false;; 9214 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9215 esac || 9216 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 9217 esac 9218 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9219 as_fn_append ac_file_inputs " '$ac_f'" 9220 done 9221 9222 # Let's still pretend it is `configure' which instantiates (i.e., don't 9223 # use $as_me), people would be surprised to read: 9224 # /* config.h. Generated by config.status. */ 9225 configure_input='Generated from '` 9226 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 9227 `' by configure.' 9228 if test x"$ac_file" != x-; then 9229 configure_input="$ac_file. $configure_input" 9230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 9231printf "%s\n" "$as_me: creating $ac_file" >&6;} 9232 fi 9233 # Neutralize special characters interpreted by sed in replacement strings. 9234 case $configure_input in #( 9235 *\&* | *\|* | *\\* ) 9236 ac_sed_conf_input=`printf "%s\n" "$configure_input" | 9237 sed 's/[\\\\&|]/\\\\&/g'`;; #( 9238 *) ac_sed_conf_input=$configure_input;; 9239 esac 9240 9241 case $ac_tag in 9242 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 9243 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9244 esac 9245 ;; 9246 esac 9247 9248 ac_dir=`$as_dirname -- "$ac_file" || 9249$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9250 X"$ac_file" : 'X\(//\)[^/]' \| \ 9251 X"$ac_file" : 'X\(//\)$' \| \ 9252 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 9253printf "%s\n" X"$ac_file" | 9254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9255 s//\1/ 9256 q 9257 } 9258 /^X\(\/\/\)[^/].*/{ 9259 s//\1/ 9260 q 9261 } 9262 /^X\(\/\/\)$/{ 9263 s//\1/ 9264 q 9265 } 9266 /^X\(\/\).*/{ 9267 s//\1/ 9268 q 9269 } 9270 s/.*/./; q'` 9271 as_dir="$ac_dir"; as_fn_mkdir_p 9272 ac_builddir=. 9273 9274case "$ac_dir" in 9275.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 9276*) 9277 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 9278 # A ".." for each directory in $ac_dir_suffix. 9279 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 9280 case $ac_top_builddir_sub in 9281 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 9282 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 9283 esac ;; 9284esac 9285ac_abs_top_builddir=$ac_pwd 9286ac_abs_builddir=$ac_pwd$ac_dir_suffix 9287# for backward compatibility: 9288ac_top_builddir=$ac_top_build_prefix 9289 9290case $srcdir in 9291 .) # We are building in place. 9292 ac_srcdir=. 9293 ac_top_srcdir=$ac_top_builddir_sub 9294 ac_abs_top_srcdir=$ac_pwd ;; 9295 [\\/]* | ?:[\\/]* ) # Absolute name. 9296 ac_srcdir=$srcdir$ac_dir_suffix; 9297 ac_top_srcdir=$srcdir 9298 ac_abs_top_srcdir=$srcdir ;; 9299 *) # Relative name. 9300 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 9301 ac_top_srcdir=$ac_top_build_prefix$srcdir 9302 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 9303esac 9304ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 9305 9306 9307 case $ac_mode in 9308 :F) 9309 # 9310 # CONFIG_FILE 9311 # 9312 9313_ACEOF 9314 9315cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9316# If the template does not know about datarootdir, expand it. 9317# FIXME: This hack should be removed a few years after 2.60. 9318ac_datarootdir_hack=; ac_datarootdir_seen= 9319ac_sed_dataroot=' 9320/datarootdir/ { 9321 p 9322 q 9323} 9324/@datadir@/p 9325/@docdir@/p 9326/@infodir@/p 9327/@localedir@/p 9328/@mandir@/p' 9329case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9330*datarootdir*) ac_datarootdir_seen=yes;; 9331*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9333printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9334_ACEOF 9335cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9336 ac_datarootdir_hack=' 9337 s&@datadir@&$datadir&g 9338 s&@docdir@&$docdir&g 9339 s&@infodir@&$infodir&g 9340 s&@localedir@&$localedir&g 9341 s&@mandir@&$mandir&g 9342 s&\\\${datarootdir}&$datarootdir&g' ;; 9343esac 9344_ACEOF 9345 9346# Neutralize VPATH when `$srcdir' = `.'. 9347# Shell code in configure.ac might set extrasub. 9348# FIXME: do we really want to maintain this feature? 9349cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9350ac_sed_extra="$ac_vpsub 9351$extrasub 9352_ACEOF 9353cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9354:t 9355/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9356s|@configure_input@|$ac_sed_conf_input|;t t 9357s&@top_builddir@&$ac_top_builddir_sub&;t t 9358s&@top_build_prefix@&$ac_top_build_prefix&;t t 9359s&@srcdir@&$ac_srcdir&;t t 9360s&@abs_srcdir@&$ac_abs_srcdir&;t t 9361s&@top_srcdir@&$ac_top_srcdir&;t t 9362s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9363s&@builddir@&$ac_builddir&;t t 9364s&@abs_builddir@&$ac_abs_builddir&;t t 9365s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9366$ac_datarootdir_hack 9367" 9368eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 9369 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9370 9371test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9372 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 9373 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 9374 "$ac_tmp/out"`; test -z "$ac_out"; } && 9375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9376which seems to be undefined. Please make sure it is defined" >&5 9377printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9378which seems to be undefined. Please make sure it is defined" >&2;} 9379 9380 rm -f "$ac_tmp/stdin" 9381 case $ac_file in 9382 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 9383 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 9384 esac \ 9385 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9386 ;; 9387 :H) 9388 # 9389 # CONFIG_HEADER 9390 # 9391 if test x"$ac_file" != x-; then 9392 { 9393 printf "%s\n" "/* $configure_input */" >&1 \ 9394 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 9395 } >"$ac_tmp/config.h" \ 9396 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9397 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 9398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 9399printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 9400 else 9401 rm -f "$ac_file" 9402 mv "$ac_tmp/config.h" "$ac_file" \ 9403 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9404 fi 9405 else 9406 printf "%s\n" "/* $configure_input */" >&1 \ 9407 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 9408 || as_fn_error $? "could not create -" "$LINENO" 5 9409 fi 9410 ;; 9411 9412 9413 esac 9414 9415done # for ac_tag 9416 9417 9418as_fn_exit 0 9419_ACEOF 9420ac_clean_files=$ac_clean_files_save 9421 9422test $ac_write_fail = 0 || 9423 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 9424 9425 9426# configure is writing to config.log, and then calls config.status. 9427# config.status does its own redirection, appending to config.log. 9428# Unfortunately, on DOS this fails, as config.log is still kept open 9429# by configure, so config.status won't be able to write to it; its 9430# output is simply discarded. So we exec the FD to /dev/null, 9431# effectively closing config.log, so it can be properly (re)opened and 9432# appended to by config.status. When coming back to configure, we 9433# need to make the FD available again. 9434if test "$no_create" != yes; then 9435 ac_cs_success=: 9436 ac_config_status_args= 9437 test "$silent" = yes && 9438 ac_config_status_args="$ac_config_status_args --quiet" 9439 exec 5>/dev/null 9440 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 9441 exec 5>>config.log 9442 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9443 # would make configure fail if this is the last instruction. 9444 $ac_cs_success || as_fn_exit 1 9445fi 9446if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 9447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 9448printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 9449fi 9450 9451 9452