/contrib/ntp/configure
Shell | 16251 lines | 14747 code | 636 blank | 868 comment | 645 complexity | 05e1828a59a7c48b290a0618022a31b1 MD5 | raw file
Large files files are truncated, but you can click here to view the full file
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.65 for ntp 4.2.4p8. 4# 5# 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 8# 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. 92case $0 in #(( 93 *[\\/]* ) as_myself=$0 ;; 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95for as_dir in $PATH 96do 97 IFS=$as_save_IFS 98 test -z "$as_dir" && as_dir=. 99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 101IFS=$as_save_IFS 102 103 ;; 104esac 105# We did not find ourselves, most probably we were run as `sh COMMAND' 106# in which case we are not to be found in the path. 107if test "x$as_myself" = x; then 108 as_myself=$0 109fi 110if test ! -f "$as_myself"; then 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113fi 114 115# Unset variables that we do not need and which cause bugs (e.g. in 116# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117# suppresses any "Segmentation fault" message there. '((' could 118# trigger a bug in pdksh 5.2.14. 119for as_var in BASH_ENV ENV MAIL MAILPATH 120do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 122done 123PS1='$ ' 124PS2='> ' 125PS4='+ ' 126 127# NLS nuisances. 128LC_ALL=C 129export LC_ALL 130LANGUAGE=C 131export LANGUAGE 132 133# CDPATH. 134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150esac 151fi 152" 153 as_required="as_fn_return () { (exit \$1); } 154as_fn_success () { as_fn_return 0; } 155as_fn_failure () { as_fn_return 1; } 156as_fn_ret_success () { return 0; } 157as_fn_ret_failure () { return 1; } 158 159exitcode=0 160as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166else 167 exitcode=1; echo positional parameters were not saved. 168fi 169test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177else 178 as_have_required=no 179fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184as_found=false 185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 186do 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200fi 201fi 202 done;; 203 esac 204 as_found=false 205done 206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209fi; } 210IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 230 else 231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 232$0: including any error possibly output before this 233$0: message. Then install a modern shell, or manually run 234$0: the script under such a shell if you do have one." 235 fi 236 exit 1 237fi 238fi 239fi 240SHELL=${CONFIG_SHELL-/bin/sh} 241export SHELL 242# Unset more variables known to interfere with behavior of common tools. 243CLICOLOR_FORCE= GREP_OPTIONS= 244unset CLICOLOR_FORCE GREP_OPTIONS 245 246## --------------------- ## 247## M4sh Shell Functions. ## 248## --------------------- ## 249# as_fn_unset VAR 250# --------------- 251# Portably unset VAR. 252as_fn_unset () 253{ 254 { eval $1=; unset $1;} 255} 256as_unset=as_fn_unset 257 258# as_fn_set_status STATUS 259# ----------------------- 260# Set $? to STATUS, without forking. 261as_fn_set_status () 262{ 263 return $1 264} # as_fn_set_status 265 266# as_fn_exit STATUS 267# ----------------- 268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269as_fn_exit () 270{ 271 set +e 272 as_fn_set_status $1 273 exit $1 274} # as_fn_exit 275 276# as_fn_mkdir_p 277# ------------- 278# Create "$as_dir" as a directory, including parents if necessary. 279as_fn_mkdir_p () 280{ 281 282 case $as_dir in #( 283 -*) as_dir=./$as_dir;; 284 esac 285 test -d "$as_dir" || eval $as_mkdir_p || { 286 as_dirs= 287 while :; do 288 case $as_dir in #( 289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 290 *) as_qdir=$as_dir;; 291 esac 292 as_dirs="'$as_qdir' $as_dirs" 293 as_dir=`$as_dirname -- "$as_dir" || 294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 295 X"$as_dir" : 'X\(//\)[^/]' \| \ 296 X"$as_dir" : 'X\(//\)$' \| \ 297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 298$as_echo X"$as_dir" | 299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 300 s//\1/ 301 q 302 } 303 /^X\(\/\/\)[^/].*/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\).*/{ 312 s//\1/ 313 q 314 } 315 s/.*/./; q'` 316 test -d "$as_dir" && break 317 done 318 test -z "$as_dirs" || eval "mkdir $as_dirs" 319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 320 321 322} # as_fn_mkdir_p 323# as_fn_append VAR VALUE 324# ---------------------- 325# Append the text in VALUE to the end of the definition contained in VAR. Take 326# advantage of any shell optimizations that allow amortized linear growth over 327# repeated appends, instead of the typical quadratic growth present in naive 328# implementations. 329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 330 eval 'as_fn_append () 331 { 332 eval $1+=\$2 333 }' 334else 335 as_fn_append () 336 { 337 eval $1=\$$1\$2 338 } 339fi # as_fn_append 340 341# as_fn_arith ARG... 342# ------------------ 343# Perform arithmetic evaluation on the ARGs, and store the result in the 344# global $as_val. Take advantage of shells that can avoid forks. The arguments 345# must be portable across $(()) and expr. 346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347 eval 'as_fn_arith () 348 { 349 as_val=$(( $* )) 350 }' 351else 352 as_fn_arith () 353 { 354 as_val=`expr "$@" || test $? -eq 1` 355 } 356fi # as_fn_arith 357 358 359# as_fn_error ERROR [LINENO LOG_FD] 360# --------------------------------- 361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363# script with status $?, using 1 if that was 0. 364as_fn_error () 365{ 366 as_status=$?; test $as_status -eq 0 && as_status=1 367 if test "$3"; then 368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 370 fi 371 $as_echo "$as_me: error: $1" >&2 372 as_fn_exit $as_status 373} # as_fn_error 374 375if expr a : '\(a\)' >/dev/null 2>&1 && 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then 377 as_expr=expr 378else 379 as_expr=false 380fi 381 382if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 383 as_basename=basename 384else 385 as_basename=false 386fi 387 388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389 as_dirname=dirname 390else 391 as_dirname=false 392fi 393 394as_me=`$as_basename -- "$0" || 395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 396 X"$0" : 'X\(//\)$' \| \ 397 X"$0" : 'X\(/\)' \| . 2>/dev/null || 398$as_echo X/"$0" | 399 sed '/^.*\/\([^/][^/]*\)\/*$/{ 400 s//\1/ 401 q 402 } 403 /^X\/\(\/\/\)$/{ 404 s//\1/ 405 q 406 } 407 /^X\/\(\/\).*/{ 408 s//\1/ 409 q 410 } 411 s/.*/./; q'` 412 413# Avoid depending upon Character Ranges. 414as_cr_letters='abcdefghijklmnopqrstuvwxyz' 415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 416as_cr_Letters=$as_cr_letters$as_cr_LETTERS 417as_cr_digits='0123456789' 418as_cr_alnum=$as_cr_Letters$as_cr_digits 419 420 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 426 sed -n ' 427 p 428 /[$]LINENO/= 429 ' <$as_myself | 430 sed ' 431 s/[$]LINENO.*/&-/ 432 t lineno 433 b 434 :lineno 435 N 436 :loop 437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 438 t loop 439 s/-\n.*// 440 ' >$as_me.lineno && 441 chmod +x "$as_me.lineno" || 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 443 444 # Don't try to exec as it changes $[0], causing all sort of problems 445 # (the dirname of $[0] is not the place where we might find the 446 # original and so on. Autoconf is especially sensitive to this). 447 . "./$as_me.lineno" 448 # Exit status is that of the last command. 449 exit 450} 451 452ECHO_C= ECHO_N= ECHO_T= 453case `echo -n x` in #((((( 454-n*) 455 case `echo 'xy\c'` in 456 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 460 esac;; 461*) 462 ECHO_N='-n';; 463esac 464 465rm -f conf$$ conf$$.exe conf$$.file 466if test -d conf$$.dir; then 467 rm -f conf$$.dir/conf$$.file 468else 469 rm -f conf$$.dir 470 mkdir conf$$.dir 2>/dev/null 471fi 472if (echo >conf$$.file) 2>/dev/null; then 473 if ln -s conf$$.file conf$$ 2>/dev/null; then 474 as_ln_s='ln -s' 475 # ... but there are two gotchas: 476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 478 # In both cases, we have to default to `cp -p'. 479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 480 as_ln_s='cp -p' 481 elif ln conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s=ln 483 else 484 as_ln_s='cp -p' 485 fi 486else 487 as_ln_s='cp -p' 488fi 489rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 490rmdir conf$$.dir 2>/dev/null 491 492if mkdir -p . 2>/dev/null; then 493 as_mkdir_p='mkdir -p "$as_dir"' 494else 495 test -d ./-p && rmdir ./-p 496 as_mkdir_p=false 497fi 498 499if test -x / >/dev/null 2>&1; then 500 as_test_x='test -x' 501else 502 if ls -dL / >/dev/null 2>&1; then 503 as_ls_L_option=L 504 else 505 as_ls_L_option= 506 fi 507 as_test_x=' 508 eval sh -c '\'' 509 if test -d "$1"; then 510 test -d "$1/."; 511 else 512 case $1 in #( 513 -*)set "./$1";; 514 esac; 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 516 ???[sx]*):;;*)false;;esac;fi 517 '\'' sh 518 ' 519fi 520as_executable_p=$as_test_x 521 522# Sed expression to map a string onto a valid CPP name. 523as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 524 525# Sed expression to map a string onto a valid variable name. 526as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 527 528 529 530# Check that we are running under the correct shell. 531SHELL=${CONFIG_SHELL-/bin/sh} 532 533case X$ECHO in 534X*--fallback-echo) 535 # Remove one level of quotation (which was required for Make). 536 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` 537 ;; 538esac 539 540echo=${ECHO-echo} 541if test "X$1" = X--no-reexec; then 542 # Discard the --no-reexec flag, and continue. 543 shift 544elif test "X$1" = X--fallback-echo; then 545 # Avoid inline document here, it may be left over 546 : 547elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then 548 # Yippee, $echo works! 549 : 550else 551 # Restart under the correct shell. 552 exec $SHELL "$0" --no-reexec ${1+"$@"} 553fi 554 555if test "X$1" = X--fallback-echo; then 556 # used as fallback echo 557 shift 558 cat <<EOF 559$* 560EOF 561 exit 0 562fi 563 564# The HP-UX ksh and POSIX shell print the target directory to stdout 565# if CDPATH is set. 566(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 567 568if test -z "$ECHO"; then 569if test "X${echo_test_string+set}" != Xset; then 570# find a string as large as possible, as long as the shell can cope with it 571 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 573 if (echo_test_string=`eval $cmd`) 2>/dev/null && 574 echo_test_string=`eval $cmd` && 575 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 576 then 577 break 578 fi 579 done 580fi 581 582if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 583 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 584 test "X$echo_testing_string" = "X$echo_test_string"; then 585 : 586else 587 # The Solaris, AIX, and Digital Unix default echo programs unquote 588 # backslashes. This makes it impossible to quote backslashes using 589 # echo "$something" | sed 's/\\/\\\\/g' 590 # 591 # So, first we look for a working echo in the user's PATH. 592 593 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 594 for dir in $PATH /usr/ucb; do 595 IFS="$lt_save_ifs" 596 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 597 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 598 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 599 test "X$echo_testing_string" = "X$echo_test_string"; then 600 echo="$dir/echo" 601 break 602 fi 603 done 604 IFS="$lt_save_ifs" 605 606 if test "X$echo" = Xecho; then 607 # We didn't find a better echo, so look for alternatives. 608 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && 609 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && 610 test "X$echo_testing_string" = "X$echo_test_string"; then 611 # This shell has a builtin print -r that does the trick. 612 echo='print -r' 613 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && 614 test "X$CONFIG_SHELL" != X/bin/ksh; then 615 # If we have ksh, try running configure again with it. 616 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 617 export ORIGINAL_CONFIG_SHELL 618 CONFIG_SHELL=/bin/ksh 619 export CONFIG_SHELL 620 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 621 else 622 # Try using printf. 623 echo='printf %s\n' 624 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 625 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 626 test "X$echo_testing_string" = "X$echo_test_string"; then 627 # Cool, printf works 628 : 629 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 630 test "X$echo_testing_string" = 'X\t' && 631 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 632 test "X$echo_testing_string" = "X$echo_test_string"; then 633 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 634 export CONFIG_SHELL 635 SHELL="$CONFIG_SHELL" 636 export SHELL 637 echo="$CONFIG_SHELL $0 --fallback-echo" 638 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 639 test "X$echo_testing_string" = 'X\t' && 640 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 641 test "X$echo_testing_string" = "X$echo_test_string"; then 642 echo="$CONFIG_SHELL $0 --fallback-echo" 643 else 644 # maybe with a smaller string... 645 prev=: 646 647 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 648 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null 649 then 650 break 651 fi 652 prev="$cmd" 653 done 654 655 if test "$prev" != 'sed 50q "$0"'; then 656 echo_test_string=`eval $prev` 657 export echo_test_string 658 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 659 else 660 # Oops. We lost completely, so just stick with echo. 661 echo=echo 662 fi 663 fi 664 fi 665 fi 666fi 667fi 668 669# Copy echo and quote the copy suitably for passing to libtool from 670# the Makefile, instead of quoting the original, which is used later. 671ECHO=$echo 672if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 673 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 674fi 675 676 677 678 679test -n "$DJDIR" || exec 7<&0 </dev/null 680exec 6>&1 681 682# Name of the host. 683# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 684# so uname gets run too. 685ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 686 687# 688# Initializations. 689# 690ac_default_prefix=/usr/local 691ac_clean_files= 692ac_config_libobj_dir=. 693LIBOBJS= 694cross_compiling=no 695subdirs= 696MFLAGS= 697MAKEFLAGS= 698 699# Identity of this package. 700PACKAGE_NAME='ntp' 701PACKAGE_TARNAME='ntp' 702PACKAGE_VERSION='4.2.4p8' 703PACKAGE_STRING='ntp 4.2.4p8' 704PACKAGE_BUGREPORT='' 705PACKAGE_URL='' 706 707# Factoring default headers for most tests. 708ac_includes_default="\ 709#include <stdio.h> 710#ifdef HAVE_SYS_TYPES_H 711# include <sys/types.h> 712#endif 713#ifdef HAVE_SYS_STAT_H 714# include <sys/stat.h> 715#endif 716#ifdef STDC_HEADERS 717# include <stdlib.h> 718# include <stddef.h> 719#else 720# ifdef HAVE_STDLIB_H 721# include <stdlib.h> 722# endif 723#endif 724#ifdef HAVE_STRING_H 725# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 726# include <memory.h> 727# endif 728# include <string.h> 729#endif 730#ifdef HAVE_STRINGS_H 731# include <strings.h> 732#endif 733#ifdef HAVE_INTTYPES_H 734# include <inttypes.h> 735#endif 736#ifdef HAVE_STDINT_H 737# include <stdint.h> 738#endif 739#ifdef HAVE_UNISTD_H 740# include <unistd.h> 741#endif" 742 743enable_option_checking=no 744ac_subst_vars='am__EXEEXT_FALSE 745am__EXEEXT_TRUE 746LTLIBOBJS 747LIBOBJS 748LSCF 749MAKE_NTPDSIM 750MAKE_LIBNTPSIM 751MAKE_TIMETRIM 752MAKE_TICKADJ 753MAKE_NTPTIME 754MAKE_ADJTIMED 755CLKTEST 756CHUTEST 757PROPDELAY 758MAKE_PARSEKMODULE 759DCFD 760TESTDCF 761MAKE_CHECK_LAYOUT 762EF_LIBS 763EF_PROGS 764LCRYPTO 765OPENSSL_LIB 766OPENSSL_INC 767OPENSSL 768MAKE_CHECK_Y2K 769MAKE_LIBPARSE_KERNEL 770MAKE_LIBPARSE 771LIBPARSE 772HAVE_INLINE 773ANSI2KNR 774U 775READLINE_LIBS 776PATH_PERL 777PATH_SH 778LIBTOOL 779RANLIB 780AR 781ECHO 782LN_S 783ARLIB_DIR 784subdirs 785BINSUBDIR 786LIBOPTS_CFLAGS 787LIBOPTS_LDADD 788NEED_LIBOPTS_FALSE 789NEED_LIBOPTS_TRUE 790INSTALL_LIBOPTS_FALSE 791INSTALL_LIBOPTS_TRUE 792LIBOPTS_DIR 793EGREP 794GREP 795CPP 796am__fastdepCC_FALSE 797am__fastdepCC_TRUE 798CCDEPMODE 799AMDEPBACKSLASH 800AMDEP_FALSE 801AMDEP_TRUE 802am__quote 803am__include 804DEPDIR 805OBJEXT 806EXEEXT 807ac_ct_CC 808CPPFLAGS 809LDFLAGS 810CFLAGS 811CC 812host_os 813host_vendor 814host_cpu 815host 816build_os 817build_vendor 818build_cpu 819build 820am__untar 821am__tar 822AMTAR 823am__leading_dot 824SET_MAKE 825AWK 826mkdir_p 827MKDIR_P 828INSTALL_STRIP_PROGRAM 829STRIP 830install_sh 831MAKEINFO 832AUTOHEADER 833AUTOMAKE 834AUTOCONF 835ACLOCAL 836VERSION 837PACKAGE 838CYGPATH_W 839am__isrc 840INSTALL_DATA 841INSTALL_SCRIPT 842INSTALL_PROGRAM 843target_alias 844host_alias 845build_alias 846LIBS 847ECHO_T 848ECHO_N 849ECHO_C 850DEFS 851mandir 852localedir 853libdir 854psdir 855pdfdir 856dvidir 857htmldir 858infodir 859docdir 860oldincludedir 861includedir 862localstatedir 863sharedstatedir 864sysconfdir 865datadir 866datarootdir 867libexecdir 868sbindir 869bindir 870program_transform_name 871prefix 872exec_prefix 873PACKAGE_URL 874PACKAGE_BUGREPORT 875PACKAGE_STRING 876PACKAGE_VERSION 877PACKAGE_TARNAME 878PACKAGE_NAME 879PATH_SEPARATOR 880SHELL' 881ac_subst_files='' 882ac_user_opts=' 883enable_option_checking 884enable_dependency_tracking 885enable_shared 886enable_local_libopts 887enable_libopts_install 888with_autoopts_config 889with_regex_header 890with_libregex 891with_libregex_cflags 892with_libregex_libs 893enable_optional_args 894with_binsubdir 895with_arlib 896with_rpath 897enable_static 898enable_fast_install 899with_gnu_ld 900enable_libtool_lock 901with_pic 902with_tags 903enable_getifaddrs 904enable_debugging 905enable_debug_timing 906enable_dst_minutes 907enable_ignore_dns_errors 908enable_BANCOMM 909enable_GPSVME 910enable_all_clocks 911enable_ACTS 912enable_ARBITER 913enable_ARCRON_MSF 914enable_AS2201 915enable_ATOM 916enable_CHRONOLOG 917enable_CHU 918enable_AUDIO_CHU 919enable_DATUM 920enable_DUMBCLOCK 921enable_FG 922enable_HEATH 923enable_HOPFSERIAL 924enable_HOPFPCI 925enable_HPGPS 926enable_IRIG 927enable_JJY 928enable_JUPITER 929enable_LEITCH 930enable_LOCAL_CLOCK 931enable_MX4200 932enable_NEOCLOCK4X 933enable_NMEA 934enable_ONCORE 935enable_PALISADE 936enable_PCF 937enable_PST 938enable_RIPENCC 939enable_SHM 940enable_SPECTRACOM 941enable_TPRO 942enable_TRUETIME 943enable_TT560 944enable_ULINK 945enable_WWV 946enable_ZYFER 947enable_parse_clocks 948enable_COMPUTIME 949enable_DCF7000 950enable_HOPF6021 951enable_MEINBERG 952enable_RAWDCF 953enable_RCC8000 954enable_SCHMID 955enable_TRIMTAIP 956enable_TRIMTSIP 957enable_WHARTON 958enable_VARITEXT 959with_openssl_libdir 960with_openssl_incdir 961with_crypto 962with_electricfence 963enable_kmem 964enable_accurate_adjtime 965enable_tick 966enable_tickadj 967enable_simulator 968enable_slew_always 969enable_step_slew 970enable_ntpdate_step 971enable_hourly_todr_sync 972enable_kernel_fll_bug 973enable_irig_sawtooth 974enable_nist 975enable_ntp_signd 976enable_wintime 977enable_clockctl 978enable_linuxcaps 979enable_ipv6 980with_kame 981' 982 ac_precious_vars='build_alias 983host_alias 984target_alias 985CC 986CFLAGS 987LDFLAGS 988LIBS 989CPPFLAGS 990CPP' 991ac_subdirs_all='arlib 992sntp' 993 994# Initialize some variables set by options. 995ac_init_help= 996ac_init_version=false 997ac_unrecognized_opts= 998ac_unrecognized_sep= 999# The variables have the same names as the options, with 1000# dashes changed to underlines. 1001cache_file=/dev/null 1002exec_prefix=NONE 1003no_create= 1004no_recursion= 1005prefix=NONE 1006program_prefix=NONE 1007program_suffix=NONE 1008program_transform_name=s,x,x, 1009silent= 1010site= 1011srcdir= 1012verbose= 1013x_includes=NONE 1014x_libraries=NONE 1015 1016# Installation directory options. 1017# These are left unexpanded so users can "make install exec_prefix=/foo" 1018# and all the variables that are supposed to be based on exec_prefix 1019# by default will actually change. 1020# Use braces instead of parens because sh, perl, etc. also accept them. 1021# (The list follows the same order as the GNU Coding Standards.) 1022bindir='${exec_prefix}/bin' 1023sbindir='${exec_prefix}/sbin' 1024libexecdir='${exec_prefix}/libexec' 1025datarootdir='${prefix}/share' 1026datadir='${datarootdir}' 1027sysconfdir='${prefix}/etc' 1028sharedstatedir='${prefix}/com' 1029localstatedir='${prefix}/var' 1030includedir='${prefix}/include' 1031oldincludedir='/usr/include' 1032docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1033infodir='${datarootdir}/info' 1034htmldir='${docdir}' 1035dvidir='${docdir}' 1036pdfdir='${docdir}' 1037psdir='${docdir}' 1038libdir='${exec_prefix}/lib' 1039localedir='${datarootdir}/locale' 1040mandir='${datarootdir}/man' 1041 1042ac_prev= 1043ac_dashdash= 1044for ac_option 1045do 1046 # If the previous option needs an argument, assign it. 1047 if test -n "$ac_prev"; then 1048 eval $ac_prev=\$ac_option 1049 ac_prev= 1050 continue 1051 fi 1052 1053 case $ac_option in 1054 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1055 *) ac_optarg=yes ;; 1056 esac 1057 1058 # Accept the important Cygnus configure options, so we can diagnose typos. 1059 1060 case $ac_dashdash$ac_option in 1061 --) 1062 ac_dashdash=yes ;; 1063 1064 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1065 ac_prev=bindir ;; 1066 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1067 bindir=$ac_optarg ;; 1068 1069 -build | --build | --buil | --bui | --bu) 1070 ac_prev=build_alias ;; 1071 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1072 build_alias=$ac_optarg ;; 1073 1074 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1075 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1076 ac_prev=cache_file ;; 1077 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1078 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1079 cache_file=$ac_optarg ;; 1080 1081 --config-cache | -C) 1082 cache_file=config.cache ;; 1083 1084 -datadir | --datadir | --datadi | --datad) 1085 ac_prev=datadir ;; 1086 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1087 datadir=$ac_optarg ;; 1088 1089 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1090 | --dataroo | --dataro | --datar) 1091 ac_prev=datarootdir ;; 1092 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1093 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1094 datarootdir=$ac_optarg ;; 1095 1096 -disable-* | --disable-*) 1097 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1098 # Reject names that are not valid shell variable names. 1099 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1100 as_fn_error "invalid feature name: $ac_useropt" 1101 ac_useropt_orig=$ac_useropt 1102 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1103 case $ac_user_opts in 1104 *" 1105"enable_$ac_useropt" 1106"*) ;; 1107 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1108 ac_unrecognized_sep=', ';; 1109 esac 1110 eval enable_$ac_useropt=no ;; 1111 1112 -docdir | --docdir | --docdi | --doc | --do) 1113 ac_prev=docdir ;; 1114 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1115 docdir=$ac_optarg ;; 1116 1117 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1118 ac_prev=dvidir ;; 1119 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1120 dvidir=$ac_optarg ;; 1121 1122 -enable-* | --enable-*) 1123 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1124 # Reject names that are not valid shell variable names. 1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1126 as_fn_error "invalid feature name: $ac_useropt" 1127 ac_useropt_orig=$ac_useropt 1128 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1129 case $ac_user_opts in 1130 *" 1131"enable_$ac_useropt" 1132"*) ;; 1133 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1134 ac_unrecognized_sep=', ';; 1135 esac 1136 eval enable_$ac_useropt=\$ac_optarg ;; 1137 1138 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1139 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1140 | --exec | --exe | --ex) 1141 ac_prev=exec_prefix ;; 1142 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1143 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1144 | --exec=* | --exe=* | --ex=*) 1145 exec_prefix=$ac_optarg ;; 1146 1147 -gas | --gas | --ga | --g) 1148 # Obsolete; use --with-gas. 1149 with_gas=yes ;; 1150 1151 -help | --help | --hel | --he | -h) 1152 ac_init_help=long ;; 1153 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1154 ac_init_help=recursive ;; 1155 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1156 ac_init_help=short ;; 1157 1158 -host | --host | --hos | --ho) 1159 ac_prev=host_alias ;; 1160 -host=* | --host=* | --hos=* | --ho=*) 1161 host_alias=$ac_optarg ;; 1162 1163 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1164 ac_prev=htmldir ;; 1165 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1166 | --ht=*) 1167 htmldir=$ac_optarg ;; 1168 1169 -includedir | --includedir | --includedi | --included | --include \ 1170 | --includ | --inclu | --incl | --inc) 1171 ac_prev=includedir ;; 1172 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1173 | --includ=* | --inclu=* | --incl=* | --inc=*) 1174 includedir=$ac_optarg ;; 1175 1176 -infodir | --infodir | --infodi | --infod | --info | --inf) 1177 ac_prev=infodir ;; 1178 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1179 infodir=$ac_optarg ;; 1180 1181 -libdir | --libdir | --libdi | --libd) 1182 ac_prev=libdir ;; 1183 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1184 libdir=$ac_optarg ;; 1185 1186 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1187 | --libexe | --libex | --libe) 1188 ac_prev=libexecdir ;; 1189 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1190 | --libexe=* | --libex=* | --libe=*) 1191 libexecdir=$ac_optarg ;; 1192 1193 -localedir | --localedir | --localedi | --localed | --locale) 1194 ac_prev=localedir ;; 1195 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1196 localedir=$ac_optarg ;; 1197 1198 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1199 | --localstate | --localstat | --localsta | --localst | --locals) 1200 ac_prev=localstatedir ;; 1201 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1202 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1203 localstatedir=$ac_optarg ;; 1204 1205 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1206 ac_prev=mandir ;; 1207 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1208 mandir=$ac_optarg ;; 1209 1210 -nfp | --nfp | --nf) 1211 # Obsolete; use --without-fp. 1212 with_fp=no ;; 1213 1214 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1215 | --no-cr | --no-c | -n) 1216 no_create=yes ;; 1217 1218 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1219 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1220 no_recursion=yes ;; 1221 1222 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1223 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1224 | --oldin | --oldi | --old | --ol | --o) 1225 ac_prev=oldincludedir ;; 1226 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1227 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1228 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1229 oldincludedir=$ac_optarg ;; 1230 1231 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1232 ac_prev=prefix ;; 1233 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1234 prefix=$ac_optarg ;; 1235 1236 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1237 | --program-pre | --program-pr | --program-p) 1238 ac_prev=program_prefix ;; 1239 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1240 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1241 program_prefix=$ac_optarg ;; 1242 1243 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1244 | --program-suf | --program-su | --program-s) 1245 ac_prev=program_suffix ;; 1246 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1247 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1248 program_suffix=$ac_optarg ;; 1249 1250 -program-transform-name | --program-transform-name \ 1251 | --program-transform-nam | --program-transform-na \ 1252 | --program-transform-n | --program-transform- \ 1253 | --program-transform | --program-transfor \ 1254 | --program-transfo | --program-transf \ 1255 | --program-trans | --program-tran \ 1256 | --progr-tra | --program-tr | --program-t) 1257 ac_prev=program_transform_name ;; 1258 -program-transform-name=* | --program-transform-name=* \ 1259 | --program-transform-nam=* | --program-transform-na=* \ 1260 | --program-transform-n=* | --program-transform-=* \ 1261 | --program-transform=* | --program-transfor=* \ 1262 | --program-transfo=* | --program-transf=* \ 1263 | --program-trans=* | --program-tran=* \ 1264 | --progr-tra=* | --program-tr=* | --program-t=*) 1265 program_transform_name=$ac_optarg ;; 1266 1267 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1268 ac_prev=pdfdir ;; 1269 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1270 pdfdir=$ac_optarg ;; 1271 1272 -psdir | --psdir | --psdi | --psd | --ps) 1273 ac_prev=psdir ;; 1274 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1275 psdir=$ac_optarg ;; 1276 1277 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1278 | -silent | --silent | --silen | --sile | --sil) 1279 silent=yes ;; 1280 1281 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1282 ac_prev=sbindir ;; 1283 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1284 | --sbi=* | --sb=*) 1285 sbindir=$ac_optarg ;; 1286 1287 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1288 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1289 | --sharedst | --shareds | --shared | --share | --shar \ 1290 | --sha | --sh) 1291 ac_prev=sharedstatedir ;; 1292 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1293 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1294 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1295 | --sha=* | --sh=*) 1296 sharedstatedir=$ac_optarg ;; 1297 1298 -site | --site | --sit) 1299 ac_prev=site ;; 1300 -site=* | --site=* | --sit=*) 1301 site=$ac_optarg ;; 1302 1303 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1304 ac_prev=srcdir ;; 1305 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1306 srcdir=$ac_optarg ;; 1307 1308 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1309 | --syscon | --sysco | --sysc | --sys | --sy) 1310 ac_prev=sysconfdir ;; 1311 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1312 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1313 sysconfdir=$ac_optarg ;; 1314 1315 -target | --target | --targe | --targ | --tar | --ta | --t) 1316 ac_prev=target_alias ;; 1317 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1318 target_alias=$ac_optarg ;; 1319 1320 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1321 verbose=yes ;; 1322 1323 -version | --version | --versio | --versi | --vers | -V) 1324 ac_init_version=: ;; 1325 1326 -with-* | --with-*) 1327 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1328 # Reject names that are not valid shell variable names. 1329 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1330 as_fn_error "invalid package name: $ac_useropt" 1331 ac_useropt_orig=$ac_useropt 1332 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1333 case $ac_user_opts in 1334 *" 1335"with_$ac_useropt" 1336"*) ;; 1337 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1338 ac_unrecognized_sep=', ';; 1339 esac 1340 eval with_$ac_useropt=\$ac_optarg ;; 1341 1342 -without-* | --without-*) 1343 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1344 # Reject names that are not valid shell variable names. 1345 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1346 as_fn_error "invalid package name: $ac_useropt" 1347 ac_useropt_orig=$ac_useropt 1348 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1349 case $ac_user_opts in 1350 *" 1351"with_$ac_useropt" 1352"*) ;; 1353 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1354 ac_unrecognized_sep=', ';; 1355 esac 1356 eval with_$ac_useropt=no ;; 1357 1358 --x) 1359 # Obsolete; use --with-x. 1360 with_x=yes ;; 1361 1362 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1363 | --x-incl | --x-inc | --x-in | --x-i) 1364 ac_prev=x_includes ;; 1365 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1366 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1367 x_includes=$ac_optarg ;; 1368 1369 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1370 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1371 ac_prev=x_libraries ;; 1372 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1373 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1374 x_libraries=$ac_optarg ;; 1375 1376 -*) as_fn_error "unrecognized option: \`$ac_option' 1377Try \`$0 --help' for more information." 1378 ;; 1379 1380 *=*) 1381 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1382 # Reject names that are not valid shell variable names. 1383 case $ac_envvar in #( 1384 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1385 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1386 esac 1387 eval $ac_envvar=\$ac_optarg 1388 export $ac_envvar ;; 1389 1390 *) 1391 # FIXME: should be removed in autoconf 3.0. 1392 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1393 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1394 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1395 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1396 ;; 1397 1398 esac 1399done 1400 1401if test -n "$ac_prev"; then 1402 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1403 as_fn_error "missing argument to $ac_option" 1404fi 1405 1406if test -n "$ac_unrecognized_opts"; then 1407 case $enable_option_checking in 1408 no) ;; 1409 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1410 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1411 esac 1412fi 1413 1414# Check all directory arguments for consistency. 1415for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1416 datadir sysconfdir sharedstatedir localstatedir includedir \ 1417 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1418 libdir localedir mandir 1419do 1420 eval ac_val=\$$ac_var 1421 # Remove trailing slashes. 1422 case $ac_val in 1423 */ ) 1424 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1425 eval $ac_var=\$ac_val;; 1426 esac 1427 # Be sure to have absolute directory names. 1428 case $ac_val in 1429 [\\/$]* | ?:[\\/]* ) continue;; 1430 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1431 esac 1432 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1433done 1434 1435# There might be people who depend on the old broken behavior: `$host' 1436# used to hold the argument of --host etc. 1437# FIXME: To remove some day. 1438build=$build_alias 1439host=$host_alias 1440target=$target_alias 1441 1442# FIXME: To remove some day. 1443if test "x$host_alias" != x; then 1444 if test "x$build_alias" = x; then 1445 cross_compiling=maybe 1446 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1447 If a cross compiler is detected then cross compile mode will be used." >&2 1448 elif test "x$build_alias" != "x$host_alias"; then 1449 cross_compiling=yes 1450 fi 1451fi 1452 1453ac_tool_prefix= 1454test -n "$host_alias" && ac_tool_prefix=$host_alias- 1455 1456test "$silent" = yes && exec 6>/dev/null 1457 1458 1459ac_pwd=`pwd` && test -n "$ac_pwd" && 1460ac_ls_di=`ls -di .` && 1461ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1462 as_fn_error "working directory cannot be determined" 1463test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1464 as_fn_error "pwd does not report name of working directory" 1465 1466 1467# Find the source files, if location was not specified. 1468if test -z "$srcdir"; then 1469 ac_srcdir_defaulted=yes 1470 # Try the directory containing this script, then the parent directory. 1471 ac_confdir=`$as_dirname -- "$as_myself" || 1472$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1473 X"$as_myself" : 'X\(//\)[^/]' \| \ 1474 X"$as_myself" : 'X\(//\)$' \| \ 1475 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1476$as_echo X"$as_myself" | 1477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1478 s//\1/ 1479 q 1480 } 1481 /^X\(\/\/\)[^/].*/{ 1482 s//\1/ 1483 q 1484 } 1485 /^X\(\/\/\)$/{ 1486 s//\1/ 1487 q 1488 } 1489 /^X\(\/\).*/{ 1490 s//\1/ 1491 q 1492 } 1493 s/.*/./; q'` 1494 srcdir=$ac_confdir 1495 if test ! -r "$srcdir/$ac_unique_file"; then 1496 srcdir=.. 1497 fi 1498else 1499 ac_srcdir_defaulted=no 1500fi 1501if test ! -r "$srcdir/$ac_unique_file"; then 1502 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1503 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1504fi 1505ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1506ac_abs_confdir=`( 1507 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1508 pwd)` 1509# When building in place, set srcdir=. 1510if test "$ac_abs_confdir" = "$ac_pwd"; then 1511 srcdir=. 1512fi 1513# Remove unnecessary trailing slashes from srcdir. 1514# Double slashes in file names in object file debugging info 1515# mess up M-x gdb in Emacs. 1516case $srcdir in 1517*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1518esac 1519for ac_var in $ac_precious_vars; do 1520 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1521 eval ac_env_${ac_var}_value=\$${ac_var} 1522 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1523 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1524done 1525 1526# 1527# Report the --help message. 1528# 1529if test "$ac_init_help" = "long"; then 1530 # Omit some internal or obsolete options to make the list less imposing. 1531 # This message is too long to be a string in the A/UX 3.1 sh. 1532 cat <<_ACEOF 1533\`configure' configures ntp 4.2.4p8 to adapt to many kinds of systems. 1534 1535Usage: $0 [OPTION]... [VAR=VALUE]... 1536 1537To assign environment variables (e.g., CC, CFLAGS...), specify them as 1538VAR=VALUE. See below for descriptions of some of the useful variables. 1539 1540Defaults for the options are specified in brackets. 1541 1542Configuration: 1543 -h, --help display this help and exit 1544 --help=short display options specific to this package 1545 --help=recursive display the short help of all the included packages 1546 -V, --version display version information and exit 1547 -q, --quiet, --silent do not print \`checking...' messages 1548 --cache-file=FILE cache test results in FILE [disabled] 1549 -C, --config-cache alias for \`--cache-file=config.cache' 1550 -n, --no-create do not create output files 1551 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1552 1553Installation directories: 1554 --prefix=PREFIX install architecture-independent files in PREFIX 1555 [$ac_default_prefix] 1556 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1557 [PREFIX] 1558 1559By default, \`make install' will install all the files in 1560\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1561an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1562for instance \`--prefix=\$HOME'. 1563 1564For better control, use the options below. 1565 1566Fine tuning of the installation directories: 1567 --bindir=DIR user executables [EPREFIX/bin] 1568 --sbindir=DIR system admin executables [EPREFIX/sbin] 1569 --libexecdir=DIR program executables [EPREFIX/libexec] 1570 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1571 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1572 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1573 --libdir=DIR object code libraries [EPREFIX/lib] 1574 --includedir=DIR C header files [PREFIX/include] 1575 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1576 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1577 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1578 --infodir=DIR info documentation [DATAROOTDIR/info] 1579 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1580 --mandir=DIR man documentation [DATAROOTDIR/man] 1581 --docdir=DIR documentation root [DATAROOTDIR/doc/ntp] 1582 --htmldir=DIR html documentation [DOCDIR] 1583 --dvidir=DIR dvi documentation [DOCDIR] 1584 --pdfdir=DIR pdf documentation [DOCDIR] 1585 --psdir=DIR ps documentation [DOCDIR] 1586_ACEOF 1587 1588 cat <<\_ACEOF 1589 1590Program names: 1591 --program-prefix=PREFIX prepend PREFIX to installed program names 1592 --program-suffix=SUFFIX append SUFFIX to installed program names 1593 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1594 1595System types: 1596 --build=BUILD configure for building on BUILD [guessed] 1597 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1598_ACEOF 1599fi 1600 1601if test -n "$ac_init_help"; then 1602 case $ac_init_help in 1603 short | recursive ) echo "Configuration of ntp 4.2.4p8:";; 1604 esac 1605 cat <<\_ACEOF 1606 1607Optional Features: 1608 --disable-option-checking ignore unrecognized --enable/--with options 1609 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1610 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1611 --disable-dependency-tracking speeds up one-time build 1612 --enable-dependency-tracking do not reject slow dependency extractors 1613 --enable-shared[=PKGS] build shared libraries [default=no] 1614 --enable-local-libopts Force using the supplied libopts tearoff code 1615 --disable-libopts-install 1616 Do not install libopts with client installation 1617 --disable-optional-args not wanting optional option args 1618 --enable-static[=PKGS] build static libraries [default=yes] 1619 --enable-fast-install[=PKGS] 1620 optimize for fast installation [default=yes] 1621 --disable-libtool-lock avoid locking (might break parallel builds) 1622 --enable-getifaddrs s Enable the use of getifaddrs() [[yes|no|glibc]]. 1623 glibc: Use getifaddrs() in glibc if you know it 1624 supports IPv6. 1625 --enable-debugging + include debugging code 1626 --enable-debug-timing - include processing time debugging code (costs 1627 performance) 1628 --enable-dst-minutes n minutes per DST adjustment [60] 1629 --enable-ignore-dns-errors 1630 - retry DNS queries on any error 1631 --enable-BANCOMM - Datum/Bancomm bc635/VME interface 1632 --enable-GPSVME - TrueTime GPS receiver/VME interface 1633 --enable-all-clocks + include all suitable non-PARSE clocks: 1634 --enable-ACTS s ACTS modem service 1635 --enable-ARBITER + Arbiter 1088A/B GPS receiver 1636 --enable-ARCRON-MSF + Arcron MSF receiver 1637 --enable-AS2201 + Austron 2200A/2201A GPS receiver 1638 --enable-ATOM s ATOM PPS interface 1639 --enable-CHRONOLOG + Chrono-log K-series WWVB receiver 1640 --enable-CHU + CHU modem/decoder 1641 --enable-AUDIO-CHU s CHU audio/decoder 1642 --enable-DATUM s Datum Programmable Time System 1643 --enable-DUMBCLOCK + Dumb generic hh:mm:ss local clock 1644 --enable-FG + Forum Graphic GPS 1645 --enable-HEATH s Heath GC-1000 WWV/WWVH receiver 1646 --enable-HOPFSERIAL + hopf serial clock device 1647 --enable-HOPFPCI + hopf 6039 PCI board 1648 --enable-HPGPS + HP 58503A GPS receiver 1649 --enable-IRIG s IRIG audio decoder 1650 --enable-JJY + JJY receiver 1651 --enable-JUPITER s Rockwell Jupiter GPS receiver 1652 --enable-LEITCH + Leitch CSD 5300 Master Clock System Driver 1653 --enable-LOCAL-CLOCK + local clock reference 1654 --enable-MX4200 s Magnavox MX4200 GPS receiver 1655 --enable-NEOCLOCK4X + NeoClock4X DCF77 / TDF receiver 1656 --enable-NMEA + NMEA GPS receiver 1657 --enable-ONCORE s Motorola VP/UT Oncore GPS receiver 1658 --enable-PALISADE s Palisade clock 1659 --enable-PCF + Conrad parallel port radio clock 1660 --enable-PST + PST/Traconex 1020 WWV/WWVH receiver 1661 --enable-RIPENCC - RIPENCC specific Trimble driver 1662 --enable-SHM s SHM clock attached thru shared memory 1663 --enable-SPECTRACOM + Spectracom 8170/Netclock/2 WWVB receiver 1664 --enable-TPRO s KSI/Odetics TPRO/S GPS receiver/IRIG interface 1665 --enable-TRUETIME s Kinemetrics/TrueTime receivers 1666 --enable-TT560 - TrueTime 560 IRIG-B decoder 1667 --enable-ULINK + Ultralink WWVB receiver 1668 --enable-WWV s WWV Audio receiver 1669 --enable-ZYFER + Zyfer GPStarplus receiver 1670 --enable-parse-clocks - include all suitable PARSE clocks: 1671 --enable-COMPUTIME s Diem Computime Radio Clock 1672 --enable-DCF7000 s ELV/DCF7000 clock 1673 --enable-HOPF6021 s HOPF 6021 clock 1674 --enable-MEINBERG s Meinberg clocks 1675 --enable-RAWDCF s DCF77 raw time code 1676 --enable-RCC8000 s RCC 8000 clock 1677 --enable-SCHMID s Schmid DCF77 clock 1678 --enable-TRIMTAIP s Trimble GPS receiver/TAIP protocol 1679 --enable-TRIMTSIP s Trimble GPS receiver/TSIP protocol 1680 --enable-WHARTON s WHARTON 400A Series clock 1681 --enable-VARITEXT s VARITEXT clock 1682 --enable-kmem s read /dev/kmem for tick and/or tickadj 1683 --enable-accurate-adjtime 1684 s the adjtime() call is accurate 1685 --enable-tick=VALUE s force a value for 'tick' 1686 --enable-tickadj=VALUE s force a value for 'tickadj' 1687 --enable-simulator - build/install the NTPD simulator? 1688 --enable-slew-always s always slew the time 1689 --enable-step-slew s step and slew the time 1690 --enable-ntpdate-step s if ntpdate should step the time 1691 --enable-hourly-todr…
Large files files are truncated, but you can click here to view the full file