You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10362 lines
289 KiB

  1. commit af5bb175ec78d97d34e0c140cfbb1039c52c7159
  2. Author: Maxim Storchak <m.storchak@gmail.com>
  3. Date: Thu Dec 7 22:48:00 2017 +0200
  4. rm
  5. diff --git a/configure.sh b/configure.sh
  6. deleted file mode 100755
  7. index d6e9c8d..0000000
  8. --- a/configure.sh
  9. +++ /dev/null
  10. @@ -1,10350 +0,0 @@
  11. -#! /bin/sh
  12. -# Guess values for system-dependent variables and create Makefiles.
  13. -# Generated by GNU Autoconf 2.69 for rsync 3.1.2.
  14. -#
  15. -# Report bugs to <http://rsync.samba.org/bugzilla.html>.
  16. -#
  17. -#
  18. -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  19. -#
  20. -#
  21. -# This configure script is free software; the Free Software Foundation
  22. -# gives unlimited permission to copy, distribute and modify it.
  23. -## -------------------- ##
  24. -## M4sh Initialization. ##
  25. -## -------------------- ##
  26. -
  27. -# Be more Bourne compatible
  28. -DUALCASE=1; export DUALCASE # for MKS sh
  29. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  30. - emulate sh
  31. - NULLCMD=:
  32. - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  33. - # is contrary to our usage. Disable this feature.
  34. - alias -g '${1+"$@"}'='"$@"'
  35. - setopt NO_GLOB_SUBST
  36. -else
  37. - case `(set -o) 2>/dev/null` in #(
  38. - *posix*) :
  39. - set -o posix ;; #(
  40. - *) :
  41. - ;;
  42. -esac
  43. -fi
  44. -
  45. -
  46. -as_nl='
  47. -'
  48. -export as_nl
  49. -# Printing a long string crashes Solaris 7 /usr/bin/printf.
  50. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  51. -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  52. -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  53. -# Prefer a ksh shell builtin over an external printf program on Solaris,
  54. -# but without wasting forks for bash or zsh.
  55. -if test -z "$BASH_VERSION$ZSH_VERSION" \
  56. - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  57. - as_echo='print -r --'
  58. - as_echo_n='print -rn --'
  59. -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  60. - as_echo='printf %s\n'
  61. - as_echo_n='printf %s'
  62. -else
  63. - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  64. - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  65. - as_echo_n='/usr/ucb/echo -n'
  66. - else
  67. - as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  68. - as_echo_n_body='eval
  69. - arg=$1;
  70. - case $arg in #(
  71. - *"$as_nl"*)
  72. - expr "X$arg" : "X\\(.*\\)$as_nl";
  73. - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  74. - esac;
  75. - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  76. - '
  77. - export as_echo_n_body
  78. - as_echo_n='sh -c $as_echo_n_body as_echo'
  79. - fi
  80. - export as_echo_body
  81. - as_echo='sh -c $as_echo_body as_echo'
  82. -fi
  83. -
  84. -# The user is always right.
  85. -if test "${PATH_SEPARATOR+set}" != set; then
  86. - PATH_SEPARATOR=:
  87. - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  88. - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  89. - PATH_SEPARATOR=';'
  90. - }
  91. -fi
  92. -
  93. -
  94. -# IFS
  95. -# We need space, tab and new line, in precisely that order. Quoting is
  96. -# there to prevent editors from complaining about space-tab.
  97. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  98. -# splitting by setting IFS to empty value.)
  99. -IFS=" "" $as_nl"
  100. -
  101. -# Find who we are. Look in the path if we contain no directory separator.
  102. -as_myself=
  103. -case $0 in #((
  104. - *[\\/]* ) as_myself=$0 ;;
  105. - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  106. -for as_dir in $PATH
  107. -do
  108. - IFS=$as_save_IFS
  109. - test -z "$as_dir" && as_dir=.
  110. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  111. - done
  112. -IFS=$as_save_IFS
  113. -
  114. - ;;
  115. -esac
  116. -# We did not find ourselves, most probably we were run as `sh COMMAND'
  117. -# in which case we are not to be found in the path.
  118. -if test "x$as_myself" = x; then
  119. - as_myself=$0
  120. -fi
  121. -if test ! -f "$as_myself"; then
  122. - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  123. - exit 1
  124. -fi
  125. -
  126. -# Unset variables that we do not need and which cause bugs (e.g. in
  127. -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  128. -# suppresses any "Segmentation fault" message there. '((' could
  129. -# trigger a bug in pdksh 5.2.14.
  130. -for as_var in BASH_ENV ENV MAIL MAILPATH
  131. -do eval test x\${$as_var+set} = xset \
  132. - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  133. -done
  134. -PS1='$ '
  135. -PS2='> '
  136. -PS4='+ '
  137. -
  138. -# NLS nuisances.
  139. -LC_ALL=C
  140. -export LC_ALL
  141. -LANGUAGE=C
  142. -export LANGUAGE
  143. -
  144. -# CDPATH.
  145. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  146. -
  147. -# Use a proper internal environment variable to ensure we don't fall
  148. - # into an infinite loop, continuously re-executing ourselves.
  149. - if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  150. - _as_can_reexec=no; export _as_can_reexec;
  151. - # We cannot yet assume a decent shell, so we have to provide a
  152. -# neutralization value for shells without unset; and this also
  153. -# works around shells that cannot unset nonexistent variables.
  154. -# Preserve -v and -x to the replacement shell.
  155. -BASH_ENV=/dev/null
  156. -ENV=/dev/null
  157. -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  158. -case $- in # ((((
  159. - *v*x* | *x*v* ) as_opts=-vx ;;
  160. - *v* ) as_opts=-v ;;
  161. - *x* ) as_opts=-x ;;
  162. - * ) as_opts= ;;
  163. -esac
  164. -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  165. -# Admittedly, this is quite paranoid, since all the known shells bail
  166. -# out after a failed `exec'.
  167. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  168. -as_fn_exit 255
  169. - fi
  170. - # We don't want this to propagate to other subprocesses.
  171. - { _as_can_reexec=; unset _as_can_reexec;}
  172. -if test "x$CONFIG_SHELL" = x; then
  173. - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  174. - emulate sh
  175. - NULLCMD=:
  176. - # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  177. - # is contrary to our usage. Disable this feature.
  178. - alias -g '\${1+\"\$@\"}'='\"\$@\"'
  179. - setopt NO_GLOB_SUBST
  180. -else
  181. - case \`(set -o) 2>/dev/null\` in #(
  182. - *posix*) :
  183. - set -o posix ;; #(
  184. - *) :
  185. - ;;
  186. -esac
  187. -fi
  188. -"
  189. - as_required="as_fn_return () { (exit \$1); }
  190. -as_fn_success () { as_fn_return 0; }
  191. -as_fn_failure () { as_fn_return 1; }
  192. -as_fn_ret_success () { return 0; }
  193. -as_fn_ret_failure () { return 1; }
  194. -
  195. -exitcode=0
  196. -as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  197. -as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  198. -as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  199. -as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  200. -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  201. -
  202. -else
  203. - exitcode=1; echo positional parameters were not saved.
  204. -fi
  205. -test x\$exitcode = x0 || exit 1
  206. -test -x / || exit 1"
  207. - as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  208. - as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  209. - eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  210. - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  211. -test \$(( 1 + 1 )) = 2 || exit 1"
  212. - if (eval "$as_required") 2>/dev/null; then :
  213. - as_have_required=yes
  214. -else
  215. - as_have_required=no
  216. -fi
  217. - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  218. -
  219. -else
  220. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  221. -as_found=false
  222. -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  223. -do
  224. - IFS=$as_save_IFS
  225. - test -z "$as_dir" && as_dir=.
  226. - as_found=:
  227. - case $as_dir in #(
  228. - /*)
  229. - for as_base in sh bash ksh sh5; do
  230. - # Try only shells that exist, to save several forks.
  231. - as_shell=$as_dir/$as_base
  232. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  233. - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  234. - CONFIG_SHELL=$as_shell as_have_required=yes
  235. - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  236. - break 2
  237. -fi
  238. -fi
  239. - done;;
  240. - esac
  241. - as_found=false
  242. -done
  243. -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  244. - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  245. - CONFIG_SHELL=$SHELL as_have_required=yes
  246. -fi; }
  247. -IFS=$as_save_IFS
  248. -
  249. -
  250. - if test "x$CONFIG_SHELL" != x; then :
  251. - export CONFIG_SHELL
  252. - # We cannot yet assume a decent shell, so we have to provide a
  253. -# neutralization value for shells without unset; and this also
  254. -# works around shells that cannot unset nonexistent variables.
  255. -# Preserve -v and -x to the replacement shell.
  256. -BASH_ENV=/dev/null
  257. -ENV=/dev/null
  258. -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  259. -case $- in # ((((
  260. - *v*x* | *x*v* ) as_opts=-vx ;;
  261. - *v* ) as_opts=-v ;;
  262. - *x* ) as_opts=-x ;;
  263. - * ) as_opts= ;;
  264. -esac
  265. -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  266. -# Admittedly, this is quite paranoid, since all the known shells bail
  267. -# out after a failed `exec'.
  268. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  269. -exit 255
  270. -fi
  271. -
  272. - if test x$as_have_required = xno; then :
  273. - $as_echo "$0: This script requires a shell more modern than all"
  274. - $as_echo "$0: the shells that I found on your system."
  275. - if test x${ZSH_VERSION+set} = xset ; then
  276. - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  277. - $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  278. - else
  279. - $as_echo "$0: Please tell bug-autoconf@gnu.org and
  280. -$0: http://rsync.samba.org/bugzilla.html about your system,
  281. -$0: including any error possibly output before this
  282. -$0: message. Then install a modern shell, or manually run
  283. -$0: the script under such a shell if you do have one."
  284. - fi
  285. - exit 1
  286. -fi
  287. -fi
  288. -fi
  289. -SHELL=${CONFIG_SHELL-/bin/sh}
  290. -export SHELL
  291. -# Unset more variables known to interfere with behavior of common tools.
  292. -CLICOLOR_FORCE= GREP_OPTIONS=
  293. -unset CLICOLOR_FORCE GREP_OPTIONS
  294. -
  295. -## --------------------- ##
  296. -## M4sh Shell Functions. ##
  297. -## --------------------- ##
  298. -# as_fn_unset VAR
  299. -# ---------------
  300. -# Portably unset VAR.
  301. -as_fn_unset ()
  302. -{
  303. - { eval $1=; unset $1;}
  304. -}
  305. -as_unset=as_fn_unset
  306. -
  307. -# as_fn_set_status STATUS
  308. -# -----------------------
  309. -# Set $? to STATUS, without forking.
  310. -as_fn_set_status ()
  311. -{
  312. - return $1
  313. -} # as_fn_set_status
  314. -
  315. -# as_fn_exit STATUS
  316. -# -----------------
  317. -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  318. -as_fn_exit ()
  319. -{
  320. - set +e
  321. - as_fn_set_status $1
  322. - exit $1
  323. -} # as_fn_exit
  324. -
  325. -# as_fn_mkdir_p
  326. -# -------------
  327. -# Create "$as_dir" as a directory, including parents if necessary.
  328. -as_fn_mkdir_p ()
  329. -{
  330. -
  331. - case $as_dir in #(
  332. - -*) as_dir=./$as_dir;;
  333. - esac
  334. - test -d "$as_dir" || eval $as_mkdir_p || {
  335. - as_dirs=
  336. - while :; do
  337. - case $as_dir in #(
  338. - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  339. - *) as_qdir=$as_dir;;
  340. - esac
  341. - as_dirs="'$as_qdir' $as_dirs"
  342. - as_dir=`$as_dirname -- "$as_dir" ||
  343. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  344. - X"$as_dir" : 'X\(//\)[^/]' \| \
  345. - X"$as_dir" : 'X\(//\)$' \| \
  346. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  347. -$as_echo X"$as_dir" |
  348. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  349. - s//\1/
  350. - q
  351. - }
  352. - /^X\(\/\/\)[^/].*/{
  353. - s//\1/
  354. - q
  355. - }
  356. - /^X\(\/\/\)$/{
  357. - s//\1/
  358. - q
  359. - }
  360. - /^X\(\/\).*/{
  361. - s//\1/
  362. - q
  363. - }
  364. - s/.*/./; q'`
  365. - test -d "$as_dir" && break
  366. - done
  367. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  368. - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  369. -
  370. -
  371. -} # as_fn_mkdir_p
  372. -
  373. -# as_fn_executable_p FILE
  374. -# -----------------------
  375. -# Test if FILE is an executable regular file.
  376. -as_fn_executable_p ()
  377. -{
  378. - test -f "$1" && test -x "$1"
  379. -} # as_fn_executable_p
  380. -# as_fn_append VAR VALUE
  381. -# ----------------------
  382. -# Append the text in VALUE to the end of the definition contained in VAR. Take
  383. -# advantage of any shell optimizations that allow amortized linear growth over
  384. -# repeated appends, instead of the typical quadratic growth present in naive
  385. -# implementations.
  386. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  387. - eval 'as_fn_append ()
  388. - {
  389. - eval $1+=\$2
  390. - }'
  391. -else
  392. - as_fn_append ()
  393. - {
  394. - eval $1=\$$1\$2
  395. - }
  396. -fi # as_fn_append
  397. -
  398. -# as_fn_arith ARG...
  399. -# ------------------
  400. -# Perform arithmetic evaluation on the ARGs, and store the result in the
  401. -# global $as_val. Take advantage of shells that can avoid forks. The arguments
  402. -# must be portable across $(()) and expr.
  403. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  404. - eval 'as_fn_arith ()
  405. - {
  406. - as_val=$(( $* ))
  407. - }'
  408. -else
  409. - as_fn_arith ()
  410. - {
  411. - as_val=`expr "$@" || test $? -eq 1`
  412. - }
  413. -fi # as_fn_arith
  414. -
  415. -
  416. -# as_fn_error STATUS ERROR [LINENO LOG_FD]
  417. -# ----------------------------------------
  418. -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  419. -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  420. -# script with STATUS, using 1 if that was 0.
  421. -as_fn_error ()
  422. -{
  423. - as_status=$1; test $as_status -eq 0 && as_status=1
  424. - if test "$4"; then
  425. - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  426. - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  427. - fi
  428. - $as_echo "$as_me: error: $2" >&2
  429. - as_fn_exit $as_status
  430. -} # as_fn_error
  431. -
  432. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  433. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  434. - as_expr=expr
  435. -else
  436. - as_expr=false
  437. -fi
  438. -
  439. -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  440. - as_basename=basename
  441. -else
  442. - as_basename=false
  443. -fi
  444. -
  445. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  446. - as_dirname=dirname
  447. -else
  448. - as_dirname=false
  449. -fi
  450. -
  451. -as_me=`$as_basename -- "$0" ||
  452. -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  453. - X"$0" : 'X\(//\)$' \| \
  454. - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  455. -$as_echo X/"$0" |
  456. - sed '/^.*\/\([^/][^/]*\)\/*$/{
  457. - s//\1/
  458. - q
  459. - }
  460. - /^X\/\(\/\/\)$/{
  461. - s//\1/
  462. - q
  463. - }
  464. - /^X\/\(\/\).*/{
  465. - s//\1/
  466. - q
  467. - }
  468. - s/.*/./; q'`
  469. -
  470. -# Avoid depending upon Character Ranges.
  471. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  472. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  473. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  474. -as_cr_digits='0123456789'
  475. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  476. -
  477. -
  478. - as_lineno_1=$LINENO as_lineno_1a=$LINENO
  479. - as_lineno_2=$LINENO as_lineno_2a=$LINENO
  480. - eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  481. - test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  482. - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  483. - sed -n '
  484. - p
  485. - /[$]LINENO/=
  486. - ' <$as_myself |
  487. - sed '
  488. - s/[$]LINENO.*/&-/
  489. - t lineno
  490. - b
  491. - :lineno
  492. - N
  493. - :loop
  494. - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  495. - t loop
  496. - s/-\n.*//
  497. - ' >$as_me.lineno &&
  498. - chmod +x "$as_me.lineno" ||
  499. - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  500. -
  501. - # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  502. - # already done that, so ensure we don't try to do so again and fall
  503. - # in an infinite loop. This has already happened in practice.
  504. - _as_can_reexec=no; export _as_can_reexec
  505. - # Don't try to exec as it changes $[0], causing all sort of problems
  506. - # (the dirname of $[0] is not the place where we might find the
  507. - # original and so on. Autoconf is especially sensitive to this).
  508. - . "./$as_me.lineno"
  509. - # Exit status is that of the last command.
  510. - exit
  511. -}
  512. -
  513. -ECHO_C= ECHO_N= ECHO_T=
  514. -case `echo -n x` in #(((((
  515. --n*)
  516. - case `echo 'xy\c'` in
  517. - *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  518. - xy) ECHO_C='\c';;
  519. - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  520. - ECHO_T=' ';;
  521. - esac;;
  522. -*)
  523. - ECHO_N='-n';;
  524. -esac
  525. -
  526. -rm -f conf$$ conf$$.exe conf$$.file
  527. -if test -d conf$$.dir; then
  528. - rm -f conf$$.dir/conf$$.file
  529. -else
  530. - rm -f conf$$.dir
  531. - mkdir conf$$.dir 2>/dev/null
  532. -fi
  533. -if (echo >conf$$.file) 2>/dev/null; then
  534. - if ln -s conf$$.file conf$$ 2>/dev/null; then
  535. - as_ln_s='ln -s'
  536. - # ... but there are two gotchas:
  537. - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  538. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  539. - # In both cases, we have to default to `cp -pR'.
  540. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  541. - as_ln_s='cp -pR'
  542. - elif ln conf$$.file conf$$ 2>/dev/null; then
  543. - as_ln_s=ln
  544. - else
  545. - as_ln_s='cp -pR'
  546. - fi
  547. -else
  548. - as_ln_s='cp -pR'
  549. -fi
  550. -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  551. -rmdir conf$$.dir 2>/dev/null
  552. -
  553. -if mkdir -p . 2>/dev/null; then
  554. - as_mkdir_p='mkdir -p "$as_dir"'
  555. -else
  556. - test -d ./-p && rmdir ./-p
  557. - as_mkdir_p=false
  558. -fi
  559. -
  560. -as_test_x='test -x'
  561. -as_executable_p=as_fn_executable_p
  562. -
  563. -# Sed expression to map a string onto a valid CPP name.
  564. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  565. -
  566. -# Sed expression to map a string onto a valid variable name.
  567. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  568. -
  569. -
  570. -test -n "$DJDIR" || exec 7<&0 </dev/null
  571. -exec 6>&1
  572. -
  573. -# Name of the host.
  574. -# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  575. -# so uname gets run too.
  576. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  577. -
  578. -#
  579. -# Initializations.
  580. -#
  581. -ac_default_prefix=/usr/local
  582. -ac_clean_files=
  583. -ac_config_libobj_dir=.
  584. -LIBOBJS=
  585. -cross_compiling=no
  586. -subdirs=
  587. -MFLAGS=
  588. -MAKEFLAGS=
  589. -
  590. -# Identity of this package.
  591. -PACKAGE_NAME='rsync'
  592. -PACKAGE_TARNAME='rsync'
  593. -PACKAGE_VERSION='3.1.2'
  594. -PACKAGE_STRING='rsync 3.1.2'
  595. -PACKAGE_BUGREPORT='http://rsync.samba.org/bugzilla.html'
  596. -PACKAGE_URL=''
  597. -
  598. -ac_unique_file="byteorder.h"
  599. -ac_config_libobj_dir=lib
  600. -# Factoring default headers for most tests.
  601. -ac_includes_default="\
  602. -#include <stdio.h>
  603. -#ifdef HAVE_SYS_TYPES_H
  604. -# include <sys/types.h>
  605. -#endif
  606. -#ifdef HAVE_SYS_STAT_H
  607. -# include <sys/stat.h>
  608. -#endif
  609. -#ifdef STDC_HEADERS
  610. -# include <stdlib.h>
  611. -# include <stddef.h>
  612. -#else
  613. -# ifdef HAVE_STDLIB_H
  614. -# include <stdlib.h>
  615. -# endif
  616. -#endif
  617. -#ifdef HAVE_STRING_H
  618. -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  619. -# include <memory.h>
  620. -# endif
  621. -# include <string.h>
  622. -#endif
  623. -#ifdef HAVE_STRINGS_H
  624. -# include <strings.h>
  625. -#endif
  626. -#ifdef HAVE_INTTYPES_H
  627. -# include <inttypes.h>
  628. -#endif
  629. -#ifdef HAVE_STDINT_H
  630. -# include <stdint.h>
  631. -#endif
  632. -#ifdef HAVE_UNISTD_H
  633. -# include <unistd.h>
  634. -#endif"
  635. -
  636. -ac_header_list=
  637. -ac_subst_vars='LTLIBOBJS
  638. -STUNNEL4
  639. -STUNNEL
  640. -MAKE_MAN
  641. -BUILD_ZLIB
  642. -BUILD_POPT
  643. -CC_SHOBJ_FLAG
  644. -OBJ_RESTORE
  645. -OBJ_SAVE
  646. -ALLOCA
  647. -LIBOBJS
  648. -FAKEROOT_PATH
  649. -SHELL_PATH
  650. -HAVE_YODL2MAN
  651. -HAVE_REMSH
  652. -PERL
  653. -MKDIR_P
  654. -INSTALL_DATA
  655. -INSTALL_SCRIPT
  656. -INSTALL_PROGRAM
  657. -EGREP
  658. -GREP
  659. -CPP
  660. -OBJEXT
  661. -EXEEXT
  662. -ac_ct_CC
  663. -CPPFLAGS
  664. -LDFLAGS
  665. -CFLAGS
  666. -CC
  667. -host_os
  668. -host_vendor
  669. -host_cpu
  670. -host
  671. -build_os
  672. -build_vendor
  673. -build_cpu
  674. -build
  675. -RSYNC_VERSION
  676. -target_alias
  677. -host_alias
  678. -build_alias
  679. -LIBS
  680. -ECHO_T
  681. -ECHO_N
  682. -ECHO_C
  683. -DEFS
  684. -mandir
  685. -localedir
  686. -libdir
  687. -psdir
  688. -pdfdir
  689. -dvidir
  690. -htmldir
  691. -infodir
  692. -docdir
  693. -oldincludedir
  694. -includedir
  695. -localstatedir
  696. -sharedstatedir
  697. -sysconfdir
  698. -datadir
  699. -datarootdir
  700. -libexecdir
  701. -sbindir
  702. -bindir
  703. -program_transform_name
  704. -prefix
  705. -exec_prefix
  706. -PACKAGE_URL
  707. -PACKAGE_BUGREPORT
  708. -PACKAGE_STRING
  709. -PACKAGE_VERSION
  710. -PACKAGE_TARNAME
  711. -PACKAGE_NAME
  712. -PATH_SEPARATOR
  713. -SHELL'
  714. -ac_subst_files=''
  715. -ac_user_opts='
  716. -enable_option_checking
  717. -enable_debug
  718. -enable_profile
  719. -enable_maintainer_mode
  720. -with_included_popt
  721. -with_included_zlib
  722. -with_protected_args
  723. -with_rsync_path
  724. -with_rsyncd_conf
  725. -with_rsh
  726. -with_nobody_group
  727. -enable_largefile
  728. -enable_ipv6
  729. -enable_locale
  730. -enable_iconv_open
  731. -enable_iconv
  732. -enable_acl_support
  733. -enable_xattr_support
  734. -'
  735. - ac_precious_vars='build_alias
  736. -host_alias
  737. -target_alias
  738. -CC
  739. -CFLAGS
  740. -LDFLAGS
  741. -LIBS
  742. -CPPFLAGS
  743. -CPP'
  744. -
  745. -
  746. -# Initialize some variables set by options.
  747. -ac_init_help=
  748. -ac_init_version=false
  749. -ac_unrecognized_opts=
  750. -ac_unrecognized_sep=
  751. -# The variables have the same names as the options, with
  752. -# dashes changed to underlines.
  753. -cache_file=/dev/null
  754. -exec_prefix=NONE
  755. -no_create=
  756. -no_recursion=
  757. -prefix=NONE
  758. -program_prefix=NONE
  759. -program_suffix=NONE
  760. -program_transform_name=s,x,x,
  761. -silent=
  762. -site=
  763. -srcdir=
  764. -verbose=
  765. -x_includes=NONE
  766. -x_libraries=NONE
  767. -
  768. -# Installation directory options.
  769. -# These are left unexpanded so users can "make install exec_prefix=/foo"
  770. -# and all the variables that are supposed to be based on exec_prefix
  771. -# by default will actually change.
  772. -# Use braces instead of parens because sh, perl, etc. also accept them.
  773. -# (The list follows the same order as the GNU Coding Standards.)
  774. -bindir='${exec_prefix}/bin'
  775. -sbindir='${exec_prefix}/sbin'
  776. -libexecdir='${exec_prefix}/libexec'
  777. -datarootdir='${prefix}/share'
  778. -datadir='${datarootdir}'
  779. -sysconfdir='${prefix}/etc'
  780. -sharedstatedir='${prefix}/com'
  781. -localstatedir='${prefix}/var'
  782. -includedir='${prefix}/include'
  783. -oldincludedir='/usr/include'
  784. -docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  785. -infodir='${datarootdir}/info'
  786. -htmldir='${docdir}'
  787. -dvidir='${docdir}'
  788. -pdfdir='${docdir}'
  789. -psdir='${docdir}'
  790. -libdir='${exec_prefix}/lib'
  791. -localedir='${datarootdir}/locale'
  792. -mandir='${datarootdir}/man'
  793. -
  794. -ac_prev=
  795. -ac_dashdash=
  796. -for ac_option
  797. -do
  798. - # If the previous option needs an argument, assign it.
  799. - if test -n "$ac_prev"; then
  800. - eval $ac_prev=\$ac_option
  801. - ac_prev=
  802. - continue
  803. - fi
  804. -
  805. - case $ac_option in
  806. - *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  807. - *=) ac_optarg= ;;
  808. - *) ac_optarg=yes ;;
  809. - esac
  810. -
  811. - # Accept the important Cygnus configure options, so we can diagnose typos.
  812. -
  813. - case $ac_dashdash$ac_option in
  814. - --)
  815. - ac_dashdash=yes ;;
  816. -
  817. - -bindir | --bindir | --bindi | --bind | --bin | --bi)
  818. - ac_prev=bindir ;;
  819. - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  820. - bindir=$ac_optarg ;;
  821. -
  822. - -build | --build | --buil | --bui | --bu)
  823. - ac_prev=build_alias ;;
  824. - -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  825. - build_alias=$ac_optarg ;;
  826. -
  827. - -cache-file | --cache-file | --cache-fil | --cache-fi \
  828. - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  829. - ac_prev=cache_file ;;
  830. - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  831. - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  832. - cache_file=$ac_optarg ;;
  833. -
  834. - --config-cache | -C)
  835. - cache_file=config.cache ;;
  836. -
  837. - -datadir | --datadir | --datadi | --datad)
  838. - ac_prev=datadir ;;
  839. - -datadir=* | --datadir=* | --datadi=* | --datad=*)
  840. - datadir=$ac_optarg ;;
  841. -
  842. - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  843. - | --dataroo | --dataro | --datar)
  844. - ac_prev=datarootdir ;;
  845. - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  846. - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  847. - datarootdir=$ac_optarg ;;
  848. -
  849. - -disable-* | --disable-*)
  850. - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  851. - # Reject names that are not valid shell variable names.
  852. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  853. - as_fn_error $? "invalid feature name: $ac_useropt"
  854. - ac_useropt_orig=$ac_useropt
  855. - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  856. - case $ac_user_opts in
  857. - *"
  858. -"enable_$ac_useropt"
  859. -"*) ;;
  860. - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  861. - ac_unrecognized_sep=', ';;
  862. - esac
  863. - eval enable_$ac_useropt=no ;;
  864. -
  865. - -docdir | --docdir | --docdi | --doc | --do)
  866. - ac_prev=docdir ;;
  867. - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  868. - docdir=$ac_optarg ;;
  869. -
  870. - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  871. - ac_prev=dvidir ;;
  872. - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  873. - dvidir=$ac_optarg ;;
  874. -
  875. - -enable-* | --enable-*)
  876. - ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  877. - # Reject names that are not valid shell variable names.
  878. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  879. - as_fn_error $? "invalid feature name: $ac_useropt"
  880. - ac_useropt_orig=$ac_useropt
  881. - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  882. - case $ac_user_opts in
  883. - *"
  884. -"enable_$ac_useropt"
  885. -"*) ;;
  886. - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  887. - ac_unrecognized_sep=', ';;
  888. - esac
  889. - eval enable_$ac_useropt=\$ac_optarg ;;
  890. -
  891. - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  892. - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  893. - | --exec | --exe | --ex)
  894. - ac_prev=exec_prefix ;;
  895. - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  896. - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  897. - | --exec=* | --exe=* | --ex=*)
  898. - exec_prefix=$ac_optarg ;;
  899. -
  900. - -gas | --gas | --ga | --g)
  901. - # Obsolete; use --with-gas.
  902. - with_gas=yes ;;
  903. -
  904. - -help | --help | --hel | --he | -h)
  905. - ac_init_help=long ;;
  906. - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  907. - ac_init_help=recursive ;;
  908. - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  909. - ac_init_help=short ;;
  910. -
  911. - -host | --host | --hos | --ho)
  912. - ac_prev=host_alias ;;
  913. - -host=* | --host=* | --hos=* | --ho=*)
  914. - host_alias=$ac_optarg ;;
  915. -
  916. - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  917. - ac_prev=htmldir ;;
  918. - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  919. - | --ht=*)
  920. - htmldir=$ac_optarg ;;
  921. -
  922. - -includedir | --includedir | --includedi | --included | --include \
  923. - | --includ | --inclu | --incl | --inc)
  924. - ac_prev=includedir ;;
  925. - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  926. - | --includ=* | --inclu=* | --incl=* | --inc=*)
  927. - includedir=$ac_optarg ;;
  928. -
  929. - -infodir | --infodir | --infodi | --infod | --info | --inf)
  930. - ac_prev=infodir ;;
  931. - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  932. - infodir=$ac_optarg ;;
  933. -
  934. - -libdir | --libdir | --libdi | --libd)
  935. - ac_prev=libdir ;;
  936. - -libdir=* | --libdir=* | --libdi=* | --libd=*)
  937. - libdir=$ac_optarg ;;
  938. -
  939. - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  940. - | --libexe | --libex | --libe)
  941. - ac_prev=libexecdir ;;
  942. - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  943. - | --libexe=* | --libex=* | --libe=*)
  944. - libexecdir=$ac_optarg ;;
  945. -
  946. - -localedir | --localedir | --localedi | --localed | --locale)
  947. - ac_prev=localedir ;;
  948. - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  949. - localedir=$ac_optarg ;;
  950. -
  951. - -localstatedir | --localstatedir | --localstatedi | --localstated \
  952. - | --localstate | --localstat | --localsta | --localst | --locals)
  953. - ac_prev=localstatedir ;;
  954. - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  955. - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  956. - localstatedir=$ac_optarg ;;
  957. -
  958. - -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  959. - ac_prev=mandir ;;
  960. - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  961. - mandir=$ac_optarg ;;
  962. -
  963. - -nfp | --nfp | --nf)
  964. - # Obsolete; use --without-fp.
  965. - with_fp=no ;;
  966. -
  967. - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  968. - | --no-cr | --no-c | -n)
  969. - no_create=yes ;;
  970. -
  971. - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  972. - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  973. - no_recursion=yes ;;
  974. -
  975. - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  976. - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  977. - | --oldin | --oldi | --old | --ol | --o)
  978. - ac_prev=oldincludedir ;;
  979. - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  980. - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  981. - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  982. - oldincludedir=$ac_optarg ;;
  983. -
  984. - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  985. - ac_prev=prefix ;;
  986. - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  987. - prefix=$ac_optarg ;;
  988. -
  989. - -program-prefix | --program-prefix | --program-prefi | --program-pref \
  990. - | --program-pre | --program-pr | --program-p)
  991. - ac_prev=program_prefix ;;
  992. - -program-prefix=* | --program-prefix=* | --program-prefi=* \
  993. - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  994. - program_prefix=$ac_optarg ;;
  995. -
  996. - -program-suffix | --program-suffix | --program-suffi | --program-suff \
  997. - | --program-suf | --program-su | --program-s)
  998. - ac_prev=program_suffix ;;
  999. - -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1000. - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1001. - program_suffix=$ac_optarg ;;
  1002. -
  1003. - -program-transform-name | --program-transform-name \
  1004. - | --program-transform-nam | --program-transform-na \
  1005. - | --program-transform-n | --program-transform- \
  1006. - | --program-transform | --program-transfor \
  1007. - | --program-transfo | --program-transf \
  1008. - | --program-trans | --program-tran \
  1009. - | --progr-tra | --program-tr | --program-t)
  1010. - ac_prev=program_transform_name ;;
  1011. - -program-transform-name=* | --program-transform-name=* \
  1012. - | --program-transform-nam=* | --program-transform-na=* \
  1013. - | --program-transform-n=* | --program-transform-=* \
  1014. - | --program-transform=* | --program-transfor=* \
  1015. - | --program-transfo=* | --program-transf=* \
  1016. - | --program-trans=* | --program-tran=* \
  1017. - | --progr-tra=* | --program-tr=* | --program-t=*)
  1018. - program_transform_name=$ac_optarg ;;
  1019. -
  1020. - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1021. - ac_prev=pdfdir ;;
  1022. - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1023. - pdfdir=$ac_optarg ;;
  1024. -
  1025. - -psdir | --psdir | --psdi | --psd | --ps)
  1026. - ac_prev=psdir ;;
  1027. - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1028. - psdir=$ac_optarg ;;
  1029. -
  1030. - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1031. - | -silent | --silent | --silen | --sile | --sil)
  1032. - silent=yes ;;
  1033. -
  1034. - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1035. - ac_prev=sbindir ;;
  1036. - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1037. - | --sbi=* | --sb=*)
  1038. - sbindir=$ac_optarg ;;
  1039. -
  1040. - -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1041. - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1042. - | --sharedst | --shareds | --shared | --share | --shar \
  1043. - | --sha | --sh)
  1044. - ac_prev=sharedstatedir ;;
  1045. - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1046. - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1047. - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1048. - | --sha=* | --sh=*)
  1049. - sharedstatedir=$ac_optarg ;;
  1050. -
  1051. - -site | --site | --sit)
  1052. - ac_prev=site ;;
  1053. - -site=* | --site=* | --sit=*)
  1054. - site=$ac_optarg ;;
  1055. -
  1056. - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1057. - ac_prev=srcdir ;;
  1058. - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1059. - srcdir=$ac_optarg ;;
  1060. -
  1061. - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1062. - | --syscon | --sysco | --sysc | --sys | --sy)
  1063. - ac_prev=sysconfdir ;;
  1064. - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1065. - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1066. - sysconfdir=$ac_optarg ;;
  1067. -
  1068. - -target | --target | --targe | --targ | --tar | --ta | --t)
  1069. - ac_prev=target_alias ;;
  1070. - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1071. - target_alias=$ac_optarg ;;
  1072. -
  1073. - -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1074. - verbose=yes ;;
  1075. -
  1076. - -version | --version | --versio | --versi | --vers | -V)
  1077. - ac_init_version=: ;;
  1078. -
  1079. - -with-* | --with-*)
  1080. - ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1081. - # Reject names that are not valid shell variable names.
  1082. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1083. - as_fn_error $? "invalid package name: $ac_useropt"
  1084. - ac_useropt_orig=$ac_useropt
  1085. - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1086. - case $ac_user_opts in
  1087. - *"
  1088. -"with_$ac_useropt"
  1089. -"*) ;;
  1090. - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1091. - ac_unrecognized_sep=', ';;
  1092. - esac
  1093. - eval with_$ac_useropt=\$ac_optarg ;;
  1094. -
  1095. - -without-* | --without-*)
  1096. - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1097. - # Reject names that are not valid shell variable names.
  1098. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1099. - as_fn_error $? "invalid package name: $ac_useropt"
  1100. - ac_useropt_orig=$ac_useropt
  1101. - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1102. - case $ac_user_opts in
  1103. - *"
  1104. -"with_$ac_useropt"
  1105. -"*) ;;
  1106. - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1107. - ac_unrecognized_sep=', ';;
  1108. - esac
  1109. - eval with_$ac_useropt=no ;;
  1110. -
  1111. - --x)
  1112. - # Obsolete; use --with-x.
  1113. - with_x=yes ;;
  1114. -
  1115. - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1116. - | --x-incl | --x-inc | --x-in | --x-i)
  1117. - ac_prev=x_includes ;;
  1118. - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1119. - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1120. - x_includes=$ac_optarg ;;
  1121. -
  1122. - -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1123. - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1124. - ac_prev=x_libraries ;;
  1125. - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1126. - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1127. - x_libraries=$ac_optarg ;;
  1128. -
  1129. - -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1130. -Try \`$0 --help' for more information"
  1131. - ;;
  1132. -
  1133. - *=*)
  1134. - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1135. - # Reject names that are not valid shell variable names.
  1136. - case $ac_envvar in #(
  1137. - '' | [0-9]* | *[!_$as_cr_alnum]* )
  1138. - as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1139. - esac
  1140. - eval $ac_envvar=\$ac_optarg
  1141. - export $ac_envvar ;;
  1142. -
  1143. - *)
  1144. - # FIXME: should be removed in autoconf 3.0.
  1145. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1146. - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1147. - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1148. - : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1149. - ;;
  1150. -
  1151. - esac
  1152. -done
  1153. -
  1154. -if test -n "$ac_prev"; then
  1155. - ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1156. - as_fn_error $? "missing argument to $ac_option"
  1157. -fi
  1158. -
  1159. -if test -n "$ac_unrecognized_opts"; then
  1160. - case $enable_option_checking in
  1161. - no) ;;
  1162. - fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1163. - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1164. - esac
  1165. -fi
  1166. -
  1167. -# Check all directory arguments for consistency.
  1168. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1169. - datadir sysconfdir sharedstatedir localstatedir includedir \
  1170. - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1171. - libdir localedir mandir
  1172. -do
  1173. - eval ac_val=\$$ac_var
  1174. - # Remove trailing slashes.
  1175. - case $ac_val in
  1176. - */ )
  1177. - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1178. - eval $ac_var=\$ac_val;;
  1179. - esac
  1180. - # Be sure to have absolute directory names.
  1181. - case $ac_val in
  1182. - [\\/$]* | ?:[\\/]* ) continue;;
  1183. - NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1184. - esac
  1185. - as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1186. -done
  1187. -
  1188. -# There might be people who depend on the old broken behavior: `$host'
  1189. -# used to hold the argument of --host etc.
  1190. -# FIXME: To remove some day.
  1191. -build=$build_alias
  1192. -host=$host_alias
  1193. -target=$target_alias
  1194. -
  1195. -# FIXME: To remove some day.
  1196. -if test "x$host_alias" != x; then
  1197. - if test "x$build_alias" = x; then
  1198. - cross_compiling=maybe
  1199. - elif test "x$build_alias" != "x$host_alias"; then
  1200. - cross_compiling=yes
  1201. - fi
  1202. -fi
  1203. -
  1204. -ac_tool_prefix=
  1205. -test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1206. -
  1207. -test "$silent" = yes && exec 6>/dev/null
  1208. -
  1209. -
  1210. -ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1211. -ac_ls_di=`ls -di .` &&
  1212. -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1213. - as_fn_error $? "working directory cannot be determined"
  1214. -test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1215. - as_fn_error $? "pwd does not report name of working directory"
  1216. -
  1217. -
  1218. -# Find the source files, if location was not specified.
  1219. -if test -z "$srcdir"; then
  1220. - ac_srcdir_defaulted=yes
  1221. - # Try the directory containing this script, then the parent directory.
  1222. - ac_confdir=`$as_dirname -- "$as_myself" ||
  1223. -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1224. - X"$as_myself" : 'X\(//\)[^/]' \| \
  1225. - X"$as_myself" : 'X\(//\)$' \| \
  1226. - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1227. -$as_echo X"$as_myself" |
  1228. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1229. - s//\1/
  1230. - q
  1231. - }
  1232. - /^X\(\/\/\)[^/].*/{
  1233. - s//\1/
  1234. - q
  1235. - }
  1236. - /^X\(\/\/\)$/{
  1237. - s//\1/
  1238. - q
  1239. - }
  1240. - /^X\(\/\).*/{
  1241. - s//\1/
  1242. - q
  1243. - }
  1244. - s/.*/./; q'`
  1245. - srcdir=$ac_confdir
  1246. - if test ! -r "$srcdir/$ac_unique_file"; then
  1247. - srcdir=..
  1248. - fi
  1249. -else
  1250. - ac_srcdir_defaulted=no
  1251. -fi
  1252. -if test ! -r "$srcdir/$ac_unique_file"; then
  1253. - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1254. - as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1255. -fi
  1256. -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1257. -ac_abs_confdir=`(
  1258. - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1259. - pwd)`
  1260. -# When building in place, set srcdir=.
  1261. -if test "$ac_abs_confdir" = "$ac_pwd"; then
  1262. - srcdir=.
  1263. -fi
  1264. -# Remove unnecessary trailing slashes from srcdir.
  1265. -# Double slashes in file names in object file debugging info
  1266. -# mess up M-x gdb in Emacs.
  1267. -case $srcdir in
  1268. -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1269. -esac
  1270. -for ac_var in $ac_precious_vars; do
  1271. - eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1272. - eval ac_env_${ac_var}_value=\$${ac_var}
  1273. - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1274. - eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1275. -done
  1276. -
  1277. -#
  1278. -# Report the --help message.
  1279. -#
  1280. -if test "$ac_init_help" = "long"; then
  1281. - # Omit some internal or obsolete options to make the list less imposing.
  1282. - # This message is too long to be a string in the A/UX 3.1 sh.
  1283. - cat <<_ACEOF
  1284. -\`configure' configures rsync 3.1.2 to adapt to many kinds of systems.
  1285. -
  1286. -Usage: $0 [OPTION]... [VAR=VALUE]...
  1287. -
  1288. -To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1289. -VAR=VALUE. See below for descriptions of some of the useful variables.
  1290. -
  1291. -Defaults for the options are specified in brackets.
  1292. -
  1293. -Configuration:
  1294. - -h, --help display this help and exit
  1295. - --help=short display options specific to this package
  1296. - --help=recursive display the short help of all the included packages
  1297. - -V, --version display version information and exit
  1298. - -q, --quiet, --silent do not print \`checking ...' messages
  1299. - --cache-file=FILE cache test results in FILE [disabled]
  1300. - -C, --config-cache alias for \`--cache-file=config.cache'
  1301. - -n, --no-create do not create output files
  1302. - --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1303. -
  1304. -Installation directories:
  1305. - --prefix=PREFIX install architecture-independent files in PREFIX
  1306. - [$ac_default_prefix]
  1307. - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1308. - [PREFIX]
  1309. -
  1310. -By default, \`make install' will install all the files in
  1311. -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1312. -an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1313. -for instance \`--prefix=\$HOME'.
  1314. -
  1315. -For better control, use the options below.
  1316. -
  1317. -Fine tuning of the installation directories:
  1318. - --bindir=DIR user executables [EPREFIX/bin]
  1319. - --sbindir=DIR system admin executables [EPREFIX/sbin]
  1320. - --libexecdir=DIR program executables [EPREFIX/libexec]
  1321. - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1322. - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1323. - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1324. - --libdir=DIR object code libraries [EPREFIX/lib]
  1325. - --includedir=DIR C header files [PREFIX/include]
  1326. - --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1327. - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1328. - --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1329. - --infodir=DIR info documentation [DATAROOTDIR/info]
  1330. - --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1331. - --mandir=DIR man documentation [DATAROOTDIR/man]
  1332. - --docdir=DIR documentation root [DATAROOTDIR/doc/rsync]
  1333. - --htmldir=DIR html documentation [DOCDIR]
  1334. - --dvidir=DIR dvi documentation [DOCDIR]
  1335. - --pdfdir=DIR pdf documentation [DOCDIR]
  1336. - --psdir=DIR ps documentation [DOCDIR]
  1337. -_ACEOF
  1338. -
  1339. - cat <<\_ACEOF
  1340. -
  1341. -System types:
  1342. - --build=BUILD configure for building on BUILD [guessed]
  1343. - --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1344. -_ACEOF
  1345. -fi
  1346. -
  1347. -if test -n "$ac_init_help"; then
  1348. - case $ac_init_help in
  1349. - short | recursive ) echo "Configuration of rsync 3.1.2:";;
  1350. - esac
  1351. - cat <<\_ACEOF
  1352. -
  1353. -Optional Features:
  1354. - --disable-option-checking ignore unrecognized --enable/--with options
  1355. - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1356. - --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1357. - --disable-debug disable debugging symbols and features
  1358. - --enable-profile turn on CPU profiling
  1359. - --enable-maintainer-mode
  1360. - turn on extra debug features
  1361. - --disable-largefile omit support for large files
  1362. - --disable-ipv6 do not even try to use IPv6
  1363. - --disable-locale disable locale features
  1364. - --disable-iconv-open disable all use of iconv_open() function
  1365. - --disable-iconv disable rsync's --iconv option
  1366. - --disable-acl-support disable ACL support
  1367. - --disable-xattr-support disable extended attributes
  1368. -
  1369. -Optional Packages:
  1370. - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1371. - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1372. - --with-included-popt use bundled popt library, not from system
  1373. - --with-included-zlib use bundled zlib library, not from system
  1374. - --with-protected-args make --protected-args option the default
  1375. - --with-rsync-path=PATH set default --rsync-path to PATH (default: rsync)
  1376. - --with-rsyncd-conf=PATH set configuration file for rsync server to PATH
  1377. - (default: /etc/rsyncd.conf)
  1378. - --with-rsh=CMD set remote shell command to CMD (default: ssh)
  1379. - --with-nobody-group=GROUP
  1380. - set the default unprivileged group (default nobody
  1381. - or nogroup)
  1382. -
  1383. -Some influential environment variables:
  1384. - CC C compiler command
  1385. - CFLAGS C compiler flags
  1386. - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1387. - nonstandard directory <lib dir>
  1388. - LIBS libraries to pass to the linker, e.g. -l<library>
  1389. - CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1390. - you have headers in a nonstandard directory <include dir>
  1391. - CPP C preprocessor
  1392. -
  1393. -Use these variables to override the choices made by `configure' or to help
  1394. -it to find libraries and programs with nonstandard names/locations.
  1395. -
  1396. -Report bugs to <http://rsync.samba.org/bugzilla.html>.
  1397. -_ACEOF
  1398. -ac_status=$?
  1399. -fi
  1400. -
  1401. -if test "$ac_init_help" = "recursive"; then
  1402. - # If there are subdirs, report their specific --help.
  1403. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1404. - test -d "$ac_dir" ||
  1405. - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1406. - continue
  1407. - ac_builddir=.
  1408. -
  1409. -case "$ac_dir" in
  1410. -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1411. -*)
  1412. - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1413. - # A ".." for each directory in $ac_dir_suffix.
  1414. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1415. - case $ac_top_builddir_sub in
  1416. - "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1417. - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1418. - esac ;;
  1419. -esac
  1420. -ac_abs_top_builddir=$ac_pwd
  1421. -ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1422. -# for backward compatibility:
  1423. -ac_top_builddir=$ac_top_build_prefix
  1424. -
  1425. -case $srcdir in
  1426. - .) # We are building in place.
  1427. - ac_srcdir=.
  1428. - ac_top_srcdir=$ac_top_builddir_sub
  1429. - ac_abs_top_srcdir=$ac_pwd ;;
  1430. - [\\/]* | ?:[\\/]* ) # Absolute name.
  1431. - ac_srcdir=$srcdir$ac_dir_suffix;
  1432. - ac_top_srcdir=$srcdir
  1433. - ac_abs_top_srcdir=$srcdir ;;
  1434. - *) # Relative name.
  1435. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1436. - ac_top_srcdir=$ac_top_build_prefix$srcdir
  1437. - ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1438. -esac
  1439. -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1440. -
  1441. - cd "$ac_dir" || { ac_status=$?; continue; }
  1442. - # Check for guested configure.
  1443. - if test -f "$ac_srcdir/configure.gnu"; then
  1444. - echo &&
  1445. - $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1446. - elif test -f "$ac_srcdir/configure"; then
  1447. - echo &&
  1448. - $SHELL "$ac_srcdir/configure" --help=recursive
  1449. - else
  1450. - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1451. - fi || ac_status=$?
  1452. - cd "$ac_pwd" || { ac_status=$?; break; }
  1453. - done
  1454. -fi
  1455. -
  1456. -test -n "$ac_init_help" && exit $ac_status
  1457. -if $ac_init_version; then
  1458. - cat <<\_ACEOF
  1459. -rsync configure 3.1.2
  1460. -generated by GNU Autoconf 2.69
  1461. -
  1462. -Copyright (C) 2012 Free Software Foundation, Inc.
  1463. -This configure script is free software; the Free Software Foundation
  1464. -gives unlimited permission to copy, distribute and modify it.
  1465. -_ACEOF
  1466. - exit
  1467. -fi
  1468. -
  1469. -## ------------------------ ##
  1470. -## Autoconf initialization. ##
  1471. -## ------------------------ ##
  1472. -
  1473. -# ac_fn_c_try_compile LINENO
  1474. -# --------------------------
  1475. -# Try to compile conftest.$ac_ext, and return whether this succeeded.
  1476. -ac_fn_c_try_compile ()
  1477. -{
  1478. - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1479. - rm -f conftest.$ac_objext
  1480. - if { { ac_try="$ac_compile"
  1481. -case "(($ac_try" in
  1482. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1483. - *) ac_try_echo=$ac_try;;
  1484. -esac
  1485. -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1486. -$as_echo "$ac_try_echo"; } >&5
  1487. - (eval "$ac_compile") 2>conftest.err
  1488. - ac_status=$?
  1489. - if test -s conftest.err; then
  1490. - grep -v '^ *+' conftest.err >conftest.er1
  1491. - cat conftest.er1 >&5
  1492. - mv -f conftest.er1 conftest.err
  1493. - fi
  1494. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1495. - test $ac_status = 0; } && {
  1496. - test -z "$ac_c_werror_flag" ||
  1497. - test ! -s conftest.err
  1498. - } && test -s conftest.$ac_objext; then :
  1499. - ac_retval=0
  1500. -else
  1501. - $as_echo "$as_me: failed program was:" >&5
  1502. -sed 's/^/| /' conftest.$ac_ext >&5
  1503. -
  1504. - ac_retval=1
  1505. -fi
  1506. - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1507. - as_fn_set_status $ac_retval
  1508. -
  1509. -} # ac_fn_c_try_compile
  1510. -
  1511. -# ac_fn_c_try_cpp LINENO
  1512. -# ----------------------
  1513. -# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1514. -ac_fn_c_try_cpp ()
  1515. -{
  1516. - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1517. - if { { ac_try="$ac_cpp conftest.$ac_ext"
  1518. -case "(($ac_try" in
  1519. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1520. - *) ac_try_echo=$ac_try;;
  1521. -esac
  1522. -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1523. -$as_echo "$ac_try_echo"; } >&5
  1524. - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1525. - ac_status=$?
  1526. - if test -s conftest.err; then
  1527. - grep -v '^ *+' conftest.err >conftest.er1
  1528. - cat conftest.er1 >&5
  1529. - mv -f conftest.er1 conftest.err
  1530. - fi
  1531. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1532. - test $ac_status = 0; } > conftest.i && {
  1533. - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1534. - test ! -s conftest.err
  1535. - }; then :
  1536. - ac_retval=0
  1537. -else
  1538. - $as_echo "$as_me: failed program was:" >&5
  1539. -sed 's/^/| /' conftest.$ac_ext >&5
  1540. -
  1541. - ac_retval=1
  1542. -fi
  1543. - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1544. - as_fn_set_status $ac_retval
  1545. -
  1546. -} # ac_fn_c_try_cpp
  1547. -
  1548. -# ac_fn_c_try_run LINENO
  1549. -# ----------------------
  1550. -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1551. -# that executables *can* be run.
  1552. -ac_fn_c_try_run ()
  1553. -{
  1554. - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1555. - if { { ac_try="$ac_link"
  1556. -case "(($ac_try" in
  1557. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1558. - *) ac_try_echo=$ac_try;;
  1559. -esac
  1560. -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1561. -$as_echo "$ac_try_echo"; } >&5
  1562. - (eval "$ac_link") 2>&5
  1563. - ac_status=$?
  1564. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1565. - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1566. - { { case "(($ac_try" in
  1567. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1568. - *) ac_try_echo=$ac_try;;
  1569. -esac
  1570. -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1571. -$as_echo "$ac_try_echo"; } >&5
  1572. - (eval "$ac_try") 2>&5
  1573. - ac_status=$?
  1574. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1575. - test $ac_status = 0; }; }; then :
  1576. - ac_retval=0
  1577. -else
  1578. - $as_echo "$as_me: program exited with status $ac_status" >&5
  1579. - $as_echo "$as_me: failed program was:" >&5
  1580. -sed 's/^/| /' conftest.$ac_ext >&5
  1581. -
  1582. - ac_retval=$ac_status
  1583. -fi
  1584. - rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1585. - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1586. - as_fn_set_status $ac_retval
  1587. -
  1588. -} # ac_fn_c_try_run
  1589. -
  1590. -# ac_fn_c_try_link LINENO
  1591. -# -----------------------
  1592. -# Try to link conftest.$ac_ext, and return whether this succeeded.
  1593. -ac_fn_c_try_link ()
  1594. -{
  1595. - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1596. - rm -f conftest.$ac_objext conftest$ac_exeext
  1597. - if { { ac_try="$ac_link"
  1598. -case "(($ac_try" in
  1599. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1600. - *) ac_try_echo=$ac_try;;
  1601. -esac
  1602. -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1603. -$as_echo "$ac_try_echo"; } >&5
  1604. - (eval "$ac_link") 2>conftest.err
  1605. - ac_status=$?
  1606. - if test -s conftest.err; then
  1607. - grep -v '^ *+' conftest.err >conftest.er1
  1608. - cat conftest.er1 >&5
  1609. - mv -f conftest.er1 conftest.err
  1610. - fi
  1611. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1612. - test $ac_status = 0; } && {
  1613. - test -z "$ac_c_werror_flag" ||
  1614. - test ! -s conftest.err
  1615. - } && test -s conftest$ac_exeext && {
  1616. - test "$cross_compiling" = yes ||
  1617. - test -x conftest$ac_exeext
  1618. - }; then :
  1619. - ac_retval=0
  1620. -else
  1621. - $as_echo "$as_me: failed program was:" >&5
  1622. -sed 's/^/| /' conftest.$ac_ext >&5
  1623. -
  1624. - ac_retval=1
  1625. -fi
  1626. - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1627. - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1628. - # interfere with the next link command; also delete a directory that is
  1629. - # left behind by Apple's compiler. We do this before executing the actions.
  1630. - rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1631. - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1632. - as_fn_set_status $ac_retval
  1633. -
  1634. -} # ac_fn_c_try_link
  1635. -
  1636. -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1637. -# -------------------------------------------------------
  1638. -# Tests whether HEADER exists and can be compiled using the include files in
  1639. -# INCLUDES, setting the cache variable VAR accordingly.
  1640. -ac_fn_c_check_header_compile ()
  1641. -{
  1642. - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1643. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1644. -$as_echo_n "checking for $2... " >&6; }
  1645. -if eval \${$3+:} false; then :
  1646. - $as_echo_n "(cached) " >&6
  1647. -else
  1648. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1649. -/* end confdefs.h. */
  1650. -$4
  1651. -#include <$2>
  1652. -_ACEOF
  1653. -if ac_fn_c_try_compile "$LINENO"; then :
  1654. - eval "$3=yes"
  1655. -else
  1656. - eval "$3=no"
  1657. -fi
  1658. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1659. -fi
  1660. -eval ac_res=\$$3
  1661. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1662. -$as_echo "$ac_res" >&6; }
  1663. - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1664. -
  1665. -} # ac_fn_c_check_header_compile
  1666. -
  1667. -# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1668. -# -------------------------------------------------------
  1669. -# Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1670. -# the include files in INCLUDES and setting the cache variable VAR
  1671. -# accordingly.
  1672. -ac_fn_c_check_header_mongrel ()
  1673. -{
  1674. - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1675. - if eval \${$3+:} false; then :
  1676. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1677. -$as_echo_n "checking for $2... " >&6; }
  1678. -if eval \${$3+:} false; then :
  1679. - $as_echo_n "(cached) " >&6
  1680. -fi
  1681. -eval ac_res=\$$3
  1682. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1683. -$as_echo "$ac_res" >&6; }
  1684. -else
  1685. - # Is the header compilable?
  1686. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1687. -$as_echo_n "checking $2 usability... " >&6; }
  1688. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1689. -/* end confdefs.h. */
  1690. -$4
  1691. -#include <$2>
  1692. -_ACEOF
  1693. -if ac_fn_c_try_compile "$LINENO"; then :
  1694. - ac_header_compiler=yes
  1695. -else
  1696. - ac_header_compiler=no
  1697. -fi
  1698. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1699. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1700. -$as_echo "$ac_header_compiler" >&6; }
  1701. -
  1702. -# Is the header present?
  1703. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1704. -$as_echo_n "checking $2 presence... " >&6; }
  1705. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1706. -/* end confdefs.h. */
  1707. -#include <$2>
  1708. -_ACEOF
  1709. -if ac_fn_c_try_cpp "$LINENO"; then :
  1710. - ac_header_preproc=yes
  1711. -else
  1712. - ac_header_preproc=no
  1713. -fi
  1714. -rm -f conftest.err conftest.i conftest.$ac_ext
  1715. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1716. -$as_echo "$ac_header_preproc" >&6; }
  1717. -
  1718. -# So? What about this header?
  1719. -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1720. - yes:no: )
  1721. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1722. -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1723. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1724. -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1725. - ;;
  1726. - no:yes:* )
  1727. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1728. -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1729. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  1730. -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  1731. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1732. -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1733. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  1734. -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  1735. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1736. -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1737. -( $as_echo "## --------------------------------------------------- ##
  1738. -## Report this to http://rsync.samba.org/bugzilla.html ##
  1739. -## --------------------------------------------------- ##"
  1740. - ) | sed "s/^/$as_me: WARNING: /" >&2
  1741. - ;;
  1742. -esac
  1743. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1744. -$as_echo_n "checking for $2... " >&6; }
  1745. -if eval \${$3+:} false; then :
  1746. - $as_echo_n "(cached) " >&6
  1747. -else
  1748. - eval "$3=\$ac_header_compiler"
  1749. -fi
  1750. -eval ac_res=\$$3
  1751. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1752. -$as_echo "$ac_res" >&6; }
  1753. -fi
  1754. - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1755. -
  1756. -} # ac_fn_c_check_header_mongrel
  1757. -
  1758. -# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  1759. -# --------------------------------------------
  1760. -# Tries to find the compile-time value of EXPR in a program that includes
  1761. -# INCLUDES, setting VAR accordingly. Returns whether the value could be
  1762. -# computed
  1763. -ac_fn_c_compute_int ()
  1764. -{
  1765. - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1766. - if test "$cross_compiling" = yes; then
  1767. - # Depending upon the size, compute the lo and hi bounds.
  1768. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1769. -/* end confdefs.h. */
  1770. -$4
  1771. -int
  1772. -main ()
  1773. -{
  1774. -static int test_array [1 - 2 * !(($2) >= 0)];
  1775. -test_array [0] = 0;
  1776. -return test_array [0];
  1777. -
  1778. - ;
  1779. - return 0;
  1780. -}
  1781. -_ACEOF
  1782. -if ac_fn_c_try_compile "$LINENO"; then :
  1783. - ac_lo=0 ac_mid=0
  1784. - while :; do
  1785. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1786. -/* end confdefs.h. */
  1787. -$4
  1788. -int
  1789. -main ()
  1790. -{
  1791. -static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1792. -test_array [0] = 0;
  1793. -return test_array [0];
  1794. -
  1795. - ;
  1796. - return 0;
  1797. -}
  1798. -_ACEOF
  1799. -if ac_fn_c_try_compile "$LINENO"; then :
  1800. - ac_hi=$ac_mid; break
  1801. -else
  1802. - as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  1803. - if test $ac_lo -le $ac_mid; then
  1804. - ac_lo= ac_hi=
  1805. - break
  1806. - fi
  1807. - as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  1808. -fi
  1809. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1810. - done
  1811. -else
  1812. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1813. -/* end confdefs.h. */
  1814. -$4
  1815. -int
  1816. -main ()
  1817. -{
  1818. -static int test_array [1 - 2 * !(($2) < 0)];
  1819. -test_array [0] = 0;
  1820. -return test_array [0];
  1821. -
  1822. - ;
  1823. - return 0;
  1824. -}
  1825. -_ACEOF
  1826. -if ac_fn_c_try_compile "$LINENO"; then :
  1827. - ac_hi=-1 ac_mid=-1
  1828. - while :; do
  1829. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1830. -/* end confdefs.h. */
  1831. -$4
  1832. -int
  1833. -main ()
  1834. -{
  1835. -static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  1836. -test_array [0] = 0;
  1837. -return test_array [0];
  1838. -
  1839. - ;
  1840. - return 0;
  1841. -}
  1842. -_ACEOF
  1843. -if ac_fn_c_try_compile "$LINENO"; then :
  1844. - ac_lo=$ac_mid; break
  1845. -else
  1846. - as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  1847. - if test $ac_mid -le $ac_hi; then
  1848. - ac_lo= ac_hi=
  1849. - break
  1850. - fi
  1851. - as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  1852. -fi
  1853. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1854. - done
  1855. -else
  1856. - ac_lo= ac_hi=
  1857. -fi
  1858. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1859. -fi
  1860. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1861. -# Binary search between lo and hi bounds.
  1862. -while test "x$ac_lo" != "x$ac_hi"; do
  1863. - as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  1864. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1865. -/* end confdefs.h. */
  1866. -$4
  1867. -int
  1868. -main ()
  1869. -{
  1870. -static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  1871. -test_array [0] = 0;
  1872. -return test_array [0];
  1873. -
  1874. - ;
  1875. - return 0;
  1876. -}
  1877. -_ACEOF
  1878. -if ac_fn_c_try_compile "$LINENO"; then :
  1879. - ac_hi=$ac_mid
  1880. -else
  1881. - as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  1882. -fi
  1883. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1884. -done
  1885. -case $ac_lo in #((
  1886. -?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  1887. -'') ac_retval=1 ;;
  1888. -esac
  1889. - else
  1890. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1891. -/* end confdefs.h. */
  1892. -$4
  1893. -static long int longval () { return $2; }
  1894. -static unsigned long int ulongval () { return $2; }
  1895. -#include <stdio.h>
  1896. -#include <stdlib.h>
  1897. -int
  1898. -main ()
  1899. -{
  1900. -
  1901. - FILE *f = fopen ("conftest.val", "w");
  1902. - if (! f)
  1903. - return 1;
  1904. - if (($2) < 0)
  1905. - {
  1906. - long int i = longval ();
  1907. - if (i != ($2))
  1908. - return 1;
  1909. - fprintf (f, "%ld", i);
  1910. - }
  1911. - else
  1912. - {
  1913. - unsigned long int i = ulongval ();
  1914. - if (i != ($2))
  1915. - return 1;
  1916. - fprintf (f, "%lu", i);
  1917. - }
  1918. - /* Do not output a trailing newline, as this causes \r\n confusion
  1919. - on some platforms. */
  1920. - return ferror (f) || fclose (f) != 0;
  1921. -
  1922. - ;
  1923. - return 0;
  1924. -}
  1925. -_ACEOF
  1926. -if ac_fn_c_try_run "$LINENO"; then :
  1927. - echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  1928. -else
  1929. - ac_retval=1
  1930. -fi
  1931. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  1932. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  1933. -rm -f conftest.val
  1934. -
  1935. - fi
  1936. - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1937. - as_fn_set_status $ac_retval
  1938. -
  1939. -} # ac_fn_c_compute_int
  1940. -
  1941. -# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1942. -# -------------------------------------------
  1943. -# Tests whether TYPE exists after having included INCLUDES, setting cache
  1944. -# variable VAR accordingly.
  1945. -ac_fn_c_check_type ()
  1946. -{
  1947. - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1948. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1949. -$as_echo_n "checking for $2... " >&6; }
  1950. -if eval \${$3+:} false; then :
  1951. - $as_echo_n "(cached) " >&6
  1952. -else
  1953. - eval "$3=no"
  1954. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1955. -/* end confdefs.h. */
  1956. -$4
  1957. -int
  1958. -main ()
  1959. -{
  1960. -if (sizeof ($2))
  1961. - return 0;
  1962. - ;
  1963. - return 0;
  1964. -}
  1965. -_ACEOF
  1966. -if ac_fn_c_try_compile "$LINENO"; then :
  1967. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1968. -/* end confdefs.h. */
  1969. -$4
  1970. -int
  1971. -main ()
  1972. -{
  1973. -if (sizeof (($2)))
  1974. - return 0;
  1975. - ;
  1976. - return 0;
  1977. -}
  1978. -_ACEOF
  1979. -if ac_fn_c_try_compile "$LINENO"; then :
  1980. -
  1981. -else
  1982. - eval "$3=yes"
  1983. -fi
  1984. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1985. -fi
  1986. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1987. -fi
  1988. -eval ac_res=\$$3
  1989. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1990. -$as_echo "$ac_res" >&6; }
  1991. - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  1992. -
  1993. -} # ac_fn_c_check_type
  1994. -
  1995. -# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  1996. -# ----------------------------------------------------
  1997. -# Tries to find if the field MEMBER exists in type AGGR, after including
  1998. -# INCLUDES, setting cache variable VAR accordingly.
  1999. -ac_fn_c_check_member ()
  2000. -{
  2001. - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2002. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  2003. -$as_echo_n "checking for $2.$3... " >&6; }
  2004. -if eval \${$4+:} false; then :
  2005. - $as_echo_n "(cached) " >&6
  2006. -else
  2007. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2008. -/* end confdefs.h. */
  2009. -$5
  2010. -int
  2011. -main ()
  2012. -{
  2013. -static $2 ac_aggr;
  2014. -if (ac_aggr.$3)
  2015. -return 0;
  2016. - ;
  2017. - return 0;
  2018. -}
  2019. -_ACEOF
  2020. -if ac_fn_c_try_compile "$LINENO"; then :
  2021. - eval "$4=yes"
  2022. -else
  2023. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2024. -/* end confdefs.h. */
  2025. -$5
  2026. -int
  2027. -main ()
  2028. -{
  2029. -static $2 ac_aggr;
  2030. -if (sizeof ac_aggr.$3)
  2031. -return 0;
  2032. - ;
  2033. - return 0;
  2034. -}
  2035. -_ACEOF
  2036. -if ac_fn_c_try_compile "$LINENO"; then :
  2037. - eval "$4=yes"
  2038. -else
  2039. - eval "$4=no"
  2040. -fi
  2041. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2042. -fi
  2043. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2044. -fi
  2045. -eval ac_res=\$$4
  2046. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2047. -$as_echo "$ac_res" >&6; }
  2048. - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2049. -
  2050. -} # ac_fn_c_check_member
  2051. -
  2052. -# ac_fn_c_check_func LINENO FUNC VAR
  2053. -# ----------------------------------
  2054. -# Tests whether FUNC exists, setting the cache variable VAR accordingly
  2055. -ac_fn_c_check_func ()
  2056. -{
  2057. - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2058. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2059. -$as_echo_n "checking for $2... " >&6; }
  2060. -if eval \${$3+:} false; then :
  2061. - $as_echo_n "(cached) " >&6
  2062. -else
  2063. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2064. -/* end confdefs.h. */
  2065. -/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  2066. - For example, HP-UX 11i <limits.h> declares gettimeofday. */
  2067. -#define $2 innocuous_$2
  2068. -
  2069. -/* System header to define __stub macros and hopefully few prototypes,
  2070. - which can conflict with char $2 (); below.
  2071. - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  2072. - <limits.h> exists even on freestanding compilers. */
  2073. -
  2074. -#ifdef __STDC__
  2075. -# include <limits.h>
  2076. -#else
  2077. -# include <assert.h>
  2078. -#endif
  2079. -
  2080. -#undef $2
  2081. -
  2082. -/* Override any GCC internal prototype to avoid an error.
  2083. - Use char because int might match the return type of a GCC
  2084. - builtin and then its argument prototype would still apply. */
  2085. -#ifdef __cplusplus
  2086. -extern "C"
  2087. -#endif
  2088. -char $2 ();
  2089. -/* The GNU C library defines this for functions which it implements
  2090. - to always fail with ENOSYS. Some functions are actually named
  2091. - something starting with __ and the normal name is an alias. */
  2092. -#if defined __stub_$2 || defined __stub___$2
  2093. -choke me
  2094. -#endif
  2095. -
  2096. -int
  2097. -main ()
  2098. -{
  2099. -return $2 ();
  2100. - ;
  2101. - return 0;
  2102. -}
  2103. -_ACEOF
  2104. -if ac_fn_c_try_link "$LINENO"; then :
  2105. - eval "$3=yes"
  2106. -else
  2107. - eval "$3=no"
  2108. -fi
  2109. -rm -f core conftest.err conftest.$ac_objext \
  2110. - conftest$ac_exeext conftest.$ac_ext
  2111. -fi
  2112. -eval ac_res=\$$3
  2113. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2114. -$as_echo "$ac_res" >&6; }
  2115. - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2116. -
  2117. -} # ac_fn_c_check_func
  2118. -cat >config.log <<_ACEOF
  2119. -This file contains any messages produced by compilers while
  2120. -running configure, to aid debugging if configure makes a mistake.
  2121. -
  2122. -It was created by rsync $as_me 3.1.2, which was
  2123. -generated by GNU Autoconf 2.69. Invocation command line was
  2124. -
  2125. - $ $0 $@
  2126. -
  2127. -_ACEOF
  2128. -exec 5>>config.log
  2129. -{
  2130. -cat <<_ASUNAME
  2131. -## --------- ##
  2132. -## Platform. ##
  2133. -## --------- ##
  2134. -
  2135. -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  2136. -uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2137. -uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2138. -uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2139. -uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2140. -
  2141. -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  2142. -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  2143. -
  2144. -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  2145. -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  2146. -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  2147. -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  2148. -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  2149. -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  2150. -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  2151. -
  2152. -_ASUNAME
  2153. -
  2154. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2155. -for as_dir in $PATH
  2156. -do
  2157. - IFS=$as_save_IFS
  2158. - test -z "$as_dir" && as_dir=.
  2159. - $as_echo "PATH: $as_dir"
  2160. - done
  2161. -IFS=$as_save_IFS
  2162. -
  2163. -} >&5
  2164. -
  2165. -cat >&5 <<_ACEOF
  2166. -
  2167. -
  2168. -## ----------- ##
  2169. -## Core tests. ##
  2170. -## ----------- ##
  2171. -
  2172. -_ACEOF
  2173. -
  2174. -
  2175. -# Keep a trace of the command line.
  2176. -# Strip out --no-create and --no-recursion so they do not pile up.
  2177. -# Strip out --silent because we don't want to record it for future runs.
  2178. -# Also quote any args containing shell meta-characters.
  2179. -# Make two passes to allow for proper duplicate-argument suppression.
  2180. -ac_configure_args=
  2181. -ac_configure_args0=
  2182. -ac_configure_args1=
  2183. -ac_must_keep_next=false
  2184. -for ac_pass in 1 2
  2185. -do
  2186. - for ac_arg
  2187. - do
  2188. - case $ac_arg in
  2189. - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2190. - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2191. - | -silent | --silent | --silen | --sile | --sil)
  2192. - continue ;;
  2193. - *\'*)
  2194. - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2195. - esac
  2196. - case $ac_pass in
  2197. - 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2198. - 2)
  2199. - as_fn_append ac_configure_args1 " '$ac_arg'"
  2200. - if test $ac_must_keep_next = true; then
  2201. - ac_must_keep_next=false # Got value, back to normal.
  2202. - else
  2203. - case $ac_arg in
  2204. - *=* | --config-cache | -C | -disable-* | --disable-* \
  2205. - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2206. - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2207. - | -with-* | --with-* | -without-* | --without-* | --x)
  2208. - case "$ac_configure_args0 " in
  2209. - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2210. - esac
  2211. - ;;
  2212. - -* ) ac_must_keep_next=true ;;
  2213. - esac
  2214. - fi
  2215. - as_fn_append ac_configure_args " '$ac_arg'"
  2216. - ;;
  2217. - esac
  2218. - done
  2219. -done
  2220. -{ ac_configure_args0=; unset ac_configure_args0;}
  2221. -{ ac_configure_args1=; unset ac_configure_args1;}
  2222. -
  2223. -# When interrupted or exit'd, cleanup temporary files, and complete
  2224. -# config.log. We remove comments because anyway the quotes in there
  2225. -# would cause problems or look ugly.
  2226. -# WARNING: Use '\'' to represent an apostrophe within the trap.
  2227. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2228. -trap 'exit_status=$?
  2229. - # Save into config.log some information that might help in debugging.
  2230. - {
  2231. - echo
  2232. -
  2233. - $as_echo "## ---------------- ##
  2234. -## Cache variables. ##
  2235. -## ---------------- ##"
  2236. - echo
  2237. - # The following way of writing the cache mishandles newlines in values,
  2238. -(
  2239. - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2240. - eval ac_val=\$$ac_var
  2241. - case $ac_val in #(
  2242. - *${as_nl}*)
  2243. - case $ac_var in #(
  2244. - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2245. -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2246. - esac
  2247. - case $ac_var in #(
  2248. - _ | IFS | as_nl) ;; #(
  2249. - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2250. - *) { eval $ac_var=; unset $ac_var;} ;;
  2251. - esac ;;
  2252. - esac
  2253. - done
  2254. - (set) 2>&1 |
  2255. - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2256. - *${as_nl}ac_space=\ *)
  2257. - sed -n \
  2258. - "s/'\''/'\''\\\\'\'''\''/g;
  2259. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2260. - ;; #(
  2261. - *)
  2262. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2263. - ;;
  2264. - esac |
  2265. - sort
  2266. -)
  2267. - echo
  2268. -
  2269. - $as_echo "## ----------------- ##
  2270. -## Output variables. ##
  2271. -## ----------------- ##"
  2272. - echo
  2273. - for ac_var in $ac_subst_vars
  2274. - do
  2275. - eval ac_val=\$$ac_var
  2276. - case $ac_val in
  2277. - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2278. - esac
  2279. - $as_echo "$ac_var='\''$ac_val'\''"
  2280. - done | sort
  2281. - echo
  2282. -
  2283. - if test -n "$ac_subst_files"; then
  2284. - $as_echo "## ------------------- ##
  2285. -## File substitutions. ##
  2286. -## ------------------- ##"
  2287. - echo
  2288. - for ac_var in $ac_subst_files
  2289. - do
  2290. - eval ac_val=\$$ac_var
  2291. - case $ac_val in
  2292. - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2293. - esac
  2294. - $as_echo "$ac_var='\''$ac_val'\''"
  2295. - done | sort
  2296. - echo
  2297. - fi
  2298. -
  2299. - if test -s confdefs.h; then
  2300. - $as_echo "## ----------- ##
  2301. -## confdefs.h. ##
  2302. -## ----------- ##"
  2303. - echo
  2304. - cat confdefs.h
  2305. - echo
  2306. - fi
  2307. - test "$ac_signal" != 0 &&
  2308. - $as_echo "$as_me: caught signal $ac_signal"
  2309. - $as_echo "$as_me: exit $exit_status"
  2310. - } >&5
  2311. - rm -f core *.core core.conftest.* &&
  2312. - rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2313. - exit $exit_status
  2314. -' 0
  2315. -for ac_signal in 1 2 13 15; do
  2316. - trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2317. -done
  2318. -ac_signal=0
  2319. -
  2320. -# confdefs.h avoids OS command line length limits that DEFS can exceed.
  2321. -rm -f -r conftest* confdefs.h
  2322. -
  2323. -$as_echo "/* confdefs.h */" > confdefs.h
  2324. -
  2325. -# Predefined preprocessor variables.
  2326. -
  2327. -cat >>confdefs.h <<_ACEOF
  2328. -#define PACKAGE_NAME "$PACKAGE_NAME"
  2329. -_ACEOF
  2330. -
  2331. -cat >>confdefs.h <<_ACEOF
  2332. -#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2333. -_ACEOF
  2334. -
  2335. -cat >>confdefs.h <<_ACEOF
  2336. -#define PACKAGE_VERSION "$PACKAGE_VERSION"
  2337. -_ACEOF
  2338. -
  2339. -cat >>confdefs.h <<_ACEOF
  2340. -#define PACKAGE_STRING "$PACKAGE_STRING"
  2341. -_ACEOF
  2342. -
  2343. -cat >>confdefs.h <<_ACEOF
  2344. -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2345. -_ACEOF
  2346. -
  2347. -cat >>confdefs.h <<_ACEOF
  2348. -#define PACKAGE_URL "$PACKAGE_URL"
  2349. -_ACEOF
  2350. -
  2351. -
  2352. -# Let the site file select an alternate cache file if it wants to.
  2353. -# Prefer an explicitly selected file to automatically selected ones.
  2354. -ac_site_file1=NONE
  2355. -ac_site_file2=NONE
  2356. -if test -n "$CONFIG_SITE"; then
  2357. - # We do not want a PATH search for config.site.
  2358. - case $CONFIG_SITE in #((
  2359. - -*) ac_site_file1=./$CONFIG_SITE;;
  2360. - */*) ac_site_file1=$CONFIG_SITE;;
  2361. - *) ac_site_file1=./$CONFIG_SITE;;
  2362. - esac
  2363. -elif test "x$prefix" != xNONE; then
  2364. - ac_site_file1=$prefix/share/config.site
  2365. - ac_site_file2=$prefix/etc/config.site
  2366. -else
  2367. - ac_site_file1=$ac_default_prefix/share/config.site
  2368. - ac_site_file2=$ac_default_prefix/etc/config.site
  2369. -fi
  2370. -for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2371. -do
  2372. - test "x$ac_site_file" = xNONE && continue
  2373. - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2374. - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2375. -$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2376. - sed 's/^/| /' "$ac_site_file" >&5
  2377. - . "$ac_site_file" \
  2378. - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2379. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2380. -as_fn_error $? "failed to load site script $ac_site_file
  2381. -See \`config.log' for more details" "$LINENO" 5; }
  2382. - fi
  2383. -done
  2384. -
  2385. -if test -r "$cache_file"; then
  2386. - # Some versions of bash will fail to source /dev/null (special files
  2387. - # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  2388. - if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2389. - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2390. -$as_echo "$as_me: loading cache $cache_file" >&6;}
  2391. - case $cache_file in
  2392. - [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2393. - *) . "./$cache_file";;
  2394. - esac
  2395. - fi
  2396. -else
  2397. - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2398. -$as_echo "$as_me: creating cache $cache_file" >&6;}
  2399. - >$cache_file
  2400. -fi
  2401. -
  2402. -as_fn_append ac_header_list " utime.h"
  2403. -# Check that the precious variables saved in the cache have kept the same
  2404. -# value.
  2405. -ac_cache_corrupted=false
  2406. -for ac_var in $ac_precious_vars; do
  2407. - eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2408. - eval ac_new_set=\$ac_env_${ac_var}_set
  2409. - eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2410. - eval ac_new_val=\$ac_env_${ac_var}_value
  2411. - case $ac_old_set,$ac_new_set in
  2412. - set,)
  2413. - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2414. -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2415. - ac_cache_corrupted=: ;;
  2416. - ,set)
  2417. - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2418. -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2419. - ac_cache_corrupted=: ;;
  2420. - ,);;
  2421. - *)
  2422. - if test "x$ac_old_val" != "x$ac_new_val"; then
  2423. - # differences in whitespace do not lead to failure.
  2424. - ac_old_val_w=`echo x $ac_old_val`
  2425. - ac_new_val_w=`echo x $ac_new_val`
  2426. - if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2427. - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2428. -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2429. - ac_cache_corrupted=:
  2430. - else
  2431. - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2432. -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2433. - eval $ac_var=\$ac_old_val
  2434. - fi
  2435. - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  2436. -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  2437. - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  2438. -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  2439. - fi;;
  2440. - esac
  2441. - # Pass precious variables to config.status.
  2442. - if test "$ac_new_set" = set; then
  2443. - case $ac_new_val in
  2444. - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2445. - *) ac_arg=$ac_var=$ac_new_val ;;
  2446. - esac
  2447. - case " $ac_configure_args " in
  2448. - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  2449. - *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2450. - esac
  2451. - fi
  2452. -done
  2453. -if $ac_cache_corrupted; then
  2454. - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2455. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2456. - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2457. -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2458. - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2459. -fi
  2460. -## -------------------- ##
  2461. -## Main body of script. ##
  2462. -## -------------------- ##
  2463. -
  2464. -ac_ext=c
  2465. -ac_cpp='$CPP $CPPFLAGS'
  2466. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2467. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2468. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2469. -
  2470. -
  2471. -
  2472. -
  2473. -
  2474. -ac_config_headers="$ac_config_headers config.h"
  2475. -
  2476. -
  2477. -
  2478. -RSYNC_VERSION=$PACKAGE_VERSION
  2479. -
  2480. -{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuring rsync $PACKAGE_VERSION" >&5
  2481. -$as_echo "$as_me: Configuring rsync $PACKAGE_VERSION" >&6;}
  2482. -
  2483. -
  2484. -cat >>confdefs.h <<_ACEOF
  2485. -#define RSYNC_VERSION "$PACKAGE_VERSION"
  2486. -_ACEOF
  2487. -
  2488. -
  2489. -LDFLAGS=${LDFLAGS-""}
  2490. -
  2491. -ac_aux_dir=
  2492. -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2493. - if test -f "$ac_dir/install-sh"; then
  2494. - ac_aux_dir=$ac_dir
  2495. - ac_install_sh="$ac_aux_dir/install-sh -c"
  2496. - break
  2497. - elif test -f "$ac_dir/install.sh"; then
  2498. - ac_aux_dir=$ac_dir
  2499. - ac_install_sh="$ac_aux_dir/install.sh -c"
  2500. - break
  2501. - elif test -f "$ac_dir/shtool"; then
  2502. - ac_aux_dir=$ac_dir
  2503. - ac_install_sh="$ac_aux_dir/shtool install -c"
  2504. - break
  2505. - fi
  2506. -done
  2507. -if test -z "$ac_aux_dir"; then
  2508. - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2509. -fi
  2510. -
  2511. -# These three variables are undocumented and unsupported,
  2512. -# and are intended to be withdrawn in a future Autoconf release.
  2513. -# They can cause serious problems if a builder's source tree is in a directory
  2514. -# whose full name contains unusual characters.
  2515. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  2516. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  2517. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  2518. -
  2519. -
  2520. -# Make sure we can run config.sub.
  2521. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2522. - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2523. -
  2524. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2525. -$as_echo_n "checking build system type... " >&6; }
  2526. -if ${ac_cv_build+:} false; then :
  2527. - $as_echo_n "(cached) " >&6
  2528. -else
  2529. - ac_build_alias=$build_alias
  2530. -test "x$ac_build_alias" = x &&
  2531. - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2532. -test "x$ac_build_alias" = x &&
  2533. - as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  2534. -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2535. - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2536. -
  2537. -fi
  2538. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2539. -$as_echo "$ac_cv_build" >&6; }
  2540. -case $ac_cv_build in
  2541. -*-*-*) ;;
  2542. -*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  2543. -esac
  2544. -build=$ac_cv_build
  2545. -ac_save_IFS=$IFS; IFS='-'
  2546. -set x $ac_cv_build
  2547. -shift
  2548. -build_cpu=$1
  2549. -build_vendor=$2
  2550. -shift; shift
  2551. -# Remember, the first character of IFS is used to create $*,
  2552. -# except with old shells:
  2553. -build_os=$*
  2554. -IFS=$ac_save_IFS
  2555. -case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2556. -
  2557. -
  2558. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2559. -$as_echo_n "checking host system type... " >&6; }
  2560. -if ${ac_cv_host+:} false; then :
  2561. - $as_echo_n "(cached) " >&6
  2562. -else
  2563. - if test "x$host_alias" = x; then
  2564. - ac_cv_host=$ac_cv_build
  2565. -else
  2566. - ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2567. - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2568. -fi
  2569. -
  2570. -fi
  2571. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2572. -$as_echo "$ac_cv_host" >&6; }
  2573. -case $ac_cv_host in
  2574. -*-*-*) ;;
  2575. -*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  2576. -esac
  2577. -host=$ac_cv_host
  2578. -ac_save_IFS=$IFS; IFS='-'
  2579. -set x $ac_cv_host
  2580. -shift
  2581. -host_cpu=$1
  2582. -host_vendor=$2
  2583. -shift; shift
  2584. -# Remember, the first character of IFS is used to create $*,
  2585. -# except with old shells:
  2586. -host_os=$*
  2587. -IFS=$ac_save_IFS
  2588. -case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2589. -
  2590. -
  2591. -
  2592. -
  2593. -
  2594. -# We must decide this before testing the compiler.
  2595. -
  2596. -# Please allow this to default to yes, so that your users have more
  2597. -# chance of getting a useful stack trace if problems occur.
  2598. -
  2599. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include debugging symbols" >&5
  2600. -$as_echo_n "checking whether to include debugging symbols... " >&6; }
  2601. -# Check whether --enable-debug was given.
  2602. -if test "${enable_debug+set}" = set; then :
  2603. - enableval=$enable_debug;
  2604. -fi
  2605. -
  2606. -
  2607. -if test x"$enable_debug" = x"no"; then
  2608. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2609. -$as_echo "no" >&6; }
  2610. - ac_cv_prog_cc_g=no
  2611. -else
  2612. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2613. -$as_echo "yes" >&6; }
  2614. - # leave ac_cv_prog_cc_g alone; AC_PROG_CC will try to include -g if it can
  2615. -fi
  2616. -
  2617. -ac_ext=c
  2618. -ac_cpp='$CPP $CPPFLAGS'
  2619. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2620. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2621. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2622. -if test -n "$ac_tool_prefix"; then
  2623. - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2624. -set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2625. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2626. -$as_echo_n "checking for $ac_word... " >&6; }
  2627. -if ${ac_cv_prog_CC+:} false; then :
  2628. - $as_echo_n "(cached) " >&6
  2629. -else
  2630. - if test -n "$CC"; then
  2631. - ac_cv_prog_CC="$CC" # Let the user override the test.
  2632. -else
  2633. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2634. -for as_dir in $PATH
  2635. -do
  2636. - IFS=$as_save_IFS
  2637. - test -z "$as_dir" && as_dir=.
  2638. - for ac_exec_ext in '' $ac_executable_extensions; do
  2639. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2640. - ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2641. - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2642. - break 2
  2643. - fi
  2644. -done
  2645. - done
  2646. -IFS=$as_save_IFS
  2647. -
  2648. -fi
  2649. -fi
  2650. -CC=$ac_cv_prog_CC
  2651. -if test -n "$CC"; then
  2652. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2653. -$as_echo "$CC" >&6; }
  2654. -else
  2655. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2656. -$as_echo "no" >&6; }
  2657. -fi
  2658. -
  2659. -
  2660. -fi
  2661. -if test -z "$ac_cv_prog_CC"; then
  2662. - ac_ct_CC=$CC
  2663. - # Extract the first word of "gcc", so it can be a program name with args.
  2664. -set dummy gcc; ac_word=$2
  2665. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2666. -$as_echo_n "checking for $ac_word... " >&6; }
  2667. -if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2668. - $as_echo_n "(cached) " >&6
  2669. -else
  2670. - if test -n "$ac_ct_CC"; then
  2671. - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2672. -else
  2673. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2674. -for as_dir in $PATH
  2675. -do
  2676. - IFS=$as_save_IFS
  2677. - test -z "$as_dir" && as_dir=.
  2678. - for ac_exec_ext in '' $ac_executable_extensions; do
  2679. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2680. - ac_cv_prog_ac_ct_CC="gcc"
  2681. - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2682. - break 2
  2683. - fi
  2684. -done
  2685. - done
  2686. -IFS=$as_save_IFS
  2687. -
  2688. -fi
  2689. -fi
  2690. -ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2691. -if test -n "$ac_ct_CC"; then
  2692. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2693. -$as_echo "$ac_ct_CC" >&6; }
  2694. -else
  2695. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2696. -$as_echo "no" >&6; }
  2697. -fi
  2698. -
  2699. - if test "x$ac_ct_CC" = x; then
  2700. - CC=""
  2701. - else
  2702. - case $cross_compiling:$ac_tool_warned in
  2703. -yes:)
  2704. -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2705. -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2706. -ac_tool_warned=yes ;;
  2707. -esac
  2708. - CC=$ac_ct_CC
  2709. - fi
  2710. -else
  2711. - CC="$ac_cv_prog_CC"
  2712. -fi
  2713. -
  2714. -if test -z "$CC"; then
  2715. - if test -n "$ac_tool_prefix"; then
  2716. - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2717. -set dummy ${ac_tool_prefix}cc; ac_word=$2
  2718. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2719. -$as_echo_n "checking for $ac_word... " >&6; }
  2720. -if ${ac_cv_prog_CC+:} false; then :
  2721. - $as_echo_n "(cached) " >&6
  2722. -else
  2723. - if test -n "$CC"; then
  2724. - ac_cv_prog_CC="$CC" # Let the user override the test.
  2725. -else
  2726. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2727. -for as_dir in $PATH
  2728. -do
  2729. - IFS=$as_save_IFS
  2730. - test -z "$as_dir" && as_dir=.
  2731. - for ac_exec_ext in '' $ac_executable_extensions; do
  2732. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2733. - ac_cv_prog_CC="${ac_tool_prefix}cc"
  2734. - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2735. - break 2
  2736. - fi
  2737. -done
  2738. - done
  2739. -IFS=$as_save_IFS
  2740. -
  2741. -fi
  2742. -fi
  2743. -CC=$ac_cv_prog_CC
  2744. -if test -n "$CC"; then
  2745. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2746. -$as_echo "$CC" >&6; }
  2747. -else
  2748. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2749. -$as_echo "no" >&6; }
  2750. -fi
  2751. -
  2752. -
  2753. - fi
  2754. -fi
  2755. -if test -z "$CC"; then
  2756. - # Extract the first word of "cc", so it can be a program name with args.
  2757. -set dummy cc; ac_word=$2
  2758. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2759. -$as_echo_n "checking for $ac_word... " >&6; }
  2760. -if ${ac_cv_prog_CC+:} false; then :
  2761. - $as_echo_n "(cached) " >&6
  2762. -else
  2763. - if test -n "$CC"; then
  2764. - ac_cv_prog_CC="$CC" # Let the user override the test.
  2765. -else
  2766. - ac_prog_rejected=no
  2767. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2768. -for as_dir in $PATH
  2769. -do
  2770. - IFS=$as_save_IFS
  2771. - test -z "$as_dir" && as_dir=.
  2772. - for ac_exec_ext in '' $ac_executable_extensions; do
  2773. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2774. - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2775. - ac_prog_rejected=yes
  2776. - continue
  2777. - fi
  2778. - ac_cv_prog_CC="cc"
  2779. - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2780. - break 2
  2781. - fi
  2782. -done
  2783. - done
  2784. -IFS=$as_save_IFS
  2785. -
  2786. -if test $ac_prog_rejected = yes; then
  2787. - # We found a bogon in the path, so make sure we never use it.
  2788. - set dummy $ac_cv_prog_CC
  2789. - shift
  2790. - if test $# != 0; then
  2791. - # We chose a different compiler from the bogus one.
  2792. - # However, it has the same basename, so the bogon will be chosen
  2793. - # first if we set CC to just the basename; use the full file name.
  2794. - shift
  2795. - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2796. - fi
  2797. -fi
  2798. -fi
  2799. -fi
  2800. -CC=$ac_cv_prog_CC
  2801. -if test -n "$CC"; then
  2802. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2803. -$as_echo "$CC" >&6; }
  2804. -else
  2805. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2806. -$as_echo "no" >&6; }
  2807. -fi
  2808. -
  2809. -
  2810. -fi
  2811. -if test -z "$CC"; then
  2812. - if test -n "$ac_tool_prefix"; then
  2813. - for ac_prog in cl.exe
  2814. - do
  2815. - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2816. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2817. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2818. -$as_echo_n "checking for $ac_word... " >&6; }
  2819. -if ${ac_cv_prog_CC+:} false; then :
  2820. - $as_echo_n "(cached) " >&6
  2821. -else
  2822. - if test -n "$CC"; then
  2823. - ac_cv_prog_CC="$CC" # Let the user override the test.
  2824. -else
  2825. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2826. -for as_dir in $PATH
  2827. -do
  2828. - IFS=$as_save_IFS
  2829. - test -z "$as_dir" && as_dir=.
  2830. - for ac_exec_ext in '' $ac_executable_extensions; do
  2831. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2832. - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2833. - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2834. - break 2
  2835. - fi
  2836. -done
  2837. - done
  2838. -IFS=$as_save_IFS
  2839. -
  2840. -fi
  2841. -fi
  2842. -CC=$ac_cv_prog_CC
  2843. -if test -n "$CC"; then
  2844. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  2845. -$as_echo "$CC" >&6; }
  2846. -else
  2847. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2848. -$as_echo "no" >&6; }
  2849. -fi
  2850. -
  2851. -
  2852. - test -n "$CC" && break
  2853. - done
  2854. -fi
  2855. -if test -z "$CC"; then
  2856. - ac_ct_CC=$CC
  2857. - for ac_prog in cl.exe
  2858. -do
  2859. - # Extract the first word of "$ac_prog", so it can be a program name with args.
  2860. -set dummy $ac_prog; ac_word=$2
  2861. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2862. -$as_echo_n "checking for $ac_word... " >&6; }
  2863. -if ${ac_cv_prog_ac_ct_CC+:} false; then :
  2864. - $as_echo_n "(cached) " >&6
  2865. -else
  2866. - if test -n "$ac_ct_CC"; then
  2867. - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2868. -else
  2869. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2870. -for as_dir in $PATH
  2871. -do
  2872. - IFS=$as_save_IFS
  2873. - test -z "$as_dir" && as_dir=.
  2874. - for ac_exec_ext in '' $ac_executable_extensions; do
  2875. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  2876. - ac_cv_prog_ac_ct_CC="$ac_prog"
  2877. - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2878. - break 2
  2879. - fi
  2880. -done
  2881. - done
  2882. -IFS=$as_save_IFS
  2883. -
  2884. -fi
  2885. -fi
  2886. -ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2887. -if test -n "$ac_ct_CC"; then
  2888. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  2889. -$as_echo "$ac_ct_CC" >&6; }
  2890. -else
  2891. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2892. -$as_echo "no" >&6; }
  2893. -fi
  2894. -
  2895. -
  2896. - test -n "$ac_ct_CC" && break
  2897. -done
  2898. -
  2899. - if test "x$ac_ct_CC" = x; then
  2900. - CC=""
  2901. - else
  2902. - case $cross_compiling:$ac_tool_warned in
  2903. -yes:)
  2904. -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2905. -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2906. -ac_tool_warned=yes ;;
  2907. -esac
  2908. - CC=$ac_ct_CC
  2909. - fi
  2910. -fi
  2911. -
  2912. -fi
  2913. -
  2914. -
  2915. -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2916. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2917. -as_fn_error $? "no acceptable C compiler found in \$PATH
  2918. -See \`config.log' for more details" "$LINENO" 5; }
  2919. -
  2920. -# Provide some information about the compiler.
  2921. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  2922. -set X $ac_compile
  2923. -ac_compiler=$2
  2924. -for ac_option in --version -v -V -qversion; do
  2925. - { { ac_try="$ac_compiler $ac_option >&5"
  2926. -case "(($ac_try" in
  2927. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2928. - *) ac_try_echo=$ac_try;;
  2929. -esac
  2930. -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2931. -$as_echo "$ac_try_echo"; } >&5
  2932. - (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  2933. - ac_status=$?
  2934. - if test -s conftest.err; then
  2935. - sed '10a\
  2936. -... rest of stderr output deleted ...
  2937. - 10q' conftest.err >conftest.er1
  2938. - cat conftest.er1 >&5
  2939. - fi
  2940. - rm -f conftest.er1 conftest.err
  2941. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2942. - test $ac_status = 0; }
  2943. -done
  2944. -
  2945. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2946. -/* end confdefs.h. */
  2947. -
  2948. -int
  2949. -main ()
  2950. -{
  2951. -
  2952. - ;
  2953. - return 0;
  2954. -}
  2955. -_ACEOF
  2956. -ac_clean_files_save=$ac_clean_files
  2957. -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2958. -# Try to create an executable without -o first, disregard a.out.
  2959. -# It will help us diagnose broken compilers, and finding out an intuition
  2960. -# of exeext.
  2961. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  2962. -$as_echo_n "checking whether the C compiler works... " >&6; }
  2963. -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2964. -
  2965. -# The possible output files:
  2966. -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2967. -
  2968. -ac_rmfiles=
  2969. -for ac_file in $ac_files
  2970. -do
  2971. - case $ac_file in
  2972. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2973. - * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2974. - esac
  2975. -done
  2976. -rm -f $ac_rmfiles
  2977. -
  2978. -if { { ac_try="$ac_link_default"
  2979. -case "(($ac_try" in
  2980. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2981. - *) ac_try_echo=$ac_try;;
  2982. -esac
  2983. -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2984. -$as_echo "$ac_try_echo"; } >&5
  2985. - (eval "$ac_link_default") 2>&5
  2986. - ac_status=$?
  2987. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2988. - test $ac_status = 0; }; then :
  2989. - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2990. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2991. -# in a Makefile. We should not override ac_cv_exeext if it was cached,
  2992. -# so that the user can short-circuit this test for compilers unknown to
  2993. -# Autoconf.
  2994. -for ac_file in $ac_files ''
  2995. -do
  2996. - test -f "$ac_file" || continue
  2997. - case $ac_file in
  2998. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2999. - ;;
  3000. - [ab].out )
  3001. - # We found the default executable, but exeext='' is most
  3002. - # certainly right.
  3003. - break;;
  3004. - *.* )
  3005. - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3006. - then :; else
  3007. - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3008. - fi
  3009. - # We set ac_cv_exeext here because the later test for it is not
  3010. - # safe: cross compilers may not add the suffix if given an `-o'
  3011. - # argument, so we may need to know it at that point already.
  3012. - # Even if this section looks crufty: it has the advantage of
  3013. - # actually working.
  3014. - break;;
  3015. - * )
  3016. - break;;
  3017. - esac
  3018. -done
  3019. -test "$ac_cv_exeext" = no && ac_cv_exeext=
  3020. -
  3021. -else
  3022. - ac_file=''
  3023. -fi
  3024. -if test -z "$ac_file"; then :
  3025. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3026. -$as_echo "no" >&6; }
  3027. -$as_echo "$as_me: failed program was:" >&5
  3028. -sed 's/^/| /' conftest.$ac_ext >&5
  3029. -
  3030. -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3031. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3032. -as_fn_error 77 "C compiler cannot create executables
  3033. -See \`config.log' for more details" "$LINENO" 5; }
  3034. -else
  3035. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3036. -$as_echo "yes" >&6; }
  3037. -fi
  3038. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3039. -$as_echo_n "checking for C compiler default output file name... " >&6; }
  3040. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3041. -$as_echo "$ac_file" >&6; }
  3042. -ac_exeext=$ac_cv_exeext
  3043. -
  3044. -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3045. -ac_clean_files=$ac_clean_files_save
  3046. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3047. -$as_echo_n "checking for suffix of executables... " >&6; }
  3048. -if { { ac_try="$ac_link"
  3049. -case "(($ac_try" in
  3050. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3051. - *) ac_try_echo=$ac_try;;
  3052. -esac
  3053. -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3054. -$as_echo "$ac_try_echo"; } >&5
  3055. - (eval "$ac_link") 2>&5
  3056. - ac_status=$?
  3057. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3058. - test $ac_status = 0; }; then :
  3059. - # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3060. -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  3061. -# work properly (i.e., refer to `conftest.exe'), while it won't with
  3062. -# `rm'.
  3063. -for ac_file in conftest.exe conftest conftest.*; do
  3064. - test -f "$ac_file" || continue
  3065. - case $ac_file in
  3066. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3067. - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3068. - break;;
  3069. - * ) break;;
  3070. - esac
  3071. -done
  3072. -else
  3073. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3074. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3075. -as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  3076. -See \`config.log' for more details" "$LINENO" 5; }
  3077. -fi
  3078. -rm -f conftest conftest$ac_cv_exeext
  3079. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3080. -$as_echo "$ac_cv_exeext" >&6; }
  3081. -
  3082. -rm -f conftest.$ac_ext
  3083. -EXEEXT=$ac_cv_exeext
  3084. -ac_exeext=$EXEEXT
  3085. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3086. -/* end confdefs.h. */
  3087. -#include <stdio.h>
  3088. -int
  3089. -main ()
  3090. -{
  3091. -FILE *f = fopen ("conftest.out", "w");
  3092. - return ferror (f) || fclose (f) != 0;
  3093. -
  3094. - ;
  3095. - return 0;
  3096. -}
  3097. -_ACEOF
  3098. -ac_clean_files="$ac_clean_files conftest.out"
  3099. -# Check that the compiler produces executables we can run. If not, either
  3100. -# the compiler is broken, or we cross compile.
  3101. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3102. -$as_echo_n "checking whether we are cross compiling... " >&6; }
  3103. -if test "$cross_compiling" != yes; then
  3104. - { { ac_try="$ac_link"
  3105. -case "(($ac_try" in
  3106. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3107. - *) ac_try_echo=$ac_try;;
  3108. -esac
  3109. -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3110. -$as_echo "$ac_try_echo"; } >&5
  3111. - (eval "$ac_link") 2>&5
  3112. - ac_status=$?
  3113. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3114. - test $ac_status = 0; }
  3115. - if { ac_try='./conftest$ac_cv_exeext'
  3116. - { { case "(($ac_try" in
  3117. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3118. - *) ac_try_echo=$ac_try;;
  3119. -esac
  3120. -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3121. -$as_echo "$ac_try_echo"; } >&5
  3122. - (eval "$ac_try") 2>&5
  3123. - ac_status=$?
  3124. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3125. - test $ac_status = 0; }; }; then
  3126. - cross_compiling=no
  3127. - else
  3128. - if test "$cross_compiling" = maybe; then
  3129. - cross_compiling=yes
  3130. - else
  3131. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3132. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3133. -as_fn_error $? "cannot run C compiled programs.
  3134. -If you meant to cross compile, use \`--host'.
  3135. -See \`config.log' for more details" "$LINENO" 5; }
  3136. - fi
  3137. - fi
  3138. -fi
  3139. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3140. -$as_echo "$cross_compiling" >&6; }
  3141. -
  3142. -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3143. -ac_clean_files=$ac_clean_files_save
  3144. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3145. -$as_echo_n "checking for suffix of object files... " >&6; }
  3146. -if ${ac_cv_objext+:} false; then :
  3147. - $as_echo_n "(cached) " >&6
  3148. -else
  3149. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3150. -/* end confdefs.h. */
  3151. -
  3152. -int
  3153. -main ()
  3154. -{
  3155. -
  3156. - ;
  3157. - return 0;
  3158. -}
  3159. -_ACEOF
  3160. -rm -f conftest.o conftest.obj
  3161. -if { { ac_try="$ac_compile"
  3162. -case "(($ac_try" in
  3163. - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3164. - *) ac_try_echo=$ac_try;;
  3165. -esac
  3166. -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3167. -$as_echo "$ac_try_echo"; } >&5
  3168. - (eval "$ac_compile") 2>&5
  3169. - ac_status=$?
  3170. - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3171. - test $ac_status = 0; }; then :
  3172. - for ac_file in conftest.o conftest.obj conftest.*; do
  3173. - test -f "$ac_file" || continue;
  3174. - case $ac_file in
  3175. - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3176. - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3177. - break;;
  3178. - esac
  3179. -done
  3180. -else
  3181. - $as_echo "$as_me: failed program was:" >&5
  3182. -sed 's/^/| /' conftest.$ac_ext >&5
  3183. -
  3184. -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3185. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3186. -as_fn_error $? "cannot compute suffix of object files: cannot compile
  3187. -See \`config.log' for more details" "$LINENO" 5; }
  3188. -fi
  3189. -rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3190. -fi
  3191. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3192. -$as_echo "$ac_cv_objext" >&6; }
  3193. -OBJEXT=$ac_cv_objext
  3194. -ac_objext=$OBJEXT
  3195. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3196. -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3197. -if ${ac_cv_c_compiler_gnu+:} false; then :
  3198. - $as_echo_n "(cached) " >&6
  3199. -else
  3200. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3201. -/* end confdefs.h. */
  3202. -
  3203. -int
  3204. -main ()
  3205. -{
  3206. -#ifndef __GNUC__
  3207. - choke me
  3208. -#endif
  3209. -
  3210. - ;
  3211. - return 0;
  3212. -}
  3213. -_ACEOF
  3214. -if ac_fn_c_try_compile "$LINENO"; then :
  3215. - ac_compiler_gnu=yes
  3216. -else
  3217. - ac_compiler_gnu=no
  3218. -fi
  3219. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3220. -ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3221. -
  3222. -fi
  3223. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3224. -$as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3225. -if test $ac_compiler_gnu = yes; then
  3226. - GCC=yes
  3227. -else
  3228. - GCC=
  3229. -fi
  3230. -ac_test_CFLAGS=${CFLAGS+set}
  3231. -ac_save_CFLAGS=$CFLAGS
  3232. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3233. -$as_echo_n "checking whether $CC accepts -g... " >&6; }
  3234. -if ${ac_cv_prog_cc_g+:} false; then :
  3235. - $as_echo_n "(cached) " >&6
  3236. -else
  3237. - ac_save_c_werror_flag=$ac_c_werror_flag
  3238. - ac_c_werror_flag=yes
  3239. - ac_cv_prog_cc_g=no
  3240. - CFLAGS="-g"
  3241. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3242. -/* end confdefs.h. */
  3243. -
  3244. -int
  3245. -main ()
  3246. -{
  3247. -
  3248. - ;
  3249. - return 0;
  3250. -}
  3251. -_ACEOF
  3252. -if ac_fn_c_try_compile "$LINENO"; then :
  3253. - ac_cv_prog_cc_g=yes
  3254. -else
  3255. - CFLAGS=""
  3256. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3257. -/* end confdefs.h. */
  3258. -
  3259. -int
  3260. -main ()
  3261. -{
  3262. -
  3263. - ;
  3264. - return 0;
  3265. -}
  3266. -_ACEOF
  3267. -if ac_fn_c_try_compile "$LINENO"; then :
  3268. -
  3269. -else
  3270. - ac_c_werror_flag=$ac_save_c_werror_flag
  3271. - CFLAGS="-g"
  3272. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3273. -/* end confdefs.h. */
  3274. -
  3275. -int
  3276. -main ()
  3277. -{
  3278. -
  3279. - ;
  3280. - return 0;
  3281. -}
  3282. -_ACEOF
  3283. -if ac_fn_c_try_compile "$LINENO"; then :
  3284. - ac_cv_prog_cc_g=yes
  3285. -fi
  3286. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3287. -fi
  3288. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3289. -fi
  3290. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3291. - ac_c_werror_flag=$ac_save_c_werror_flag
  3292. -fi
  3293. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3294. -$as_echo "$ac_cv_prog_cc_g" >&6; }
  3295. -if test "$ac_test_CFLAGS" = set; then
  3296. - CFLAGS=$ac_save_CFLAGS
  3297. -elif test $ac_cv_prog_cc_g = yes; then
  3298. - if test "$GCC" = yes; then
  3299. - CFLAGS="-g -O2"
  3300. - else
  3301. - CFLAGS="-g"
  3302. - fi
  3303. -else
  3304. - if test "$GCC" = yes; then
  3305. - CFLAGS="-O2"
  3306. - else
  3307. - CFLAGS=
  3308. - fi
  3309. -fi
  3310. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3311. -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3312. -if ${ac_cv_prog_cc_c89+:} false; then :
  3313. - $as_echo_n "(cached) " >&6
  3314. -else
  3315. - ac_cv_prog_cc_c89=no
  3316. -ac_save_CC=$CC
  3317. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3318. -/* end confdefs.h. */
  3319. -#include <stdarg.h>
  3320. -#include <stdio.h>
  3321. -struct stat;
  3322. -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3323. -struct buf { int x; };
  3324. -FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3325. -static char *e (p, i)
  3326. - char **p;
  3327. - int i;
  3328. -{
  3329. - return p[i];
  3330. -}
  3331. -static char *f (char * (*g) (char **, int), char **p, ...)
  3332. -{
  3333. - char *s;
  3334. - va_list v;
  3335. - va_start (v,p);
  3336. - s = g (p, va_arg (v,int));
  3337. - va_end (v);
  3338. - return s;
  3339. -}
  3340. -
  3341. -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3342. - function prototypes and stuff, but not '\xHH' hex character constants.
  3343. - These don't provoke an error unfortunately, instead are silently treated
  3344. - as 'x'. The following induces an error, until -std is added to get
  3345. - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3346. - array size at least. It's necessary to write '\x00'==0 to get something
  3347. - that's true only with -std. */
  3348. -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3349. -
  3350. -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3351. - inside strings and character constants. */
  3352. -#define FOO(x) 'x'
  3353. -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3354. -
  3355. -int test (int i, double x);
  3356. -struct s1 {int (*f) (int a);};
  3357. -struct s2 {int (*f) (double a);};
  3358. -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3359. -int argc;
  3360. -char **argv;
  3361. -int
  3362. -main ()
  3363. -{
  3364. -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3365. - ;
  3366. - return 0;
  3367. -}
  3368. -_ACEOF
  3369. -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3370. - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3371. -do
  3372. - CC="$ac_save_CC $ac_arg"
  3373. - if ac_fn_c_try_compile "$LINENO"; then :
  3374. - ac_cv_prog_cc_c89=$ac_arg
  3375. -fi
  3376. -rm -f core conftest.err conftest.$ac_objext
  3377. - test "x$ac_cv_prog_cc_c89" != "xno" && break
  3378. -done
  3379. -rm -f conftest.$ac_ext
  3380. -CC=$ac_save_CC
  3381. -
  3382. -fi
  3383. -# AC_CACHE_VAL
  3384. -case "x$ac_cv_prog_cc_c89" in
  3385. - x)
  3386. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3387. -$as_echo "none needed" >&6; } ;;
  3388. - xno)
  3389. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3390. -$as_echo "unsupported" >&6; } ;;
  3391. - *)
  3392. - CC="$CC $ac_cv_prog_cc_c89"
  3393. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  3394. -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3395. -esac
  3396. -if test "x$ac_cv_prog_cc_c89" != xno; then :
  3397. -
  3398. -fi
  3399. -
  3400. -ac_ext=c
  3401. -ac_cpp='$CPP $CPPFLAGS'
  3402. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3403. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3404. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3405. -
  3406. -ac_ext=c
  3407. -ac_cpp='$CPP $CPPFLAGS'
  3408. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3409. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3410. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3411. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  3412. -$as_echo_n "checking how to run the C preprocessor... " >&6; }
  3413. -# On Suns, sometimes $CPP names a directory.
  3414. -if test -n "$CPP" && test -d "$CPP"; then
  3415. - CPP=
  3416. -fi
  3417. -if test -z "$CPP"; then
  3418. - if ${ac_cv_prog_CPP+:} false; then :
  3419. - $as_echo_n "(cached) " >&6
  3420. -else
  3421. - # Double quotes because CPP needs to be expanded
  3422. - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3423. - do
  3424. - ac_preproc_ok=false
  3425. -for ac_c_preproc_warn_flag in '' yes
  3426. -do
  3427. - # Use a header file that comes with gcc, so configuring glibc
  3428. - # with a fresh cross-compiler works.
  3429. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3430. - # <limits.h> exists even on freestanding compilers.
  3431. - # On the NeXT, cc -E runs the code through the compiler's parser,
  3432. - # not just through cpp. "Syntax error" is here to catch this case.
  3433. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3434. -/* end confdefs.h. */
  3435. -#ifdef __STDC__
  3436. -# include <limits.h>
  3437. -#else
  3438. -# include <assert.h>
  3439. -#endif
  3440. - Syntax error
  3441. -_ACEOF
  3442. -if ac_fn_c_try_cpp "$LINENO"; then :
  3443. -
  3444. -else
  3445. - # Broken: fails on valid input.
  3446. -continue
  3447. -fi
  3448. -rm -f conftest.err conftest.i conftest.$ac_ext
  3449. -
  3450. - # OK, works on sane cases. Now check whether nonexistent headers
  3451. - # can be detected and how.
  3452. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3453. -/* end confdefs.h. */
  3454. -#include <ac_nonexistent.h>
  3455. -_ACEOF
  3456. -if ac_fn_c_try_cpp "$LINENO"; then :
  3457. - # Broken: success on invalid input.
  3458. -continue
  3459. -else
  3460. - # Passes both tests.
  3461. -ac_preproc_ok=:
  3462. -break
  3463. -fi
  3464. -rm -f conftest.err conftest.i conftest.$ac_ext
  3465. -
  3466. -done
  3467. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3468. -rm -f conftest.i conftest.err conftest.$ac_ext
  3469. -if $ac_preproc_ok; then :
  3470. - break
  3471. -fi
  3472. -
  3473. - done
  3474. - ac_cv_prog_CPP=$CPP
  3475. -
  3476. -fi
  3477. - CPP=$ac_cv_prog_CPP
  3478. -else
  3479. - ac_cv_prog_CPP=$CPP
  3480. -fi
  3481. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  3482. -$as_echo "$CPP" >&6; }
  3483. -ac_preproc_ok=false
  3484. -for ac_c_preproc_warn_flag in '' yes
  3485. -do
  3486. - # Use a header file that comes with gcc, so configuring glibc
  3487. - # with a fresh cross-compiler works.
  3488. - # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3489. - # <limits.h> exists even on freestanding compilers.
  3490. - # On the NeXT, cc -E runs the code through the compiler's parser,
  3491. - # not just through cpp. "Syntax error" is here to catch this case.
  3492. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3493. -/* end confdefs.h. */
  3494. -#ifdef __STDC__
  3495. -# include <limits.h>
  3496. -#else
  3497. -# include <assert.h>
  3498. -#endif
  3499. - Syntax error
  3500. -_ACEOF
  3501. -if ac_fn_c_try_cpp "$LINENO"; then :
  3502. -
  3503. -else
  3504. - # Broken: fails on valid input.
  3505. -continue
  3506. -fi
  3507. -rm -f conftest.err conftest.i conftest.$ac_ext
  3508. -
  3509. - # OK, works on sane cases. Now check whether nonexistent headers
  3510. - # can be detected and how.
  3511. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3512. -/* end confdefs.h. */
  3513. -#include <ac_nonexistent.h>
  3514. -_ACEOF
  3515. -if ac_fn_c_try_cpp "$LINENO"; then :
  3516. - # Broken: success on invalid input.
  3517. -continue
  3518. -else
  3519. - # Passes both tests.
  3520. -ac_preproc_ok=:
  3521. -break
  3522. -fi
  3523. -rm -f conftest.err conftest.i conftest.$ac_ext
  3524. -
  3525. -done
  3526. -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3527. -rm -f conftest.i conftest.err conftest.$ac_ext
  3528. -if $ac_preproc_ok; then :
  3529. -
  3530. -else
  3531. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3532. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3533. -as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  3534. -See \`config.log' for more details" "$LINENO" 5; }
  3535. -fi
  3536. -
  3537. -ac_ext=c
  3538. -ac_cpp='$CPP $CPPFLAGS'
  3539. -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3540. -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3541. -ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3542. -
  3543. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  3544. -$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  3545. -if ${ac_cv_path_GREP+:} false; then :
  3546. - $as_echo_n "(cached) " >&6
  3547. -else
  3548. - if test -z "$GREP"; then
  3549. - ac_path_GREP_found=false
  3550. - # Loop through the user's path and test for each of PROGNAME-LIST
  3551. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3552. -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3553. -do
  3554. - IFS=$as_save_IFS
  3555. - test -z "$as_dir" && as_dir=.
  3556. - for ac_prog in grep ggrep; do
  3557. - for ac_exec_ext in '' $ac_executable_extensions; do
  3558. - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  3559. - as_fn_executable_p "$ac_path_GREP" || continue
  3560. -# Check for GNU ac_path_GREP and select it if it is found.
  3561. - # Check for GNU $ac_path_GREP
  3562. -case `"$ac_path_GREP" --version 2>&1` in
  3563. -*GNU*)
  3564. - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  3565. -*)
  3566. - ac_count=0
  3567. - $as_echo_n 0123456789 >"conftest.in"
  3568. - while :
  3569. - do
  3570. - cat "conftest.in" "conftest.in" >"conftest.tmp"
  3571. - mv "conftest.tmp" "conftest.in"
  3572. - cp "conftest.in" "conftest.nl"
  3573. - $as_echo 'GREP' >> "conftest.nl"
  3574. - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3575. - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3576. - as_fn_arith $ac_count + 1 && ac_count=$as_val
  3577. - if test $ac_count -gt ${ac_path_GREP_max-0}; then
  3578. - # Best one so far, save it but keep looking for a better one
  3579. - ac_cv_path_GREP="$ac_path_GREP"
  3580. - ac_path_GREP_max=$ac_count
  3581. - fi
  3582. - # 10*(2^10) chars as input seems more than enough
  3583. - test $ac_count -gt 10 && break
  3584. - done
  3585. - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3586. -esac
  3587. -
  3588. - $ac_path_GREP_found && break 3
  3589. - done
  3590. - done
  3591. - done
  3592. -IFS=$as_save_IFS
  3593. - if test -z "$ac_cv_path_GREP"; then
  3594. - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3595. - fi
  3596. -else
  3597. - ac_cv_path_GREP=$GREP
  3598. -fi
  3599. -
  3600. -fi
  3601. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  3602. -$as_echo "$ac_cv_path_GREP" >&6; }
  3603. - GREP="$ac_cv_path_GREP"
  3604. -
  3605. -
  3606. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  3607. -$as_echo_n "checking for egrep... " >&6; }
  3608. -if ${ac_cv_path_EGREP+:} false; then :
  3609. - $as_echo_n "(cached) " >&6
  3610. -else
  3611. - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  3612. - then ac_cv_path_EGREP="$GREP -E"
  3613. - else
  3614. - if test -z "$EGREP"; then
  3615. - ac_path_EGREP_found=false
  3616. - # Loop through the user's path and test for each of PROGNAME-LIST
  3617. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3618. -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  3619. -do
  3620. - IFS=$as_save_IFS
  3621. - test -z "$as_dir" && as_dir=.
  3622. - for ac_prog in egrep; do
  3623. - for ac_exec_ext in '' $ac_executable_extensions; do
  3624. - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  3625. - as_fn_executable_p "$ac_path_EGREP" || continue
  3626. -# Check for GNU ac_path_EGREP and select it if it is found.
  3627. - # Check for GNU $ac_path_EGREP
  3628. -case `"$ac_path_EGREP" --version 2>&1` in
  3629. -*GNU*)
  3630. - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  3631. -*)
  3632. - ac_count=0
  3633. - $as_echo_n 0123456789 >"conftest.in"
  3634. - while :
  3635. - do
  3636. - cat "conftest.in" "conftest.in" >"conftest.tmp"
  3637. - mv "conftest.tmp" "conftest.in"
  3638. - cp "conftest.in" "conftest.nl"
  3639. - $as_echo 'EGREP' >> "conftest.nl"
  3640. - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  3641. - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  3642. - as_fn_arith $ac_count + 1 && ac_count=$as_val
  3643. - if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  3644. - # Best one so far, save it but keep looking for a better one
  3645. - ac_cv_path_EGREP="$ac_path_EGREP"
  3646. - ac_path_EGREP_max=$ac_count
  3647. - fi
  3648. - # 10*(2^10) chars as input seems more than enough
  3649. - test $ac_count -gt 10 && break
  3650. - done
  3651. - rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  3652. -esac
  3653. -
  3654. - $ac_path_EGREP_found && break 3
  3655. - done
  3656. - done
  3657. - done
  3658. -IFS=$as_save_IFS
  3659. - if test -z "$ac_cv_path_EGREP"; then
  3660. - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  3661. - fi
  3662. -else
  3663. - ac_cv_path_EGREP=$EGREP
  3664. -fi
  3665. -
  3666. - fi
  3667. -fi
  3668. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  3669. -$as_echo "$ac_cv_path_EGREP" >&6; }
  3670. - EGREP="$ac_cv_path_EGREP"
  3671. -
  3672. -
  3673. -# Find a good install program. We prefer a C program (faster),
  3674. -# so one script is as good as another. But avoid the broken or
  3675. -# incompatible versions:
  3676. -# SysV /etc/install, /usr/sbin/install
  3677. -# SunOS /usr/etc/install
  3678. -# IRIX /sbin/install
  3679. -# AIX /bin/install
  3680. -# AmigaOS /C/install, which installs bootblocks on floppy discs
  3681. -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  3682. -# AFS /usr/afsws/bin/install, which mishandles nonexistent args
  3683. -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  3684. -# OS/2's system install, which has a completely different semantic
  3685. -# ./install, which can be erroneously created by make from ./install.sh.
  3686. -# Reject install programs that cannot install multiple files.
  3687. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  3688. -$as_echo_n "checking for a BSD-compatible install... " >&6; }
  3689. -if test -z "$INSTALL"; then
  3690. -if ${ac_cv_path_install+:} false; then :
  3691. - $as_echo_n "(cached) " >&6
  3692. -else
  3693. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3694. -for as_dir in $PATH
  3695. -do
  3696. - IFS=$as_save_IFS
  3697. - test -z "$as_dir" && as_dir=.
  3698. - # Account for people who put trailing slashes in PATH elements.
  3699. -case $as_dir/ in #((
  3700. - ./ | .// | /[cC]/* | \
  3701. - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  3702. - ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  3703. - /usr/ucb/* ) ;;
  3704. - *)
  3705. - # OSF1 and SCO ODT 3.0 have their own names for install.
  3706. - # Don't use installbsd from OSF since it installs stuff as root
  3707. - # by default.
  3708. - for ac_prog in ginstall scoinst install; do
  3709. - for ac_exec_ext in '' $ac_executable_extensions; do
  3710. - if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  3711. - if test $ac_prog = install &&
  3712. - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  3713. - # AIX install. It has an incompatible calling convention.
  3714. - :
  3715. - elif test $ac_prog = install &&
  3716. - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  3717. - # program-specific install script used by HP pwplus--don't use.
  3718. - :
  3719. - else
  3720. - rm -rf conftest.one conftest.two conftest.dir
  3721. - echo one > conftest.one
  3722. - echo two > conftest.two
  3723. - mkdir conftest.dir
  3724. - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  3725. - test -s conftest.one && test -s conftest.two &&
  3726. - test -s conftest.dir/conftest.one &&
  3727. - test -s conftest.dir/conftest.two
  3728. - then
  3729. - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  3730. - break 3
  3731. - fi
  3732. - fi
  3733. - fi
  3734. - done
  3735. - done
  3736. - ;;
  3737. -esac
  3738. -
  3739. - done
  3740. -IFS=$as_save_IFS
  3741. -
  3742. -rm -rf conftest.one conftest.two conftest.dir
  3743. -
  3744. -fi
  3745. - if test "${ac_cv_path_install+set}" = set; then
  3746. - INSTALL=$ac_cv_path_install
  3747. - else
  3748. - # As a last resort, use the slow shell script. Don't cache a
  3749. - # value for INSTALL within a source directory, because that will
  3750. - # break other packages using the cache if that directory is
  3751. - # removed, or if the value is a relative name.
  3752. - INSTALL=$ac_install_sh
  3753. - fi
  3754. -fi
  3755. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  3756. -$as_echo "$INSTALL" >&6; }
  3757. -
  3758. -# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  3759. -# It thinks the first close brace ends the variable substitution.
  3760. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  3761. -
  3762. -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  3763. -
  3764. -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  3765. -
  3766. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  3767. -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  3768. -if test -z "$MKDIR_P"; then
  3769. - if ${ac_cv_path_mkdir+:} false; then :
  3770. - $as_echo_n "(cached) " >&6
  3771. -else
  3772. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3773. -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  3774. -do
  3775. - IFS=$as_save_IFS
  3776. - test -z "$as_dir" && as_dir=.
  3777. - for ac_prog in mkdir gmkdir; do
  3778. - for ac_exec_ext in '' $ac_executable_extensions; do
  3779. - as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
  3780. - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  3781. - 'mkdir (GNU coreutils) '* | \
  3782. - 'mkdir (coreutils) '* | \
  3783. - 'mkdir (fileutils) '4.1*)
  3784. - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  3785. - break 3;;
  3786. - esac
  3787. - done
  3788. - done
  3789. - done
  3790. -IFS=$as_save_IFS
  3791. -
  3792. -fi
  3793. -
  3794. - test -d ./--version && rmdir ./--version
  3795. - if test "${ac_cv_path_mkdir+set}" = set; then
  3796. - MKDIR_P="$ac_cv_path_mkdir -p"
  3797. - else
  3798. - # As a last resort, use the slow shell script. Don't cache a
  3799. - # value for MKDIR_P within a source directory, because that will
  3800. - # break other packages using the cache if that directory is
  3801. - # removed, or if the value is a relative name.
  3802. - MKDIR_P="$ac_install_sh -d"
  3803. - fi
  3804. -fi
  3805. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  3806. -$as_echo "$MKDIR_P" >&6; }
  3807. -
  3808. - case $ac_cv_prog_cc_stdc in #(
  3809. - no) :
  3810. - ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
  3811. - *) :
  3812. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
  3813. -$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
  3814. -if ${ac_cv_prog_cc_c99+:} false; then :
  3815. - $as_echo_n "(cached) " >&6
  3816. -else
  3817. - ac_cv_prog_cc_c99=no
  3818. -ac_save_CC=$CC
  3819. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3820. -/* end confdefs.h. */
  3821. -#include <stdarg.h>
  3822. -#include <stdbool.h>
  3823. -#include <stdlib.h>
  3824. -#include <wchar.h>
  3825. -#include <stdio.h>
  3826. -
  3827. -// Check varargs macros. These examples are taken from C99 6.10.3.5.
  3828. -#define debug(...) fprintf (stderr, __VA_ARGS__)
  3829. -#define showlist(...) puts (#__VA_ARGS__)
  3830. -#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  3831. -static void
  3832. -test_varargs_macros (void)
  3833. -{
  3834. - int x = 1234;
  3835. - int y = 5678;
  3836. - debug ("Flag");
  3837. - debug ("X = %d\n", x);
  3838. - showlist (The first, second, and third items.);
  3839. - report (x>y, "x is %d but y is %d", x, y);
  3840. -}
  3841. -
  3842. -// Check long long types.
  3843. -#define BIG64 18446744073709551615ull
  3844. -#define BIG32 4294967295ul
  3845. -#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  3846. -#if !BIG_OK
  3847. - your preprocessor is broken;
  3848. -#endif
  3849. -#if BIG_OK
  3850. -#else
  3851. - your preprocessor is broken;
  3852. -#endif
  3853. -static long long int bignum = -9223372036854775807LL;
  3854. -static unsigned long long int ubignum = BIG64;
  3855. -
  3856. -struct incomplete_array
  3857. -{
  3858. - int datasize;
  3859. - double data[];
  3860. -};
  3861. -
  3862. -struct named_init {
  3863. - int number;
  3864. - const wchar_t *name;
  3865. - double average;
  3866. -};
  3867. -
  3868. -typedef const char *ccp;
  3869. -
  3870. -static inline int
  3871. -test_restrict (ccp restrict text)
  3872. -{
  3873. - // See if C++-style comments work.
  3874. - // Iterate through items via the restricted pointer.
  3875. - // Also check for declarations in for loops.
  3876. - for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  3877. - continue;
  3878. - return 0;
  3879. -}
  3880. -
  3881. -// Check varargs and va_copy.
  3882. -static void
  3883. -test_varargs (const char *format, ...)
  3884. -{
  3885. - va_list args;
  3886. - va_start (args, format);
  3887. - va_list args_copy;
  3888. - va_copy (args_copy, args);
  3889. -
  3890. - const char *str;
  3891. - int number;
  3892. - float fnumber;
  3893. -
  3894. - while (*format)
  3895. - {
  3896. - switch (*format++)
  3897. - {
  3898. - case 's': // string
  3899. - str = va_arg (args_copy, const char *);
  3900. - break;
  3901. - case 'd': // int
  3902. - number = va_arg (args_copy, int);
  3903. - break;
  3904. - case 'f': // float
  3905. - fnumber = va_arg (args_copy, double);
  3906. - break;
  3907. - default:
  3908. - break;
  3909. - }
  3910. - }
  3911. - va_end (args_copy);
  3912. - va_end (args);
  3913. -}
  3914. -
  3915. -int
  3916. -main ()
  3917. -{
  3918. -
  3919. - // Check bool.
  3920. - _Bool success = false;
  3921. -
  3922. - // Check restrict.
  3923. - if (test_restrict ("String literal") == 0)
  3924. - success = true;
  3925. - char *restrict newvar = "Another string";
  3926. -
  3927. - // Check varargs.
  3928. - test_varargs ("s, d' f .", "string", 65, 34.234);
  3929. - test_varargs_macros ();
  3930. -
  3931. - // Check flexible array members.
  3932. - struct incomplete_array *ia =
  3933. - malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  3934. - ia->datasize = 10;
  3935. - for (int i = 0; i < ia->datasize; ++i)
  3936. - ia->data[i] = i * 1.234;
  3937. -
  3938. - // Check named initializers.
  3939. - struct named_init ni = {
  3940. - .number = 34,
  3941. - .name = L"Test wide string",
  3942. - .average = 543.34343,
  3943. - };
  3944. -
  3945. - ni.number = 58;
  3946. -
  3947. - int dynamic_array[ni.number];
  3948. - dynamic_array[ni.number - 1] = 543;
  3949. -
  3950. - // work around unused variable warnings
  3951. - return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  3952. - || dynamic_array[ni.number - 1] != 543);
  3953. -
  3954. - ;
  3955. - return 0;
  3956. -}
  3957. -_ACEOF
  3958. -for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
  3959. -do
  3960. - CC="$ac_save_CC $ac_arg"
  3961. - if ac_fn_c_try_compile "$LINENO"; then :
  3962. - ac_cv_prog_cc_c99=$ac_arg
  3963. -fi
  3964. -rm -f core conftest.err conftest.$ac_objext
  3965. - test "x$ac_cv_prog_cc_c99" != "xno" && break
  3966. -done
  3967. -rm -f conftest.$ac_ext
  3968. -CC=$ac_save_CC
  3969. -
  3970. -fi
  3971. -# AC_CACHE_VAL
  3972. -case "x$ac_cv_prog_cc_c99" in
  3973. - x)
  3974. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  3975. -$as_echo "none needed" >&6; } ;;
  3976. - xno)
  3977. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  3978. -$as_echo "unsupported" >&6; } ;;
  3979. - *)
  3980. - CC="$CC $ac_cv_prog_cc_c99"
  3981. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
  3982. -$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
  3983. -esac
  3984. -if test "x$ac_cv_prog_cc_c99" != xno; then :
  3985. - ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
  3986. -else
  3987. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3988. -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3989. -if ${ac_cv_prog_cc_c89+:} false; then :
  3990. - $as_echo_n "(cached) " >&6
  3991. -else
  3992. - ac_cv_prog_cc_c89=no
  3993. -ac_save_CC=$CC
  3994. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3995. -/* end confdefs.h. */
  3996. -#include <stdarg.h>
  3997. -#include <stdio.h>
  3998. -struct stat;
  3999. -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  4000. -struct buf { int x; };
  4001. -FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4002. -static char *e (p, i)
  4003. - char **p;
  4004. - int i;
  4005. -{
  4006. - return p[i];
  4007. -}
  4008. -static char *f (char * (*g) (char **, int), char **p, ...)
  4009. -{
  4010. - char *s;
  4011. - va_list v;
  4012. - va_start (v,p);
  4013. - s = g (p, va_arg (v,int));
  4014. - va_end (v);
  4015. - return s;
  4016. -}
  4017. -
  4018. -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  4019. - function prototypes and stuff, but not '\xHH' hex character constants.
  4020. - These don't provoke an error unfortunately, instead are silently treated
  4021. - as 'x'. The following induces an error, until -std is added to get
  4022. - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  4023. - array size at least. It's necessary to write '\x00'==0 to get something
  4024. - that's true only with -std. */
  4025. -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4026. -
  4027. -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4028. - inside strings and character constants. */
  4029. -#define FOO(x) 'x'
  4030. -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4031. -
  4032. -int test (int i, double x);
  4033. -struct s1 {int (*f) (int a);};
  4034. -struct s2 {int (*f) (double a);};
  4035. -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4036. -int argc;
  4037. -char **argv;
  4038. -int
  4039. -main ()
  4040. -{
  4041. -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  4042. - ;
  4043. - return 0;
  4044. -}
  4045. -_ACEOF
  4046. -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4047. - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4048. -do
  4049. - CC="$ac_save_CC $ac_arg"
  4050. - if ac_fn_c_try_compile "$LINENO"; then :
  4051. - ac_cv_prog_cc_c89=$ac_arg
  4052. -fi
  4053. -rm -f core conftest.err conftest.$ac_objext
  4054. - test "x$ac_cv_prog_cc_c89" != "xno" && break
  4055. -done
  4056. -rm -f conftest.$ac_ext
  4057. -CC=$ac_save_CC
  4058. -
  4059. -fi
  4060. -# AC_CACHE_VAL
  4061. -case "x$ac_cv_prog_cc_c89" in
  4062. - x)
  4063. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4064. -$as_echo "none needed" >&6; } ;;
  4065. - xno)
  4066. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4067. -$as_echo "unsupported" >&6; } ;;
  4068. - *)
  4069. - CC="$CC $ac_cv_prog_cc_c89"
  4070. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4071. -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4072. -esac
  4073. -if test "x$ac_cv_prog_cc_c89" != xno; then :
  4074. - ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
  4075. -else
  4076. - ac_cv_prog_cc_stdc=no
  4077. -fi
  4078. -
  4079. -fi
  4080. - ;;
  4081. -esac
  4082. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
  4083. -$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
  4084. - if ${ac_cv_prog_cc_stdc+:} false; then :
  4085. - $as_echo_n "(cached) " >&6
  4086. -fi
  4087. -
  4088. - case $ac_cv_prog_cc_stdc in #(
  4089. - no) :
  4090. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4091. -$as_echo "unsupported" >&6; } ;; #(
  4092. - '') :
  4093. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4094. -$as_echo "none needed" >&6; } ;; #(
  4095. - *) :
  4096. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
  4097. -$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
  4098. -esac
  4099. -
  4100. -
  4101. -# Extract the first word of "perl", so it can be a program name with args.
  4102. -set dummy perl; ac_word=$2
  4103. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4104. -$as_echo_n "checking for $ac_word... " >&6; }
  4105. -if ${ac_cv_path_PERL+:} false; then :
  4106. - $as_echo_n "(cached) " >&6
  4107. -else
  4108. - case $PERL in
  4109. - [\\/]* | ?:[\\/]*)
  4110. - ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
  4111. - ;;
  4112. - *)
  4113. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4114. -for as_dir in $PATH
  4115. -do
  4116. - IFS=$as_save_IFS
  4117. - test -z "$as_dir" && as_dir=.
  4118. - for ac_exec_ext in '' $ac_executable_extensions; do
  4119. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4120. - ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
  4121. - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4122. - break 2
  4123. - fi
  4124. -done
  4125. - done
  4126. -IFS=$as_save_IFS
  4127. -
  4128. - ;;
  4129. -esac
  4130. -fi
  4131. -PERL=$ac_cv_path_PERL
  4132. -if test -n "$PERL"; then
  4133. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
  4134. -$as_echo "$PERL" >&6; }
  4135. -else
  4136. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4137. -$as_echo "no" >&6; }
  4138. -fi
  4139. -
  4140. -
  4141. -
  4142. -
  4143. -$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
  4144. -
  4145. -
  4146. -if test x"$ac_cv_prog_cc_stdc" = x"no"; then
  4147. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: rsync requires an ANSI C compiler and you do not seem to have one" >&5
  4148. -$as_echo "$as_me: WARNING: rsync requires an ANSI C compiler and you do not seem to have one" >&2;}
  4149. -fi
  4150. -
  4151. -# Check whether --enable-profile was given.
  4152. -if test "${enable_profile+set}" = set; then :
  4153. - enableval=$enable_profile;
  4154. -fi
  4155. -
  4156. -if test x"$enable_profile" = x"yes"; then
  4157. - CFLAGS="$CFLAGS -pg"
  4158. -fi
  4159. -
  4160. -
  4161. -# Specifically, this turns on panic_action handling.
  4162. -# Check whether --enable-maintainer-mode was given.
  4163. -if test "${enable_maintainer_mode+set}" = set; then :
  4164. - enableval=$enable_maintainer_mode;
  4165. -fi
  4166. -
  4167. -if test x"$enable_maintainer_mode" = x"yes"; then
  4168. - CFLAGS="$CFLAGS -DMAINTAINER_MODE"
  4169. -fi
  4170. -
  4171. -
  4172. -# This is needed for our included version of popt. Kind of silly, but
  4173. -# I don't want our version too far out of sync.
  4174. -CFLAGS="$CFLAGS -DHAVE_CONFIG_H"
  4175. -
  4176. -# If GCC, turn on warnings.
  4177. -if test x"$GCC" = x"yes"; then
  4178. - CFLAGS="$CFLAGS -Wall -W"
  4179. -fi
  4180. -
  4181. -
  4182. -# Check whether --with-included-popt was given.
  4183. -if test "${with_included_popt+set}" = set; then :
  4184. - withval=$with_included_popt;
  4185. -fi
  4186. -
  4187. -
  4188. -
  4189. -# Check whether --with-included-zlib was given.
  4190. -if test "${with_included_zlib+set}" = set; then :
  4191. - withval=$with_included_zlib;
  4192. -fi
  4193. -
  4194. -
  4195. -
  4196. -# Check whether --with-protected-args was given.
  4197. -if test "${with_protected_args+set}" = set; then :
  4198. - withval=$with_protected_args;
  4199. -fi
  4200. -
  4201. -if test x"$with_protected_args" = x"yes"; then
  4202. -
  4203. -cat >>confdefs.h <<_ACEOF
  4204. -#define RSYNC_USE_PROTECTED_ARGS 1
  4205. -_ACEOF
  4206. -
  4207. -fi
  4208. -
  4209. -
  4210. -# Check whether --with-rsync-path was given.
  4211. -if test "${with_rsync_path+set}" = set; then :
  4212. - withval=$with_rsync_path; RSYNC_PATH="$with_rsync_path"
  4213. -else
  4214. - RSYNC_PATH="rsync"
  4215. -fi
  4216. -
  4217. -
  4218. -
  4219. -cat >>confdefs.h <<_ACEOF
  4220. -#define RSYNC_PATH "$RSYNC_PATH"
  4221. -_ACEOF
  4222. -
  4223. -
  4224. -
  4225. -# Check whether --with-rsyncd-conf was given.
  4226. -if test "${with_rsyncd_conf+set}" = set; then :
  4227. - withval=$with_rsyncd_conf; if test ! -z "$with_rsyncd_conf" ; then
  4228. - case $with_rsyncd_conf in
  4229. - yes|no)
  4230. - RSYNCD_SYSCONF="/etc/rsyncd.conf"
  4231. - ;;
  4232. - /*)
  4233. - RSYNCD_SYSCONF="$with_rsyncd_conf"
  4234. - ;;
  4235. - *)
  4236. - as_fn_error $? "You must specify an absolute path to --with-rsyncd-conf=PATH" "$LINENO" 5
  4237. - ;;
  4238. - esac
  4239. - else
  4240. - RSYNCD_SYSCONF="/etc/rsyncd.conf"
  4241. - fi
  4242. -else
  4243. - RSYNCD_SYSCONF="/etc/rsyncd.conf"
  4244. -fi
  4245. -
  4246. -
  4247. -
  4248. -cat >>confdefs.h <<_ACEOF
  4249. -#define RSYNCD_SYSCONF "$RSYNCD_SYSCONF"
  4250. -_ACEOF
  4251. -
  4252. -
  4253. -
  4254. -# Check whether --with-rsh was given.
  4255. -if test "${with_rsh+set}" = set; then :
  4256. - withval=$with_rsh;
  4257. -fi
  4258. -
  4259. -
  4260. -# Extract the first word of "remsh", so it can be a program name with args.
  4261. -set dummy remsh; ac_word=$2
  4262. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4263. -$as_echo_n "checking for $ac_word... " >&6; }
  4264. -if ${ac_cv_prog_HAVE_REMSH+:} false; then :
  4265. - $as_echo_n "(cached) " >&6
  4266. -else
  4267. - if test -n "$HAVE_REMSH"; then
  4268. - ac_cv_prog_HAVE_REMSH="$HAVE_REMSH" # Let the user override the test.
  4269. -else
  4270. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4271. -for as_dir in $PATH
  4272. -do
  4273. - IFS=$as_save_IFS
  4274. - test -z "$as_dir" && as_dir=.
  4275. - for ac_exec_ext in '' $ac_executable_extensions; do
  4276. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4277. - ac_cv_prog_HAVE_REMSH="1"
  4278. - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4279. - break 2
  4280. - fi
  4281. -done
  4282. - done
  4283. -IFS=$as_save_IFS
  4284. -
  4285. - test -z "$ac_cv_prog_HAVE_REMSH" && ac_cv_prog_HAVE_REMSH="0"
  4286. -fi
  4287. -fi
  4288. -HAVE_REMSH=$ac_cv_prog_HAVE_REMSH
  4289. -if test -n "$HAVE_REMSH"; then
  4290. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_REMSH" >&5
  4291. -$as_echo "$HAVE_REMSH" >&6; }
  4292. -else
  4293. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4294. -$as_echo "no" >&6; }
  4295. -fi
  4296. -
  4297. -
  4298. -if test x$HAVE_REMSH = x1; then
  4299. -
  4300. -$as_echo "#define HAVE_REMSH 1" >>confdefs.h
  4301. -
  4302. -fi
  4303. -
  4304. -if test x"$with_rsh" != x; then
  4305. - RSYNC_RSH="$with_rsh"
  4306. -else
  4307. - RSYNC_RSH="ssh"
  4308. -fi
  4309. -
  4310. -cat >>confdefs.h <<_ACEOF
  4311. -#define RSYNC_RSH "$RSYNC_RSH"
  4312. -_ACEOF
  4313. -
  4314. -
  4315. -# Extract the first word of "yodl2man", so it can be a program name with args.
  4316. -set dummy yodl2man; ac_word=$2
  4317. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4318. -$as_echo_n "checking for $ac_word... " >&6; }
  4319. -if ${ac_cv_prog_HAVE_YODL2MAN+:} false; then :
  4320. - $as_echo_n "(cached) " >&6
  4321. -else
  4322. - if test -n "$HAVE_YODL2MAN"; then
  4323. - ac_cv_prog_HAVE_YODL2MAN="$HAVE_YODL2MAN" # Let the user override the test.
  4324. -else
  4325. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4326. -for as_dir in $PATH
  4327. -do
  4328. - IFS=$as_save_IFS
  4329. - test -z "$as_dir" && as_dir=.
  4330. - for ac_exec_ext in '' $ac_executable_extensions; do
  4331. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4332. - ac_cv_prog_HAVE_YODL2MAN="1"
  4333. - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4334. - break 2
  4335. - fi
  4336. -done
  4337. - done
  4338. -IFS=$as_save_IFS
  4339. -
  4340. - test -z "$ac_cv_prog_HAVE_YODL2MAN" && ac_cv_prog_HAVE_YODL2MAN="0"
  4341. -fi
  4342. -fi
  4343. -HAVE_YODL2MAN=$ac_cv_prog_HAVE_YODL2MAN
  4344. -if test -n "$HAVE_YODL2MAN"; then
  4345. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_YODL2MAN" >&5
  4346. -$as_echo "$HAVE_YODL2MAN" >&6; }
  4347. -else
  4348. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4349. -$as_echo "no" >&6; }
  4350. -fi
  4351. -
  4352. -
  4353. -if test x$HAVE_YODL2MAN = x1; then
  4354. - MAKE_MAN=man
  4355. -else
  4356. - MAKE_MAN=man-copy
  4357. -fi
  4358. -
  4359. -# Some programs on solaris are only found in /usr/xpg4/bin (or work better than others versions).
  4360. -# Extract the first word of "sh", so it can be a program name with args.
  4361. -set dummy sh; ac_word=$2
  4362. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4363. -$as_echo_n "checking for $ac_word... " >&6; }
  4364. -if ${ac_cv_path_SHELL_PATH+:} false; then :
  4365. - $as_echo_n "(cached) " >&6
  4366. -else
  4367. - case $SHELL_PATH in
  4368. - [\\/]* | ?:[\\/]*)
  4369. - ac_cv_path_SHELL_PATH="$SHELL_PATH" # Let the user override the test with a path.
  4370. - ;;
  4371. - *)
  4372. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4373. -for as_dir in /usr/xpg4/bin$PATH_SEPARATOR$PATH
  4374. -do
  4375. - IFS=$as_save_IFS
  4376. - test -z "$as_dir" && as_dir=.
  4377. - for ac_exec_ext in '' $ac_executable_extensions; do
  4378. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4379. - ac_cv_path_SHELL_PATH="$as_dir/$ac_word$ac_exec_ext"
  4380. - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4381. - break 2
  4382. - fi
  4383. -done
  4384. - done
  4385. -IFS=$as_save_IFS
  4386. -
  4387. - test -z "$ac_cv_path_SHELL_PATH" && ac_cv_path_SHELL_PATH="/bin/sh"
  4388. - ;;
  4389. -esac
  4390. -fi
  4391. -SHELL_PATH=$ac_cv_path_SHELL_PATH
  4392. -if test -n "$SHELL_PATH"; then
  4393. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHELL_PATH" >&5
  4394. -$as_echo "$SHELL_PATH" >&6; }
  4395. -else
  4396. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4397. -$as_echo "no" >&6; }
  4398. -fi
  4399. -
  4400. -
  4401. -# Extract the first word of "fakeroot", so it can be a program name with args.
  4402. -set dummy fakeroot; ac_word=$2
  4403. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4404. -$as_echo_n "checking for $ac_word... " >&6; }
  4405. -if ${ac_cv_path_FAKEROOT_PATH+:} false; then :
  4406. - $as_echo_n "(cached) " >&6
  4407. -else
  4408. - case $FAKEROOT_PATH in
  4409. - [\\/]* | ?:[\\/]*)
  4410. - ac_cv_path_FAKEROOT_PATH="$FAKEROOT_PATH" # Let the user override the test with a path.
  4411. - ;;
  4412. - *)
  4413. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4414. -for as_dir in /usr/xpg4/bin$PATH_SEPARATOR$PATH
  4415. -do
  4416. - IFS=$as_save_IFS
  4417. - test -z "$as_dir" && as_dir=.
  4418. - for ac_exec_ext in '' $ac_executable_extensions; do
  4419. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4420. - ac_cv_path_FAKEROOT_PATH="$as_dir/$ac_word$ac_exec_ext"
  4421. - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4422. - break 2
  4423. - fi
  4424. -done
  4425. - done
  4426. -IFS=$as_save_IFS
  4427. -
  4428. - test -z "$ac_cv_path_FAKEROOT_PATH" && ac_cv_path_FAKEROOT_PATH="/usr/bin/fakeroot"
  4429. - ;;
  4430. -esac
  4431. -fi
  4432. -FAKEROOT_PATH=$ac_cv_path_FAKEROOT_PATH
  4433. -if test -n "$FAKEROOT_PATH"; then
  4434. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FAKEROOT_PATH" >&5
  4435. -$as_echo "$FAKEROOT_PATH" >&6; }
  4436. -else
  4437. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4438. -$as_echo "no" >&6; }
  4439. -fi
  4440. -
  4441. -
  4442. -
  4443. -
  4444. -# Check whether --with-nobody-group was given.
  4445. -if test "${with_nobody_group+set}" = set; then :
  4446. - withval=$with_nobody_group; NOBODY_GROUP="$with_nobody_group"
  4447. -fi
  4448. -
  4449. -
  4450. -if test x"$with_nobody_group" = x; then
  4451. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking the group for user \"nobody\"" >&5
  4452. -$as_echo_n "checking the group for user \"nobody\"... " >&6; }
  4453. - if grep '^nobody:' /etc/group >/dev/null 2>&1; then
  4454. - NOBODY_GROUP=nobody
  4455. - elif grep '^nogroup:' /etc/group >/dev/null 2>&1; then
  4456. - NOBODY_GROUP=nogroup
  4457. - else
  4458. - NOBODY_GROUP=nobody # test for others?
  4459. - fi
  4460. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOBODY_GROUP" >&5
  4461. -$as_echo "$NOBODY_GROUP" >&6; }
  4462. -fi
  4463. -
  4464. -
  4465. -cat >>confdefs.h <<_ACEOF
  4466. -#define NOBODY_USER "nobody"
  4467. -_ACEOF
  4468. -
  4469. -
  4470. -cat >>confdefs.h <<_ACEOF
  4471. -#define NOBODY_GROUP "$NOBODY_GROUP"
  4472. -_ACEOF
  4473. -
  4474. -
  4475. -# arrgh. libc in some old debian version screwed up the largefile
  4476. -# stuff, getting byte range locking wrong
  4477. -
  4478. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken largefile support" >&5
  4479. -$as_echo_n "checking for broken largefile support... " >&6; }
  4480. -if ${rsync_cv_HAVE_BROKEN_LARGEFILE+:} false; then :
  4481. - $as_echo_n "(cached) " >&6
  4482. -else
  4483. -
  4484. -if test "$cross_compiling" = yes; then :
  4485. - rsync_cv_HAVE_BROKEN_LARGEFILE=cross
  4486. -else
  4487. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4488. -/* end confdefs.h. */
  4489. -
  4490. -#define _FILE_OFFSET_BITS 64
  4491. -#include <stdio.h>
  4492. -#include <fcntl.h>
  4493. -#include <sys/types.h>
  4494. -#include <sys/wait.h>
  4495. -
  4496. -int main(void)
  4497. -{
  4498. - struct flock lock;
  4499. - int status;
  4500. - char tpl[32] = "/tmp/locktest.XXXXXX";
  4501. - int fd = mkstemp(tpl);
  4502. - if (fd < 0) {
  4503. - strcpy(tpl, "conftest.dat");
  4504. - fd = open(tpl, O_CREAT|O_RDWR, 0600);
  4505. - }
  4506. -
  4507. - lock.l_type = F_WRLCK;
  4508. - lock.l_whence = SEEK_SET;
  4509. - lock.l_start = 0;
  4510. - lock.l_len = 1;
  4511. - lock.l_pid = 0;
  4512. - fcntl(fd,F_SETLK,&lock);
  4513. - if (fork() == 0) {
  4514. - lock.l_start = 1;
  4515. - _exit(fcntl(fd,F_SETLK,&lock) == 0);
  4516. - }
  4517. - wait(&status);
  4518. - unlink(tpl);
  4519. - exit(WEXITSTATUS(status));
  4520. -}
  4521. -
  4522. -_ACEOF
  4523. -if ac_fn_c_try_run "$LINENO"; then :
  4524. - rsync_cv_HAVE_BROKEN_LARGEFILE=yes
  4525. -else
  4526. - rsync_cv_HAVE_BROKEN_LARGEFILE=no
  4527. -fi
  4528. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  4529. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  4530. -fi
  4531. -
  4532. -fi
  4533. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_BROKEN_LARGEFILE" >&5
  4534. -$as_echo "$rsync_cv_HAVE_BROKEN_LARGEFILE" >&6; }
  4535. -if test x"$rsync_cv_HAVE_BROKEN_LARGEFILE" != x"yes"; then
  4536. - # Check whether --enable-largefile was given.
  4537. -if test "${enable_largefile+set}" = set; then :
  4538. - enableval=$enable_largefile;
  4539. -fi
  4540. -
  4541. -if test "$enable_largefile" != no; then
  4542. -
  4543. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  4544. -$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  4545. -if ${ac_cv_sys_largefile_CC+:} false; then :
  4546. - $as_echo_n "(cached) " >&6
  4547. -else
  4548. - ac_cv_sys_largefile_CC=no
  4549. - if test "$GCC" != yes; then
  4550. - ac_save_CC=$CC
  4551. - while :; do
  4552. - # IRIX 6.2 and later do not support large files by default,
  4553. - # so use the C compiler's -n32 option if that helps.
  4554. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4555. -/* end confdefs.h. */
  4556. -#include <sys/types.h>
  4557. - /* Check that off_t can represent 2**63 - 1 correctly.
  4558. - We can't simply define LARGE_OFF_T to be 9223372036854775807,
  4559. - since some C++ compilers masquerading as C compilers
  4560. - incorrectly reject 9223372036854775807. */
  4561. -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  4562. - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  4563. - && LARGE_OFF_T % 2147483647 == 1)
  4564. - ? 1 : -1];
  4565. -int
  4566. -main ()
  4567. -{
  4568. -
  4569. - ;
  4570. - return 0;
  4571. -}
  4572. -_ACEOF
  4573. - if ac_fn_c_try_compile "$LINENO"; then :
  4574. - break
  4575. -fi
  4576. -rm -f core conftest.err conftest.$ac_objext
  4577. - CC="$CC -n32"
  4578. - if ac_fn_c_try_compile "$LINENO"; then :
  4579. - ac_cv_sys_largefile_CC=' -n32'; break
  4580. -fi
  4581. -rm -f core conftest.err conftest.$ac_objext
  4582. - break
  4583. - done
  4584. - CC=$ac_save_CC
  4585. - rm -f conftest.$ac_ext
  4586. - fi
  4587. -fi
  4588. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  4589. -$as_echo "$ac_cv_sys_largefile_CC" >&6; }
  4590. - if test "$ac_cv_sys_largefile_CC" != no; then
  4591. - CC=$CC$ac_cv_sys_largefile_CC
  4592. - fi
  4593. -
  4594. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  4595. -$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  4596. -if ${ac_cv_sys_file_offset_bits+:} false; then :
  4597. - $as_echo_n "(cached) " >&6
  4598. -else
  4599. - while :; do
  4600. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4601. -/* end confdefs.h. */
  4602. -#include <sys/types.h>
  4603. - /* Check that off_t can represent 2**63 - 1 correctly.
  4604. - We can't simply define LARGE_OFF_T to be 9223372036854775807,
  4605. - since some C++ compilers masquerading as C compilers
  4606. - incorrectly reject 9223372036854775807. */
  4607. -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  4608. - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  4609. - && LARGE_OFF_T % 2147483647 == 1)
  4610. - ? 1 : -1];
  4611. -int
  4612. -main ()
  4613. -{
  4614. -
  4615. - ;
  4616. - return 0;
  4617. -}
  4618. -_ACEOF
  4619. -if ac_fn_c_try_compile "$LINENO"; then :
  4620. - ac_cv_sys_file_offset_bits=no; break
  4621. -fi
  4622. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4623. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4624. -/* end confdefs.h. */
  4625. -#define _FILE_OFFSET_BITS 64
  4626. -#include <sys/types.h>
  4627. - /* Check that off_t can represent 2**63 - 1 correctly.
  4628. - We can't simply define LARGE_OFF_T to be 9223372036854775807,
  4629. - since some C++ compilers masquerading as C compilers
  4630. - incorrectly reject 9223372036854775807. */
  4631. -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  4632. - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  4633. - && LARGE_OFF_T % 2147483647 == 1)
  4634. - ? 1 : -1];
  4635. -int
  4636. -main ()
  4637. -{
  4638. -
  4639. - ;
  4640. - return 0;
  4641. -}
  4642. -_ACEOF
  4643. -if ac_fn_c_try_compile "$LINENO"; then :
  4644. - ac_cv_sys_file_offset_bits=64; break
  4645. -fi
  4646. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4647. - ac_cv_sys_file_offset_bits=unknown
  4648. - break
  4649. -done
  4650. -fi
  4651. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  4652. -$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  4653. -case $ac_cv_sys_file_offset_bits in #(
  4654. - no | unknown) ;;
  4655. - *)
  4656. -cat >>confdefs.h <<_ACEOF
  4657. -#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  4658. -_ACEOF
  4659. -;;
  4660. -esac
  4661. -rm -rf conftest*
  4662. - if test $ac_cv_sys_file_offset_bits = unknown; then
  4663. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  4664. -$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  4665. -if ${ac_cv_sys_large_files+:} false; then :
  4666. - $as_echo_n "(cached) " >&6
  4667. -else
  4668. - while :; do
  4669. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4670. -/* end confdefs.h. */
  4671. -#include <sys/types.h>
  4672. - /* Check that off_t can represent 2**63 - 1 correctly.
  4673. - We can't simply define LARGE_OFF_T to be 9223372036854775807,
  4674. - since some C++ compilers masquerading as C compilers
  4675. - incorrectly reject 9223372036854775807. */
  4676. -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  4677. - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  4678. - && LARGE_OFF_T % 2147483647 == 1)
  4679. - ? 1 : -1];
  4680. -int
  4681. -main ()
  4682. -{
  4683. -
  4684. - ;
  4685. - return 0;
  4686. -}
  4687. -_ACEOF
  4688. -if ac_fn_c_try_compile "$LINENO"; then :
  4689. - ac_cv_sys_large_files=no; break
  4690. -fi
  4691. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4692. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4693. -/* end confdefs.h. */
  4694. -#define _LARGE_FILES 1
  4695. -#include <sys/types.h>
  4696. - /* Check that off_t can represent 2**63 - 1 correctly.
  4697. - We can't simply define LARGE_OFF_T to be 9223372036854775807,
  4698. - since some C++ compilers masquerading as C compilers
  4699. - incorrectly reject 9223372036854775807. */
  4700. -#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  4701. - int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  4702. - && LARGE_OFF_T % 2147483647 == 1)
  4703. - ? 1 : -1];
  4704. -int
  4705. -main ()
  4706. -{
  4707. -
  4708. - ;
  4709. - return 0;
  4710. -}
  4711. -_ACEOF
  4712. -if ac_fn_c_try_compile "$LINENO"; then :
  4713. - ac_cv_sys_large_files=1; break
  4714. -fi
  4715. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4716. - ac_cv_sys_large_files=unknown
  4717. - break
  4718. -done
  4719. -fi
  4720. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  4721. -$as_echo "$ac_cv_sys_large_files" >&6; }
  4722. -case $ac_cv_sys_large_files in #(
  4723. - no | unknown) ;;
  4724. - *)
  4725. -cat >>confdefs.h <<_ACEOF
  4726. -#define _LARGE_FILES $ac_cv_sys_large_files
  4727. -_ACEOF
  4728. -;;
  4729. -esac
  4730. -rm -rf conftest*
  4731. - fi
  4732. -
  4733. -
  4734. -fi
  4735. -
  4736. -fi
  4737. -
  4738. -ipv6type=unknown
  4739. -ipv6lib=none
  4740. -ipv6trylibc=yes
  4741. -
  4742. -# Check whether --enable-ipv6 was given.
  4743. -if test "${enable_ipv6+set}" = set; then :
  4744. - enableval=$enable_ipv6;
  4745. -fi
  4746. -
  4747. -if test x"$enable_ipv6" != x"no"; then
  4748. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking ipv6 stack type" >&5
  4749. -$as_echo_n "checking ipv6 stack type... " >&6; }
  4750. - for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta cygwin; do
  4751. - case $i in
  4752. - inria)
  4753. - # http://www.kame.net/
  4754. -
  4755. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4756. -/* end confdefs.h. */
  4757. -
  4758. -#include <netinet/in.h>
  4759. -#ifdef IPV6_INRIA_VERSION
  4760. -yes
  4761. -#endif
  4762. -_ACEOF
  4763. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4764. - $EGREP "yes" >/dev/null 2>&1; then :
  4765. - ipv6type=$i;
  4766. -
  4767. -$as_echo "#define INET6 1" >>confdefs.h
  4768. -
  4769. -
  4770. -fi
  4771. -rm -f conftest*
  4772. -
  4773. - ;;
  4774. - kame)
  4775. - # http://www.kame.net/
  4776. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4777. -/* end confdefs.h. */
  4778. -
  4779. -#include <netinet/in.h>
  4780. -#ifdef __KAME__
  4781. -yes
  4782. -#endif
  4783. -_ACEOF
  4784. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4785. - $EGREP "yes" >/dev/null 2>&1; then :
  4786. - ipv6type=$i;
  4787. -
  4788. -$as_echo "#define INET6 1" >>confdefs.h
  4789. -
  4790. -fi
  4791. -rm -f conftest*
  4792. -
  4793. - ;;
  4794. - linux-glibc)
  4795. - # http://www.v6.linux.or.jp/
  4796. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4797. -/* end confdefs.h. */
  4798. -
  4799. -#include <features.h>
  4800. -#if defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
  4801. -yes
  4802. -#endif
  4803. -_ACEOF
  4804. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4805. - $EGREP "yes" >/dev/null 2>&1; then :
  4806. - ipv6type=$i;
  4807. -
  4808. -$as_echo "#define INET6 1" >>confdefs.h
  4809. -
  4810. -fi
  4811. -rm -f conftest*
  4812. -
  4813. - ;;
  4814. - linux-inet6)
  4815. - # http://www.v6.linux.or.jp/
  4816. - if test -d /usr/inet6 -o -f /usr/inet6/lib/libinet6.a; then
  4817. - ipv6type=$i
  4818. - ipv6lib=inet6
  4819. - ipv6libdir=/usr/inet6/lib
  4820. - ipv6trylibc=yes;
  4821. -
  4822. -$as_echo "#define INET6 1" >>confdefs.h
  4823. -
  4824. - CFLAGS="-I/usr/inet6/include $CFLAGS"
  4825. - fi
  4826. - ;;
  4827. - solaris)
  4828. - # http://www.sun.com
  4829. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4830. -/* end confdefs.h. */
  4831. -
  4832. -#include <netinet/ip6.h>
  4833. -#ifdef __sun
  4834. -yes
  4835. -#endif
  4836. -_ACEOF
  4837. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4838. - $EGREP "yes" >/dev/null 2>&1; then :
  4839. - ipv6type=$i;
  4840. -
  4841. -$as_echo "#define INET6 1" >>confdefs.h
  4842. -
  4843. -fi
  4844. -rm -f conftest*
  4845. -
  4846. - ;;
  4847. - toshiba)
  4848. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4849. -/* end confdefs.h. */
  4850. -
  4851. -#include <sys/param.h>
  4852. -#ifdef _TOSHIBA_INET6
  4853. -yes
  4854. -#endif
  4855. -_ACEOF
  4856. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4857. - $EGREP "yes" >/dev/null 2>&1; then :
  4858. - ipv6type=$i;
  4859. - ipv6lib=inet6;
  4860. - ipv6libdir=/usr/local/v6/lib;
  4861. -
  4862. -$as_echo "#define INET6 1" >>confdefs.h
  4863. -
  4864. -fi
  4865. -rm -f conftest*
  4866. -
  4867. - ;;
  4868. - v6d)
  4869. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4870. -/* end confdefs.h. */
  4871. -
  4872. -#include </usr/local/v6/include/sys/v6config.h>
  4873. -#ifdef __V6D__
  4874. -yes
  4875. -#endif
  4876. -_ACEOF
  4877. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4878. - $EGREP "yes" >/dev/null 2>&1; then :
  4879. - ipv6type=$i;
  4880. - ipv6lib=v6;
  4881. - ipv6libdir=/usr/local/v6/lib;
  4882. -
  4883. -$as_echo "#define INET6 1" >>confdefs.h
  4884. -
  4885. -fi
  4886. -rm -f conftest*
  4887. -
  4888. - ;;
  4889. - zeta)
  4890. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4891. -/* end confdefs.h. */
  4892. -
  4893. -#include <sys/param.h>
  4894. -#ifdef _ZETA_MINAMI_INET6
  4895. -yes
  4896. -#endif
  4897. -_ACEOF
  4898. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4899. - $EGREP "yes" >/dev/null 2>&1; then :
  4900. - ipv6type=$i;
  4901. - ipv6lib=inet6;
  4902. - ipv6libdir=/usr/local/v6/lib;
  4903. -
  4904. -$as_echo "#define INET6 1" >>confdefs.h
  4905. -
  4906. -fi
  4907. -rm -f conftest*
  4908. -
  4909. - ;;
  4910. - cygwin)
  4911. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4912. -/* end confdefs.h. */
  4913. -
  4914. -#include <netinet/in.h>
  4915. -#ifdef _CYGWIN_IN6_H
  4916. -yes
  4917. -#endif
  4918. -_ACEOF
  4919. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4920. - $EGREP "yes" >/dev/null 2>&1; then :
  4921. - ipv6type=$i;
  4922. -
  4923. -$as_echo "#define INET6 1" >>confdefs.h
  4924. -
  4925. -fi
  4926. -rm -f conftest*
  4927. -
  4928. - ;;
  4929. - esac
  4930. - if test "$ipv6type" != "unknown"; then
  4931. - break
  4932. - fi
  4933. - done
  4934. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ipv6type" >&5
  4935. -$as_echo "$ipv6type" >&6; }
  4936. -
  4937. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
  4938. -$as_echo_n "checking for library containing getaddrinfo... " >&6; }
  4939. -if ${ac_cv_search_getaddrinfo+:} false; then :
  4940. - $as_echo_n "(cached) " >&6
  4941. -else
  4942. - ac_func_search_save_LIBS=$LIBS
  4943. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4944. -/* end confdefs.h. */
  4945. -
  4946. -/* Override any GCC internal prototype to avoid an error.
  4947. - Use char because int might match the return type of a GCC
  4948. - builtin and then its argument prototype would still apply. */
  4949. -#ifdef __cplusplus
  4950. -extern "C"
  4951. -#endif
  4952. -char getaddrinfo ();
  4953. -int
  4954. -main ()
  4955. -{
  4956. -return getaddrinfo ();
  4957. - ;
  4958. - return 0;
  4959. -}
  4960. -_ACEOF
  4961. -for ac_lib in '' inet6; do
  4962. - if test -z "$ac_lib"; then
  4963. - ac_res="none required"
  4964. - else
  4965. - ac_res=-l$ac_lib
  4966. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  4967. - fi
  4968. - if ac_fn_c_try_link "$LINENO"; then :
  4969. - ac_cv_search_getaddrinfo=$ac_res
  4970. -fi
  4971. -rm -f core conftest.err conftest.$ac_objext \
  4972. - conftest$ac_exeext
  4973. - if ${ac_cv_search_getaddrinfo+:} false; then :
  4974. - break
  4975. -fi
  4976. -done
  4977. -if ${ac_cv_search_getaddrinfo+:} false; then :
  4978. -
  4979. -else
  4980. - ac_cv_search_getaddrinfo=no
  4981. -fi
  4982. -rm conftest.$ac_ext
  4983. -LIBS=$ac_func_search_save_LIBS
  4984. -fi
  4985. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
  4986. -$as_echo "$ac_cv_search_getaddrinfo" >&6; }
  4987. -ac_res=$ac_cv_search_getaddrinfo
  4988. -if test "$ac_res" != no; then :
  4989. - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  4990. -
  4991. -fi
  4992. -
  4993. -fi
  4994. -
  4995. -# Check whether --enable-locale was given.
  4996. -if test "${enable_locale+set}" = set; then :
  4997. - enableval=$enable_locale;
  4998. -fi
  4999. -
  5000. -
  5001. -if test x"$enable_locale" != x"no"; then
  5002. - $as_echo "#define CONFIG_LOCALE 1" >>confdefs.h
  5003. -
  5004. -fi
  5005. -
  5006. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to call shutdown on all sockets" >&5
  5007. -$as_echo_n "checking whether to call shutdown on all sockets... " >&6; }
  5008. -case $host_os in
  5009. - *cygwin* ) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5010. -$as_echo "yes" >&6; }
  5011. -
  5012. -$as_echo "#define SHUTDOWN_ALL_SOCKETS 1" >>confdefs.h
  5013. -
  5014. - ;;
  5015. - * ) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5016. -$as_echo "no" >&6; };;
  5017. -esac
  5018. -
  5019. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  5020. -$as_echo_n "checking for ANSI C header files... " >&6; }
  5021. -if ${ac_cv_header_stdc+:} false; then :
  5022. - $as_echo_n "(cached) " >&6
  5023. -else
  5024. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5025. -/* end confdefs.h. */
  5026. -#include <stdlib.h>
  5027. -#include <stdarg.h>
  5028. -#include <string.h>
  5029. -#include <float.h>
  5030. -
  5031. -int
  5032. -main ()
  5033. -{
  5034. -
  5035. - ;
  5036. - return 0;
  5037. -}
  5038. -_ACEOF
  5039. -if ac_fn_c_try_compile "$LINENO"; then :
  5040. - ac_cv_header_stdc=yes
  5041. -else
  5042. - ac_cv_header_stdc=no
  5043. -fi
  5044. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5045. -
  5046. -if test $ac_cv_header_stdc = yes; then
  5047. - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  5048. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5049. -/* end confdefs.h. */
  5050. -#include <string.h>
  5051. -
  5052. -_ACEOF
  5053. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5054. - $EGREP "memchr" >/dev/null 2>&1; then :
  5055. -
  5056. -else
  5057. - ac_cv_header_stdc=no
  5058. -fi
  5059. -rm -f conftest*
  5060. -
  5061. -fi
  5062. -
  5063. -if test $ac_cv_header_stdc = yes; then
  5064. - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  5065. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5066. -/* end confdefs.h. */
  5067. -#include <stdlib.h>
  5068. -
  5069. -_ACEOF
  5070. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5071. - $EGREP "free" >/dev/null 2>&1; then :
  5072. -
  5073. -else
  5074. - ac_cv_header_stdc=no
  5075. -fi
  5076. -rm -f conftest*
  5077. -
  5078. -fi
  5079. -
  5080. -if test $ac_cv_header_stdc = yes; then
  5081. - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  5082. - if test "$cross_compiling" = yes; then :
  5083. - :
  5084. -else
  5085. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5086. -/* end confdefs.h. */
  5087. -#include <ctype.h>
  5088. -#include <stdlib.h>
  5089. -#if ((' ' & 0x0FF) == 0x020)
  5090. -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  5091. -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  5092. -#else
  5093. -# define ISLOWER(c) \
  5094. - (('a' <= (c) && (c) <= 'i') \
  5095. - || ('j' <= (c) && (c) <= 'r') \
  5096. - || ('s' <= (c) && (c) <= 'z'))
  5097. -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  5098. -#endif
  5099. -
  5100. -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  5101. -int
  5102. -main ()
  5103. -{
  5104. - int i;
  5105. - for (i = 0; i < 256; i++)
  5106. - if (XOR (islower (i), ISLOWER (i))
  5107. - || toupper (i) != TOUPPER (i))
  5108. - return 2;
  5109. - return 0;
  5110. -}
  5111. -_ACEOF
  5112. -if ac_fn_c_try_run "$LINENO"; then :
  5113. -
  5114. -else
  5115. - ac_cv_header_stdc=no
  5116. -fi
  5117. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5118. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  5119. -fi
  5120. -
  5121. -fi
  5122. -fi
  5123. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  5124. -$as_echo "$ac_cv_header_stdc" >&6; }
  5125. -if test $ac_cv_header_stdc = yes; then
  5126. -
  5127. -$as_echo "#define STDC_HEADERS 1" >>confdefs.h
  5128. -
  5129. -fi
  5130. -
  5131. -# On IRIX 5.3, sys/types and inttypes.h are conflicting.
  5132. -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  5133. - inttypes.h stdint.h unistd.h
  5134. -do :
  5135. - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5136. -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  5137. -"
  5138. -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  5139. - cat >>confdefs.h <<_ACEOF
  5140. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5141. -_ACEOF
  5142. -
  5143. -fi
  5144. -
  5145. -done
  5146. -
  5147. -
  5148. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  5149. -$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  5150. -if ${ac_cv_c_bigendian+:} false; then :
  5151. - $as_echo_n "(cached) " >&6
  5152. -else
  5153. - ac_cv_c_bigendian=unknown
  5154. - # See if we're dealing with a universal compiler.
  5155. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5156. -/* end confdefs.h. */
  5157. -#ifndef __APPLE_CC__
  5158. - not a universal capable compiler
  5159. - #endif
  5160. - typedef int dummy;
  5161. -
  5162. -_ACEOF
  5163. -if ac_fn_c_try_compile "$LINENO"; then :
  5164. -
  5165. - # Check for potential -arch flags. It is not universal unless
  5166. - # there are at least two -arch flags with different values.
  5167. - ac_arch=
  5168. - ac_prev=
  5169. - for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
  5170. - if test -n "$ac_prev"; then
  5171. - case $ac_word in
  5172. - i?86 | x86_64 | ppc | ppc64)
  5173. - if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
  5174. - ac_arch=$ac_word
  5175. - else
  5176. - ac_cv_c_bigendian=universal
  5177. - break
  5178. - fi
  5179. - ;;
  5180. - esac
  5181. - ac_prev=
  5182. - elif test "x$ac_word" = "x-arch"; then
  5183. - ac_prev=arch
  5184. - fi
  5185. - done
  5186. -fi
  5187. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5188. - if test $ac_cv_c_bigendian = unknown; then
  5189. - # See if sys/param.h defines the BYTE_ORDER macro.
  5190. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5191. -/* end confdefs.h. */
  5192. -#include <sys/types.h>
  5193. - #include <sys/param.h>
  5194. -
  5195. -int
  5196. -main ()
  5197. -{
  5198. -#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
  5199. - && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
  5200. - && LITTLE_ENDIAN)
  5201. - bogus endian macros
  5202. - #endif
  5203. -
  5204. - ;
  5205. - return 0;
  5206. -}
  5207. -_ACEOF
  5208. -if ac_fn_c_try_compile "$LINENO"; then :
  5209. - # It does; now see whether it defined to BIG_ENDIAN or not.
  5210. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5211. -/* end confdefs.h. */
  5212. -#include <sys/types.h>
  5213. - #include <sys/param.h>
  5214. -
  5215. -int
  5216. -main ()
  5217. -{
  5218. -#if BYTE_ORDER != BIG_ENDIAN
  5219. - not big endian
  5220. - #endif
  5221. -
  5222. - ;
  5223. - return 0;
  5224. -}
  5225. -_ACEOF
  5226. -if ac_fn_c_try_compile "$LINENO"; then :
  5227. - ac_cv_c_bigendian=yes
  5228. -else
  5229. - ac_cv_c_bigendian=no
  5230. -fi
  5231. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5232. -fi
  5233. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5234. - fi
  5235. - if test $ac_cv_c_bigendian = unknown; then
  5236. - # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
  5237. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5238. -/* end confdefs.h. */
  5239. -#include <limits.h>
  5240. -
  5241. -int
  5242. -main ()
  5243. -{
  5244. -#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
  5245. - bogus endian macros
  5246. - #endif
  5247. -
  5248. - ;
  5249. - return 0;
  5250. -}
  5251. -_ACEOF
  5252. -if ac_fn_c_try_compile "$LINENO"; then :
  5253. - # It does; now see whether it defined to _BIG_ENDIAN or not.
  5254. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5255. -/* end confdefs.h. */
  5256. -#include <limits.h>
  5257. -
  5258. -int
  5259. -main ()
  5260. -{
  5261. -#ifndef _BIG_ENDIAN
  5262. - not big endian
  5263. - #endif
  5264. -
  5265. - ;
  5266. - return 0;
  5267. -}
  5268. -_ACEOF
  5269. -if ac_fn_c_try_compile "$LINENO"; then :
  5270. - ac_cv_c_bigendian=yes
  5271. -else
  5272. - ac_cv_c_bigendian=no
  5273. -fi
  5274. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5275. -fi
  5276. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5277. - fi
  5278. - if test $ac_cv_c_bigendian = unknown; then
  5279. - # Compile a test program.
  5280. - if test "$cross_compiling" = yes; then :
  5281. - # Try to guess by grepping values from an object file.
  5282. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5283. -/* end confdefs.h. */
  5284. -short int ascii_mm[] =
  5285. - { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
  5286. - short int ascii_ii[] =
  5287. - { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
  5288. - int use_ascii (int i) {
  5289. - return ascii_mm[i] + ascii_ii[i];
  5290. - }
  5291. - short int ebcdic_ii[] =
  5292. - { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
  5293. - short int ebcdic_mm[] =
  5294. - { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
  5295. - int use_ebcdic (int i) {
  5296. - return ebcdic_mm[i] + ebcdic_ii[i];
  5297. - }
  5298. - extern int foo;
  5299. -
  5300. -int
  5301. -main ()
  5302. -{
  5303. -return use_ascii (foo) == use_ebcdic (foo);
  5304. - ;
  5305. - return 0;
  5306. -}
  5307. -_ACEOF
  5308. -if ac_fn_c_try_compile "$LINENO"; then :
  5309. - if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
  5310. - ac_cv_c_bigendian=yes
  5311. - fi
  5312. - if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
  5313. - if test "$ac_cv_c_bigendian" = unknown; then
  5314. - ac_cv_c_bigendian=no
  5315. - else
  5316. - # finding both strings is unlikely to happen, but who knows?
  5317. - ac_cv_c_bigendian=unknown
  5318. - fi
  5319. - fi
  5320. -fi
  5321. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5322. -else
  5323. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5324. -/* end confdefs.h. */
  5325. -$ac_includes_default
  5326. -int
  5327. -main ()
  5328. -{
  5329. -
  5330. - /* Are we little or big endian? From Harbison&Steele. */
  5331. - union
  5332. - {
  5333. - long int l;
  5334. - char c[sizeof (long int)];
  5335. - } u;
  5336. - u.l = 1;
  5337. - return u.c[sizeof (long int) - 1] == 1;
  5338. -
  5339. - ;
  5340. - return 0;
  5341. -}
  5342. -_ACEOF
  5343. -if ac_fn_c_try_run "$LINENO"; then :
  5344. - ac_cv_c_bigendian=no
  5345. -else
  5346. - ac_cv_c_bigendian=yes
  5347. -fi
  5348. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5349. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  5350. -fi
  5351. -
  5352. - fi
  5353. -fi
  5354. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  5355. -$as_echo "$ac_cv_c_bigendian" >&6; }
  5356. - case $ac_cv_c_bigendian in #(
  5357. - yes)
  5358. - $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
  5359. -;; #(
  5360. - no)
  5361. - ;; #(
  5362. - universal)
  5363. -
  5364. -$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  5365. -
  5366. - ;; #(
  5367. - *)
  5368. - as_fn_error $? "unknown endianness
  5369. - presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
  5370. - esac
  5371. -
  5372. -ac_header_dirent=no
  5373. -for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  5374. - as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
  5375. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
  5376. -$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
  5377. -if eval \${$as_ac_Header+:} false; then :
  5378. - $as_echo_n "(cached) " >&6
  5379. -else
  5380. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5381. -/* end confdefs.h. */
  5382. -#include <sys/types.h>
  5383. -#include <$ac_hdr>
  5384. -
  5385. -int
  5386. -main ()
  5387. -{
  5388. -if ((DIR *) 0)
  5389. -return 0;
  5390. - ;
  5391. - return 0;
  5392. -}
  5393. -_ACEOF
  5394. -if ac_fn_c_try_compile "$LINENO"; then :
  5395. - eval "$as_ac_Header=yes"
  5396. -else
  5397. - eval "$as_ac_Header=no"
  5398. -fi
  5399. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5400. -fi
  5401. -eval ac_res=\$$as_ac_Header
  5402. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  5403. -$as_echo "$ac_res" >&6; }
  5404. -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  5405. - cat >>confdefs.h <<_ACEOF
  5406. -#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
  5407. -_ACEOF
  5408. -
  5409. -ac_header_dirent=$ac_hdr; break
  5410. -fi
  5411. -
  5412. -done
  5413. -# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  5414. -if test $ac_header_dirent = dirent.h; then
  5415. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
  5416. -$as_echo_n "checking for library containing opendir... " >&6; }
  5417. -if ${ac_cv_search_opendir+:} false; then :
  5418. - $as_echo_n "(cached) " >&6
  5419. -else
  5420. - ac_func_search_save_LIBS=$LIBS
  5421. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5422. -/* end confdefs.h. */
  5423. -
  5424. -/* Override any GCC internal prototype to avoid an error.
  5425. - Use char because int might match the return type of a GCC
  5426. - builtin and then its argument prototype would still apply. */
  5427. -#ifdef __cplusplus
  5428. -extern "C"
  5429. -#endif
  5430. -char opendir ();
  5431. -int
  5432. -main ()
  5433. -{
  5434. -return opendir ();
  5435. - ;
  5436. - return 0;
  5437. -}
  5438. -_ACEOF
  5439. -for ac_lib in '' dir; do
  5440. - if test -z "$ac_lib"; then
  5441. - ac_res="none required"
  5442. - else
  5443. - ac_res=-l$ac_lib
  5444. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  5445. - fi
  5446. - if ac_fn_c_try_link "$LINENO"; then :
  5447. - ac_cv_search_opendir=$ac_res
  5448. -fi
  5449. -rm -f core conftest.err conftest.$ac_objext \
  5450. - conftest$ac_exeext
  5451. - if ${ac_cv_search_opendir+:} false; then :
  5452. - break
  5453. -fi
  5454. -done
  5455. -if ${ac_cv_search_opendir+:} false; then :
  5456. -
  5457. -else
  5458. - ac_cv_search_opendir=no
  5459. -fi
  5460. -rm conftest.$ac_ext
  5461. -LIBS=$ac_func_search_save_LIBS
  5462. -fi
  5463. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
  5464. -$as_echo "$ac_cv_search_opendir" >&6; }
  5465. -ac_res=$ac_cv_search_opendir
  5466. -if test "$ac_res" != no; then :
  5467. - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  5468. -
  5469. -fi
  5470. -
  5471. -else
  5472. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
  5473. -$as_echo_n "checking for library containing opendir... " >&6; }
  5474. -if ${ac_cv_search_opendir+:} false; then :
  5475. - $as_echo_n "(cached) " >&6
  5476. -else
  5477. - ac_func_search_save_LIBS=$LIBS
  5478. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5479. -/* end confdefs.h. */
  5480. -
  5481. -/* Override any GCC internal prototype to avoid an error.
  5482. - Use char because int might match the return type of a GCC
  5483. - builtin and then its argument prototype would still apply. */
  5484. -#ifdef __cplusplus
  5485. -extern "C"
  5486. -#endif
  5487. -char opendir ();
  5488. -int
  5489. -main ()
  5490. -{
  5491. -return opendir ();
  5492. - ;
  5493. - return 0;
  5494. -}
  5495. -_ACEOF
  5496. -for ac_lib in '' x; do
  5497. - if test -z "$ac_lib"; then
  5498. - ac_res="none required"
  5499. - else
  5500. - ac_res=-l$ac_lib
  5501. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  5502. - fi
  5503. - if ac_fn_c_try_link "$LINENO"; then :
  5504. - ac_cv_search_opendir=$ac_res
  5505. -fi
  5506. -rm -f core conftest.err conftest.$ac_objext \
  5507. - conftest$ac_exeext
  5508. - if ${ac_cv_search_opendir+:} false; then :
  5509. - break
  5510. -fi
  5511. -done
  5512. -if ${ac_cv_search_opendir+:} false; then :
  5513. -
  5514. -else
  5515. - ac_cv_search_opendir=no
  5516. -fi
  5517. -rm conftest.$ac_ext
  5518. -LIBS=$ac_func_search_save_LIBS
  5519. -fi
  5520. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
  5521. -$as_echo "$ac_cv_search_opendir" >&6; }
  5522. -ac_res=$ac_cv_search_opendir
  5523. -if test "$ac_res" != no; then :
  5524. - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  5525. -
  5526. -fi
  5527. -
  5528. -fi
  5529. -
  5530. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
  5531. -$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
  5532. -if ${ac_cv_header_time+:} false; then :
  5533. - $as_echo_n "(cached) " >&6
  5534. -else
  5535. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5536. -/* end confdefs.h. */
  5537. -#include <sys/types.h>
  5538. -#include <sys/time.h>
  5539. -#include <time.h>
  5540. -
  5541. -int
  5542. -main ()
  5543. -{
  5544. -if ((struct tm *) 0)
  5545. -return 0;
  5546. - ;
  5547. - return 0;
  5548. -}
  5549. -_ACEOF
  5550. -if ac_fn_c_try_compile "$LINENO"; then :
  5551. - ac_cv_header_time=yes
  5552. -else
  5553. - ac_cv_header_time=no
  5554. -fi
  5555. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5556. -fi
  5557. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
  5558. -$as_echo "$ac_cv_header_time" >&6; }
  5559. -if test $ac_cv_header_time = yes; then
  5560. -
  5561. -$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
  5562. -
  5563. -fi
  5564. -
  5565. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
  5566. -$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
  5567. -if ${ac_cv_header_sys_wait_h+:} false; then :
  5568. - $as_echo_n "(cached) " >&6
  5569. -else
  5570. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5571. -/* end confdefs.h. */
  5572. -#include <sys/types.h>
  5573. -#include <sys/wait.h>
  5574. -#ifndef WEXITSTATUS
  5575. -# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
  5576. -#endif
  5577. -#ifndef WIFEXITED
  5578. -# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
  5579. -#endif
  5580. -
  5581. -int
  5582. -main ()
  5583. -{
  5584. - int s;
  5585. - wait (&s);
  5586. - s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
  5587. - ;
  5588. - return 0;
  5589. -}
  5590. -_ACEOF
  5591. -if ac_fn_c_try_compile "$LINENO"; then :
  5592. - ac_cv_header_sys_wait_h=yes
  5593. -else
  5594. - ac_cv_header_sys_wait_h=no
  5595. -fi
  5596. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5597. -fi
  5598. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
  5599. -$as_echo "$ac_cv_header_sys_wait_h" >&6; }
  5600. -if test $ac_cv_header_sys_wait_h = yes; then
  5601. -
  5602. -$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
  5603. -
  5604. -fi
  5605. -
  5606. -for ac_header in sys/fcntl.h sys/select.h fcntl.h sys/time.h sys/unistd.h \
  5607. - unistd.h utime.h grp.h compat.h sys/param.h ctype.h sys/wait.h \
  5608. - sys/ioctl.h sys/filio.h string.h stdlib.h sys/socket.h sys/mode.h \
  5609. - sys/un.h sys/attr.h mcheck.h arpa/inet.h arpa/nameser.h locale.h \
  5610. - netdb.h malloc.h float.h limits.h iconv.h libcharset.h langinfo.h \
  5611. - sys/acl.h acl/libacl.h attr/xattr.h sys/xattr.h sys/extattr.h \
  5612. - popt.h popt/popt.h linux/falloc.h netinet/in_systm.h netinet/ip.h \
  5613. - zlib.h
  5614. -do :
  5615. - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5616. -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  5617. -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  5618. - cat >>confdefs.h <<_ACEOF
  5619. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5620. -_ACEOF
  5621. -
  5622. -fi
  5623. -
  5624. -done
  5625. -
  5626. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
  5627. -$as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
  5628. -if ${ac_cv_header_sys_types_h_makedev+:} false; then :
  5629. - $as_echo_n "(cached) " >&6
  5630. -else
  5631. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5632. -/* end confdefs.h. */
  5633. -#include <sys/types.h>
  5634. -int
  5635. -main ()
  5636. -{
  5637. -return makedev(0, 0);
  5638. - ;
  5639. - return 0;
  5640. -}
  5641. -_ACEOF
  5642. -if ac_fn_c_try_link "$LINENO"; then :
  5643. - ac_cv_header_sys_types_h_makedev=yes
  5644. -else
  5645. - ac_cv_header_sys_types_h_makedev=no
  5646. -fi
  5647. -rm -f core conftest.err conftest.$ac_objext \
  5648. - conftest$ac_exeext conftest.$ac_ext
  5649. -
  5650. -fi
  5651. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
  5652. -$as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
  5653. -
  5654. -if test $ac_cv_header_sys_types_h_makedev = no; then
  5655. -ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
  5656. -if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
  5657. -
  5658. -$as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
  5659. -
  5660. -fi
  5661. -
  5662. -
  5663. -
  5664. - if test $ac_cv_header_sys_mkdev_h = no; then
  5665. - ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
  5666. -if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
  5667. -
  5668. -$as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
  5669. -
  5670. -fi
  5671. -
  5672. -
  5673. - fi
  5674. -fi
  5675. -
  5676. -
  5677. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if makedev takes 3 args" >&5
  5678. -$as_echo_n "checking if makedev takes 3 args... " >&6; }
  5679. -if ${rsync_cv_MAKEDEV_TAKES_3_ARGS+:} false; then :
  5680. - $as_echo_n "(cached) " >&6
  5681. -else
  5682. -
  5683. -if test "$cross_compiling" = yes; then :
  5684. - rsync_cv_MAKEDEV_TAKES_3_ARGS=no
  5685. -else
  5686. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5687. -/* end confdefs.h. */
  5688. -
  5689. -#include <sys/types.h>
  5690. -#ifdef MAJOR_IN_MKDEV
  5691. -#include <sys/mkdev.h>
  5692. -# if !defined makedev && (defined mkdev || defined _WIN32 || defined __WIN32__)
  5693. -# define makedev mkdev
  5694. -# endif
  5695. -#elif defined MAJOR_IN_SYSMACROS
  5696. -#include <sys/sysmacros.h>
  5697. -#endif
  5698. -
  5699. -int main(void)
  5700. -{
  5701. - dev_t dev = makedev(0, 5, 7);
  5702. - if (major(dev) != 5 || minor(dev) != 7)
  5703. - exit(1);
  5704. - return 0;
  5705. -}
  5706. -
  5707. -_ACEOF
  5708. -if ac_fn_c_try_run "$LINENO"; then :
  5709. - rsync_cv_MAKEDEV_TAKES_3_ARGS=yes
  5710. -else
  5711. - rsync_cv_MAKEDEV_TAKES_3_ARGS=no
  5712. -fi
  5713. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  5714. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  5715. -fi
  5716. -
  5717. -fi
  5718. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_MAKEDEV_TAKES_3_ARGS" >&5
  5719. -$as_echo "$rsync_cv_MAKEDEV_TAKES_3_ARGS" >&6; }
  5720. -if test x"$rsync_cv_MAKEDEV_TAKES_3_ARGS" = x"yes"; then
  5721. -
  5722. -$as_echo "#define MAKEDEV_TAKES_3_ARGS 1" >>confdefs.h
  5723. -
  5724. -fi
  5725. -
  5726. -# The cast to long int works around a bug in the HP C Compiler
  5727. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5728. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5729. -# This bug is HP SR number 8606223364.
  5730. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
  5731. -$as_echo_n "checking size of int... " >&6; }
  5732. -if ${ac_cv_sizeof_int+:} false; then :
  5733. - $as_echo_n "(cached) " >&6
  5734. -else
  5735. - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
  5736. -
  5737. -else
  5738. - if test "$ac_cv_type_int" = yes; then
  5739. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5740. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5741. -as_fn_error 77 "cannot compute sizeof (int)
  5742. -See \`config.log' for more details" "$LINENO" 5; }
  5743. - else
  5744. - ac_cv_sizeof_int=0
  5745. - fi
  5746. -fi
  5747. -
  5748. -fi
  5749. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
  5750. -$as_echo "$ac_cv_sizeof_int" >&6; }
  5751. -
  5752. -
  5753. -
  5754. -cat >>confdefs.h <<_ACEOF
  5755. -#define SIZEOF_INT $ac_cv_sizeof_int
  5756. -_ACEOF
  5757. -
  5758. -
  5759. -# The cast to long int works around a bug in the HP C Compiler
  5760. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5761. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5762. -# This bug is HP SR number 8606223364.
  5763. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
  5764. -$as_echo_n "checking size of long... " >&6; }
  5765. -if ${ac_cv_sizeof_long+:} false; then :
  5766. - $as_echo_n "(cached) " >&6
  5767. -else
  5768. - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
  5769. -
  5770. -else
  5771. - if test "$ac_cv_type_long" = yes; then
  5772. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5773. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5774. -as_fn_error 77 "cannot compute sizeof (long)
  5775. -See \`config.log' for more details" "$LINENO" 5; }
  5776. - else
  5777. - ac_cv_sizeof_long=0
  5778. - fi
  5779. -fi
  5780. -
  5781. -fi
  5782. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
  5783. -$as_echo "$ac_cv_sizeof_long" >&6; }
  5784. -
  5785. -
  5786. -
  5787. -cat >>confdefs.h <<_ACEOF
  5788. -#define SIZEOF_LONG $ac_cv_sizeof_long
  5789. -_ACEOF
  5790. -
  5791. -
  5792. -# The cast to long int works around a bug in the HP C Compiler
  5793. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5794. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5795. -# This bug is HP SR number 8606223364.
  5796. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
  5797. -$as_echo_n "checking size of long long... " >&6; }
  5798. -if ${ac_cv_sizeof_long_long+:} false; then :
  5799. - $as_echo_n "(cached) " >&6
  5800. -else
  5801. - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
  5802. -
  5803. -else
  5804. - if test "$ac_cv_type_long_long" = yes; then
  5805. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5806. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5807. -as_fn_error 77 "cannot compute sizeof (long long)
  5808. -See \`config.log' for more details" "$LINENO" 5; }
  5809. - else
  5810. - ac_cv_sizeof_long_long=0
  5811. - fi
  5812. -fi
  5813. -
  5814. -fi
  5815. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
  5816. -$as_echo "$ac_cv_sizeof_long_long" >&6; }
  5817. -
  5818. -
  5819. -
  5820. -cat >>confdefs.h <<_ACEOF
  5821. -#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
  5822. -_ACEOF
  5823. -
  5824. -
  5825. -# The cast to long int works around a bug in the HP C Compiler
  5826. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5827. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5828. -# This bug is HP SR number 8606223364.
  5829. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
  5830. -$as_echo_n "checking size of short... " >&6; }
  5831. -if ${ac_cv_sizeof_short+:} false; then :
  5832. - $as_echo_n "(cached) " >&6
  5833. -else
  5834. - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
  5835. -
  5836. -else
  5837. - if test "$ac_cv_type_short" = yes; then
  5838. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5839. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5840. -as_fn_error 77 "cannot compute sizeof (short)
  5841. -See \`config.log' for more details" "$LINENO" 5; }
  5842. - else
  5843. - ac_cv_sizeof_short=0
  5844. - fi
  5845. -fi
  5846. -
  5847. -fi
  5848. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
  5849. -$as_echo "$ac_cv_sizeof_short" >&6; }
  5850. -
  5851. -
  5852. -
  5853. -cat >>confdefs.h <<_ACEOF
  5854. -#define SIZEOF_SHORT $ac_cv_sizeof_short
  5855. -_ACEOF
  5856. -
  5857. -
  5858. -# The cast to long int works around a bug in the HP C Compiler
  5859. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5860. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5861. -# This bug is HP SR number 8606223364.
  5862. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int16_t" >&5
  5863. -$as_echo_n "checking size of int16_t... " >&6; }
  5864. -if ${ac_cv_sizeof_int16_t+:} false; then :
  5865. - $as_echo_n "(cached) " >&6
  5866. -else
  5867. - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int16_t))" "ac_cv_sizeof_int16_t" "$ac_includes_default"; then :
  5868. -
  5869. -else
  5870. - if test "$ac_cv_type_int16_t" = yes; then
  5871. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5872. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5873. -as_fn_error 77 "cannot compute sizeof (int16_t)
  5874. -See \`config.log' for more details" "$LINENO" 5; }
  5875. - else
  5876. - ac_cv_sizeof_int16_t=0
  5877. - fi
  5878. -fi
  5879. -
  5880. -fi
  5881. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int16_t" >&5
  5882. -$as_echo "$ac_cv_sizeof_int16_t" >&6; }
  5883. -
  5884. -
  5885. -
  5886. -cat >>confdefs.h <<_ACEOF
  5887. -#define SIZEOF_INT16_T $ac_cv_sizeof_int16_t
  5888. -_ACEOF
  5889. -
  5890. -
  5891. -# The cast to long int works around a bug in the HP C Compiler
  5892. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5893. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5894. -# This bug is HP SR number 8606223364.
  5895. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uint16_t" >&5
  5896. -$as_echo_n "checking size of uint16_t... " >&6; }
  5897. -if ${ac_cv_sizeof_uint16_t+:} false; then :
  5898. - $as_echo_n "(cached) " >&6
  5899. -else
  5900. - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uint16_t))" "ac_cv_sizeof_uint16_t" "$ac_includes_default"; then :
  5901. -
  5902. -else
  5903. - if test "$ac_cv_type_uint16_t" = yes; then
  5904. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5905. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5906. -as_fn_error 77 "cannot compute sizeof (uint16_t)
  5907. -See \`config.log' for more details" "$LINENO" 5; }
  5908. - else
  5909. - ac_cv_sizeof_uint16_t=0
  5910. - fi
  5911. -fi
  5912. -
  5913. -fi
  5914. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uint16_t" >&5
  5915. -$as_echo "$ac_cv_sizeof_uint16_t" >&6; }
  5916. -
  5917. -
  5918. -
  5919. -cat >>confdefs.h <<_ACEOF
  5920. -#define SIZEOF_UINT16_T $ac_cv_sizeof_uint16_t
  5921. -_ACEOF
  5922. -
  5923. -
  5924. -# The cast to long int works around a bug in the HP C Compiler
  5925. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5926. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5927. -# This bug is HP SR number 8606223364.
  5928. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int32_t" >&5
  5929. -$as_echo_n "checking size of int32_t... " >&6; }
  5930. -if ${ac_cv_sizeof_int32_t+:} false; then :
  5931. - $as_echo_n "(cached) " >&6
  5932. -else
  5933. - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int32_t))" "ac_cv_sizeof_int32_t" "$ac_includes_default"; then :
  5934. -
  5935. -else
  5936. - if test "$ac_cv_type_int32_t" = yes; then
  5937. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5938. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5939. -as_fn_error 77 "cannot compute sizeof (int32_t)
  5940. -See \`config.log' for more details" "$LINENO" 5; }
  5941. - else
  5942. - ac_cv_sizeof_int32_t=0
  5943. - fi
  5944. -fi
  5945. -
  5946. -fi
  5947. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int32_t" >&5
  5948. -$as_echo "$ac_cv_sizeof_int32_t" >&6; }
  5949. -
  5950. -
  5951. -
  5952. -cat >>confdefs.h <<_ACEOF
  5953. -#define SIZEOF_INT32_T $ac_cv_sizeof_int32_t
  5954. -_ACEOF
  5955. -
  5956. -
  5957. -# The cast to long int works around a bug in the HP C Compiler
  5958. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5959. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5960. -# This bug is HP SR number 8606223364.
  5961. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uint32_t" >&5
  5962. -$as_echo_n "checking size of uint32_t... " >&6; }
  5963. -if ${ac_cv_sizeof_uint32_t+:} false; then :
  5964. - $as_echo_n "(cached) " >&6
  5965. -else
  5966. - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uint32_t))" "ac_cv_sizeof_uint32_t" "$ac_includes_default"; then :
  5967. -
  5968. -else
  5969. - if test "$ac_cv_type_uint32_t" = yes; then
  5970. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  5971. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5972. -as_fn_error 77 "cannot compute sizeof (uint32_t)
  5973. -See \`config.log' for more details" "$LINENO" 5; }
  5974. - else
  5975. - ac_cv_sizeof_uint32_t=0
  5976. - fi
  5977. -fi
  5978. -
  5979. -fi
  5980. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uint32_t" >&5
  5981. -$as_echo "$ac_cv_sizeof_uint32_t" >&6; }
  5982. -
  5983. -
  5984. -
  5985. -cat >>confdefs.h <<_ACEOF
  5986. -#define SIZEOF_UINT32_T $ac_cv_sizeof_uint32_t
  5987. -_ACEOF
  5988. -
  5989. -
  5990. -# The cast to long int works around a bug in the HP C Compiler
  5991. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5992. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5993. -# This bug is HP SR number 8606223364.
  5994. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
  5995. -$as_echo_n "checking size of int64_t... " >&6; }
  5996. -if ${ac_cv_sizeof_int64_t+:} false; then :
  5997. - $as_echo_n "(cached) " >&6
  5998. -else
  5999. - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t" "$ac_includes_default"; then :
  6000. -
  6001. -else
  6002. - if test "$ac_cv_type_int64_t" = yes; then
  6003. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6004. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6005. -as_fn_error 77 "cannot compute sizeof (int64_t)
  6006. -See \`config.log' for more details" "$LINENO" 5; }
  6007. - else
  6008. - ac_cv_sizeof_int64_t=0
  6009. - fi
  6010. -fi
  6011. -
  6012. -fi
  6013. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
  6014. -$as_echo "$ac_cv_sizeof_int64_t" >&6; }
  6015. -
  6016. -
  6017. -
  6018. -cat >>confdefs.h <<_ACEOF
  6019. -#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
  6020. -_ACEOF
  6021. -
  6022. -
  6023. -# The cast to long int works around a bug in the HP C Compiler
  6024. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  6025. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  6026. -# This bug is HP SR number 8606223364.
  6027. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
  6028. -$as_echo_n "checking size of off_t... " >&6; }
  6029. -if ${ac_cv_sizeof_off_t+:} false; then :
  6030. - $as_echo_n "(cached) " >&6
  6031. -else
  6032. - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
  6033. -
  6034. -else
  6035. - if test "$ac_cv_type_off_t" = yes; then
  6036. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6037. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6038. -as_fn_error 77 "cannot compute sizeof (off_t)
  6039. -See \`config.log' for more details" "$LINENO" 5; }
  6040. - else
  6041. - ac_cv_sizeof_off_t=0
  6042. - fi
  6043. -fi
  6044. -
  6045. -fi
  6046. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
  6047. -$as_echo "$ac_cv_sizeof_off_t" >&6; }
  6048. -
  6049. -
  6050. -
  6051. -cat >>confdefs.h <<_ACEOF
  6052. -#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
  6053. -_ACEOF
  6054. -
  6055. -
  6056. -# The cast to long int works around a bug in the HP C Compiler
  6057. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  6058. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  6059. -# This bug is HP SR number 8606223364.
  6060. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off64_t" >&5
  6061. -$as_echo_n "checking size of off64_t... " >&6; }
  6062. -if ${ac_cv_sizeof_off64_t+:} false; then :
  6063. - $as_echo_n "(cached) " >&6
  6064. -else
  6065. - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off64_t))" "ac_cv_sizeof_off64_t" "$ac_includes_default"; then :
  6066. -
  6067. -else
  6068. - if test "$ac_cv_type_off64_t" = yes; then
  6069. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6070. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6071. -as_fn_error 77 "cannot compute sizeof (off64_t)
  6072. -See \`config.log' for more details" "$LINENO" 5; }
  6073. - else
  6074. - ac_cv_sizeof_off64_t=0
  6075. - fi
  6076. -fi
  6077. -
  6078. -fi
  6079. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off64_t" >&5
  6080. -$as_echo "$ac_cv_sizeof_off64_t" >&6; }
  6081. -
  6082. -
  6083. -
  6084. -cat >>confdefs.h <<_ACEOF
  6085. -#define SIZEOF_OFF64_T $ac_cv_sizeof_off64_t
  6086. -_ACEOF
  6087. -
  6088. -
  6089. -# The cast to long int works around a bug in the HP C Compiler
  6090. -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  6091. -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  6092. -# This bug is HP SR number 8606223364.
  6093. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
  6094. -$as_echo_n "checking size of time_t... " >&6; }
  6095. -if ${ac_cv_sizeof_time_t+:} false; then :
  6096. - $as_echo_n "(cached) " >&6
  6097. -else
  6098. - if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t" "$ac_includes_default"; then :
  6099. -
  6100. -else
  6101. - if test "$ac_cv_type_time_t" = yes; then
  6102. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6103. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6104. -as_fn_error 77 "cannot compute sizeof (time_t)
  6105. -See \`config.log' for more details" "$LINENO" 5; }
  6106. - else
  6107. - ac_cv_sizeof_time_t=0
  6108. - fi
  6109. -fi
  6110. -
  6111. -fi
  6112. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
  6113. -$as_echo "$ac_cv_sizeof_time_t" >&6; }
  6114. -
  6115. -
  6116. -
  6117. -cat >>confdefs.h <<_ACEOF
  6118. -#define SIZEOF_TIME_T $ac_cv_sizeof_time_t
  6119. -_ACEOF
  6120. -
  6121. -
  6122. -
  6123. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  6124. -$as_echo_n "checking for inline... " >&6; }
  6125. -if ${ac_cv_c_inline+:} false; then :
  6126. - $as_echo_n "(cached) " >&6
  6127. -else
  6128. - ac_cv_c_inline=no
  6129. -for ac_kw in inline __inline__ __inline; do
  6130. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6131. -/* end confdefs.h. */
  6132. -#ifndef __cplusplus
  6133. -typedef int foo_t;
  6134. -static $ac_kw foo_t static_foo () {return 0; }
  6135. -$ac_kw foo_t foo () {return 0; }
  6136. -#endif
  6137. -
  6138. -_ACEOF
  6139. -if ac_fn_c_try_compile "$LINENO"; then :
  6140. - ac_cv_c_inline=$ac_kw
  6141. -fi
  6142. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6143. - test "$ac_cv_c_inline" != no && break
  6144. -done
  6145. -
  6146. -fi
  6147. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  6148. -$as_echo "$ac_cv_c_inline" >&6; }
  6149. -
  6150. -case $ac_cv_c_inline in
  6151. - inline | yes) ;;
  6152. - *)
  6153. - case $ac_cv_c_inline in
  6154. - no) ac_val=;;
  6155. - *) ac_val=$ac_cv_c_inline;;
  6156. - esac
  6157. - cat >>confdefs.h <<_ACEOF
  6158. -#ifndef __cplusplus
  6159. -#define inline $ac_val
  6160. -#endif
  6161. -_ACEOF
  6162. - ;;
  6163. -esac
  6164. -
  6165. -
  6166. -
  6167. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double with more range or precision than double" >&5
  6168. -$as_echo_n "checking for long double with more range or precision than double... " >&6; }
  6169. -if ${ac_cv_type_long_double_wider+:} false; then :
  6170. - $as_echo_n "(cached) " >&6
  6171. -else
  6172. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6173. -/* end confdefs.h. */
  6174. -#include <float.h>
  6175. - long double const a[] =
  6176. - {
  6177. - 0.0L, DBL_MIN, DBL_MAX, DBL_EPSILON,
  6178. - LDBL_MIN, LDBL_MAX, LDBL_EPSILON
  6179. - };
  6180. - long double
  6181. - f (long double x)
  6182. - {
  6183. - return ((x + (unsigned long int) 10) * (-1 / x) + a[0]
  6184. - + (x ? f (x) : 'c'));
  6185. - }
  6186. -
  6187. -int
  6188. -main ()
  6189. -{
  6190. -static int test_array [1 - 2 * !((0 < ((DBL_MAX_EXP < LDBL_MAX_EXP)
  6191. - + (DBL_MANT_DIG < LDBL_MANT_DIG)
  6192. - - (LDBL_MAX_EXP < DBL_MAX_EXP)
  6193. - - (LDBL_MANT_DIG < DBL_MANT_DIG)))
  6194. - && (int) LDBL_EPSILON == 0
  6195. - )];
  6196. -test_array [0] = 0;
  6197. -return test_array [0];
  6198. -
  6199. - ;
  6200. - return 0;
  6201. -}
  6202. -_ACEOF
  6203. -if ac_fn_c_try_compile "$LINENO"; then :
  6204. - ac_cv_type_long_double_wider=yes
  6205. -else
  6206. - ac_cv_type_long_double_wider=no
  6207. -fi
  6208. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6209. -fi
  6210. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double_wider" >&5
  6211. -$as_echo "$ac_cv_type_long_double_wider" >&6; }
  6212. - if test $ac_cv_type_long_double_wider = yes; then
  6213. -
  6214. -$as_echo "#define HAVE_LONG_DOUBLE_WIDER 1" >>confdefs.h
  6215. -
  6216. - fi
  6217. -
  6218. -ac_cv_c_long_double=$ac_cv_type_long_double_wider
  6219. -if test $ac_cv_c_long_double = yes; then
  6220. -
  6221. -$as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
  6222. -
  6223. -fi
  6224. -
  6225. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
  6226. -$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
  6227. -if ${ac_cv_type_uid_t+:} false; then :
  6228. - $as_echo_n "(cached) " >&6
  6229. -else
  6230. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6231. -/* end confdefs.h. */
  6232. -#include <sys/types.h>
  6233. -
  6234. -_ACEOF
  6235. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6236. - $EGREP "uid_t" >/dev/null 2>&1; then :
  6237. - ac_cv_type_uid_t=yes
  6238. -else
  6239. - ac_cv_type_uid_t=no
  6240. -fi
  6241. -rm -f conftest*
  6242. -
  6243. -fi
  6244. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
  6245. -$as_echo "$ac_cv_type_uid_t" >&6; }
  6246. -if test $ac_cv_type_uid_t = no; then
  6247. -
  6248. -$as_echo "#define uid_t int" >>confdefs.h
  6249. -
  6250. -
  6251. -$as_echo "#define gid_t int" >>confdefs.h
  6252. -
  6253. -fi
  6254. -
  6255. -ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
  6256. -if test "x$ac_cv_type_mode_t" = xyes; then :
  6257. -
  6258. -cat >>confdefs.h <<_ACEOF
  6259. -#define HAVE_MODE_T 1
  6260. -_ACEOF
  6261. -
  6262. -
  6263. -fi
  6264. -ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
  6265. -if test "x$ac_cv_type_off_t" = xyes; then :
  6266. -
  6267. -cat >>confdefs.h <<_ACEOF
  6268. -#define HAVE_OFF_T 1
  6269. -_ACEOF
  6270. -
  6271. -
  6272. -fi
  6273. -ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  6274. -if test "x$ac_cv_type_size_t" = xyes; then :
  6275. -
  6276. -cat >>confdefs.h <<_ACEOF
  6277. -#define HAVE_SIZE_T 1
  6278. -_ACEOF
  6279. -
  6280. -
  6281. -fi
  6282. -ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
  6283. -if test "x$ac_cv_type_pid_t" = xyes; then :
  6284. -
  6285. -cat >>confdefs.h <<_ACEOF
  6286. -#define HAVE_PID_T 1
  6287. -_ACEOF
  6288. -
  6289. -
  6290. -fi
  6291. -ac_fn_c_check_type "$LINENO" "id_t" "ac_cv_type_id_t" "$ac_includes_default"
  6292. -if test "x$ac_cv_type_id_t" = xyes; then :
  6293. -
  6294. -cat >>confdefs.h <<_ACEOF
  6295. -#define HAVE_ID_T 1
  6296. -_ACEOF
  6297. -
  6298. -
  6299. -fi
  6300. -
  6301. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
  6302. -$as_echo_n "checking type of array argument to getgroups... " >&6; }
  6303. -if ${ac_cv_type_getgroups+:} false; then :
  6304. - $as_echo_n "(cached) " >&6
  6305. -else
  6306. - if test "$cross_compiling" = yes; then :
  6307. - ac_cv_type_getgroups=cross
  6308. -else
  6309. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6310. -/* end confdefs.h. */
  6311. -/* Thanks to Mike Rendell for this test. */
  6312. -$ac_includes_default
  6313. -#define NGID 256
  6314. -#undef MAX
  6315. -#define MAX(x, y) ((x) > (y) ? (x) : (y))
  6316. -
  6317. -int
  6318. -main ()
  6319. -{
  6320. - gid_t gidset[NGID];
  6321. - int i, n;
  6322. - union { gid_t gval; long int lval; } val;
  6323. -
  6324. - val.lval = -1;
  6325. - for (i = 0; i < NGID; i++)
  6326. - gidset[i] = val.gval;
  6327. - n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
  6328. - gidset);
  6329. - /* Exit non-zero if getgroups seems to require an array of ints. This
  6330. - happens when gid_t is short int but getgroups modifies an array
  6331. - of ints. */
  6332. - return n > 0 && gidset[n] != val.gval;
  6333. -}
  6334. -_ACEOF
  6335. -if ac_fn_c_try_run "$LINENO"; then :
  6336. - ac_cv_type_getgroups=gid_t
  6337. -else
  6338. - ac_cv_type_getgroups=int
  6339. -fi
  6340. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6341. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  6342. -fi
  6343. -
  6344. -if test $ac_cv_type_getgroups = cross; then
  6345. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6346. -/* end confdefs.h. */
  6347. -#include <unistd.h>
  6348. -
  6349. -_ACEOF
  6350. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6351. - $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then :
  6352. - ac_cv_type_getgroups=gid_t
  6353. -else
  6354. - ac_cv_type_getgroups=int
  6355. -fi
  6356. -rm -f conftest*
  6357. -
  6358. -fi
  6359. -fi
  6360. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
  6361. -$as_echo "$ac_cv_type_getgroups" >&6; }
  6362. -
  6363. -cat >>confdefs.h <<_ACEOF
  6364. -#define GETGROUPS_T $ac_cv_type_getgroups
  6365. -_ACEOF
  6366. -
  6367. -
  6368. -ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "
  6369. -#ifdef HAVE_SYS_TYPES_H
  6370. -#include <sys/types.h>
  6371. -#endif
  6372. -#ifdef HAVE_SYS_STAT_H
  6373. -#include <sys/stat.h>
  6374. -#endif
  6375. -#ifdef HAVE_UNISTD_H
  6376. -#include <unistd.h>
  6377. -#endif
  6378. -"
  6379. -if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
  6380. -
  6381. -cat >>confdefs.h <<_ACEOF
  6382. -#define HAVE_STRUCT_STAT_ST_RDEV 1
  6383. -_ACEOF
  6384. -
  6385. -
  6386. -fi
  6387. -ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimensec" "ac_cv_member_struct_stat_st_mtimensec" "
  6388. -#ifdef HAVE_SYS_TYPES_H
  6389. -#include <sys/types.h>
  6390. -#endif
  6391. -#ifdef HAVE_SYS_STAT_H
  6392. -#include <sys/stat.h>
  6393. -#endif
  6394. -#ifdef HAVE_UNISTD_H
  6395. -#include <unistd.h>
  6396. -#endif
  6397. -"
  6398. -if test "x$ac_cv_member_struct_stat_st_mtimensec" = xyes; then :
  6399. -
  6400. -cat >>confdefs.h <<_ACEOF
  6401. -#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
  6402. -_ACEOF
  6403. -
  6404. -
  6405. -fi
  6406. -ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim.tv_nsec" "ac_cv_member_struct_stat_st_mtim_tv_nsec" "
  6407. -#ifdef HAVE_SYS_TYPES_H
  6408. -#include <sys/types.h>
  6409. -#endif
  6410. -#ifdef HAVE_SYS_STAT_H
  6411. -#include <sys/stat.h>
  6412. -#endif
  6413. -#ifdef HAVE_UNISTD_H
  6414. -#include <unistd.h>
  6415. -#endif
  6416. -"
  6417. -if test "x$ac_cv_member_struct_stat_st_mtim_tv_nsec" = xyes; then :
  6418. -
  6419. -cat >>confdefs.h <<_ACEOF
  6420. -#define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
  6421. -_ACEOF
  6422. -
  6423. -
  6424. -fi
  6425. -
  6426. -
  6427. -
  6428. - ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
  6429. -#include <sys/socket.h>
  6430. -"
  6431. -if test "x$ac_cv_type_socklen_t" = xyes; then :
  6432. -
  6433. -else
  6434. -
  6435. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
  6436. -$as_echo_n "checking for socklen_t equivalent... " >&6; }
  6437. - if ${rsync_cv_socklen_t_equiv+:} false; then :
  6438. - $as_echo_n "(cached) " >&6
  6439. -else
  6440. -
  6441. - # Systems have either "struct sockaddr *" or
  6442. - # "void *" as the second argument to getpeername
  6443. - rsync_cv_socklen_t_equiv=
  6444. - for arg2 in "struct sockaddr" void; do
  6445. - for t in int size_t unsigned long "unsigned long"; do
  6446. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6447. -/* end confdefs.h. */
  6448. -
  6449. -#include <sys/types.h>
  6450. -#include <sys/socket.h>
  6451. -
  6452. - int getpeername (int, $arg2 *, $t *);
  6453. -
  6454. -int
  6455. -main ()
  6456. -{
  6457. -
  6458. - $t len;
  6459. - getpeername(0,0,&len);
  6460. -
  6461. - ;
  6462. - return 0;
  6463. -}
  6464. -_ACEOF
  6465. -if ac_fn_c_try_compile "$LINENO"; then :
  6466. -
  6467. - rsync_cv_socklen_t_equiv="$t"
  6468. - break
  6469. -
  6470. -fi
  6471. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6472. - done
  6473. - done
  6474. -
  6475. - if test "x$rsync_cv_socklen_t_equiv" = x; then
  6476. - as_fn_error $? "Cannot find a type to use in place of socklen_t" "$LINENO" 5
  6477. - fi
  6478. -
  6479. -fi
  6480. -
  6481. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_socklen_t_equiv" >&5
  6482. -$as_echo "$rsync_cv_socklen_t_equiv" >&6; }
  6483. -
  6484. -cat >>confdefs.h <<_ACEOF
  6485. -#define socklen_t $rsync_cv_socklen_t_equiv
  6486. -_ACEOF
  6487. -
  6488. -fi
  6489. -
  6490. -
  6491. -
  6492. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for errno in errno.h" >&5
  6493. -$as_echo_n "checking for errno in errno.h... " >&6; }
  6494. -if ${rsync_cv_errno+:} false; then :
  6495. - $as_echo_n "(cached) " >&6
  6496. -else
  6497. -
  6498. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6499. -/* end confdefs.h. */
  6500. -#include <errno.h>
  6501. -int
  6502. -main ()
  6503. -{
  6504. -int i = errno
  6505. - ;
  6506. - return 0;
  6507. -}
  6508. -_ACEOF
  6509. -if ac_fn_c_try_compile "$LINENO"; then :
  6510. - rsync_cv_errno=yes
  6511. -else
  6512. - rsync_cv_have_errno_decl=no
  6513. -fi
  6514. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6515. -fi
  6516. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_errno" >&5
  6517. -$as_echo "$rsync_cv_errno" >&6; }
  6518. -if test x"$rsync_cv_errno" = x"yes"; then
  6519. -
  6520. -$as_echo "#define HAVE_ERRNO_DECL 1" >>confdefs.h
  6521. -
  6522. -fi
  6523. -
  6524. -# The following test taken from the cvs sources
  6525. -# If we can't find connect, try looking in -lsocket, -lnsl, and -linet.
  6526. -# These need checks to be before checks for any other functions that
  6527. -# might be in the same libraries.
  6528. -# The Irix 5 libc.so has connect and gethostbyname, but Irix 5 also has
  6529. -# libsocket.so which has a bad implementation of gethostbyname (it
  6530. -# only looks in /etc/hosts), so we only look for -lsocket if we need
  6531. -# it.
  6532. -for ac_func in connect
  6533. -do :
  6534. - ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
  6535. -if test "x$ac_cv_func_connect" = xyes; then :
  6536. - cat >>confdefs.h <<_ACEOF
  6537. -#define HAVE_CONNECT 1
  6538. -_ACEOF
  6539. -
  6540. -fi
  6541. -done
  6542. -
  6543. -if test x"$ac_cv_func_connect" = x"no"; then
  6544. - case "$LIBS" in
  6545. - *-lnsl*) ;;
  6546. - *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for printf in -lnsl_s" >&5
  6547. -$as_echo_n "checking for printf in -lnsl_s... " >&6; }
  6548. -if ${ac_cv_lib_nsl_s_printf+:} false; then :
  6549. - $as_echo_n "(cached) " >&6
  6550. -else
  6551. - ac_check_lib_save_LIBS=$LIBS
  6552. -LIBS="-lnsl_s $LIBS"
  6553. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6554. -/* end confdefs.h. */
  6555. -
  6556. -/* Override any GCC internal prototype to avoid an error.
  6557. - Use char because int might match the return type of a GCC
  6558. - builtin and then its argument prototype would still apply. */
  6559. -#ifdef __cplusplus
  6560. -extern "C"
  6561. -#endif
  6562. -char printf ();
  6563. -int
  6564. -main ()
  6565. -{
  6566. -return printf ();
  6567. - ;
  6568. - return 0;
  6569. -}
  6570. -_ACEOF
  6571. -if ac_fn_c_try_link "$LINENO"; then :
  6572. - ac_cv_lib_nsl_s_printf=yes
  6573. -else
  6574. - ac_cv_lib_nsl_s_printf=no
  6575. -fi
  6576. -rm -f core conftest.err conftest.$ac_objext \
  6577. - conftest$ac_exeext conftest.$ac_ext
  6578. -LIBS=$ac_check_lib_save_LIBS
  6579. -fi
  6580. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_s_printf" >&5
  6581. -$as_echo "$ac_cv_lib_nsl_s_printf" >&6; }
  6582. -if test "x$ac_cv_lib_nsl_s_printf" = xyes; then :
  6583. - cat >>confdefs.h <<_ACEOF
  6584. -#define HAVE_LIBNSL_S 1
  6585. -_ACEOF
  6586. -
  6587. - LIBS="-lnsl_s $LIBS"
  6588. -
  6589. -fi
  6590. - ;;
  6591. - esac
  6592. - case "$LIBS" in
  6593. - *-lnsl*) ;;
  6594. - *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for printf in -lnsl" >&5
  6595. -$as_echo_n "checking for printf in -lnsl... " >&6; }
  6596. -if ${ac_cv_lib_nsl_printf+:} false; then :
  6597. - $as_echo_n "(cached) " >&6
  6598. -else
  6599. - ac_check_lib_save_LIBS=$LIBS
  6600. -LIBS="-lnsl $LIBS"
  6601. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6602. -/* end confdefs.h. */
  6603. -
  6604. -/* Override any GCC internal prototype to avoid an error.
  6605. - Use char because int might match the return type of a GCC
  6606. - builtin and then its argument prototype would still apply. */
  6607. -#ifdef __cplusplus
  6608. -extern "C"
  6609. -#endif
  6610. -char printf ();
  6611. -int
  6612. -main ()
  6613. -{
  6614. -return printf ();
  6615. - ;
  6616. - return 0;
  6617. -}
  6618. -_ACEOF
  6619. -if ac_fn_c_try_link "$LINENO"; then :
  6620. - ac_cv_lib_nsl_printf=yes
  6621. -else
  6622. - ac_cv_lib_nsl_printf=no
  6623. -fi
  6624. -rm -f core conftest.err conftest.$ac_objext \
  6625. - conftest$ac_exeext conftest.$ac_ext
  6626. -LIBS=$ac_check_lib_save_LIBS
  6627. -fi
  6628. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_printf" >&5
  6629. -$as_echo "$ac_cv_lib_nsl_printf" >&6; }
  6630. -if test "x$ac_cv_lib_nsl_printf" = xyes; then :
  6631. - cat >>confdefs.h <<_ACEOF
  6632. -#define HAVE_LIBNSL 1
  6633. -_ACEOF
  6634. -
  6635. - LIBS="-lnsl $LIBS"
  6636. -
  6637. -fi
  6638. - ;;
  6639. - esac
  6640. - case "$LIBS" in
  6641. - *-lsocket*) ;;
  6642. - *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
  6643. -$as_echo_n "checking for connect in -lsocket... " >&6; }
  6644. -if ${ac_cv_lib_socket_connect+:} false; then :
  6645. - $as_echo_n "(cached) " >&6
  6646. -else
  6647. - ac_check_lib_save_LIBS=$LIBS
  6648. -LIBS="-lsocket $LIBS"
  6649. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6650. -/* end confdefs.h. */
  6651. -
  6652. -/* Override any GCC internal prototype to avoid an error.
  6653. - Use char because int might match the return type of a GCC
  6654. - builtin and then its argument prototype would still apply. */
  6655. -#ifdef __cplusplus
  6656. -extern "C"
  6657. -#endif
  6658. -char connect ();
  6659. -int
  6660. -main ()
  6661. -{
  6662. -return connect ();
  6663. - ;
  6664. - return 0;
  6665. -}
  6666. -_ACEOF
  6667. -if ac_fn_c_try_link "$LINENO"; then :
  6668. - ac_cv_lib_socket_connect=yes
  6669. -else
  6670. - ac_cv_lib_socket_connect=no
  6671. -fi
  6672. -rm -f core conftest.err conftest.$ac_objext \
  6673. - conftest$ac_exeext conftest.$ac_ext
  6674. -LIBS=$ac_check_lib_save_LIBS
  6675. -fi
  6676. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
  6677. -$as_echo "$ac_cv_lib_socket_connect" >&6; }
  6678. -if test "x$ac_cv_lib_socket_connect" = xyes; then :
  6679. - cat >>confdefs.h <<_ACEOF
  6680. -#define HAVE_LIBSOCKET 1
  6681. -_ACEOF
  6682. -
  6683. - LIBS="-lsocket $LIBS"
  6684. -
  6685. -fi
  6686. - ;;
  6687. - esac
  6688. - case "$LIBS" in
  6689. - *-linet*) ;;
  6690. - *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -linet" >&5
  6691. -$as_echo_n "checking for connect in -linet... " >&6; }
  6692. -if ${ac_cv_lib_inet_connect+:} false; then :
  6693. - $as_echo_n "(cached) " >&6
  6694. -else
  6695. - ac_check_lib_save_LIBS=$LIBS
  6696. -LIBS="-linet $LIBS"
  6697. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6698. -/* end confdefs.h. */
  6699. -
  6700. -/* Override any GCC internal prototype to avoid an error.
  6701. - Use char because int might match the return type of a GCC
  6702. - builtin and then its argument prototype would still apply. */
  6703. -#ifdef __cplusplus
  6704. -extern "C"
  6705. -#endif
  6706. -char connect ();
  6707. -int
  6708. -main ()
  6709. -{
  6710. -return connect ();
  6711. - ;
  6712. - return 0;
  6713. -}
  6714. -_ACEOF
  6715. -if ac_fn_c_try_link "$LINENO"; then :
  6716. - ac_cv_lib_inet_connect=yes
  6717. -else
  6718. - ac_cv_lib_inet_connect=no
  6719. -fi
  6720. -rm -f core conftest.err conftest.$ac_objext \
  6721. - conftest$ac_exeext conftest.$ac_ext
  6722. -LIBS=$ac_check_lib_save_LIBS
  6723. -fi
  6724. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_connect" >&5
  6725. -$as_echo "$ac_cv_lib_inet_connect" >&6; }
  6726. -if test "x$ac_cv_lib_inet_connect" = xyes; then :
  6727. - cat >>confdefs.h <<_ACEOF
  6728. -#define HAVE_LIBINET 1
  6729. -_ACEOF
  6730. -
  6731. - LIBS="-linet $LIBS"
  6732. -
  6733. -fi
  6734. - ;;
  6735. - esac
  6736. - if test x"$ac_cv_lib_socket_connect" = x"yes" ||
  6737. - test x"$ac_cv_lib_inet_connect" = x"yes"; then
  6738. - # ac_cv_func_connect=yes
  6739. - # don't! it would cause AC_CHECK_FUNC to succeed next time configure is run
  6740. -
  6741. -$as_echo "#define HAVE_CONNECT 1" >>confdefs.h
  6742. -
  6743. - fi
  6744. -fi
  6745. -
  6746. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
  6747. -$as_echo_n "checking for library containing inet_ntop... " >&6; }
  6748. -if ${ac_cv_search_inet_ntop+:} false; then :
  6749. - $as_echo_n "(cached) " >&6
  6750. -else
  6751. - ac_func_search_save_LIBS=$LIBS
  6752. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6753. -/* end confdefs.h. */
  6754. -
  6755. -/* Override any GCC internal prototype to avoid an error.
  6756. - Use char because int might match the return type of a GCC
  6757. - builtin and then its argument prototype would still apply. */
  6758. -#ifdef __cplusplus
  6759. -extern "C"
  6760. -#endif
  6761. -char inet_ntop ();
  6762. -int
  6763. -main ()
  6764. -{
  6765. -return inet_ntop ();
  6766. - ;
  6767. - return 0;
  6768. -}
  6769. -_ACEOF
  6770. -for ac_lib in '' resolv; do
  6771. - if test -z "$ac_lib"; then
  6772. - ac_res="none required"
  6773. - else
  6774. - ac_res=-l$ac_lib
  6775. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  6776. - fi
  6777. - if ac_fn_c_try_link "$LINENO"; then :
  6778. - ac_cv_search_inet_ntop=$ac_res
  6779. -fi
  6780. -rm -f core conftest.err conftest.$ac_objext \
  6781. - conftest$ac_exeext
  6782. - if ${ac_cv_search_inet_ntop+:} false; then :
  6783. - break
  6784. -fi
  6785. -done
  6786. -if ${ac_cv_search_inet_ntop+:} false; then :
  6787. -
  6788. -else
  6789. - ac_cv_search_inet_ntop=no
  6790. -fi
  6791. -rm conftest.$ac_ext
  6792. -LIBS=$ac_func_search_save_LIBS
  6793. -fi
  6794. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5
  6795. -$as_echo "$ac_cv_search_inet_ntop" >&6; }
  6796. -ac_res=$ac_cv_search_inet_ntop
  6797. -if test "$ac_res" != no; then :
  6798. - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  6799. -
  6800. -fi
  6801. -
  6802. -
  6803. -# For OS X, Solaris, HP-UX, etc.: figure out if -liconv is needed. We'll
  6804. -# accept either iconv_open or libiconv_open, since some include files map
  6805. -# the former to the latter.
  6806. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing iconv_open" >&5
  6807. -$as_echo_n "checking for library containing iconv_open... " >&6; }
  6808. -if ${ac_cv_search_iconv_open+:} false; then :
  6809. - $as_echo_n "(cached) " >&6
  6810. -else
  6811. - ac_func_search_save_LIBS=$LIBS
  6812. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6813. -/* end confdefs.h. */
  6814. -
  6815. -/* Override any GCC internal prototype to avoid an error.
  6816. - Use char because int might match the return type of a GCC
  6817. - builtin and then its argument prototype would still apply. */
  6818. -#ifdef __cplusplus
  6819. -extern "C"
  6820. -#endif
  6821. -char iconv_open ();
  6822. -int
  6823. -main ()
  6824. -{
  6825. -return iconv_open ();
  6826. - ;
  6827. - return 0;
  6828. -}
  6829. -_ACEOF
  6830. -for ac_lib in '' iconv; do
  6831. - if test -z "$ac_lib"; then
  6832. - ac_res="none required"
  6833. - else
  6834. - ac_res=-l$ac_lib
  6835. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  6836. - fi
  6837. - if ac_fn_c_try_link "$LINENO"; then :
  6838. - ac_cv_search_iconv_open=$ac_res
  6839. -fi
  6840. -rm -f core conftest.err conftest.$ac_objext \
  6841. - conftest$ac_exeext
  6842. - if ${ac_cv_search_iconv_open+:} false; then :
  6843. - break
  6844. -fi
  6845. -done
  6846. -if ${ac_cv_search_iconv_open+:} false; then :
  6847. -
  6848. -else
  6849. - ac_cv_search_iconv_open=no
  6850. -fi
  6851. -rm conftest.$ac_ext
  6852. -LIBS=$ac_func_search_save_LIBS
  6853. -fi
  6854. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_iconv_open" >&5
  6855. -$as_echo "$ac_cv_search_iconv_open" >&6; }
  6856. -ac_res=$ac_cv_search_iconv_open
  6857. -if test "$ac_res" != no; then :
  6858. - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  6859. -
  6860. -fi
  6861. -
  6862. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing libiconv_open" >&5
  6863. -$as_echo_n "checking for library containing libiconv_open... " >&6; }
  6864. -if ${ac_cv_search_libiconv_open+:} false; then :
  6865. - $as_echo_n "(cached) " >&6
  6866. -else
  6867. - ac_func_search_save_LIBS=$LIBS
  6868. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6869. -/* end confdefs.h. */
  6870. -
  6871. -/* Override any GCC internal prototype to avoid an error.
  6872. - Use char because int might match the return type of a GCC
  6873. - builtin and then its argument prototype would still apply. */
  6874. -#ifdef __cplusplus
  6875. -extern "C"
  6876. -#endif
  6877. -char libiconv_open ();
  6878. -int
  6879. -main ()
  6880. -{
  6881. -return libiconv_open ();
  6882. - ;
  6883. - return 0;
  6884. -}
  6885. -_ACEOF
  6886. -for ac_lib in '' iconv; do
  6887. - if test -z "$ac_lib"; then
  6888. - ac_res="none required"
  6889. - else
  6890. - ac_res=-l$ac_lib
  6891. - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  6892. - fi
  6893. - if ac_fn_c_try_link "$LINENO"; then :
  6894. - ac_cv_search_libiconv_open=$ac_res
  6895. -fi
  6896. -rm -f core conftest.err conftest.$ac_objext \
  6897. - conftest$ac_exeext
  6898. - if ${ac_cv_search_libiconv_open+:} false; then :
  6899. - break
  6900. -fi
  6901. -done
  6902. -if ${ac_cv_search_libiconv_open+:} false; then :
  6903. -
  6904. -else
  6905. - ac_cv_search_libiconv_open=no
  6906. -fi
  6907. -rm conftest.$ac_ext
  6908. -LIBS=$ac_func_search_save_LIBS
  6909. -fi
  6910. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_libiconv_open" >&5
  6911. -$as_echo "$ac_cv_search_libiconv_open" >&6; }
  6912. -ac_res=$ac_cv_search_libiconv_open
  6913. -if test "$ac_res" != no; then :
  6914. - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  6915. -
  6916. -fi
  6917. -
  6918. -
  6919. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
  6920. -$as_echo_n "checking for iconv declaration... " >&6; }
  6921. -if ${am_cv_proto_iconv+:} false; then :
  6922. - $as_echo_n "(cached) " >&6
  6923. -else
  6924. -
  6925. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6926. -/* end confdefs.h. */
  6927. -
  6928. -#include <stdlib.h>
  6929. -#include <iconv.h>
  6930. -extern
  6931. -#ifdef __cplusplus
  6932. -"C"
  6933. -#endif
  6934. -#if defined(__STDC__) || defined(__cplusplus)
  6935. -size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
  6936. -#else
  6937. -size_t iconv();
  6938. -#endif
  6939. -
  6940. -int
  6941. -main ()
  6942. -{
  6943. -
  6944. - ;
  6945. - return 0;
  6946. -}
  6947. -_ACEOF
  6948. -if ac_fn_c_try_compile "$LINENO"; then :
  6949. - am_cv_proto_iconv_arg1=""
  6950. -else
  6951. - am_cv_proto_iconv_arg1="const"
  6952. -fi
  6953. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6954. - am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
  6955. -fi
  6956. -
  6957. - am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
  6958. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
  6959. - }$am_cv_proto_iconv" >&5
  6960. -$as_echo "${ac_t:-
  6961. - }$am_cv_proto_iconv" >&6; }
  6962. -
  6963. -cat >>confdefs.h <<_ACEOF
  6964. -#define ICONV_CONST $am_cv_proto_iconv_arg1
  6965. -_ACEOF
  6966. -
  6967. -
  6968. -
  6969. -ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
  6970. -if test "x$ac_cv_func_inet_ntop" = xyes; then :
  6971. - $as_echo "#define HAVE_INET_NTOP 1" >>confdefs.h
  6972. -
  6973. -else
  6974. - case " $LIBOBJS " in
  6975. - *" inet_ntop.$ac_objext "* ) ;;
  6976. - *) LIBOBJS="$LIBOBJS inet_ntop.$ac_objext"
  6977. - ;;
  6978. -esac
  6979. -
  6980. -fi
  6981. -
  6982. -ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton"
  6983. -if test "x$ac_cv_func_inet_pton" = xyes; then :
  6984. - $as_echo "#define HAVE_INET_PTON 1" >>confdefs.h
  6985. -
  6986. -else
  6987. - case " $LIBOBJS " in
  6988. - *" inet_pton.$ac_objext "* ) ;;
  6989. - *) LIBOBJS="$LIBOBJS inet_pton.$ac_objext"
  6990. - ;;
  6991. -esac
  6992. -
  6993. -fi
  6994. -
  6995. -
  6996. -
  6997. -
  6998. -
  6999. -cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
  7000. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5
  7001. -$as_echo_n "checking for struct addrinfo... " >&6; }
  7002. -if eval \${ac_cv_type_$cv+:} false; then :
  7003. - $as_echo_n "(cached) " >&6
  7004. -else
  7005. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7006. -/* end confdefs.h. */
  7007. -
  7008. -$ac_includes_default
  7009. -#include <netdb.h>
  7010. -int
  7011. -main ()
  7012. -{
  7013. -struct addrinfo foo;
  7014. - ;
  7015. - return 0;
  7016. -}
  7017. -_ACEOF
  7018. -if ac_fn_c_try_compile "$LINENO"; then :
  7019. - eval "ac_cv_type_$cv=yes"
  7020. -else
  7021. - eval "ac_cv_type_$cv=no"
  7022. -fi
  7023. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7024. -fi
  7025. -ac_foo=`eval echo \\$ac_cv_type_$cv`
  7026. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_foo" >&5
  7027. -$as_echo "$ac_foo" >&6; }
  7028. -if test "$ac_foo" = yes; then
  7029. - ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
  7030. -if false; then
  7031. - ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "$ac_includes_default"
  7032. -if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
  7033. -
  7034. -cat >>confdefs.h <<_ACEOF
  7035. -#define HAVE_STRUCT_ADDRINFO 1
  7036. -_ACEOF
  7037. -
  7038. -
  7039. -fi
  7040. -
  7041. -fi
  7042. -
  7043. -cat >>confdefs.h <<_ACEOF
  7044. -#define $ac_tr_hdr 1
  7045. -_ACEOF
  7046. -
  7047. -fi
  7048. -
  7049. -
  7050. -
  7051. -cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
  7052. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_storage" >&5
  7053. -$as_echo_n "checking for struct sockaddr_storage... " >&6; }
  7054. -if eval \${ac_cv_type_$cv+:} false; then :
  7055. - $as_echo_n "(cached) " >&6
  7056. -else
  7057. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7058. -/* end confdefs.h. */
  7059. -
  7060. -$ac_includes_default
  7061. -#include <sys/types.h>
  7062. -#include <sys/socket.h>
  7063. -int
  7064. -main ()
  7065. -{
  7066. -struct sockaddr_storage foo;
  7067. - ;
  7068. - return 0;
  7069. -}
  7070. -_ACEOF
  7071. -if ac_fn_c_try_compile "$LINENO"; then :
  7072. - eval "ac_cv_type_$cv=yes"
  7073. -else
  7074. - eval "ac_cv_type_$cv=no"
  7075. -fi
  7076. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7077. -fi
  7078. -ac_foo=`eval echo \\$ac_cv_type_$cv`
  7079. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_foo" >&5
  7080. -$as_echo "$ac_foo" >&6; }
  7081. -if test "$ac_foo" = yes; then
  7082. - ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
  7083. -if false; then
  7084. - ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "$ac_includes_default"
  7085. -if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
  7086. -
  7087. -cat >>confdefs.h <<_ACEOF
  7088. -#define HAVE_STRUCT_SOCKADDR_STORAGE 1
  7089. -_ACEOF
  7090. -
  7091. -
  7092. -fi
  7093. -
  7094. -fi
  7095. -
  7096. -cat >>confdefs.h <<_ACEOF
  7097. -#define $ac_tr_hdr 1
  7098. -_ACEOF
  7099. -
  7100. -fi
  7101. -
  7102. -
  7103. -# Irix 6.5 has getaddrinfo but not the corresponding defines, so use
  7104. -# builtin getaddrinfo if one of the defines don't exist
  7105. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines needed by getaddrinfo exist" >&5
  7106. -$as_echo_n "checking whether defines needed by getaddrinfo exist... " >&6; }
  7107. -if ${rsync_cv_HAVE_GETADDR_DEFINES+:} false; then :
  7108. - $as_echo_n "(cached) " >&6
  7109. -else
  7110. -
  7111. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7112. -/* end confdefs.h. */
  7113. -
  7114. - #include <sys/types.h>
  7115. - #include <sys/socket.h>
  7116. - #include <netdb.h>
  7117. - #ifdef AI_PASSIVE
  7118. - yes
  7119. - #endif
  7120. -_ACEOF
  7121. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7122. - $EGREP "yes" >/dev/null 2>&1; then :
  7123. - rsync_cv_HAVE_GETADDR_DEFINES=yes
  7124. -else
  7125. - rsync_cv_HAVE_GETADDR_DEFINES=no
  7126. -fi
  7127. -rm -f conftest*
  7128. -
  7129. -fi
  7130. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_GETADDR_DEFINES" >&5
  7131. -$as_echo "$rsync_cv_HAVE_GETADDR_DEFINES" >&6; }
  7132. -if test x"$rsync_cv_HAVE_GETADDR_DEFINES" = x"yes" -a x"$ac_cv_type_struct_addrinfo" = x"yes"; then :
  7133. -
  7134. - # Tru64 UNIX has getaddrinfo() but has it renamed in libc as
  7135. - # something else so we must include <netdb.h> to get the
  7136. - # redefinition.
  7137. - for ac_func in getaddrinfo
  7138. -do :
  7139. - ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
  7140. -if test "x$ac_cv_func_getaddrinfo" = xyes; then :
  7141. - cat >>confdefs.h <<_ACEOF
  7142. -#define HAVE_GETADDRINFO 1
  7143. -_ACEOF
  7144. -
  7145. -else
  7146. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo by including <netdb.h>" >&5
  7147. -$as_echo_n "checking for getaddrinfo by including <netdb.h>... " >&6; }
  7148. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7149. -/* end confdefs.h. */
  7150. -#include <sys/types.h>
  7151. - #include <sys/socket.h>
  7152. - #include <netdb.h>
  7153. -int
  7154. -main ()
  7155. -{
  7156. -getaddrinfo(NULL, NULL, NULL, NULL);
  7157. - ;
  7158. - return 0;
  7159. -}
  7160. -_ACEOF
  7161. -if ac_fn_c_try_link "$LINENO"; then :
  7162. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  7163. -$as_echo "yes" >&6; }
  7164. -
  7165. -$as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
  7166. -
  7167. -else
  7168. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7169. -$as_echo "no" >&6; }
  7170. - case " $LIBOBJS " in
  7171. - *" getaddrinfo.$ac_objext "* ) ;;
  7172. - *) LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext"
  7173. - ;;
  7174. -esac
  7175. -
  7176. -fi
  7177. -rm -f core conftest.err conftest.$ac_objext \
  7178. - conftest$ac_exeext conftest.$ac_ext
  7179. -fi
  7180. -done
  7181. -
  7182. -
  7183. -else
  7184. - case " $LIBOBJS " in
  7185. - *" getaddrinfo.$ac_objext "* ) ;;
  7186. - *) LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext"
  7187. - ;;
  7188. -esac
  7189. -
  7190. -fi
  7191. -
  7192. -ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
  7193. -#include <sys/types.h>
  7194. -#include <sys/socket.h>
  7195. -
  7196. -"
  7197. -if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
  7198. -
  7199. -$as_echo "#define HAVE_SOCKADDR_LEN 1" >>confdefs.h
  7200. -
  7201. -fi
  7202. -
  7203. -
  7204. -ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
  7205. -#include <sys/types.h>
  7206. -#include <sys/socket.h>
  7207. -#include <netinet/in.h>
  7208. -
  7209. -"
  7210. -if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
  7211. -
  7212. -$as_echo "#define HAVE_SOCKADDR_IN_LEN 1" >>confdefs.h
  7213. -
  7214. -fi
  7215. -
  7216. -
  7217. -ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "
  7218. -#include <sys/types.h>
  7219. -#include <sys/socket.h>
  7220. -#include <netinet/in.h>
  7221. -
  7222. -"
  7223. -if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
  7224. -
  7225. -$as_echo "#define HAVE_SOCKADDR_UN_LEN 1" >>confdefs.h
  7226. -
  7227. -fi
  7228. -
  7229. -
  7230. -ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "
  7231. -#include <sys/types.h>
  7232. -#include <sys/socket.h>
  7233. -#include <netinet/in.h>
  7234. -
  7235. -"
  7236. -if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
  7237. -
  7238. -$as_echo "#define HAVE_SOCKADDR_IN6_SCOPE_ID 1" >>confdefs.h
  7239. -
  7240. -fi
  7241. -
  7242. -
  7243. -
  7244. -
  7245. -cv=`echo "struct stat64" | sed 'y%./+- %__p__%'`
  7246. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat64" >&5
  7247. -$as_echo_n "checking for struct stat64... " >&6; }
  7248. -if eval \${ac_cv_type_$cv+:} false; then :
  7249. - $as_echo_n "(cached) " >&6
  7250. -else
  7251. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7252. -/* end confdefs.h. */
  7253. -
  7254. -$ac_includes_default
  7255. -#include <stdio.h>
  7256. -#if HAVE_SYS_TYPES_H
  7257. -# include <sys/types.h>
  7258. -#endif
  7259. -#if HAVE_SYS_STAT_H
  7260. -# include <sys/stat.h>
  7261. -#endif
  7262. -#if STDC_HEADERS
  7263. -# include <stdlib.h>
  7264. -# include <stddef.h>
  7265. -#else
  7266. -# if HAVE_STDLIB_H
  7267. -# include <stdlib.h>
  7268. -# endif
  7269. -#endif
  7270. -
  7271. -int
  7272. -main ()
  7273. -{
  7274. -struct stat64 foo;
  7275. - ;
  7276. - return 0;
  7277. -}
  7278. -_ACEOF
  7279. -if ac_fn_c_try_compile "$LINENO"; then :
  7280. - eval "ac_cv_type_$cv=yes"
  7281. -else
  7282. - eval "ac_cv_type_$cv=no"
  7283. -fi
  7284. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7285. -fi
  7286. -ac_foo=`eval echo \\$ac_cv_type_$cv`
  7287. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_foo" >&5
  7288. -$as_echo "$ac_foo" >&6; }
  7289. -if test "$ac_foo" = yes; then
  7290. - ac_tr_hdr=HAVE_`echo struct stat64 | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
  7291. -if false; then
  7292. - ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "$ac_includes_default"
  7293. -if test "x$ac_cv_type_struct_stat64" = xyes; then :
  7294. -
  7295. -cat >>confdefs.h <<_ACEOF
  7296. -#define HAVE_STRUCT_STAT64 1
  7297. -_ACEOF
  7298. -
  7299. -
  7300. -fi
  7301. -
  7302. -fi
  7303. -
  7304. -cat >>confdefs.h <<_ACEOF
  7305. -#define $ac_tr_hdr 1
  7306. -_ACEOF
  7307. -
  7308. -fi
  7309. -
  7310. -
  7311. -# if we can't find strcasecmp, look in -lresolv (for Unixware at least)
  7312. -#
  7313. -for ac_func in strcasecmp
  7314. -do :
  7315. - ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
  7316. -if test "x$ac_cv_func_strcasecmp" = xyes; then :
  7317. - cat >>confdefs.h <<_ACEOF
  7318. -#define HAVE_STRCASECMP 1
  7319. -_ACEOF
  7320. -
  7321. -fi
  7322. -done
  7323. -
  7324. -if test x"$ac_cv_func_strcasecmp" = x"no"; then
  7325. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp in -lresolv" >&5
  7326. -$as_echo_n "checking for strcasecmp in -lresolv... " >&6; }
  7327. -if ${ac_cv_lib_resolv_strcasecmp+:} false; then :
  7328. - $as_echo_n "(cached) " >&6
  7329. -else
  7330. - ac_check_lib_save_LIBS=$LIBS
  7331. -LIBS="-lresolv $LIBS"
  7332. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7333. -/* end confdefs.h. */
  7334. -
  7335. -/* Override any GCC internal prototype to avoid an error.
  7336. - Use char because int might match the return type of a GCC
  7337. - builtin and then its argument prototype would still apply. */
  7338. -#ifdef __cplusplus
  7339. -extern "C"
  7340. -#endif
  7341. -char strcasecmp ();
  7342. -int
  7343. -main ()
  7344. -{
  7345. -return strcasecmp ();
  7346. - ;
  7347. - return 0;
  7348. -}
  7349. -_ACEOF
  7350. -if ac_fn_c_try_link "$LINENO"; then :
  7351. - ac_cv_lib_resolv_strcasecmp=yes
  7352. -else
  7353. - ac_cv_lib_resolv_strcasecmp=no
  7354. -fi
  7355. -rm -f core conftest.err conftest.$ac_objext \
  7356. - conftest$ac_exeext conftest.$ac_ext
  7357. -LIBS=$ac_check_lib_save_LIBS
  7358. -fi
  7359. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_strcasecmp" >&5
  7360. -$as_echo "$ac_cv_lib_resolv_strcasecmp" >&6; }
  7361. -if test "x$ac_cv_lib_resolv_strcasecmp" = xyes; then :
  7362. - cat >>confdefs.h <<_ACEOF
  7363. -#define HAVE_LIBRESOLV 1
  7364. -_ACEOF
  7365. -
  7366. - LIBS="-lresolv $LIBS"
  7367. -
  7368. -fi
  7369. -
  7370. -fi
  7371. -
  7372. -for ac_func in aclsort
  7373. -do :
  7374. - ac_fn_c_check_func "$LINENO" "aclsort" "ac_cv_func_aclsort"
  7375. -if test "x$ac_cv_func_aclsort" = xyes; then :
  7376. - cat >>confdefs.h <<_ACEOF
  7377. -#define HAVE_ACLSORT 1
  7378. -_ACEOF
  7379. -
  7380. -fi
  7381. -done
  7382. -
  7383. -if test x"$ac_cv_func_aclsort" = x"no"; then
  7384. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aclsort in -lsec" >&5
  7385. -$as_echo_n "checking for aclsort in -lsec... " >&6; }
  7386. -if ${ac_cv_lib_sec_aclsort+:} false; then :
  7387. - $as_echo_n "(cached) " >&6
  7388. -else
  7389. - ac_check_lib_save_LIBS=$LIBS
  7390. -LIBS="-lsec $LIBS"
  7391. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7392. -/* end confdefs.h. */
  7393. -
  7394. -/* Override any GCC internal prototype to avoid an error.
  7395. - Use char because int might match the return type of a GCC
  7396. - builtin and then its argument prototype would still apply. */
  7397. -#ifdef __cplusplus
  7398. -extern "C"
  7399. -#endif
  7400. -char aclsort ();
  7401. -int
  7402. -main ()
  7403. -{
  7404. -return aclsort ();
  7405. - ;
  7406. - return 0;
  7407. -}
  7408. -_ACEOF
  7409. -if ac_fn_c_try_link "$LINENO"; then :
  7410. - ac_cv_lib_sec_aclsort=yes
  7411. -else
  7412. - ac_cv_lib_sec_aclsort=no
  7413. -fi
  7414. -rm -f core conftest.err conftest.$ac_objext \
  7415. - conftest$ac_exeext conftest.$ac_ext
  7416. -LIBS=$ac_check_lib_save_LIBS
  7417. -fi
  7418. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sec_aclsort" >&5
  7419. -$as_echo "$ac_cv_lib_sec_aclsort" >&6; }
  7420. -if test "x$ac_cv_lib_sec_aclsort" = xyes; then :
  7421. - cat >>confdefs.h <<_ACEOF
  7422. -#define HAVE_LIBSEC 1
  7423. -_ACEOF
  7424. -
  7425. - LIBS="-lsec $LIBS"
  7426. -
  7427. -fi
  7428. -
  7429. -fi
  7430. -
  7431. -
  7432. -
  7433. -
  7434. -
  7435. - for ac_header in $ac_header_list
  7436. -do :
  7437. - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7438. -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  7439. -"
  7440. -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7441. - cat >>confdefs.h <<_ACEOF
  7442. -#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7443. -_ACEOF
  7444. -
  7445. -fi
  7446. -
  7447. -done
  7448. -
  7449. -
  7450. -
  7451. -
  7452. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether utime accepts a null argument" >&5
  7453. -$as_echo_n "checking whether utime accepts a null argument... " >&6; }
  7454. -if ${ac_cv_func_utime_null+:} false; then :
  7455. - $as_echo_n "(cached) " >&6
  7456. -else
  7457. - rm -f conftest.data; >conftest.data
  7458. -# Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
  7459. -if test "$cross_compiling" = yes; then :
  7460. - ac_cv_func_utime_null='guessing yes'
  7461. -else
  7462. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7463. -/* end confdefs.h. */
  7464. -$ac_includes_default
  7465. - #ifdef HAVE_UTIME_H
  7466. - # include <utime.h>
  7467. - #endif
  7468. -int
  7469. -main ()
  7470. -{
  7471. -struct stat s, t;
  7472. - return ! (stat ("conftest.data", &s) == 0
  7473. - && utime ("conftest.data", 0) == 0
  7474. - && stat ("conftest.data", &t) == 0
  7475. - && t.st_mtime >= s.st_mtime
  7476. - && t.st_mtime - s.st_mtime < 120);
  7477. - ;
  7478. - return 0;
  7479. -}
  7480. -_ACEOF
  7481. -if ac_fn_c_try_run "$LINENO"; then :
  7482. - ac_cv_func_utime_null=yes
  7483. -else
  7484. - ac_cv_func_utime_null=no
  7485. -fi
  7486. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  7487. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  7488. -fi
  7489. -
  7490. -fi
  7491. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_utime_null" >&5
  7492. -$as_echo "$ac_cv_func_utime_null" >&6; }
  7493. -if test "x$ac_cv_func_utime_null" != xno; then
  7494. - ac_cv_func_utime_null=yes
  7495. -
  7496. -$as_echo "#define HAVE_UTIME_NULL 1" >>confdefs.h
  7497. -
  7498. -fi
  7499. -rm -f conftest.data
  7500. -
  7501. -ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  7502. -if test "x$ac_cv_type_size_t" = xyes; then :
  7503. -
  7504. -else
  7505. -
  7506. -cat >>confdefs.h <<_ACEOF
  7507. -#define size_t unsigned int
  7508. -_ACEOF
  7509. -
  7510. -fi
  7511. -
  7512. -# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
  7513. -# for constant arguments. Useless!
  7514. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
  7515. -$as_echo_n "checking for working alloca.h... " >&6; }
  7516. -if ${ac_cv_working_alloca_h+:} false; then :
  7517. - $as_echo_n "(cached) " >&6
  7518. -else
  7519. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7520. -/* end confdefs.h. */
  7521. -#include <alloca.h>
  7522. -int
  7523. -main ()
  7524. -{
  7525. -char *p = (char *) alloca (2 * sizeof (int));
  7526. - if (p) return 0;
  7527. - ;
  7528. - return 0;
  7529. -}
  7530. -_ACEOF
  7531. -if ac_fn_c_try_link "$LINENO"; then :
  7532. - ac_cv_working_alloca_h=yes
  7533. -else
  7534. - ac_cv_working_alloca_h=no
  7535. -fi
  7536. -rm -f core conftest.err conftest.$ac_objext \
  7537. - conftest$ac_exeext conftest.$ac_ext
  7538. -fi
  7539. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
  7540. -$as_echo "$ac_cv_working_alloca_h" >&6; }
  7541. -if test $ac_cv_working_alloca_h = yes; then
  7542. -
  7543. -$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
  7544. -
  7545. -fi
  7546. -
  7547. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
  7548. -$as_echo_n "checking for alloca... " >&6; }
  7549. -if ${ac_cv_func_alloca_works+:} false; then :
  7550. - $as_echo_n "(cached) " >&6
  7551. -else
  7552. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7553. -/* end confdefs.h. */
  7554. -#ifdef __GNUC__
  7555. -# define alloca __builtin_alloca
  7556. -#else
  7557. -# ifdef _MSC_VER
  7558. -# include <malloc.h>
  7559. -# define alloca _alloca
  7560. -# else
  7561. -# ifdef HAVE_ALLOCA_H
  7562. -# include <alloca.h>
  7563. -# else
  7564. -# ifdef _AIX
  7565. - #pragma alloca
  7566. -# else
  7567. -# ifndef alloca /* predefined by HP cc +Olibcalls */
  7568. -void *alloca (size_t);
  7569. -# endif
  7570. -# endif
  7571. -# endif
  7572. -# endif
  7573. -#endif
  7574. -
  7575. -int
  7576. -main ()
  7577. -{
  7578. -char *p = (char *) alloca (1);
  7579. - if (p) return 0;
  7580. - ;
  7581. - return 0;
  7582. -}
  7583. -_ACEOF
  7584. -if ac_fn_c_try_link "$LINENO"; then :
  7585. - ac_cv_func_alloca_works=yes
  7586. -else
  7587. - ac_cv_func_alloca_works=no
  7588. -fi
  7589. -rm -f core conftest.err conftest.$ac_objext \
  7590. - conftest$ac_exeext conftest.$ac_ext
  7591. -fi
  7592. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
  7593. -$as_echo "$ac_cv_func_alloca_works" >&6; }
  7594. -
  7595. -if test $ac_cv_func_alloca_works = yes; then
  7596. -
  7597. -$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
  7598. -
  7599. -else
  7600. - # The SVR3 libPW and SVR4 libucb both contain incompatible functions
  7601. -# that cause trouble. Some versions do not even contain alloca or
  7602. -# contain a buggy version. If you still want to use their alloca,
  7603. -# use ar to extract alloca.o from them instead of compiling alloca.c.
  7604. -
  7605. -ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
  7606. -
  7607. -$as_echo "#define C_ALLOCA 1" >>confdefs.h
  7608. -
  7609. -
  7610. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
  7611. -$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
  7612. -if ${ac_cv_os_cray+:} false; then :
  7613. - $as_echo_n "(cached) " >&6
  7614. -else
  7615. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7616. -/* end confdefs.h. */
  7617. -#if defined CRAY && ! defined CRAY2
  7618. -webecray
  7619. -#else
  7620. -wenotbecray
  7621. -#endif
  7622. -
  7623. -_ACEOF
  7624. -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7625. - $EGREP "webecray" >/dev/null 2>&1; then :
  7626. - ac_cv_os_cray=yes
  7627. -else
  7628. - ac_cv_os_cray=no
  7629. -fi
  7630. -rm -f conftest*
  7631. -
  7632. -fi
  7633. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
  7634. -$as_echo "$ac_cv_os_cray" >&6; }
  7635. -if test $ac_cv_os_cray = yes; then
  7636. - for ac_func in _getb67 GETB67 getb67; do
  7637. - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  7638. -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  7639. -if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  7640. -
  7641. -cat >>confdefs.h <<_ACEOF
  7642. -#define CRAY_STACKSEG_END $ac_func
  7643. -_ACEOF
  7644. -
  7645. - break
  7646. -fi
  7647. -
  7648. - done
  7649. -fi
  7650. -
  7651. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
  7652. -$as_echo_n "checking stack direction for C alloca... " >&6; }
  7653. -if ${ac_cv_c_stack_direction+:} false; then :
  7654. - $as_echo_n "(cached) " >&6
  7655. -else
  7656. - if test "$cross_compiling" = yes; then :
  7657. - ac_cv_c_stack_direction=0
  7658. -else
  7659. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7660. -/* end confdefs.h. */
  7661. -$ac_includes_default
  7662. -int
  7663. -find_stack_direction (int *addr, int depth)
  7664. -{
  7665. - int dir, dummy = 0;
  7666. - if (! addr)
  7667. - addr = &dummy;
  7668. - *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
  7669. - dir = depth ? find_stack_direction (addr, depth - 1) : 0;
  7670. - return dir + dummy;
  7671. -}
  7672. -
  7673. -int
  7674. -main (int argc, char **argv)
  7675. -{
  7676. - return find_stack_direction (0, argc + !argv + 20) < 0;
  7677. -}
  7678. -_ACEOF
  7679. -if ac_fn_c_try_run "$LINENO"; then :
  7680. - ac_cv_c_stack_direction=1
  7681. -else
  7682. - ac_cv_c_stack_direction=-1
  7683. -fi
  7684. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  7685. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  7686. -fi
  7687. -
  7688. -fi
  7689. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
  7690. -$as_echo "$ac_cv_c_stack_direction" >&6; }
  7691. -cat >>confdefs.h <<_ACEOF
  7692. -#define STACK_DIRECTION $ac_cv_c_stack_direction
  7693. -_ACEOF
  7694. -
  7695. -
  7696. -fi
  7697. -
  7698. -for ac_func in waitpid wait4 getcwd strdup chown chmod lchmod mknod mkfifo \
  7699. - fchmod fstat ftruncate strchr readlink link utime utimes lutimes strftime \
  7700. - memmove lchown vsnprintf snprintf vasprintf asprintf setsid strpbrk \
  7701. - strlcat strlcpy strtol mallinfo getgroups setgroups geteuid getegid \
  7702. - setlocale setmode open64 lseek64 mkstemp64 mtrace va_copy __va_copy \
  7703. - seteuid strerror putenv iconv_open locale_charset nl_langinfo getxattr \
  7704. - extattr_get_link sigaction sigprocmask setattrlist getgrouplist \
  7705. - initgroups utimensat posix_fallocate attropen setvbuf usleep
  7706. -do :
  7707. - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  7708. -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  7709. -if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  7710. - cat >>confdefs.h <<_ACEOF
  7711. -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  7712. -_ACEOF
  7713. -
  7714. -fi
  7715. -done
  7716. -
  7717. -
  7718. -if test x"$ac_cv_func_iconv_open" != x"yes"; then
  7719. - ac_fn_c_check_func "$LINENO" "libiconv_open" "ac_cv_func_libiconv_open"
  7720. -if test "x$ac_cv_func_libiconv_open" = xyes; then :
  7721. - ac_cv_func_iconv_open=yes; $as_echo "#define HAVE_ICONV_OPEN 1" >>confdefs.h
  7722. -
  7723. -fi
  7724. -
  7725. -fi
  7726. -
  7727. -
  7728. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for useable fallocate" >&5
  7729. -$as_echo_n "checking for useable fallocate... " >&6; }
  7730. -if ${rsync_cv_have_fallocate+:} false; then :
  7731. - $as_echo_n "(cached) " >&6
  7732. -else
  7733. -
  7734. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7735. -/* end confdefs.h. */
  7736. -#include <fcntl.h>
  7737. -#include <sys/types.h>
  7738. -int
  7739. -main ()
  7740. -{
  7741. -fallocate(0, 0, 0, 0);
  7742. - ;
  7743. - return 0;
  7744. -}
  7745. -_ACEOF
  7746. -if ac_fn_c_try_link "$LINENO"; then :
  7747. - rsync_cv_have_fallocate=yes
  7748. -else
  7749. - rsync_cv_have_fallocate=no
  7750. -fi
  7751. -rm -f core conftest.err conftest.$ac_objext \
  7752. - conftest$ac_exeext conftest.$ac_ext
  7753. -fi
  7754. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_have_fallocate" >&5
  7755. -$as_echo "$rsync_cv_have_fallocate" >&6; }
  7756. -if test x"$rsync_cv_have_fallocate" = x"yes"; then
  7757. -
  7758. -$as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
  7759. -
  7760. -fi
  7761. -
  7762. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_fallocate" >&5
  7763. -$as_echo_n "checking for SYS_fallocate... " >&6; }
  7764. -if ${rsync_cv_have_sys_fallocate+:} false; then :
  7765. - $as_echo_n "(cached) " >&6
  7766. -else
  7767. -
  7768. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7769. -/* end confdefs.h. */
  7770. -#include <sys/syscall.h>
  7771. -#include <sys/types.h>
  7772. -int
  7773. -main ()
  7774. -{
  7775. -syscall(SYS_fallocate, 0, 0, (loff_t)0, (loff_t)0);
  7776. - ;
  7777. - return 0;
  7778. -}
  7779. -_ACEOF
  7780. -if ac_fn_c_try_compile "$LINENO"; then :
  7781. - rsync_cv_have_sys_fallocate=yes
  7782. -else
  7783. - rsync_cv_have_sys_fallocate=no
  7784. -fi
  7785. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7786. -fi
  7787. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_have_sys_fallocate" >&5
  7788. -$as_echo "$rsync_cv_have_sys_fallocate" >&6; }
  7789. -if test x"$rsync_cv_have_sys_fallocate" = x"yes"; then
  7790. -
  7791. -$as_echo "#define HAVE_SYS_FALLOCATE 1" >>confdefs.h
  7792. -
  7793. -fi
  7794. -
  7795. -if test x"$ac_cv_func_posix_fallocate" = x"yes"; then
  7796. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_fallocate is efficient" >&5
  7797. -$as_echo_n "checking whether posix_fallocate is efficient... " >&6; }
  7798. - case $host_os in
  7799. - *cygwin*)
  7800. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  7801. -$as_echo "yes" >&6; }
  7802. -
  7803. -$as_echo "#define HAVE_EFFICIENT_POSIX_FALLOCATE 1" >>confdefs.h
  7804. -
  7805. - ;;
  7806. - *)
  7807. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7808. -$as_echo "no" >&6; }
  7809. - ;;
  7810. - esac
  7811. -fi
  7812. -
  7813. -
  7814. -for ac_func in getpgrp tcgetpgrp
  7815. -do :
  7816. - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  7817. -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  7818. -if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  7819. - cat >>confdefs.h <<_ACEOF
  7820. -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  7821. -_ACEOF
  7822. -
  7823. -fi
  7824. -done
  7825. -
  7826. -if test $ac_cv_func_getpgrp = yes; then
  7827. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5
  7828. -$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
  7829. -if ${ac_cv_func_getpgrp_void+:} false; then :
  7830. - $as_echo_n "(cached) " >&6
  7831. -else
  7832. - # Use it with a single arg.
  7833. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7834. -/* end confdefs.h. */
  7835. -$ac_includes_default
  7836. -int
  7837. -main ()
  7838. -{
  7839. -getpgrp (0);
  7840. - ;
  7841. - return 0;
  7842. -}
  7843. -_ACEOF
  7844. -if ac_fn_c_try_compile "$LINENO"; then :
  7845. - ac_cv_func_getpgrp_void=no
  7846. -else
  7847. - ac_cv_func_getpgrp_void=yes
  7848. -fi
  7849. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7850. -
  7851. -fi
  7852. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5
  7853. -$as_echo "$ac_cv_func_getpgrp_void" >&6; }
  7854. -if test $ac_cv_func_getpgrp_void = yes; then
  7855. -
  7856. -$as_echo "#define GETPGRP_VOID 1" >>confdefs.h
  7857. -
  7858. -fi
  7859. -
  7860. -fi
  7861. -
  7862. -# Check whether --enable-iconv-open was given.
  7863. -if test "${enable_iconv_open+set}" = set; then :
  7864. - enableval=$enable_iconv_open;
  7865. -else
  7866. - enable_iconv_open=$ac_cv_func_iconv_open
  7867. -fi
  7868. -
  7869. -
  7870. -if test x"$enable_iconv_open" != x"no"; then
  7871. -
  7872. -$as_echo "#define USE_ICONV_OPEN 1" >>confdefs.h
  7873. -
  7874. -fi
  7875. -
  7876. -# Check whether --enable-iconv was given.
  7877. -if test "${enable_iconv+set}" = set; then :
  7878. - enableval=$enable_iconv;
  7879. -else
  7880. - enable_iconv=$enable_iconv_open
  7881. -fi
  7882. -
  7883. -
  7884. -if test x"$enable_iconv" != x"no"; then
  7885. - if test x"$enable_iconv" = x"yes"; then
  7886. - $as_echo "#define ICONV_OPTION NULL" >>confdefs.h
  7887. -
  7888. - else
  7889. - cat >>confdefs.h <<_ACEOF
  7890. -#define ICONV_OPTION "$enable_iconv"
  7891. -_ACEOF
  7892. -
  7893. - fi
  7894. -
  7895. -$as_echo "#define UTF8_CHARSET \"UTF-8\"" >>confdefs.h
  7896. -
  7897. -fi
  7898. -
  7899. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether chown() modifies symlinks" >&5
  7900. -$as_echo_n "checking whether chown() modifies symlinks... " >&6; }
  7901. -if ${rsync_cv_chown_modifies_symlink+:} false; then :
  7902. - $as_echo_n "(cached) " >&6
  7903. -else
  7904. -
  7905. - if test "$cross_compiling" = yes; then :
  7906. - rsync_cv_chown_modifies_symlink=no
  7907. -else
  7908. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7909. -/* end confdefs.h. */
  7910. -
  7911. -#if HAVE_UNISTD_H
  7912. -# include <unistd.h>
  7913. -#endif
  7914. -#include <stdlib.h>
  7915. -#include <errno.h>
  7916. - main() {
  7917. - char const *dangling_symlink = "conftest.dangle";
  7918. - unlink(dangling_symlink);
  7919. - if (symlink("conftest.no-such", dangling_symlink) < 0) abort();
  7920. - if (chown(dangling_symlink, getuid(), getgid()) < 0 && errno == ENOENT) exit(1);
  7921. - exit(0);
  7922. - }
  7923. -_ACEOF
  7924. -if ac_fn_c_try_run "$LINENO"; then :
  7925. - rsync_cv_chown_modifies_symlink=yes
  7926. -else
  7927. - rsync_cv_chown_modifies_symlink=no
  7928. -fi
  7929. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  7930. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  7931. -fi
  7932. -
  7933. -fi
  7934. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_chown_modifies_symlink" >&5
  7935. -$as_echo "$rsync_cv_chown_modifies_symlink" >&6; }
  7936. -if test $rsync_cv_chown_modifies_symlink = yes; then
  7937. -
  7938. -$as_echo "#define CHOWN_MODIFIES_SYMLINK 1" >>confdefs.h
  7939. -
  7940. -fi
  7941. -
  7942. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link() can hard-link symlinks" >&5
  7943. -$as_echo_n "checking whether link() can hard-link symlinks... " >&6; }
  7944. -if ${rsync_cv_can_hardlink_symlink+:} false; then :
  7945. - $as_echo_n "(cached) " >&6
  7946. -else
  7947. -
  7948. - if test "$cross_compiling" = yes; then :
  7949. - rsync_cv_can_hardlink_symlink=no
  7950. -else
  7951. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7952. -/* end confdefs.h. */
  7953. -
  7954. -#if HAVE_UNISTD_H
  7955. -# include <unistd.h>
  7956. -#endif
  7957. -#include <stdlib.h>
  7958. -#include <errno.h>
  7959. -#define FILENAME "conftest.dangle"
  7960. - main() {
  7961. - unlink(FILENAME);
  7962. - if (symlink("conftest.no-such", FILENAME) < 0) abort();
  7963. - unlink(FILENAME "2");
  7964. - if (link(FILENAME, FILENAME "2") < 0) exit(1);
  7965. - exit(0);
  7966. - }
  7967. -_ACEOF
  7968. -if ac_fn_c_try_run "$LINENO"; then :
  7969. - rsync_cv_can_hardlink_symlink=yes
  7970. -else
  7971. - rsync_cv_can_hardlink_symlink=no
  7972. -fi
  7973. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  7974. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  7975. -fi
  7976. -
  7977. -fi
  7978. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_can_hardlink_symlink" >&5
  7979. -$as_echo "$rsync_cv_can_hardlink_symlink" >&6; }
  7980. -if test $rsync_cv_can_hardlink_symlink = yes; then
  7981. -
  7982. -$as_echo "#define CAN_HARDLINK_SYMLINK 1" >>confdefs.h
  7983. -
  7984. -fi
  7985. -
  7986. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link() can hard-link special files" >&5
  7987. -$as_echo_n "checking whether link() can hard-link special files... " >&6; }
  7988. -if ${rsync_cv_can_hardlink_special+:} false; then :
  7989. - $as_echo_n "(cached) " >&6
  7990. -else
  7991. -
  7992. - if test "$cross_compiling" = yes; then :
  7993. - rsync_cv_can_hardlink_special=no
  7994. -else
  7995. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7996. -/* end confdefs.h. */
  7997. -
  7998. -#if HAVE_UNISTD_H
  7999. -# include <unistd.h>
  8000. -#endif
  8001. -#include <stdlib.h>
  8002. -#include <errno.h>
  8003. -#define FILENAME "conftest.fifi"
  8004. - main() {
  8005. - unlink(FILENAME);
  8006. - if (mkfifo(FILENAME, 0777) < 0) abort();
  8007. - unlink(FILENAME "2");
  8008. - if (link(FILENAME, FILENAME "2") < 0) exit(1);
  8009. - exit(0);
  8010. - }
  8011. -_ACEOF
  8012. -if ac_fn_c_try_run "$LINENO"; then :
  8013. - rsync_cv_can_hardlink_special=yes
  8014. -else
  8015. - rsync_cv_can_hardlink_special=no
  8016. -fi
  8017. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8018. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  8019. -fi
  8020. -
  8021. -fi
  8022. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_can_hardlink_special" >&5
  8023. -$as_echo "$rsync_cv_can_hardlink_special" >&6; }
  8024. -if test $rsync_cv_can_hardlink_special = yes; then
  8025. -
  8026. -$as_echo "#define CAN_HARDLINK_SPECIAL 1" >>confdefs.h
  8027. -
  8028. -fi
  8029. -
  8030. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working socketpair" >&5
  8031. -$as_echo_n "checking for working socketpair... " >&6; }
  8032. -if ${rsync_cv_HAVE_SOCKETPAIR+:} false; then :
  8033. - $as_echo_n "(cached) " >&6
  8034. -else
  8035. -
  8036. -if test "$cross_compiling" = yes; then :
  8037. - rsync_cv_HAVE_SOCKETPAIR=cross
  8038. -else
  8039. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8040. -/* end confdefs.h. */
  8041. -
  8042. -#include <sys/types.h>
  8043. -#include <sys/socket.h>
  8044. -
  8045. -main() {
  8046. - int fd[2];
  8047. - exit((socketpair(AF_UNIX, SOCK_STREAM, 0, fd) != -1) ? 0 : 1);
  8048. -}
  8049. -_ACEOF
  8050. -if ac_fn_c_try_run "$LINENO"; then :
  8051. - rsync_cv_HAVE_SOCKETPAIR=yes
  8052. -else
  8053. - rsync_cv_HAVE_SOCKETPAIR=no
  8054. -fi
  8055. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8056. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  8057. -fi
  8058. -
  8059. -fi
  8060. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_SOCKETPAIR" >&5
  8061. -$as_echo "$rsync_cv_HAVE_SOCKETPAIR" >&6; }
  8062. -if test x"$rsync_cv_HAVE_SOCKETPAIR" = x"yes"; then
  8063. -
  8064. -$as_echo "#define HAVE_SOCKETPAIR 1" >>confdefs.h
  8065. -
  8066. -fi
  8067. -
  8068. -ac_fn_c_check_func "$LINENO" "getpass" "ac_cv_func_getpass"
  8069. -if test "x$ac_cv_func_getpass" = xyes; then :
  8070. - $as_echo "#define HAVE_GETPASS 1" >>confdefs.h
  8071. -
  8072. -else
  8073. - case " $LIBOBJS " in
  8074. - *" getpass.$ac_objext "* ) ;;
  8075. - *) LIBOBJS="$LIBOBJS getpass.$ac_objext"
  8076. - ;;
  8077. -esac
  8078. -
  8079. -fi
  8080. -
  8081. -
  8082. -
  8083. -if test x"$with_included_popt" != x"yes"; then
  8084. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poptGetContext in -lpopt" >&5
  8085. -$as_echo_n "checking for poptGetContext in -lpopt... " >&6; }
  8086. -if ${ac_cv_lib_popt_poptGetContext+:} false; then :
  8087. - $as_echo_n "(cached) " >&6
  8088. -else
  8089. - ac_check_lib_save_LIBS=$LIBS
  8090. -LIBS="-lpopt $LIBS"
  8091. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8092. -/* end confdefs.h. */
  8093. -
  8094. -/* Override any GCC internal prototype to avoid an error.
  8095. - Use char because int might match the return type of a GCC
  8096. - builtin and then its argument prototype would still apply. */
  8097. -#ifdef __cplusplus
  8098. -extern "C"
  8099. -#endif
  8100. -char poptGetContext ();
  8101. -int
  8102. -main ()
  8103. -{
  8104. -return poptGetContext ();
  8105. - ;
  8106. - return 0;
  8107. -}
  8108. -_ACEOF
  8109. -if ac_fn_c_try_link "$LINENO"; then :
  8110. - ac_cv_lib_popt_poptGetContext=yes
  8111. -else
  8112. - ac_cv_lib_popt_poptGetContext=no
  8113. -fi
  8114. -rm -f core conftest.err conftest.$ac_objext \
  8115. - conftest$ac_exeext conftest.$ac_ext
  8116. -LIBS=$ac_check_lib_save_LIBS
  8117. -fi
  8118. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_popt_poptGetContext" >&5
  8119. -$as_echo "$ac_cv_lib_popt_poptGetContext" >&6; }
  8120. -if test "x$ac_cv_lib_popt_poptGetContext" = xyes; then :
  8121. - cat >>confdefs.h <<_ACEOF
  8122. -#define HAVE_LIBPOPT 1
  8123. -_ACEOF
  8124. -
  8125. - LIBS="-lpopt $LIBS"
  8126. -
  8127. -else
  8128. - with_included_popt=yes
  8129. -fi
  8130. -
  8131. -fi
  8132. -if test x"$ac_cv_header_popt_popt_h" = x"yes"; then
  8133. - # If the system has /usr/include/popt/popt.h, we enable the
  8134. - # included popt because an attempt to "#include <popt/popt.h>"
  8135. - # would use our included header file anyway (due to -I.), and
  8136. - # might conflict with the system popt.
  8137. - with_included_popt=yes
  8138. -elif test x"$ac_cv_header_popt_h" != x"yes"; then
  8139. - with_included_popt=yes
  8140. -fi
  8141. -
  8142. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use included libpopt" >&5
  8143. -$as_echo_n "checking whether to use included libpopt... " >&6; }
  8144. -if test x"$with_included_popt" = x"yes"; then
  8145. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $srcdir/popt" >&5
  8146. -$as_echo "$srcdir/popt" >&6; }
  8147. - BUILD_POPT='$(popt_OBJS)'
  8148. - CFLAGS="-I$srcdir/popt $CFLAGS"
  8149. - if test x"$ALLOCA" != x
  8150. - then
  8151. - # this can be removed when/if we add an included alloca.c;
  8152. - # see autoconf documentation on AC_FUNC_ALLOCA
  8153. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: included libpopt will use malloc, not alloca (which wastes a small amount of memory)" >&5
  8154. -$as_echo "$as_me: WARNING: included libpopt will use malloc, not alloca (which wastes a small amount of memory)" >&2;}
  8155. - fi
  8156. -else
  8157. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8158. -$as_echo "no" >&6; }
  8159. -fi
  8160. -
  8161. -# We default to using our zlib unless --with-included-zlib=no is given.
  8162. -if test x"$with_included_zlib" != x"no"; then
  8163. - with_included_zlib=yes
  8164. -elif test x"$ac_cv_header_zlib_h" != x"yes"; then
  8165. - with_included_zlib=yes
  8166. -fi
  8167. -if test x"$with_included_zlib" != x"yes"; then
  8168. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflateParams in -lz" >&5
  8169. -$as_echo_n "checking for deflateParams in -lz... " >&6; }
  8170. -if ${ac_cv_lib_z_deflateParams+:} false; then :
  8171. - $as_echo_n "(cached) " >&6
  8172. -else
  8173. - ac_check_lib_save_LIBS=$LIBS
  8174. -LIBS="-lz $LIBS"
  8175. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8176. -/* end confdefs.h. */
  8177. -
  8178. -/* Override any GCC internal prototype to avoid an error.
  8179. - Use char because int might match the return type of a GCC
  8180. - builtin and then its argument prototype would still apply. */
  8181. -#ifdef __cplusplus
  8182. -extern "C"
  8183. -#endif
  8184. -char deflateParams ();
  8185. -int
  8186. -main ()
  8187. -{
  8188. -return deflateParams ();
  8189. - ;
  8190. - return 0;
  8191. -}
  8192. -_ACEOF
  8193. -if ac_fn_c_try_link "$LINENO"; then :
  8194. - ac_cv_lib_z_deflateParams=yes
  8195. -else
  8196. - ac_cv_lib_z_deflateParams=no
  8197. -fi
  8198. -rm -f core conftest.err conftest.$ac_objext \
  8199. - conftest$ac_exeext conftest.$ac_ext
  8200. -LIBS=$ac_check_lib_save_LIBS
  8201. -fi
  8202. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflateParams" >&5
  8203. -$as_echo "$ac_cv_lib_z_deflateParams" >&6; }
  8204. -if test "x$ac_cv_lib_z_deflateParams" = xyes; then :
  8205. - cat >>confdefs.h <<_ACEOF
  8206. -#define HAVE_LIBZ 1
  8207. -_ACEOF
  8208. -
  8209. - LIBS="-lz $LIBS"
  8210. -
  8211. -else
  8212. - with_included_zlib=yes
  8213. -fi
  8214. -
  8215. -fi
  8216. -
  8217. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use included zlib" >&5
  8218. -$as_echo_n "checking whether to use included zlib... " >&6; }
  8219. -if test x"$with_included_zlib" = x"yes"; then
  8220. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $srcdir/zlib" >&5
  8221. -$as_echo "$srcdir/zlib" >&6; }
  8222. - BUILD_ZLIB='$(zlib_OBJS)'
  8223. - CFLAGS="-I$srcdir/zlib $CFLAGS"
  8224. -else
  8225. -
  8226. -$as_echo "#define EXTERNAL_ZLIB 1" >>confdefs.h
  8227. -
  8228. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8229. -$as_echo "no" >&6; }
  8230. -fi
  8231. -
  8232. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned char" >&5
  8233. -$as_echo_n "checking for unsigned char... " >&6; }
  8234. -if ${rsync_cv_SIGNED_CHAR_OK+:} false; then :
  8235. - $as_echo_n "(cached) " >&6
  8236. -else
  8237. -
  8238. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8239. -/* end confdefs.h. */
  8240. -
  8241. -int
  8242. -main ()
  8243. -{
  8244. -signed char *s = ""
  8245. - ;
  8246. - return 0;
  8247. -}
  8248. -_ACEOF
  8249. -if ac_fn_c_try_compile "$LINENO"; then :
  8250. - rsync_cv_SIGNED_CHAR_OK=yes
  8251. -else
  8252. - rsync_cv_SIGNED_CHAR_OK=no
  8253. -fi
  8254. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8255. -fi
  8256. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_SIGNED_CHAR_OK" >&5
  8257. -$as_echo "$rsync_cv_SIGNED_CHAR_OK" >&6; }
  8258. -if test x"$rsync_cv_SIGNED_CHAR_OK" = x"yes"; then
  8259. -
  8260. -$as_echo "#define SIGNED_CHAR_OK 1" >>confdefs.h
  8261. -
  8262. -fi
  8263. -
  8264. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken readdir" >&5
  8265. -$as_echo_n "checking for broken readdir... " >&6; }
  8266. -if ${rsync_cv_HAVE_BROKEN_READDIR+:} false; then :
  8267. - $as_echo_n "(cached) " >&6
  8268. -else
  8269. -
  8270. -if test "$cross_compiling" = yes; then :
  8271. - rsync_cv_HAVE_BROKEN_READDIR=cross
  8272. -else
  8273. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8274. -/* end confdefs.h. */
  8275. -#include <sys/types.h>
  8276. -#include <dirent.h>
  8277. -main() { struct dirent *di; DIR *d = opendir("."); di = readdir(d);
  8278. -if (di && di->d_name[-2] == '.' && di->d_name[-1] == 0 &&
  8279. -di->d_name[0] == 0) exit(0); exit(1);}
  8280. -_ACEOF
  8281. -if ac_fn_c_try_run "$LINENO"; then :
  8282. - rsync_cv_HAVE_BROKEN_READDIR=yes
  8283. -else
  8284. - rsync_cv_HAVE_BROKEN_READDIR=no
  8285. -fi
  8286. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8287. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  8288. -fi
  8289. -
  8290. -fi
  8291. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_BROKEN_READDIR" >&5
  8292. -$as_echo "$rsync_cv_HAVE_BROKEN_READDIR" >&6; }
  8293. -if test x"$rsync_cv_HAVE_BROKEN_READDIR" = x"yes"; then
  8294. -
  8295. -$as_echo "#define HAVE_BROKEN_READDIR 1" >>confdefs.h
  8296. -
  8297. -fi
  8298. -
  8299. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimbuf" >&5
  8300. -$as_echo_n "checking for utimbuf... " >&6; }
  8301. -if ${rsync_cv_HAVE_STRUCT_UTIMBUF+:} false; then :
  8302. - $as_echo_n "(cached) " >&6
  8303. -else
  8304. -
  8305. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8306. -/* end confdefs.h. */
  8307. -#include <sys/types.h>
  8308. -#include <utime.h>
  8309. -int
  8310. -main ()
  8311. -{
  8312. -struct utimbuf tbuf; tbuf.actime = 0; tbuf.modtime = 1; exit(utime("foo.c",&tbuf));
  8313. - ;
  8314. - return 0;
  8315. -}
  8316. -_ACEOF
  8317. -if ac_fn_c_try_compile "$LINENO"; then :
  8318. - rsync_cv_HAVE_STRUCT_UTIMBUF=yes
  8319. -else
  8320. - rsync_cv_HAVE_STRUCT_UTIMBUF=no
  8321. -fi
  8322. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8323. -fi
  8324. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_STRUCT_UTIMBUF" >&5
  8325. -$as_echo "$rsync_cv_HAVE_STRUCT_UTIMBUF" >&6; }
  8326. -if test x"$rsync_cv_HAVE_STRUCT_UTIMBUF" = x"yes"; then
  8327. -
  8328. -$as_echo "#define HAVE_STRUCT_UTIMBUF 1" >>confdefs.h
  8329. -
  8330. -fi
  8331. -
  8332. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if gettimeofday takes tz argument" >&5
  8333. -$as_echo_n "checking if gettimeofday takes tz argument... " >&6; }
  8334. -if ${rsync_cv_HAVE_GETTIMEOFDAY_TZ+:} false; then :
  8335. - $as_echo_n "(cached) " >&6
  8336. -else
  8337. -
  8338. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8339. -/* end confdefs.h. */
  8340. -#include <sys/time.h>
  8341. -#include <unistd.h>
  8342. -int
  8343. -main ()
  8344. -{
  8345. -struct timeval tv; exit(gettimeofday(&tv, NULL));
  8346. - ;
  8347. - return 0;
  8348. -}
  8349. -_ACEOF
  8350. -if ac_fn_c_try_compile "$LINENO"; then :
  8351. - rsync_cv_HAVE_GETTIMEOFDAY_TZ=yes
  8352. -else
  8353. - rsync_cv_HAVE_GETTIMEOFDAY_TZ=no
  8354. -fi
  8355. -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8356. -fi
  8357. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_GETTIMEOFDAY_TZ" >&5
  8358. -$as_echo "$rsync_cv_HAVE_GETTIMEOFDAY_TZ" >&6; }
  8359. -if test x"$rsync_cv_HAVE_GETTIMEOFDAY_TZ" != x"no"; then
  8360. -
  8361. -$as_echo "#define HAVE_GETTIMEOFDAY_TZ 1" >>confdefs.h
  8362. -
  8363. -fi
  8364. -
  8365. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 vsnprintf" >&5
  8366. -$as_echo_n "checking for C99 vsnprintf... " >&6; }
  8367. -if ${rsync_cv_HAVE_C99_VSNPRINTF+:} false; then :
  8368. - $as_echo_n "(cached) " >&6
  8369. -else
  8370. -
  8371. -if test "$cross_compiling" = yes; then :
  8372. - rsync_cv_HAVE_C99_VSNPRINTF=cross
  8373. -else
  8374. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8375. -/* end confdefs.h. */
  8376. -
  8377. -#include <sys/types.h>
  8378. -#include <stdarg.h>
  8379. -void foo(const char *format, ...) {
  8380. - va_list ap;
  8381. - int len;
  8382. - char buf[5];
  8383. -
  8384. - va_start(ap, format);
  8385. - len = vsnprintf(0, 0, format, ap);
  8386. - va_end(ap);
  8387. - if (len != 5) exit(1);
  8388. -
  8389. - if (snprintf(buf, 3, "hello") != 5 || strcmp(buf, "he") != 0) exit(1);
  8390. -
  8391. - exit(0);
  8392. -}
  8393. -main() { foo("hello"); }
  8394. -
  8395. -_ACEOF
  8396. -if ac_fn_c_try_run "$LINENO"; then :
  8397. - rsync_cv_HAVE_C99_VSNPRINTF=yes
  8398. -else
  8399. - rsync_cv_HAVE_C99_VSNPRINTF=no
  8400. -fi
  8401. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8402. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  8403. -fi
  8404. -
  8405. -fi
  8406. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_C99_VSNPRINTF" >&5
  8407. -$as_echo "$rsync_cv_HAVE_C99_VSNPRINTF" >&6; }
  8408. -if test x"$rsync_cv_HAVE_C99_VSNPRINTF" = x"yes"; then
  8409. -
  8410. -$as_echo "#define HAVE_C99_VSNPRINTF 1" >>confdefs.h
  8411. -
  8412. -fi
  8413. -
  8414. -
  8415. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for secure mkstemp" >&5
  8416. -$as_echo_n "checking for secure mkstemp... " >&6; }
  8417. -if ${rsync_cv_HAVE_SECURE_MKSTEMP+:} false; then :
  8418. - $as_echo_n "(cached) " >&6
  8419. -else
  8420. -
  8421. -if test "$cross_compiling" = yes; then :
  8422. - rsync_cv_HAVE_SECURE_MKSTEMP=cross
  8423. -else
  8424. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8425. -/* end confdefs.h. */
  8426. -#include <stdlib.h>
  8427. -#include <sys/types.h>
  8428. -#include <sys/stat.h>
  8429. -#include <unistd.h>
  8430. -main() {
  8431. - struct stat st;
  8432. - char tpl[20]="/tmp/test.XXXXXX";
  8433. - int fd = mkstemp(tpl);
  8434. - if (fd == -1) exit(1);
  8435. - unlink(tpl);
  8436. - if (fstat(fd, &st) != 0) exit(1);
  8437. - if ((st.st_mode & 0777) != 0600) exit(1);
  8438. - exit(0);
  8439. -}
  8440. -_ACEOF
  8441. -if ac_fn_c_try_run "$LINENO"; then :
  8442. - rsync_cv_HAVE_SECURE_MKSTEMP=yes
  8443. -else
  8444. - rsync_cv_HAVE_SECURE_MKSTEMP=no
  8445. -fi
  8446. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8447. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  8448. -fi
  8449. -
  8450. -fi
  8451. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_SECURE_MKSTEMP" >&5
  8452. -$as_echo "$rsync_cv_HAVE_SECURE_MKSTEMP" >&6; }
  8453. -if test x"$rsync_cv_HAVE_SECURE_MKSTEMP" = x"yes"; then
  8454. - case $host_os in
  8455. - hpux*)
  8456. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping broken HP-UX mkstemp() -- using mktemp() instead" >&5
  8457. -$as_echo "$as_me: WARNING: Skipping broken HP-UX mkstemp() -- using mktemp() instead" >&2;}
  8458. - ;;
  8459. - *)
  8460. -
  8461. -$as_echo "#define HAVE_SECURE_MKSTEMP 1" >>confdefs.h
  8462. -
  8463. - ;;
  8464. - esac
  8465. -fi
  8466. -
  8467. -
  8468. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if mknod creates FIFOs" >&5
  8469. -$as_echo_n "checking if mknod creates FIFOs... " >&6; }
  8470. -if ${rsync_cv_MKNOD_CREATES_FIFOS+:} false; then :
  8471. - $as_echo_n "(cached) " >&6
  8472. -else
  8473. -
  8474. -if test "$cross_compiling" = yes; then :
  8475. - rsync_cv_MKNOD_CREATES_FIFOS=cross
  8476. -else
  8477. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8478. -/* end confdefs.h. */
  8479. -
  8480. -#include <stdio.h>
  8481. -#include <sys/stat.h>
  8482. -#include <errno.h>
  8483. -main() { int rc, ec; char *fn = "fifo-test";
  8484. -unlink(fn); rc = mknod(fn,S_IFIFO,0600); ec = errno; unlink(fn);
  8485. -if (rc) {printf("(%d %d) ",rc,ec); return ec;}
  8486. -return 0;}
  8487. -_ACEOF
  8488. -if ac_fn_c_try_run "$LINENO"; then :
  8489. - rsync_cv_MKNOD_CREATES_FIFOS=yes
  8490. -else
  8491. - rsync_cv_MKNOD_CREATES_FIFOS=no
  8492. -fi
  8493. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8494. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  8495. -fi
  8496. -
  8497. -fi
  8498. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_MKNOD_CREATES_FIFOS" >&5
  8499. -$as_echo "$rsync_cv_MKNOD_CREATES_FIFOS" >&6; }
  8500. -if test x"$rsync_cv_MKNOD_CREATES_FIFOS" = x"yes"; then
  8501. -
  8502. -$as_echo "#define MKNOD_CREATES_FIFOS 1" >>confdefs.h
  8503. -
  8504. -fi
  8505. -
  8506. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if mknod creates sockets" >&5
  8507. -$as_echo_n "checking if mknod creates sockets... " >&6; }
  8508. -if ${rsync_cv_MKNOD_CREATES_SOCKETS+:} false; then :
  8509. - $as_echo_n "(cached) " >&6
  8510. -else
  8511. -
  8512. -if test "$cross_compiling" = yes; then :
  8513. - rsync_cv_MKNOD_CREATES_SOCKETS=cross
  8514. -else
  8515. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8516. -/* end confdefs.h. */
  8517. -
  8518. -#include <stdio.h>
  8519. -#include <sys/stat.h>
  8520. -#include <errno.h>
  8521. -main() { int rc, ec; char *fn = "sock-test";
  8522. -unlink(fn); rc = mknod(fn,S_IFSOCK,0600); ec = errno; unlink(fn);
  8523. -if (rc) {printf("(%d %d) ",rc,ec); return ec;}
  8524. -return 0;}
  8525. -_ACEOF
  8526. -if ac_fn_c_try_run "$LINENO"; then :
  8527. - rsync_cv_MKNOD_CREATES_SOCKETS=yes
  8528. -else
  8529. - rsync_cv_MKNOD_CREATES_SOCKETS=no
  8530. -fi
  8531. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8532. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  8533. -fi
  8534. -
  8535. -fi
  8536. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_MKNOD_CREATES_SOCKETS" >&5
  8537. -$as_echo "$rsync_cv_MKNOD_CREATES_SOCKETS" >&6; }
  8538. -if test x"$rsync_cv_MKNOD_CREATES_SOCKETS" = x"yes"; then
  8539. -
  8540. -$as_echo "#define MKNOD_CREATES_SOCKETS 1" >>confdefs.h
  8541. -
  8542. -fi
  8543. -
  8544. -#
  8545. -# The following test was mostly taken from the tcl/tk plus patches
  8546. -#
  8547. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -c -o works" >&5
  8548. -$as_echo_n "checking whether -c -o works... " >&6; }
  8549. -if ${rsync_cv_DASHC_WORKS_WITH_DASHO+:} false; then :
  8550. - $as_echo_n "(cached) " >&6
  8551. -else
  8552. -
  8553. -rm -rf conftest*
  8554. -cat > conftest.$ac_ext <<EOF
  8555. -int main() { return 0; }
  8556. -EOF
  8557. -${CC-cc} -c -o conftest..o conftest.$ac_ext
  8558. -if test -f conftest..o; then
  8559. - rsync_cv_DASHC_WORKS_WITH_DASHO=yes
  8560. -else
  8561. - rsync_cv_DASHC_WORKS_WITH_DASHO=no
  8562. -fi
  8563. -rm -rf conftest*
  8564. -
  8565. -fi
  8566. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_DASHC_WORKS_WITH_DASHO" >&5
  8567. -$as_echo "$rsync_cv_DASHC_WORKS_WITH_DASHO" >&6; }
  8568. -if test x"$rsync_cv_DASHC_WORKS_WITH_DASHO" = x"yes"; then
  8569. - OBJ_SAVE="#"
  8570. - OBJ_RESTORE="#"
  8571. - CC_SHOBJ_FLAG='-o $@'
  8572. -else
  8573. - OBJ_SAVE=' @b=`basename $@ .o`;rm -f $$b.o.sav;if test -f $$b.o; then mv $$b.o $$b.o.sav;fi;'
  8574. - OBJ_RESTORE=' @b=`basename $@ .o`;if test "$$b.o" != "$@"; then mv $$b.o $@; if test -f $$b.o.sav; then mv $$b.o.sav $$b.o; fi; fi'
  8575. - CC_SHOBJ_FLAG=""
  8576. -fi
  8577. -
  8578. -
  8579. -
  8580. -
  8581. -
  8582. -
  8583. -
  8584. -
  8585. -# Extract the first word of "stunnel", so it can be a program name with args.
  8586. -set dummy stunnel; ac_word=$2
  8587. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8588. -$as_echo_n "checking for $ac_word... " >&6; }
  8589. -if ${ac_cv_path_STUNNEL+:} false; then :
  8590. - $as_echo_n "(cached) " >&6
  8591. -else
  8592. - case $STUNNEL in
  8593. - [\\/]* | ?:[\\/]*)
  8594. - ac_cv_path_STUNNEL="$STUNNEL" # Let the user override the test with a path.
  8595. - ;;
  8596. - *)
  8597. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8598. -for as_dir in $PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin
  8599. -do
  8600. - IFS=$as_save_IFS
  8601. - test -z "$as_dir" && as_dir=.
  8602. - for ac_exec_ext in '' $ac_executable_extensions; do
  8603. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8604. - ac_cv_path_STUNNEL="$as_dir/$ac_word$ac_exec_ext"
  8605. - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8606. - break 2
  8607. - fi
  8608. -done
  8609. - done
  8610. -IFS=$as_save_IFS
  8611. -
  8612. - test -z "$ac_cv_path_STUNNEL" && ac_cv_path_STUNNEL="stunnel"
  8613. - ;;
  8614. -esac
  8615. -fi
  8616. -STUNNEL=$ac_cv_path_STUNNEL
  8617. -if test -n "$STUNNEL"; then
  8618. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STUNNEL" >&5
  8619. -$as_echo "$STUNNEL" >&6; }
  8620. -else
  8621. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8622. -$as_echo "no" >&6; }
  8623. -fi
  8624. -
  8625. -
  8626. -# Extract the first word of "stunnel4", so it can be a program name with args.
  8627. -set dummy stunnel4; ac_word=$2
  8628. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8629. -$as_echo_n "checking for $ac_word... " >&6; }
  8630. -if ${ac_cv_path_STUNNEL4+:} false; then :
  8631. - $as_echo_n "(cached) " >&6
  8632. -else
  8633. - case $STUNNEL4 in
  8634. - [\\/]* | ?:[\\/]*)
  8635. - ac_cv_path_STUNNEL4="$STUNNEL4" # Let the user override the test with a path.
  8636. - ;;
  8637. - *)
  8638. - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8639. -for as_dir in $PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin
  8640. -do
  8641. - IFS=$as_save_IFS
  8642. - test -z "$as_dir" && as_dir=.
  8643. - for ac_exec_ext in '' $ac_executable_extensions; do
  8644. - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8645. - ac_cv_path_STUNNEL4="$as_dir/$ac_word$ac_exec_ext"
  8646. - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8647. - break 2
  8648. - fi
  8649. -done
  8650. - done
  8651. -IFS=$as_save_IFS
  8652. -
  8653. - test -z "$ac_cv_path_STUNNEL4" && ac_cv_path_STUNNEL4="$STUNNEL"
  8654. - ;;
  8655. -esac
  8656. -fi
  8657. -STUNNEL4=$ac_cv_path_STUNNEL4
  8658. -if test -n "$STUNNEL4"; then
  8659. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STUNNEL4" >&5
  8660. -$as_echo "$STUNNEL4" >&6; }
  8661. -else
  8662. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8663. -$as_echo "no" >&6; }
  8664. -fi
  8665. -
  8666. -
  8667. -
  8668. -for ac_func in _acl __acl _facl __facl
  8669. -do :
  8670. - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  8671. -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  8672. -if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  8673. - cat >>confdefs.h <<_ACEOF
  8674. -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  8675. -_ACEOF
  8676. -
  8677. -fi
  8678. -done
  8679. -
  8680. -#################################################
  8681. -# check for ACL support
  8682. -
  8683. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support ACLs" >&5
  8684. -$as_echo_n "checking whether to support ACLs... " >&6; }
  8685. -# Check whether --enable-acl-support was given.
  8686. -if test "${enable_acl_support+set}" = set; then :
  8687. - enableval=$enable_acl_support;
  8688. -fi
  8689. -
  8690. -
  8691. -if test x"$enable_acl_support" = x"no"; then
  8692. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8693. -$as_echo "no" >&6; }
  8694. -else
  8695. - case "$host_os" in
  8696. - *sysv5*)
  8697. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using UnixWare ACLs" >&5
  8698. -$as_echo "Using UnixWare ACLs" >&6; }
  8699. -
  8700. -$as_echo "#define HAVE_UNIXWARE_ACLS 1" >>confdefs.h
  8701. -
  8702. -
  8703. -$as_echo "#define SUPPORT_ACLS 1" >>confdefs.h
  8704. -
  8705. - ;;
  8706. - solaris*|*cygwin*)
  8707. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using solaris ACLs" >&5
  8708. -$as_echo "Using solaris ACLs" >&6; }
  8709. -
  8710. -$as_echo "#define HAVE_SOLARIS_ACLS 1" >>confdefs.h
  8711. -
  8712. - $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h
  8713. -
  8714. - ;;
  8715. - *hpux*)
  8716. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using HPUX ACLs" >&5
  8717. -$as_echo "Using HPUX ACLs" >&6; }
  8718. -
  8719. -$as_echo "#define HAVE_HPUX_ACLS 1" >>confdefs.h
  8720. -
  8721. - $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h
  8722. -
  8723. - ;;
  8724. - *irix*)
  8725. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using IRIX ACLs" >&5
  8726. -$as_echo "Using IRIX ACLs" >&6; }
  8727. -
  8728. -$as_echo "#define HAVE_IRIX_ACLS 1" >>confdefs.h
  8729. -
  8730. - $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h
  8731. -
  8732. - ;;
  8733. - *aix*)
  8734. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using AIX ACLs" >&5
  8735. -$as_echo "Using AIX ACLs" >&6; }
  8736. -
  8737. -$as_echo "#define HAVE_AIX_ACLS 1" >>confdefs.h
  8738. -
  8739. - $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h
  8740. -
  8741. - ;;
  8742. - *osf*)
  8743. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Tru64 ACLs" >&5
  8744. -$as_echo "Using Tru64 ACLs" >&6; }
  8745. -
  8746. -$as_echo "#define HAVE_TRU64_ACLS 1" >>confdefs.h
  8747. -
  8748. - $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h
  8749. -
  8750. - LIBS="$LIBS -lpacl"
  8751. - ;;
  8752. - darwin*)
  8753. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using OS X ACLs" >&5
  8754. -$as_echo "Using OS X ACLs" >&6; }
  8755. -
  8756. -$as_echo "#define HAVE_OSX_ACLS 1" >>confdefs.h
  8757. -
  8758. - $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h
  8759. -
  8760. - ;;
  8761. - *)
  8762. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: running tests:" >&5
  8763. -$as_echo "running tests:" >&6; }
  8764. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acl_get_file in -lacl" >&5
  8765. -$as_echo_n "checking for acl_get_file in -lacl... " >&6; }
  8766. -if ${ac_cv_lib_acl_acl_get_file+:} false; then :
  8767. - $as_echo_n "(cached) " >&6
  8768. -else
  8769. - ac_check_lib_save_LIBS=$LIBS
  8770. -LIBS="-lacl $LIBS"
  8771. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8772. -/* end confdefs.h. */
  8773. -
  8774. -/* Override any GCC internal prototype to avoid an error.
  8775. - Use char because int might match the return type of a GCC
  8776. - builtin and then its argument prototype would still apply. */
  8777. -#ifdef __cplusplus
  8778. -extern "C"
  8779. -#endif
  8780. -char acl_get_file ();
  8781. -int
  8782. -main ()
  8783. -{
  8784. -return acl_get_file ();
  8785. - ;
  8786. - return 0;
  8787. -}
  8788. -_ACEOF
  8789. -if ac_fn_c_try_link "$LINENO"; then :
  8790. - ac_cv_lib_acl_acl_get_file=yes
  8791. -else
  8792. - ac_cv_lib_acl_acl_get_file=no
  8793. -fi
  8794. -rm -f core conftest.err conftest.$ac_objext \
  8795. - conftest$ac_exeext conftest.$ac_ext
  8796. -LIBS=$ac_check_lib_save_LIBS
  8797. -fi
  8798. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_acl_acl_get_file" >&5
  8799. -$as_echo "$ac_cv_lib_acl_acl_get_file" >&6; }
  8800. -if test "x$ac_cv_lib_acl_acl_get_file" = xyes; then :
  8801. - cat >>confdefs.h <<_ACEOF
  8802. -#define HAVE_LIBACL 1
  8803. -_ACEOF
  8804. -
  8805. - LIBS="-lacl $LIBS"
  8806. -
  8807. -fi
  8808. -
  8809. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ACL support" >&5
  8810. -$as_echo_n "checking for ACL support... " >&6; }
  8811. -if ${samba_cv_HAVE_POSIX_ACLS+:} false; then :
  8812. - $as_echo_n "(cached) " >&6
  8813. -else
  8814. -
  8815. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8816. -/* end confdefs.h. */
  8817. -#include <sys/types.h>
  8818. -#include <sys/acl.h>
  8819. -int
  8820. -main ()
  8821. -{
  8822. - acl_t acl; int entry_id; acl_entry_t *entry_p; return acl_get_entry( acl, entry_id, entry_p);
  8823. - ;
  8824. - return 0;
  8825. -}
  8826. -_ACEOF
  8827. -if ac_fn_c_try_link "$LINENO"; then :
  8828. - samba_cv_HAVE_POSIX_ACLS=yes
  8829. -else
  8830. - samba_cv_HAVE_POSIX_ACLS=no
  8831. -fi
  8832. -rm -f core conftest.err conftest.$ac_objext \
  8833. - conftest$ac_exeext conftest.$ac_ext
  8834. -fi
  8835. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $samba_cv_HAVE_POSIX_ACLS" >&5
  8836. -$as_echo "$samba_cv_HAVE_POSIX_ACLS" >&6; }
  8837. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking ACL test results" >&5
  8838. -$as_echo_n "checking ACL test results... " >&6; }
  8839. - if test x"$samba_cv_HAVE_POSIX_ACLS" = x"yes"; then
  8840. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using posix ACLs" >&5
  8841. -$as_echo "Using posix ACLs" >&6; }
  8842. -
  8843. -$as_echo "#define HAVE_POSIX_ACLS 1" >>confdefs.h
  8844. -
  8845. - $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h
  8846. -
  8847. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acl_get_perm_np" >&5
  8848. -$as_echo_n "checking for acl_get_perm_np... " >&6; }
  8849. -if ${samba_cv_HAVE_ACL_GET_PERM_NP+:} false; then :
  8850. - $as_echo_n "(cached) " >&6
  8851. -else
  8852. -
  8853. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8854. -/* end confdefs.h. */
  8855. -#include <sys/types.h>
  8856. -#include <sys/acl.h>
  8857. -int
  8858. -main ()
  8859. -{
  8860. - acl_permset_t permset_d; acl_perm_t perm; return acl_get_perm_np( permset_d, perm);
  8861. - ;
  8862. - return 0;
  8863. -}
  8864. -_ACEOF
  8865. -if ac_fn_c_try_link "$LINENO"; then :
  8866. - samba_cv_HAVE_ACL_GET_PERM_NP=yes
  8867. -else
  8868. - samba_cv_HAVE_ACL_GET_PERM_NP=no
  8869. -fi
  8870. -rm -f core conftest.err conftest.$ac_objext \
  8871. - conftest$ac_exeext conftest.$ac_ext
  8872. -fi
  8873. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $samba_cv_HAVE_ACL_GET_PERM_NP" >&5
  8874. -$as_echo "$samba_cv_HAVE_ACL_GET_PERM_NP" >&6; }
  8875. - if test x"$samba_cv_HAVE_ACL_GET_PERM_NP" = x"yes"; then
  8876. -
  8877. -$as_echo "#define HAVE_ACL_GET_PERM_NP 1" >>confdefs.h
  8878. -
  8879. - fi
  8880. - else
  8881. - if test x"$enable_acl_support" = x"yes"; then
  8882. - as_fn_error $? "Failed to find ACL support" "$LINENO" 5
  8883. - else
  8884. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: No ACL support found" >&5
  8885. -$as_echo "No ACL support found" >&6; }
  8886. - fi
  8887. - fi
  8888. - ;;
  8889. - esac
  8890. -fi
  8891. -
  8892. -#################################################
  8893. -# check for extended attribute support
  8894. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support extended attributes" >&5
  8895. -$as_echo_n "checking whether to support extended attributes... " >&6; }
  8896. -# Check whether --enable-xattr-support was given.
  8897. -if test "${enable_xattr_support+set}" = set; then :
  8898. - enableval=$enable_xattr_support;
  8899. -else
  8900. - case "$ac_cv_func_getxattr$ac_cv_func_extattr_get_link$ac_cv_func_attropen" in
  8901. - *yes*) enable_xattr_support=maybe ;;
  8902. - *) enable_xattr_support=no ;;
  8903. - esac
  8904. -fi
  8905. -
  8906. -
  8907. -if test x"$enable_xattr_support" = x"no"; then
  8908. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8909. -$as_echo "no" >&6; }
  8910. -else
  8911. - case "$host_os" in
  8912. - *linux*|*netbsd*)
  8913. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Linux xattrs" >&5
  8914. -$as_echo "Using Linux xattrs" >&6; }
  8915. -
  8916. -$as_echo "#define HAVE_LINUX_XATTRS 1" >>confdefs.h
  8917. -
  8918. - $as_echo "#define SUPPORT_XATTRS 1" >>confdefs.h
  8919. -
  8920. -
  8921. -$as_echo "#define NO_SYMLINK_USER_XATTRS 1" >>confdefs.h
  8922. -
  8923. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getxattr in -lattr" >&5
  8924. -$as_echo_n "checking for getxattr in -lattr... " >&6; }
  8925. -if ${ac_cv_lib_attr_getxattr+:} false; then :
  8926. - $as_echo_n "(cached) " >&6
  8927. -else
  8928. - ac_check_lib_save_LIBS=$LIBS
  8929. -LIBS="-lattr $LIBS"
  8930. -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8931. -/* end confdefs.h. */
  8932. -
  8933. -/* Override any GCC internal prototype to avoid an error.
  8934. - Use char because int might match the return type of a GCC
  8935. - builtin and then its argument prototype would still apply. */
  8936. -#ifdef __cplusplus
  8937. -extern "C"
  8938. -#endif
  8939. -char getxattr ();
  8940. -int
  8941. -main ()
  8942. -{
  8943. -return getxattr ();
  8944. - ;
  8945. - return 0;
  8946. -}
  8947. -_ACEOF
  8948. -if ac_fn_c_try_link "$LINENO"; then :
  8949. - ac_cv_lib_attr_getxattr=yes
  8950. -else
  8951. - ac_cv_lib_attr_getxattr=no
  8952. -fi
  8953. -rm -f core conftest.err conftest.$ac_objext \
  8954. - conftest$ac_exeext conftest.$ac_ext
  8955. -LIBS=$ac_check_lib_save_LIBS
  8956. -fi
  8957. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_attr_getxattr" >&5
  8958. -$as_echo "$ac_cv_lib_attr_getxattr" >&6; }
  8959. -if test "x$ac_cv_lib_attr_getxattr" = xyes; then :
  8960. - cat >>confdefs.h <<_ACEOF
  8961. -#define HAVE_LIBATTR 1
  8962. -_ACEOF
  8963. -
  8964. - LIBS="-lattr $LIBS"
  8965. -
  8966. -fi
  8967. -
  8968. - ;;
  8969. - darwin*)
  8970. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using OS X xattrs" >&5
  8971. -$as_echo "Using OS X xattrs" >&6; }
  8972. -
  8973. -$as_echo "#define HAVE_OSX_XATTRS 1" >>confdefs.h
  8974. -
  8975. - $as_echo "#define SUPPORT_XATTRS 1" >>confdefs.h
  8976. -
  8977. -
  8978. -$as_echo "#define NO_DEVICE_XATTRS 1" >>confdefs.h
  8979. -
  8980. -
  8981. -$as_echo "#define NO_SPECIAL_XATTRS 1" >>confdefs.h
  8982. -
  8983. - ;;
  8984. - freebsd*)
  8985. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using FreeBSD extattrs" >&5
  8986. -$as_echo "Using FreeBSD extattrs" >&6; }
  8987. -
  8988. -$as_echo "#define HAVE_FREEBSD_XATTRS 1" >>confdefs.h
  8989. -
  8990. - $as_echo "#define SUPPORT_XATTRS 1" >>confdefs.h
  8991. -
  8992. - ;;
  8993. - solaris*)
  8994. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Solaris xattrs" >&5
  8995. -$as_echo "Using Solaris xattrs" >&6; }
  8996. -
  8997. -$as_echo "#define HAVE_SOLARIS_XATTRS 1" >>confdefs.h
  8998. -
  8999. - $as_echo "#define SUPPORT_XATTRS 1" >>confdefs.h
  9000. -
  9001. -
  9002. -$as_echo "#define NO_SYMLINK_XATTRS 1" >>confdefs.h
  9003. -
  9004. - ;;
  9005. - *)
  9006. - if test x"$enable_xattr_support" = x"yes"; then
  9007. - as_fn_error $? "Failed to find extended attribute support" "$LINENO" 5
  9008. - else
  9009. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: No extended attribute support found" >&5
  9010. -$as_echo "No extended attribute support found" >&6; }
  9011. - fi
  9012. - ;;
  9013. - esac
  9014. -fi
  9015. -
  9016. -if test x"$enable_acl_support" = x"no" -o x"$enable_xattr_support" = x"no" -o x"$enable_iconv" = x"no"; then
  9017. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-unused-parameter" >&5
  9018. -$as_echo_n "checking whether $CC supports -Wno-unused-parameter... " >&6; }
  9019. - OLD_CFLAGS="$CFLAGS"
  9020. - CFLAGS="$CFLAGS -Wno-unused-parameter"
  9021. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9022. -/* end confdefs.h. */
  9023. -#include <stdio.h>
  9024. -int
  9025. -main ()
  9026. -{
  9027. -printf("hello\n");
  9028. - ;
  9029. - return 0;
  9030. -}
  9031. -_ACEOF
  9032. -if ac_fn_c_try_link "$LINENO"; then :
  9033. - rsync_warn_flag=yes
  9034. -else
  9035. - rsync_warn_flag=no
  9036. -fi
  9037. -rm -f core conftest.err conftest.$ac_objext \
  9038. - conftest$ac_exeext conftest.$ac_ext
  9039. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_warn_flag" >&5
  9040. -$as_echo "$rsync_warn_flag" >&6; }
  9041. - if test x"$rsync_warn_flag" = x"no"; then
  9042. - CFLAGS="$OLD_CFLAGS"
  9043. - fi
  9044. -fi
  9045. -
  9046. -case "$CC" in
  9047. -' checker'*|checker*)
  9048. -
  9049. -$as_echo "#define FORCE_FD_ZERO_MEMSET 1" >>confdefs.h
  9050. -
  9051. - ;;
  9052. -esac
  9053. -
  9054. -ac_config_files="$ac_config_files Makefile lib/dummy zlib/dummy popt/dummy shconfig"
  9055. -
  9056. -cat >confcache <<\_ACEOF
  9057. -# This file is a shell script that caches the results of configure
  9058. -# tests run on this system so they can be shared between configure
  9059. -# scripts and configure runs, see configure's option --config-cache.
  9060. -# It is not useful on other systems. If it contains results you don't
  9061. -# want to keep, you may remove or edit it.
  9062. -#
  9063. -# config.status only pays attention to the cache file if you give it
  9064. -# the --recheck option to rerun configure.
  9065. -#
  9066. -# `ac_cv_env_foo' variables (set or unset) will be overridden when
  9067. -# loading this file, other *unset* `ac_cv_foo' will be assigned the
  9068. -# following values.
  9069. -
  9070. -_ACEOF
  9071. -
  9072. -# The following way of writing the cache mishandles newlines in values,
  9073. -# but we know of no workaround that is simple, portable, and efficient.
  9074. -# So, we kill variables containing newlines.
  9075. -# Ultrix sh set writes to stderr and can't be redirected directly,
  9076. -# and sets the high bit in the cache file unless we assign to the vars.
  9077. -(
  9078. - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  9079. - eval ac_val=\$$ac_var
  9080. - case $ac_val in #(
  9081. - *${as_nl}*)
  9082. - case $ac_var in #(
  9083. - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  9084. -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  9085. - esac
  9086. - case $ac_var in #(
  9087. - _ | IFS | as_nl) ;; #(
  9088. - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  9089. - *) { eval $ac_var=; unset $ac_var;} ;;
  9090. - esac ;;
  9091. - esac
  9092. - done
  9093. -
  9094. - (set) 2>&1 |
  9095. - case $as_nl`(ac_space=' '; set) 2>&1` in #(
  9096. - *${as_nl}ac_space=\ *)
  9097. - # `set' does not quote correctly, so add quotes: double-quote
  9098. - # substitution turns \\\\ into \\, and sed turns \\ into \.
  9099. - sed -n \
  9100. - "s/'/'\\\\''/g;
  9101. - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  9102. - ;; #(
  9103. - *)
  9104. - # `set' quotes correctly as required by POSIX, so do not add quotes.
  9105. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  9106. - ;;
  9107. - esac |
  9108. - sort
  9109. -) |
  9110. - sed '
  9111. - /^ac_cv_env_/b end
  9112. - t clear
  9113. - :clear
  9114. - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  9115. - t end
  9116. - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  9117. - :end' >>confcache
  9118. -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  9119. - if test -w "$cache_file"; then
  9120. - if test "x$cache_file" != "x/dev/null"; then
  9121. - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  9122. -$as_echo "$as_me: updating cache $cache_file" >&6;}
  9123. - if test ! -f "$cache_file" || test -h "$cache_file"; then
  9124. - cat confcache >"$cache_file"
  9125. - else
  9126. - case $cache_file in #(
  9127. - */* | ?:*)
  9128. - mv -f confcache "$cache_file"$$ &&
  9129. - mv -f "$cache_file"$$ "$cache_file" ;; #(
  9130. - *)
  9131. - mv -f confcache "$cache_file" ;;
  9132. - esac
  9133. - fi
  9134. - fi
  9135. - else
  9136. - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  9137. -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  9138. - fi
  9139. -fi
  9140. -rm -f confcache
  9141. -
  9142. -test "x$prefix" = xNONE && prefix=$ac_default_prefix
  9143. -# Let make expand exec_prefix.
  9144. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  9145. -
  9146. -DEFS=-DHAVE_CONFIG_H
  9147. -
  9148. -ac_libobjs=
  9149. -ac_ltlibobjs=
  9150. -U=
  9151. -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  9152. - # 1. Remove the extension, and $U if already installed.
  9153. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  9154. - ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  9155. - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  9156. - # will be set to the directory where LIBOBJS objects are built.
  9157. - as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  9158. - as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  9159. -done
  9160. -LIBOBJS=$ac_libobjs
  9161. -
  9162. -LTLIBOBJS=$ac_ltlibobjs
  9163. -
  9164. -
  9165. -
  9166. -
  9167. -: "${CONFIG_STATUS=./config.status}"
  9168. -ac_write_fail=0
  9169. -ac_clean_files_save=$ac_clean_files
  9170. -ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  9171. -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  9172. -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  9173. -as_write_fail=0
  9174. -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  9175. -#! $SHELL
  9176. -# Generated by $as_me.
  9177. -# Run this file to recreate the current configuration.
  9178. -# Compiler output produced by configure, useful for debugging
  9179. -# configure, is in config.log if it exists.
  9180. -
  9181. -debug=false
  9182. -ac_cs_recheck=false
  9183. -ac_cs_silent=false
  9184. -
  9185. -SHELL=\${CONFIG_SHELL-$SHELL}
  9186. -export SHELL
  9187. -_ASEOF
  9188. -cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  9189. -## -------------------- ##
  9190. -## M4sh Initialization. ##
  9191. -## -------------------- ##
  9192. -
  9193. -# Be more Bourne compatible
  9194. -DUALCASE=1; export DUALCASE # for MKS sh
  9195. -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  9196. - emulate sh
  9197. - NULLCMD=:
  9198. - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  9199. - # is contrary to our usage. Disable this feature.
  9200. - alias -g '${1+"$@"}'='"$@"'
  9201. - setopt NO_GLOB_SUBST
  9202. -else
  9203. - case `(set -o) 2>/dev/null` in #(
  9204. - *posix*) :
  9205. - set -o posix ;; #(
  9206. - *) :
  9207. - ;;
  9208. -esac
  9209. -fi
  9210. -
  9211. -
  9212. -as_nl='
  9213. -'
  9214. -export as_nl
  9215. -# Printing a long string crashes Solaris 7 /usr/bin/printf.
  9216. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  9217. -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  9218. -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  9219. -# Prefer a ksh shell builtin over an external printf program on Solaris,
  9220. -# but without wasting forks for bash or zsh.
  9221. -if test -z "$BASH_VERSION$ZSH_VERSION" \
  9222. - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  9223. - as_echo='print -r --'
  9224. - as_echo_n='print -rn --'
  9225. -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  9226. - as_echo='printf %s\n'
  9227. - as_echo_n='printf %s'
  9228. -else
  9229. - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  9230. - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  9231. - as_echo_n='/usr/ucb/echo -n'
  9232. - else
  9233. - as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  9234. - as_echo_n_body='eval
  9235. - arg=$1;
  9236. - case $arg in #(
  9237. - *"$as_nl"*)
  9238. - expr "X$arg" : "X\\(.*\\)$as_nl";
  9239. - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  9240. - esac;
  9241. - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  9242. - '
  9243. - export as_echo_n_body
  9244. - as_echo_n='sh -c $as_echo_n_body as_echo'
  9245. - fi
  9246. - export as_echo_body
  9247. - as_echo='sh -c $as_echo_body as_echo'
  9248. -fi
  9249. -
  9250. -# The user is always right.
  9251. -if test "${PATH_SEPARATOR+set}" != set; then
  9252. - PATH_SEPARATOR=:
  9253. - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  9254. - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  9255. - PATH_SEPARATOR=';'
  9256. - }
  9257. -fi
  9258. -
  9259. -
  9260. -# IFS
  9261. -# We need space, tab and new line, in precisely that order. Quoting is
  9262. -# there to prevent editors from complaining about space-tab.
  9263. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  9264. -# splitting by setting IFS to empty value.)
  9265. -IFS=" "" $as_nl"
  9266. -
  9267. -# Find who we are. Look in the path if we contain no directory separator.
  9268. -as_myself=
  9269. -case $0 in #((
  9270. - *[\\/]* ) as_myself=$0 ;;
  9271. - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9272. -for as_dir in $PATH
  9273. -do
  9274. - IFS=$as_save_IFS
  9275. - test -z "$as_dir" && as_dir=.
  9276. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  9277. - done
  9278. -IFS=$as_save_IFS
  9279. -
  9280. - ;;
  9281. -esac
  9282. -# We did not find ourselves, most probably we were run as `sh COMMAND'
  9283. -# in which case we are not to be found in the path.
  9284. -if test "x$as_myself" = x; then
  9285. - as_myself=$0
  9286. -fi
  9287. -if test ! -f "$as_myself"; then
  9288. - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  9289. - exit 1
  9290. -fi
  9291. -
  9292. -# Unset variables that we do not need and which cause bugs (e.g. in
  9293. -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  9294. -# suppresses any "Segmentation fault" message there. '((' could
  9295. -# trigger a bug in pdksh 5.2.14.
  9296. -for as_var in BASH_ENV ENV MAIL MAILPATH
  9297. -do eval test x\${$as_var+set} = xset \
  9298. - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  9299. -done
  9300. -PS1='$ '
  9301. -PS2='> '
  9302. -PS4='+ '
  9303. -
  9304. -# NLS nuisances.
  9305. -LC_ALL=C
  9306. -export LC_ALL
  9307. -LANGUAGE=C
  9308. -export LANGUAGE
  9309. -
  9310. -# CDPATH.
  9311. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  9312. -
  9313. -
  9314. -# as_fn_error STATUS ERROR [LINENO LOG_FD]
  9315. -# ----------------------------------------
  9316. -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  9317. -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  9318. -# script with STATUS, using 1 if that was 0.
  9319. -as_fn_error ()
  9320. -{
  9321. - as_status=$1; test $as_status -eq 0 && as_status=1
  9322. - if test "$4"; then
  9323. - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  9324. - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  9325. - fi
  9326. - $as_echo "$as_me: error: $2" >&2
  9327. - as_fn_exit $as_status
  9328. -} # as_fn_error
  9329. -
  9330. -
  9331. -# as_fn_set_status STATUS
  9332. -# -----------------------
  9333. -# Set $? to STATUS, without forking.
  9334. -as_fn_set_status ()
  9335. -{
  9336. - return $1
  9337. -} # as_fn_set_status
  9338. -
  9339. -# as_fn_exit STATUS
  9340. -# -----------------
  9341. -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  9342. -as_fn_exit ()
  9343. -{
  9344. - set +e
  9345. - as_fn_set_status $1
  9346. - exit $1
  9347. -} # as_fn_exit
  9348. -
  9349. -# as_fn_unset VAR
  9350. -# ---------------
  9351. -# Portably unset VAR.
  9352. -as_fn_unset ()
  9353. -{
  9354. - { eval $1=; unset $1;}
  9355. -}
  9356. -as_unset=as_fn_unset
  9357. -# as_fn_append VAR VALUE
  9358. -# ----------------------
  9359. -# Append the text in VALUE to the end of the definition contained in VAR. Take
  9360. -# advantage of any shell optimizations that allow amortized linear growth over
  9361. -# repeated appends, instead of the typical quadratic growth present in naive
  9362. -# implementations.
  9363. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  9364. - eval 'as_fn_append ()
  9365. - {
  9366. - eval $1+=\$2
  9367. - }'
  9368. -else
  9369. - as_fn_append ()
  9370. - {
  9371. - eval $1=\$$1\$2
  9372. - }
  9373. -fi # as_fn_append
  9374. -
  9375. -# as_fn_arith ARG...
  9376. -# ------------------
  9377. -# Perform arithmetic evaluation on the ARGs, and store the result in the
  9378. -# global $as_val. Take advantage of shells that can avoid forks. The arguments
  9379. -# must be portable across $(()) and expr.
  9380. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  9381. - eval 'as_fn_arith ()
  9382. - {
  9383. - as_val=$(( $* ))
  9384. - }'
  9385. -else
  9386. - as_fn_arith ()
  9387. - {
  9388. - as_val=`expr "$@" || test $? -eq 1`
  9389. - }
  9390. -fi # as_fn_arith
  9391. -
  9392. -
  9393. -if expr a : '\(a\)' >/dev/null 2>&1 &&
  9394. - test "X`expr 00001 : '.*\(...\)'`" = X001; then
  9395. - as_expr=expr
  9396. -else
  9397. - as_expr=false
  9398. -fi
  9399. -
  9400. -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  9401. - as_basename=basename
  9402. -else
  9403. - as_basename=false
  9404. -fi
  9405. -
  9406. -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  9407. - as_dirname=dirname
  9408. -else
  9409. - as_dirname=false
  9410. -fi
  9411. -
  9412. -as_me=`$as_basename -- "$0" ||
  9413. -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  9414. - X"$0" : 'X\(//\)$' \| \
  9415. - X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  9416. -$as_echo X/"$0" |
  9417. - sed '/^.*\/\([^/][^/]*\)\/*$/{
  9418. - s//\1/
  9419. - q
  9420. - }
  9421. - /^X\/\(\/\/\)$/{
  9422. - s//\1/
  9423. - q
  9424. - }
  9425. - /^X\/\(\/\).*/{
  9426. - s//\1/
  9427. - q
  9428. - }
  9429. - s/.*/./; q'`
  9430. -
  9431. -# Avoid depending upon Character Ranges.
  9432. -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  9433. -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  9434. -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  9435. -as_cr_digits='0123456789'
  9436. -as_cr_alnum=$as_cr_Letters$as_cr_digits
  9437. -
  9438. -ECHO_C= ECHO_N= ECHO_T=
  9439. -case `echo -n x` in #(((((
  9440. --n*)
  9441. - case `echo 'xy\c'` in
  9442. - *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  9443. - xy) ECHO_C='\c';;
  9444. - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  9445. - ECHO_T=' ';;
  9446. - esac;;
  9447. -*)
  9448. - ECHO_N='-n';;
  9449. -esac
  9450. -
  9451. -rm -f conf$$ conf$$.exe conf$$.file
  9452. -if test -d conf$$.dir; then
  9453. - rm -f conf$$.dir/conf$$.file
  9454. -else
  9455. - rm -f conf$$.dir
  9456. - mkdir conf$$.dir 2>/dev/null
  9457. -fi
  9458. -if (echo >conf$$.file) 2>/dev/null; then
  9459. - if ln -s conf$$.file conf$$ 2>/dev/null; then
  9460. - as_ln_s='ln -s'
  9461. - # ... but there are two gotchas:
  9462. - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  9463. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  9464. - # In both cases, we have to default to `cp -pR'.
  9465. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  9466. - as_ln_s='cp -pR'
  9467. - elif ln conf$$.file conf$$ 2>/dev/null; then
  9468. - as_ln_s=ln
  9469. - else
  9470. - as_ln_s='cp -pR'
  9471. - fi
  9472. -else
  9473. - as_ln_s='cp -pR'
  9474. -fi
  9475. -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  9476. -rmdir conf$$.dir 2>/dev/null
  9477. -
  9478. -
  9479. -# as_fn_mkdir_p
  9480. -# -------------
  9481. -# Create "$as_dir" as a directory, including parents if necessary.
  9482. -as_fn_mkdir_p ()
  9483. -{
  9484. -
  9485. - case $as_dir in #(
  9486. - -*) as_dir=./$as_dir;;
  9487. - esac
  9488. - test -d "$as_dir" || eval $as_mkdir_p || {
  9489. - as_dirs=
  9490. - while :; do
  9491. - case $as_dir in #(
  9492. - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  9493. - *) as_qdir=$as_dir;;
  9494. - esac
  9495. - as_dirs="'$as_qdir' $as_dirs"
  9496. - as_dir=`$as_dirname -- "$as_dir" ||
  9497. -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9498. - X"$as_dir" : 'X\(//\)[^/]' \| \
  9499. - X"$as_dir" : 'X\(//\)$' \| \
  9500. - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  9501. -$as_echo X"$as_dir" |
  9502. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  9503. - s//\1/
  9504. - q
  9505. - }
  9506. - /^X\(\/\/\)[^/].*/{
  9507. - s//\1/
  9508. - q
  9509. - }
  9510. - /^X\(\/\/\)$/{
  9511. - s//\1/
  9512. - q
  9513. - }
  9514. - /^X\(\/\).*/{
  9515. - s//\1/
  9516. - q
  9517. - }
  9518. - s/.*/./; q'`
  9519. - test -d "$as_dir" && break
  9520. - done
  9521. - test -z "$as_dirs" || eval "mkdir $as_dirs"
  9522. - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  9523. -
  9524. -
  9525. -} # as_fn_mkdir_p
  9526. -if mkdir -p . 2>/dev/null; then
  9527. - as_mkdir_p='mkdir -p "$as_dir"'
  9528. -else
  9529. - test -d ./-p && rmdir ./-p
  9530. - as_mkdir_p=false
  9531. -fi
  9532. -
  9533. -
  9534. -# as_fn_executable_p FILE
  9535. -# -----------------------
  9536. -# Test if FILE is an executable regular file.
  9537. -as_fn_executable_p ()
  9538. -{
  9539. - test -f "$1" && test -x "$1"
  9540. -} # as_fn_executable_p
  9541. -as_test_x='test -x'
  9542. -as_executable_p=as_fn_executable_p
  9543. -
  9544. -# Sed expression to map a string onto a valid CPP name.
  9545. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  9546. -
  9547. -# Sed expression to map a string onto a valid variable name.
  9548. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  9549. -
  9550. -
  9551. -exec 6>&1
  9552. -## ----------------------------------- ##
  9553. -## Main body of $CONFIG_STATUS script. ##
  9554. -## ----------------------------------- ##
  9555. -_ASEOF
  9556. -test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  9557. -
  9558. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  9559. -# Save the log message, to keep $0 and so on meaningful, and to
  9560. -# report actual input values of CONFIG_FILES etc. instead of their
  9561. -# values after options handling.
  9562. -ac_log="
  9563. -This file was extended by rsync $as_me 3.1.2, which was
  9564. -generated by GNU Autoconf 2.69. Invocation command line was
  9565. -
  9566. - CONFIG_FILES = $CONFIG_FILES
  9567. - CONFIG_HEADERS = $CONFIG_HEADERS
  9568. - CONFIG_LINKS = $CONFIG_LINKS
  9569. - CONFIG_COMMANDS = $CONFIG_COMMANDS
  9570. - $ $0 $@
  9571. -
  9572. -on `(hostname || uname -n) 2>/dev/null | sed 1q`
  9573. -"
  9574. -
  9575. -_ACEOF
  9576. -
  9577. -case $ac_config_files in *"
  9578. -"*) set x $ac_config_files; shift; ac_config_files=$*;;
  9579. -esac
  9580. -
  9581. -case $ac_config_headers in *"
  9582. -"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  9583. -esac
  9584. -
  9585. -
  9586. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  9587. -# Files that config.status was made for.
  9588. -config_files="$ac_config_files"
  9589. -config_headers="$ac_config_headers"
  9590. -
  9591. -_ACEOF
  9592. -
  9593. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  9594. -ac_cs_usage="\
  9595. -\`$as_me' instantiates files and other configuration actions
  9596. -from templates according to the current configuration. Unless the files
  9597. -and actions are specified as TAGs, all are instantiated by default.
  9598. -
  9599. -Usage: $0 [OPTION]... [TAG]...
  9600. -
  9601. - -h, --help print this help, then exit
  9602. - -V, --version print version number and configuration settings, then exit
  9603. - --config print configuration, then exit
  9604. - -q, --quiet, --silent
  9605. - do not print progress messages
  9606. - -d, --debug don't remove temporary files
  9607. - --recheck update $as_me by reconfiguring in the same conditions
  9608. - --file=FILE[:TEMPLATE]
  9609. - instantiate the configuration file FILE
  9610. - --header=FILE[:TEMPLATE]
  9611. - instantiate the configuration header FILE
  9612. -
  9613. -Configuration files:
  9614. -$config_files
  9615. -
  9616. -Configuration headers:
  9617. -$config_headers
  9618. -
  9619. -Report bugs to <http://rsync.samba.org/bugzilla.html>."
  9620. -
  9621. -_ACEOF
  9622. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  9623. -ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  9624. -ac_cs_version="\\
  9625. -rsync config.status 3.1.2
  9626. -configured by $0, generated by GNU Autoconf 2.69,
  9627. - with options \\"\$ac_cs_config\\"
  9628. -
  9629. -Copyright (C) 2012 Free Software Foundation, Inc.
  9630. -This config.status script is free software; the Free Software Foundation
  9631. -gives unlimited permission to copy, distribute and modify it."
  9632. -
  9633. -ac_pwd='$ac_pwd'
  9634. -srcdir='$srcdir'
  9635. -INSTALL='$INSTALL'
  9636. -MKDIR_P='$MKDIR_P'
  9637. -test -n "\$AWK" || AWK=awk
  9638. -_ACEOF
  9639. -
  9640. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  9641. -# The default lists apply if the user does not specify any file.
  9642. -ac_need_defaults=:
  9643. -while test $# != 0
  9644. -do
  9645. - case $1 in
  9646. - --*=?*)
  9647. - ac_option=`expr "X$1" : 'X\([^=]*\)='`
  9648. - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  9649. - ac_shift=:
  9650. - ;;
  9651. - --*=)
  9652. - ac_option=`expr "X$1" : 'X\([^=]*\)='`
  9653. - ac_optarg=
  9654. - ac_shift=:
  9655. - ;;
  9656. - *)
  9657. - ac_option=$1
  9658. - ac_optarg=$2
  9659. - ac_shift=shift
  9660. - ;;
  9661. - esac
  9662. -
  9663. - case $ac_option in
  9664. - # Handling of the options.
  9665. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  9666. - ac_cs_recheck=: ;;
  9667. - --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  9668. - $as_echo "$ac_cs_version"; exit ;;
  9669. - --config | --confi | --conf | --con | --co | --c )
  9670. - $as_echo "$ac_cs_config"; exit ;;
  9671. - --debug | --debu | --deb | --de | --d | -d )
  9672. - debug=: ;;
  9673. - --file | --fil | --fi | --f )
  9674. - $ac_shift
  9675. - case $ac_optarg in
  9676. - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  9677. - '') as_fn_error $? "missing file argument" ;;
  9678. - esac
  9679. - as_fn_append CONFIG_FILES " '$ac_optarg'"
  9680. - ac_need_defaults=false;;
  9681. - --header | --heade | --head | --hea )
  9682. - $ac_shift
  9683. - case $ac_optarg in
  9684. - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  9685. - esac
  9686. - as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  9687. - ac_need_defaults=false;;
  9688. - --he | --h)
  9689. - # Conflict between --help and --header
  9690. - as_fn_error $? "ambiguous option: \`$1'
  9691. -Try \`$0 --help' for more information.";;
  9692. - --help | --hel | -h )
  9693. - $as_echo "$ac_cs_usage"; exit ;;
  9694. - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  9695. - | -silent | --silent | --silen | --sile | --sil | --si | --s)
  9696. - ac_cs_silent=: ;;
  9697. -
  9698. - # This is an error.
  9699. - -*) as_fn_error $? "unrecognized option: \`$1'
  9700. -Try \`$0 --help' for more information." ;;
  9701. -
  9702. - *) as_fn_append ac_config_targets " $1"
  9703. - ac_need_defaults=false ;;
  9704. -
  9705. - esac
  9706. - shift
  9707. -done
  9708. -
  9709. -ac_configure_extra_args=
  9710. -
  9711. -if $ac_cs_silent; then
  9712. - exec 6>/dev/null
  9713. - ac_configure_extra_args="$ac_configure_extra_args --silent"
  9714. -fi
  9715. -
  9716. -_ACEOF
  9717. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  9718. -if \$ac_cs_recheck; then
  9719. - set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  9720. - shift
  9721. - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  9722. - CONFIG_SHELL='$SHELL'
  9723. - export CONFIG_SHELL
  9724. - exec "\$@"
  9725. -fi
  9726. -
  9727. -_ACEOF
  9728. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  9729. -exec 5>>config.log
  9730. -{
  9731. - echo
  9732. - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  9733. -## Running $as_me. ##
  9734. -_ASBOX
  9735. - $as_echo "$ac_log"
  9736. -} >&5
  9737. -
  9738. -_ACEOF
  9739. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  9740. -_ACEOF
  9741. -
  9742. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  9743. -
  9744. -# Handling of arguments.
  9745. -for ac_config_target in $ac_config_targets
  9746. -do
  9747. - case $ac_config_target in
  9748. - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  9749. - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  9750. - "lib/dummy") CONFIG_FILES="$CONFIG_FILES lib/dummy" ;;
  9751. - "zlib/dummy") CONFIG_FILES="$CONFIG_FILES zlib/dummy" ;;
  9752. - "popt/dummy") CONFIG_FILES="$CONFIG_FILES popt/dummy" ;;
  9753. - "shconfig") CONFIG_FILES="$CONFIG_FILES shconfig" ;;
  9754. -
  9755. - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  9756. - esac
  9757. -done
  9758. -
  9759. -
  9760. -# If the user did not use the arguments to specify the items to instantiate,
  9761. -# then the envvar interface is used. Set only those that are not.
  9762. -# We use the long form for the default assignment because of an extremely
  9763. -# bizarre bug on SunOS 4.1.3.
  9764. -if $ac_need_defaults; then
  9765. - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  9766. - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  9767. -fi
  9768. -
  9769. -# Have a temporary directory for convenience. Make it in the build tree
  9770. -# simply because there is no reason against having it here, and in addition,
  9771. -# creating and moving files from /tmp can sometimes cause problems.
  9772. -# Hook for its removal unless debugging.
  9773. -# Note that there is a small window in which the directory will not be cleaned:
  9774. -# after its creation but before its name has been assigned to `$tmp'.
  9775. -$debug ||
  9776. -{
  9777. - tmp= ac_tmp=
  9778. - trap 'exit_status=$?
  9779. - : "${ac_tmp:=$tmp}"
  9780. - { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  9781. -' 0
  9782. - trap 'as_fn_exit 1' 1 2 13 15
  9783. -}
  9784. -# Create a (secure) tmp directory for tmp files.
  9785. -
  9786. -{
  9787. - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  9788. - test -d "$tmp"
  9789. -} ||
  9790. -{
  9791. - tmp=./conf$$-$RANDOM
  9792. - (umask 077 && mkdir "$tmp")
  9793. -} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  9794. -ac_tmp=$tmp
  9795. -
  9796. -# Set up the scripts for CONFIG_FILES section.
  9797. -# No need to generate them if there are no CONFIG_FILES.
  9798. -# This happens for instance with `./config.status config.h'.
  9799. -if test -n "$CONFIG_FILES"; then
  9800. -
  9801. -
  9802. -ac_cr=`echo X | tr X '\015'`
  9803. -# On cygwin, bash can eat \r inside `` if the user requested igncr.
  9804. -# But we know of no other shell where ac_cr would be empty at this
  9805. -# point, so we can use a bashism as a fallback.
  9806. -if test "x$ac_cr" = x; then
  9807. - eval ac_cr=\$\'\\r\'
  9808. -fi
  9809. -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  9810. -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  9811. - ac_cs_awk_cr='\\r'
  9812. -else
  9813. - ac_cs_awk_cr=$ac_cr
  9814. -fi
  9815. -
  9816. -echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  9817. -_ACEOF
  9818. -
  9819. -
  9820. -{
  9821. - echo "cat >conf$$subs.awk <<_ACEOF" &&
  9822. - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  9823. - echo "_ACEOF"
  9824. -} >conf$$subs.sh ||
  9825. - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  9826. -ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  9827. -ac_delim='%!_!# '
  9828. -for ac_last_try in false false false false false :; do
  9829. - . ./conf$$subs.sh ||
  9830. - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  9831. -
  9832. - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  9833. - if test $ac_delim_n = $ac_delim_num; then
  9834. - break
  9835. - elif $ac_last_try; then
  9836. - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  9837. - else
  9838. - ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  9839. - fi
  9840. -done
  9841. -rm -f conf$$subs.sh
  9842. -
  9843. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  9844. -cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  9845. -_ACEOF
  9846. -sed -n '
  9847. -h
  9848. -s/^/S["/; s/!.*/"]=/
  9849. -p
  9850. -g
  9851. -s/^[^!]*!//
  9852. -:repl
  9853. -t repl
  9854. -s/'"$ac_delim"'$//
  9855. -t delim
  9856. -:nl
  9857. -h
  9858. -s/\(.\{148\}\)..*/\1/
  9859. -t more1
  9860. -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  9861. -p
  9862. -n
  9863. -b repl
  9864. -:more1
  9865. -s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  9866. -p
  9867. -g
  9868. -s/.\{148\}//
  9869. -t nl
  9870. -:delim
  9871. -h
  9872. -s/\(.\{148\}\)..*/\1/
  9873. -t more2
  9874. -s/["\\]/\\&/g; s/^/"/; s/$/"/
  9875. -p
  9876. -b
  9877. -:more2
  9878. -s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  9879. -p
  9880. -g
  9881. -s/.\{148\}//
  9882. -t delim
  9883. -' <conf$$subs.awk | sed '
  9884. -/^[^""]/{
  9885. - N
  9886. - s/\n//
  9887. -}
  9888. -' >>$CONFIG_STATUS || ac_write_fail=1
  9889. -rm -f conf$$subs.awk
  9890. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  9891. -_ACAWK
  9892. -cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  9893. - for (key in S) S_is_set[key] = 1
  9894. - FS = ""
  9895. -
  9896. -}
  9897. -{
  9898. - line = $ 0
  9899. - nfields = split(line, field, "@")
  9900. - substed = 0
  9901. - len = length(field[1])
  9902. - for (i = 2; i < nfields; i++) {
  9903. - key = field[i]
  9904. - keylen = length(key)
  9905. - if (S_is_set[key]) {
  9906. - value = S[key]
  9907. - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  9908. - len += length(value) + length(field[++i])
  9909. - substed = 1
  9910. - } else
  9911. - len += 1 + keylen
  9912. - }
  9913. -
  9914. - print line
  9915. -}
  9916. -
  9917. -_ACAWK
  9918. -_ACEOF
  9919. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  9920. -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  9921. - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  9922. -else
  9923. - cat
  9924. -fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  9925. - || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  9926. -_ACEOF
  9927. -
  9928. -# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  9929. -# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  9930. -# trailing colons and then remove the whole line if VPATH becomes empty
  9931. -# (actually we leave an empty line to preserve line numbers).
  9932. -if test "x$srcdir" = x.; then
  9933. - ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  9934. -h
  9935. -s///
  9936. -s/^/:/
  9937. -s/[ ]*$/:/
  9938. -s/:\$(srcdir):/:/g
  9939. -s/:\${srcdir}:/:/g
  9940. -s/:@srcdir@:/:/g
  9941. -s/^:*//
  9942. -s/:*$//
  9943. -x
  9944. -s/\(=[ ]*\).*/\1/
  9945. -G
  9946. -s/\n//
  9947. -s/^[^=]*=[ ]*$//
  9948. -}'
  9949. -fi
  9950. -
  9951. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  9952. -fi # test -n "$CONFIG_FILES"
  9953. -
  9954. -# Set up the scripts for CONFIG_HEADERS section.
  9955. -# No need to generate them if there are no CONFIG_HEADERS.
  9956. -# This happens for instance with `./config.status Makefile'.
  9957. -if test -n "$CONFIG_HEADERS"; then
  9958. -cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  9959. -BEGIN {
  9960. -_ACEOF
  9961. -
  9962. -# Transform confdefs.h into an awk script `defines.awk', embedded as
  9963. -# here-document in config.status, that substitutes the proper values into
  9964. -# config.h.in to produce config.h.
  9965. -
  9966. -# Create a delimiter string that does not exist in confdefs.h, to ease
  9967. -# handling of long lines.
  9968. -ac_delim='%!_!# '
  9969. -for ac_last_try in false false :; do
  9970. - ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  9971. - if test -z "$ac_tt"; then
  9972. - break
  9973. - elif $ac_last_try; then
  9974. - as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  9975. - else
  9976. - ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  9977. - fi
  9978. -done
  9979. -
  9980. -# For the awk script, D is an array of macro values keyed by name,
  9981. -# likewise P contains macro parameters if any. Preserve backslash
  9982. -# newline sequences.
  9983. -
  9984. -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  9985. -sed -n '
  9986. -s/.\{148\}/&'"$ac_delim"'/g
  9987. -t rset
  9988. -:rset
  9989. -s/^[ ]*#[ ]*define[ ][ ]*/ /
  9990. -t def
  9991. -d
  9992. -:def
  9993. -s/\\$//
  9994. -t bsnl
  9995. -s/["\\]/\\&/g
  9996. -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  9997. -D["\1"]=" \3"/p
  9998. -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  9999. -d
  10000. -:bsnl
  10001. -s/["\\]/\\&/g
  10002. -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  10003. -D["\1"]=" \3\\\\\\n"\\/p
  10004. -t cont
  10005. -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  10006. -t cont
  10007. -d
  10008. -:cont
  10009. -n
  10010. -s/.\{148\}/&'"$ac_delim"'/g
  10011. -t clear
  10012. -:clear
  10013. -s/\\$//
  10014. -t bsnlc
  10015. -s/["\\]/\\&/g; s/^/"/; s/$/"/p
  10016. -d
  10017. -:bsnlc
  10018. -s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  10019. -b cont
  10020. -' <confdefs.h | sed '
  10021. -s/'"$ac_delim"'/"\\\
  10022. -"/g' >>$CONFIG_STATUS || ac_write_fail=1
  10023. -
  10024. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  10025. - for (key in D) D_is_set[key] = 1
  10026. - FS = ""
  10027. -}
  10028. -/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  10029. - line = \$ 0
  10030. - split(line, arg, " ")
  10031. - if (arg[1] == "#") {
  10032. - defundef = arg[2]
  10033. - mac1 = arg[3]
  10034. - } else {
  10035. - defundef = substr(arg[1], 2)
  10036. - mac1 = arg[2]
  10037. - }
  10038. - split(mac1, mac2, "(") #)
  10039. - macro = mac2[1]
  10040. - prefix = substr(line, 1, index(line, defundef) - 1)
  10041. - if (D_is_set[macro]) {
  10042. - # Preserve the white space surrounding the "#".
  10043. - print prefix "define", macro P[macro] D[macro]
  10044. - next
  10045. - } else {
  10046. - # Replace #undef with comments. This is necessary, for example,
  10047. - # in the case of _POSIX_SOURCE, which is predefined and required
  10048. - # on some systems where configure will not decide to define it.
  10049. - if (defundef == "undef") {
  10050. - print "/*", prefix defundef, macro, "*/"
  10051. - next
  10052. - }
  10053. - }
  10054. -}
  10055. -{ print }
  10056. -_ACAWK
  10057. -_ACEOF
  10058. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  10059. - as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  10060. -fi # test -n "$CONFIG_HEADERS"
  10061. -
  10062. -
  10063. -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
  10064. -shift
  10065. -for ac_tag
  10066. -do
  10067. - case $ac_tag in
  10068. - :[FHLC]) ac_mode=$ac_tag; continue;;
  10069. - esac
  10070. - case $ac_mode$ac_tag in
  10071. - :[FHL]*:*);;
  10072. - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  10073. - :[FH]-) ac_tag=-:-;;
  10074. - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  10075. - esac
  10076. - ac_save_IFS=$IFS
  10077. - IFS=:
  10078. - set x $ac_tag
  10079. - IFS=$ac_save_IFS
  10080. - shift
  10081. - ac_file=$1
  10082. - shift
  10083. -
  10084. - case $ac_mode in
  10085. - :L) ac_source=$1;;
  10086. - :[FH])
  10087. - ac_file_inputs=
  10088. - for ac_f
  10089. - do
  10090. - case $ac_f in
  10091. - -) ac_f="$ac_tmp/stdin";;
  10092. - *) # Look for the file first in the build tree, then in the source tree
  10093. - # (if the path is not absolute). The absolute path cannot be DOS-style,
  10094. - # because $ac_f cannot contain `:'.
  10095. - test -f "$ac_f" ||
  10096. - case $ac_f in
  10097. - [\\/$]*) false;;
  10098. - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  10099. - esac ||
  10100. - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  10101. - esac
  10102. - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  10103. - as_fn_append ac_file_inputs " '$ac_f'"
  10104. - done
  10105. -
  10106. - # Let's still pretend it is `configure' which instantiates (i.e., don't
  10107. - # use $as_me), people would be surprised to read:
  10108. - # /* config.h. Generated by config.status. */
  10109. - configure_input='Generated from '`
  10110. - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  10111. - `' by configure.'
  10112. - if test x"$ac_file" != x-; then
  10113. - configure_input="$ac_file. $configure_input"
  10114. - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  10115. -$as_echo "$as_me: creating $ac_file" >&6;}
  10116. - fi
  10117. - # Neutralize special characters interpreted by sed in replacement strings.
  10118. - case $configure_input in #(
  10119. - *\&* | *\|* | *\\* )
  10120. - ac_sed_conf_input=`$as_echo "$configure_input" |
  10121. - sed 's/[\\\\&|]/\\\\&/g'`;; #(
  10122. - *) ac_sed_conf_input=$configure_input;;
  10123. - esac
  10124. -
  10125. - case $ac_tag in
  10126. - *:-:* | *:-) cat >"$ac_tmp/stdin" \
  10127. - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  10128. - esac
  10129. - ;;
  10130. - esac
  10131. -
  10132. - ac_dir=`$as_dirname -- "$ac_file" ||
  10133. -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10134. - X"$ac_file" : 'X\(//\)[^/]' \| \
  10135. - X"$ac_file" : 'X\(//\)$' \| \
  10136. - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  10137. -$as_echo X"$ac_file" |
  10138. - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  10139. - s//\1/
  10140. - q
  10141. - }
  10142. - /^X\(\/\/\)[^/].*/{
  10143. - s//\1/
  10144. - q
  10145. - }
  10146. - /^X\(\/\/\)$/{
  10147. - s//\1/
  10148. - q
  10149. - }
  10150. - /^X\(\/\).*/{
  10151. - s//\1/
  10152. - q
  10153. - }
  10154. - s/.*/./; q'`
  10155. - as_dir="$ac_dir"; as_fn_mkdir_p
  10156. - ac_builddir=.
  10157. -
  10158. -case "$ac_dir" in
  10159. -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  10160. -*)
  10161. - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  10162. - # A ".." for each directory in $ac_dir_suffix.
  10163. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  10164. - case $ac_top_builddir_sub in
  10165. - "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  10166. - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  10167. - esac ;;
  10168. -esac
  10169. -ac_abs_top_builddir=$ac_pwd
  10170. -ac_abs_builddir=$ac_pwd$ac_dir_suffix
  10171. -# for backward compatibility:
  10172. -ac_top_builddir=$ac_top_build_prefix
  10173. -
  10174. -case $srcdir in
  10175. - .) # We are building in place.
  10176. - ac_srcdir=.
  10177. - ac_top_srcdir=$ac_top_builddir_sub
  10178. - ac_abs_top_srcdir=$ac_pwd ;;
  10179. - [\\/]* | ?:[\\/]* ) # Absolute name.
  10180. - ac_srcdir=$srcdir$ac_dir_suffix;
  10181. - ac_top_srcdir=$srcdir
  10182. - ac_abs_top_srcdir=$srcdir ;;
  10183. - *) # Relative name.
  10184. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  10185. - ac_top_srcdir=$ac_top_build_prefix$srcdir
  10186. - ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  10187. -esac
  10188. -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  10189. -
  10190. -
  10191. - case $ac_mode in
  10192. - :F)
  10193. - #
  10194. - # CONFIG_FILE
  10195. - #
  10196. -
  10197. - case $INSTALL in
  10198. - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  10199. - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  10200. - esac
  10201. - ac_MKDIR_P=$MKDIR_P
  10202. - case $MKDIR_P in
  10203. - [\\/$]* | ?:[\\/]* ) ;;
  10204. - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  10205. - esac
  10206. -_ACEOF
  10207. -
  10208. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  10209. -# If the template does not know about datarootdir, expand it.
  10210. -# FIXME: This hack should be removed a few years after 2.60.
  10211. -ac_datarootdir_hack=; ac_datarootdir_seen=
  10212. -ac_sed_dataroot='
  10213. -/datarootdir/ {
  10214. - p
  10215. - q
  10216. -}
  10217. -/@datadir@/p
  10218. -/@docdir@/p
  10219. -/@infodir@/p
  10220. -/@localedir@/p
  10221. -/@mandir@/p'
  10222. -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  10223. -*datarootdir*) ac_datarootdir_seen=yes;;
  10224. -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  10225. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  10226. -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  10227. -_ACEOF
  10228. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  10229. - ac_datarootdir_hack='
  10230. - s&@datadir@&$datadir&g
  10231. - s&@docdir@&$docdir&g
  10232. - s&@infodir@&$infodir&g
  10233. - s&@localedir@&$localedir&g
  10234. - s&@mandir@&$mandir&g
  10235. - s&\\\${datarootdir}&$datarootdir&g' ;;
  10236. -esac
  10237. -_ACEOF
  10238. -
  10239. -# Neutralize VPATH when `$srcdir' = `.'.
  10240. -# Shell code in configure.ac might set extrasub.
  10241. -# FIXME: do we really want to maintain this feature?
  10242. -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  10243. -ac_sed_extra="$ac_vpsub
  10244. -$extrasub
  10245. -_ACEOF
  10246. -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  10247. -:t
  10248. -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  10249. -s|@configure_input@|$ac_sed_conf_input|;t t
  10250. -s&@top_builddir@&$ac_top_builddir_sub&;t t
  10251. -s&@top_build_prefix@&$ac_top_build_prefix&;t t
  10252. -s&@srcdir@&$ac_srcdir&;t t
  10253. -s&@abs_srcdir@&$ac_abs_srcdir&;t t
  10254. -s&@top_srcdir@&$ac_top_srcdir&;t t
  10255. -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  10256. -s&@builddir@&$ac_builddir&;t t
  10257. -s&@abs_builddir@&$ac_abs_builddir&;t t
  10258. -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  10259. -s&@INSTALL@&$ac_INSTALL&;t t
  10260. -s&@MKDIR_P@&$ac_MKDIR_P&;t t
  10261. -$ac_datarootdir_hack
  10262. -"
  10263. -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  10264. - >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  10265. -
  10266. -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  10267. - { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  10268. - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  10269. - "$ac_tmp/out"`; test -z "$ac_out"; } &&
  10270. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  10271. -which seems to be undefined. Please make sure it is defined" >&5
  10272. -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  10273. -which seems to be undefined. Please make sure it is defined" >&2;}
  10274. -
  10275. - rm -f "$ac_tmp/stdin"
  10276. - case $ac_file in
  10277. - -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  10278. - *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  10279. - esac \
  10280. - || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  10281. - ;;
  10282. - :H)
  10283. - #
  10284. - # CONFIG_HEADER
  10285. - #
  10286. - if test x"$ac_file" != x-; then
  10287. - {
  10288. - $as_echo "/* $configure_input */" \
  10289. - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  10290. - } >"$ac_tmp/config.h" \
  10291. - || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  10292. - if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  10293. - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  10294. -$as_echo "$as_me: $ac_file is unchanged" >&6;}
  10295. - else
  10296. - rm -f "$ac_file"
  10297. - mv "$ac_tmp/config.h" "$ac_file" \
  10298. - || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  10299. - fi
  10300. - else
  10301. - $as_echo "/* $configure_input */" \
  10302. - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  10303. - || as_fn_error $? "could not create -" "$LINENO" 5
  10304. - fi
  10305. - ;;
  10306. -
  10307. -
  10308. - esac
  10309. -
  10310. -done # for ac_tag
  10311. -
  10312. -
  10313. -as_fn_exit 0
  10314. -_ACEOF
  10315. -ac_clean_files=$ac_clean_files_save
  10316. -
  10317. -test $ac_write_fail = 0 ||
  10318. - as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  10319. -
  10320. -
  10321. -# configure is writing to config.log, and then calls config.status.
  10322. -# config.status does its own redirection, appending to config.log.
  10323. -# Unfortunately, on DOS this fails, as config.log is still kept open
  10324. -# by configure, so config.status won't be able to write to it; its
  10325. -# output is simply discarded. So we exec the FD to /dev/null,
  10326. -# effectively closing config.log, so it can be properly (re)opened and
  10327. -# appended to by config.status. When coming back to configure, we
  10328. -# need to make the FD available again.
  10329. -if test "$no_create" != yes; then
  10330. - ac_cs_success=:
  10331. - ac_config_status_args=
  10332. - test "$silent" = yes &&
  10333. - ac_config_status_args="$ac_config_status_args --quiet"
  10334. - exec 5>/dev/null
  10335. - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  10336. - exec 5>>config.log
  10337. - # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  10338. - # would make configure fail if this is the last instruction.
  10339. - $ac_cs_success || as_fn_exit 1
  10340. -fi
  10341. -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  10342. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  10343. -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  10344. -fi
  10345. -
  10346. -
  10347. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
  10348. -$as_echo "" >&6; }
  10349. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: rsync ${RSYNC_VERSION} configuration successful" >&5
  10350. -$as_echo " rsync ${RSYNC_VERSION} configuration successful" >&6; }
  10351. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
  10352. -$as_echo "" >&6; }
  10353. -if test x$HAVE_YODL2MAN != x1; then
  10354. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: Note that yodl2man was not found, so pre-existing manpage files will be" >&5
  10355. -$as_echo " Note that yodl2man was not found, so pre-existing manpage files will be" >&6; }
  10356. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: used w/o change (if available) -- no .yo file changes will be used." >&5
  10357. -$as_echo " used w/o change (if available) -- no .yo file changes will be used." >&6; }
  10358. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
  10359. -$as_echo "" >&6; }
  10360. -fi