/contrib/ntp/configure

https://bitbucket.org/freebsd/freebsd-head/ · Shell · 27398 lines · 22427 code · 2626 blank · 2345 comment · 1966 complexity · 05e1828a59a7c48b290a0618022a31b1 MD5 · raw file

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