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