"Fossies" - the Fresh Open Source Software Archive 
Member "scponly-20110526/configure" (27 May 2011, 209082 Bytes) of package /linux/privat/old/scponly-20110526.tgz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "configure":
4.8_vs_20110526.
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for scponly 4.8.
4 #
5 # Report bugs to <joe@sublimation.org>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" "" $as_nl"
92
93 # Find who we are. Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104 IFS=$as_save_IFS
105
106 ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111 as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147 else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153 esac
154 fi
155 "
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170 exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
179 as_have_required=yes
180 else
181 as_have_required=no
182 fi
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185 else
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 do
190 IFS=$as_save_IFS
191 test -z "$as_dir" && as_dir=.
192 as_found=:
193 case $as_dir in #(
194 /*)
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202 break 2
203 fi
204 fi
205 done;;
206 esac
207 as_found=false
208 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
214
215
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
221 BASH_ENV=/dev/null
222 ENV=/dev/null
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 export CONFIG_SHELL
225 case $- in # ((((
226 *v*x* | *x*v* ) as_opts=-vx ;;
227 *v* ) as_opts=-v ;;
228 *x* ) as_opts=-x ;;
229 * ) as_opts= ;;
230 esac
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 fi
233
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
240 else
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: joe@sublimation.org about your system, including any
243 $0: error possibly output before this message. Then install
244 $0: a modern shell, or manually run the script under such a
245 $0: shell if you do have one."
246 fi
247 exit 1
248 fi
249 fi
250 fi
251 SHELL=${CONFIG_SHELL-/bin/sh}
252 export SHELL
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
256
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
260 # as_fn_unset VAR
261 # ---------------
262 # Portably unset VAR.
263 as_fn_unset ()
264 {
265 { eval $1=; unset $1;}
266 }
267 as_unset=as_fn_unset
268
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
272 as_fn_set_status ()
273 {
274 return $1
275 } # as_fn_set_status
276
277 # as_fn_exit STATUS
278 # -----------------
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280 as_fn_exit ()
281 {
282 set +e
283 as_fn_set_status $1
284 exit $1
285 } # as_fn_exit
286
287 # as_fn_mkdir_p
288 # -------------
289 # Create "$as_dir" as a directory, including parents if necessary.
290 as_fn_mkdir_p ()
291 {
292
293 case $as_dir in #(
294 -*) as_dir=./$as_dir;;
295 esac
296 test -d "$as_dir" || eval $as_mkdir_p || {
297 as_dirs=
298 while :; do
299 case $as_dir in #(
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
301 *) as_qdir=$as_dir;;
302 esac
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
311 s//\1/
312 q
313 }
314 /^X\(\/\/\)[^/].*/{
315 s//\1/
316 q
317 }
318 /^X\(\/\/\)$/{
319 s//\1/
320 q
321 }
322 /^X\(\/\).*/{
323 s//\1/
324 q
325 }
326 s/.*/./; q'`
327 test -d "$as_dir" && break
328 done
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331
332
333 } # as_fn_mkdir_p
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
339 # implementations.
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
342 {
343 eval $1+=\$2
344 }'
345 else
346 as_fn_append ()
347 {
348 eval $1=\$$1\$2
349 }
350 fi # as_fn_append
351
352 # as_fn_arith ARG...
353 # ------------------
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 eval 'as_fn_arith ()
359 {
360 as_val=$(( $* ))
361 }'
362 else
363 as_fn_arith ()
364 {
365 as_val=`expr "$@" || test $? -eq 1`
366 }
367 fi # as_fn_arith
368
369
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
375 as_fn_error ()
376 {
377 as_status=$1; test $as_status -eq 0 && as_status=1
378 if test "$4"; then
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
381 fi
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
384 } # as_fn_error
385
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
388 as_expr=expr
389 else
390 as_expr=false
391 fi
392
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 as_basename=basename
395 else
396 as_basename=false
397 fi
398
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
400 as_dirname=dirname
401 else
402 as_dirname=false
403 fi
404
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
409 $as_echo X/"$0" |
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 s//\1/
412 q
413 }
414 /^X\/\(\/\/\)$/{
415 s//\1/
416 q
417 }
418 /^X\/\(\/\).*/{
419 s//\1/
420 q
421 }
422 s/.*/./; q'`
423
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
430
431
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 sed -n '
438 p
439 /[$]LINENO/=
440 ' <$as_myself |
441 sed '
442 s/[$]LINENO.*/&-/
443 t lineno
444 b
445 :lineno
446 N
447 :loop
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 t loop
450 s/-\n.*//
451 ' >$as_me.lineno &&
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
454
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
458 . "./$as_me.lineno"
459 # Exit status is that of the last command.
460 exit
461 }
462
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
465 -n*)
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
468 xy) ECHO_C='\c';;
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
470 ECHO_T=' ';;
471 esac;;
472 *)
473 ECHO_N='-n';;
474 esac
475
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
479 else
480 rm -f conf$$.dir
481 mkdir conf$$.dir 2>/dev/null
482 fi
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
485 as_ln_s='ln -s'
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
491 as_ln_s='cp -p'
492 elif ln conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s=ln
494 else
495 as_ln_s='cp -p'
496 fi
497 else
498 as_ln_s='cp -p'
499 fi
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
502
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
505 else
506 test -d ./-p && rmdir ./-p
507 as_mkdir_p=false
508 fi
509
510 if test -x / >/dev/null 2>&1; then
511 as_test_x='test -x'
512 else
513 if ls -dL / >/dev/null 2>&1; then
514 as_ls_L_option=L
515 else
516 as_ls_L_option=
517 fi
518 as_test_x='
519 eval sh -c '\''
520 if test -d "$1"; then
521 test -d "$1/.";
522 else
523 case $1 in #(
524 -*)set "./$1";;
525 esac;
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
528 '\'' sh
529 '
530 fi
531 as_executable_p=$as_test_x
532
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
538
539
540 test -n "$DJDIR" || exec 7<&0 </dev/null
541 exec 6>&1
542
543 # Name of the host.
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547
548 #
549 # Initializations.
550 #
551 ac_default_prefix=/usr/local
552 ac_clean_files=
553 ac_config_libobj_dir=.
554 LIBOBJS=
555 cross_compiling=no
556 subdirs=
557 MFLAGS=
558 MAKEFLAGS=
559
560 # Identity of this package.
561 PACKAGE_NAME='scponly'
562 PACKAGE_TARNAME='scponly'
563 PACKAGE_VERSION='4.8'
564 PACKAGE_STRING='scponly 4.8'
565 PACKAGE_BUGREPORT='joe@sublimation.org'
566 PACKAGE_URL=''
567
568 # Factoring default headers for most tests.
569 ac_includes_default="\
570 #include <stdio.h>
571 #ifdef HAVE_SYS_TYPES_H
572 # include <sys/types.h>
573 #endif
574 #ifdef HAVE_SYS_STAT_H
575 # include <sys/stat.h>
576 #endif
577 #ifdef STDC_HEADERS
578 # include <stdlib.h>
579 # include <stddef.h>
580 #else
581 # ifdef HAVE_STDLIB_H
582 # include <stdlib.h>
583 # endif
584 #endif
585 #ifdef HAVE_STRING_H
586 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 # include <memory.h>
588 # endif
589 # include <string.h>
590 #endif
591 #ifdef HAVE_STRINGS_H
592 # include <strings.h>
593 #endif
594 #ifdef HAVE_INTTYPES_H
595 # include <inttypes.h>
596 #endif
597 #ifdef HAVE_STDINT_H
598 # include <stdint.h>
599 #endif
600 #ifdef HAVE_UNISTD_H
601 # include <unistd.h>
602 #endif"
603
604 ac_subst_vars='LTLIBOBJS
605 LIBOBJS
606 ALLOCA
607 EGREP
608 GREP
609 CPP
610 scponly_PROG_QUOTA
611 scponly_PROG_PASSWD
612 scponly_PROG_SVN
613 scponly_PROG_SVNSERV
614 scponly_PROG_RSYNC
615 scponly_PROG_UNISON
616 scponly_PROG_ECHO
617 scponly_PROG_ID
618 scponly_PROG_GROUPS
619 scponly_PROG_PWD
620 scponly_PROG_RMDIR
621 scponly_PROG_MKDIR
622 scponly_PROG_CHGRP
623 scponly_PROG_CHOWN
624 scponly_PROG_CHMOD
625 scponly_PROG_MV
626 scponly_PROG_LN
627 scponly_PROG_RM
628 scponly_PROG_SCP
629 scponly_PROG_LS
630 scponly_PROG_SFTP_SERVER
631 CHROOTED_NAME
632 PROG_PWD_MKDB
633 PROG_RM
634 PROG_PW
635 PROG_ID
636 PROG_DIRNAME
637 PROG_CHMOD
638 PROG_CHOWN
639 PROG_USERADD
640 PROG_LDD
641 PROG_SORT
642 PROG_GREP
643 PROG_CUT
644 LN_S
645 INSTALL_DATA
646 INSTALL_SCRIPT
647 INSTALL_PROGRAM
648 OBJEXT
649 EXEEXT
650 ac_ct_CC
651 CPPFLAGS
652 LDFLAGS
653 CFLAGS
654 CC
655 host_os
656 host_vendor
657 host_cpu
658 host
659 build_os
660 build_vendor
661 build_cpu
662 build
663 target_alias
664 host_alias
665 build_alias
666 LIBS
667 ECHO_T
668 ECHO_N
669 ECHO_C
670 DEFS
671 mandir
672 localedir
673 libdir
674 psdir
675 pdfdir
676 dvidir
677 htmldir
678 infodir
679 docdir
680 oldincludedir
681 includedir
682 localstatedir
683 sharedstatedir
684 sysconfdir
685 datadir
686 datarootdir
687 libexecdir
688 sbindir
689 bindir
690 program_transform_name
691 prefix
692 exec_prefix
693 PACKAGE_URL
694 PACKAGE_BUGREPORT
695 PACKAGE_STRING
696 PACKAGE_VERSION
697 PACKAGE_TARNAME
698 PACKAGE_NAME
699 PATH_SEPARATOR
700 SHELL'
701 ac_subst_files=''
702 ac_user_opts='
703 enable_option_checking
704 enable_restrictive_names
705 enable_wildcards
706 enable_gftp_compat
707 with_sftp_server
708 enable_winscp_compat
709 with_default_chdir
710 enable_unison_compat
711 enable_scp_compat
712 enable_rsync_compat
713 enable_chrooted_binary
714 enable_chroot_checkdir
715 enable_svn_compat
716 enable_svnserv_compat
717 enable_passwd_compat
718 enable_quota_compat
719 '
720 ac_precious_vars='build_alias
721 host_alias
722 target_alias
723 CC
724 CFLAGS
725 LDFLAGS
726 LIBS
727 CPPFLAGS
728 CPP'
729
730
731 # Initialize some variables set by options.
732 ac_init_help=
733 ac_init_version=false
734 ac_unrecognized_opts=
735 ac_unrecognized_sep=
736 # The variables have the same names as the options, with
737 # dashes changed to underlines.
738 cache_file=/dev/null
739 exec_prefix=NONE
740 no_create=
741 no_recursion=
742 prefix=NONE
743 program_prefix=NONE
744 program_suffix=NONE
745 program_transform_name=s,x,x,
746 silent=
747 site=
748 srcdir=
749 verbose=
750 x_includes=NONE
751 x_libraries=NONE
752
753 # Installation directory options.
754 # These are left unexpanded so users can "make install exec_prefix=/foo"
755 # and all the variables that are supposed to be based on exec_prefix
756 # by default will actually change.
757 # Use braces instead of parens because sh, perl, etc. also accept them.
758 # (The list follows the same order as the GNU Coding Standards.)
759 bindir='${exec_prefix}/bin'
760 sbindir='${exec_prefix}/sbin'
761 libexecdir='${exec_prefix}/libexec'
762 datarootdir='${prefix}/share'
763 datadir='${datarootdir}'
764 sysconfdir='${prefix}/etc'
765 sharedstatedir='${prefix}/com'
766 localstatedir='${prefix}/var'
767 includedir='${prefix}/include'
768 oldincludedir='/usr/include'
769 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
770 infodir='${datarootdir}/info'
771 htmldir='${docdir}'
772 dvidir='${docdir}'
773 pdfdir='${docdir}'
774 psdir='${docdir}'
775 libdir='${exec_prefix}/lib'
776 localedir='${datarootdir}/locale'
777 mandir='${datarootdir}/man'
778
779 ac_prev=
780 ac_dashdash=
781 for ac_option
782 do
783 # If the previous option needs an argument, assign it.
784 if test -n "$ac_prev"; then
785 eval $ac_prev=\$ac_option
786 ac_prev=
787 continue
788 fi
789
790 case $ac_option in
791 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
792 *=) ac_optarg= ;;
793 *) ac_optarg=yes ;;
794 esac
795
796 # Accept the important Cygnus configure options, so we can diagnose typos.
797
798 case $ac_dashdash$ac_option in
799 --)
800 ac_dashdash=yes ;;
801
802 -bindir | --bindir | --bindi | --bind | --bin | --bi)
803 ac_prev=bindir ;;
804 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
805 bindir=$ac_optarg ;;
806
807 -build | --build | --buil | --bui | --bu)
808 ac_prev=build_alias ;;
809 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
810 build_alias=$ac_optarg ;;
811
812 -cache-file | --cache-file | --cache-fil | --cache-fi \
813 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
814 ac_prev=cache_file ;;
815 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
816 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
817 cache_file=$ac_optarg ;;
818
819 --config-cache | -C)
820 cache_file=config.cache ;;
821
822 -datadir | --datadir | --datadi | --datad)
823 ac_prev=datadir ;;
824 -datadir=* | --datadir=* | --datadi=* | --datad=*)
825 datadir=$ac_optarg ;;
826
827 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
828 | --dataroo | --dataro | --datar)
829 ac_prev=datarootdir ;;
830 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
831 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
832 datarootdir=$ac_optarg ;;
833
834 -disable-* | --disable-*)
835 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
838 as_fn_error $? "invalid feature name: $ac_useropt"
839 ac_useropt_orig=$ac_useropt
840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
841 case $ac_user_opts in
842 *"
843 "enable_$ac_useropt"
844 "*) ;;
845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
846 ac_unrecognized_sep=', ';;
847 esac
848 eval enable_$ac_useropt=no ;;
849
850 -docdir | --docdir | --docdi | --doc | --do)
851 ac_prev=docdir ;;
852 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
853 docdir=$ac_optarg ;;
854
855 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
856 ac_prev=dvidir ;;
857 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
858 dvidir=$ac_optarg ;;
859
860 -enable-* | --enable-*)
861 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
862 # Reject names that are not valid shell variable names.
863 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
864 as_fn_error $? "invalid feature name: $ac_useropt"
865 ac_useropt_orig=$ac_useropt
866 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
867 case $ac_user_opts in
868 *"
869 "enable_$ac_useropt"
870 "*) ;;
871 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
872 ac_unrecognized_sep=', ';;
873 esac
874 eval enable_$ac_useropt=\$ac_optarg ;;
875
876 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
877 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
878 | --exec | --exe | --ex)
879 ac_prev=exec_prefix ;;
880 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
881 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
882 | --exec=* | --exe=* | --ex=*)
883 exec_prefix=$ac_optarg ;;
884
885 -gas | --gas | --ga | --g)
886 # Obsolete; use --with-gas.
887 with_gas=yes ;;
888
889 -help | --help | --hel | --he | -h)
890 ac_init_help=long ;;
891 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
892 ac_init_help=recursive ;;
893 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
894 ac_init_help=short ;;
895
896 -host | --host | --hos | --ho)
897 ac_prev=host_alias ;;
898 -host=* | --host=* | --hos=* | --ho=*)
899 host_alias=$ac_optarg ;;
900
901 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
902 ac_prev=htmldir ;;
903 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
904 | --ht=*)
905 htmldir=$ac_optarg ;;
906
907 -includedir | --includedir | --includedi | --included | --include \
908 | --includ | --inclu | --incl | --inc)
909 ac_prev=includedir ;;
910 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
911 | --includ=* | --inclu=* | --incl=* | --inc=*)
912 includedir=$ac_optarg ;;
913
914 -infodir | --infodir | --infodi | --infod | --info | --inf)
915 ac_prev=infodir ;;
916 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
917 infodir=$ac_optarg ;;
918
919 -libdir | --libdir | --libdi | --libd)
920 ac_prev=libdir ;;
921 -libdir=* | --libdir=* | --libdi=* | --libd=*)
922 libdir=$ac_optarg ;;
923
924 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
925 | --libexe | --libex | --libe)
926 ac_prev=libexecdir ;;
927 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
928 | --libexe=* | --libex=* | --libe=*)
929 libexecdir=$ac_optarg ;;
930
931 -localedir | --localedir | --localedi | --localed | --locale)
932 ac_prev=localedir ;;
933 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
934 localedir=$ac_optarg ;;
935
936 -localstatedir | --localstatedir | --localstatedi | --localstated \
937 | --localstate | --localstat | --localsta | --localst | --locals)
938 ac_prev=localstatedir ;;
939 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
940 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
941 localstatedir=$ac_optarg ;;
942
943 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
944 ac_prev=mandir ;;
945 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
946 mandir=$ac_optarg ;;
947
948 -nfp | --nfp | --nf)
949 # Obsolete; use --without-fp.
950 with_fp=no ;;
951
952 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
953 | --no-cr | --no-c | -n)
954 no_create=yes ;;
955
956 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
957 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
958 no_recursion=yes ;;
959
960 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
961 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
962 | --oldin | --oldi | --old | --ol | --o)
963 ac_prev=oldincludedir ;;
964 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
965 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
966 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
967 oldincludedir=$ac_optarg ;;
968
969 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
970 ac_prev=prefix ;;
971 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
972 prefix=$ac_optarg ;;
973
974 -program-prefix | --program-prefix | --program-prefi | --program-pref \
975 | --program-pre | --program-pr | --program-p)
976 ac_prev=program_prefix ;;
977 -program-prefix=* | --program-prefix=* | --program-prefi=* \
978 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
979 program_prefix=$ac_optarg ;;
980
981 -program-suffix | --program-suffix | --program-suffi | --program-suff \
982 | --program-suf | --program-su | --program-s)
983 ac_prev=program_suffix ;;
984 -program-suffix=* | --program-suffix=* | --program-suffi=* \
985 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
986 program_suffix=$ac_optarg ;;
987
988 -program-transform-name | --program-transform-name \
989 | --program-transform-nam | --program-transform-na \
990 | --program-transform-n | --program-transform- \
991 | --program-transform | --program-transfor \
992 | --program-transfo | --program-transf \
993 | --program-trans | --program-tran \
994 | --progr-tra | --program-tr | --program-t)
995 ac_prev=program_transform_name ;;
996 -program-transform-name=* | --program-transform-name=* \
997 | --program-transform-nam=* | --program-transform-na=* \
998 | --program-transform-n=* | --program-transform-=* \
999 | --program-transform=* | --program-transfor=* \
1000 | --program-transfo=* | --program-transf=* \
1001 | --program-trans=* | --program-tran=* \
1002 | --progr-tra=* | --program-tr=* | --program-t=*)
1003 program_transform_name=$ac_optarg ;;
1004
1005 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1006 ac_prev=pdfdir ;;
1007 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1008 pdfdir=$ac_optarg ;;
1009
1010 -psdir | --psdir | --psdi | --psd | --ps)
1011 ac_prev=psdir ;;
1012 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1013 psdir=$ac_optarg ;;
1014
1015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1016 | -silent | --silent | --silen | --sile | --sil)
1017 silent=yes ;;
1018
1019 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1020 ac_prev=sbindir ;;
1021 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1022 | --sbi=* | --sb=*)
1023 sbindir=$ac_optarg ;;
1024
1025 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1026 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1027 | --sharedst | --shareds | --shared | --share | --shar \
1028 | --sha | --sh)
1029 ac_prev=sharedstatedir ;;
1030 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1031 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1032 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1033 | --sha=* | --sh=*)
1034 sharedstatedir=$ac_optarg ;;
1035
1036 -site | --site | --sit)
1037 ac_prev=site ;;
1038 -site=* | --site=* | --sit=*)
1039 site=$ac_optarg ;;
1040
1041 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1042 ac_prev=srcdir ;;
1043 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1044 srcdir=$ac_optarg ;;
1045
1046 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1047 | --syscon | --sysco | --sysc | --sys | --sy)
1048 ac_prev=sysconfdir ;;
1049 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1050 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1051 sysconfdir=$ac_optarg ;;
1052
1053 -target | --target | --targe | --targ | --tar | --ta | --t)
1054 ac_prev=target_alias ;;
1055 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1056 target_alias=$ac_optarg ;;
1057
1058 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1059 verbose=yes ;;
1060
1061 -version | --version | --versio | --versi | --vers | -V)
1062 ac_init_version=: ;;
1063
1064 -with-* | --with-*)
1065 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068 as_fn_error $? "invalid package name: $ac_useropt"
1069 ac_useropt_orig=$ac_useropt
1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071 case $ac_user_opts in
1072 *"
1073 "with_$ac_useropt"
1074 "*) ;;
1075 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1076 ac_unrecognized_sep=', ';;
1077 esac
1078 eval with_$ac_useropt=\$ac_optarg ;;
1079
1080 -without-* | --without-*)
1081 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1082 # Reject names that are not valid shell variable names.
1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1084 as_fn_error $? "invalid package name: $ac_useropt"
1085 ac_useropt_orig=$ac_useropt
1086 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087 case $ac_user_opts in
1088 *"
1089 "with_$ac_useropt"
1090 "*) ;;
1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1092 ac_unrecognized_sep=', ';;
1093 esac
1094 eval with_$ac_useropt=no ;;
1095
1096 --x)
1097 # Obsolete; use --with-x.
1098 with_x=yes ;;
1099
1100 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1101 | --x-incl | --x-inc | --x-in | --x-i)
1102 ac_prev=x_includes ;;
1103 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1104 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1105 x_includes=$ac_optarg ;;
1106
1107 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1108 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1109 ac_prev=x_libraries ;;
1110 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1111 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1112 x_libraries=$ac_optarg ;;
1113
1114 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1115 Try \`$0 --help' for more information"
1116 ;;
1117
1118 *=*)
1119 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1120 # Reject names that are not valid shell variable names.
1121 case $ac_envvar in #(
1122 '' | [0-9]* | *[!_$as_cr_alnum]* )
1123 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1124 esac
1125 eval $ac_envvar=\$ac_optarg
1126 export $ac_envvar ;;
1127
1128 *)
1129 # FIXME: should be removed in autoconf 3.0.
1130 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1131 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1132 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1133 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1134 ;;
1135
1136 esac
1137 done
1138
1139 if test -n "$ac_prev"; then
1140 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1141 as_fn_error $? "missing argument to $ac_option"
1142 fi
1143
1144 if test -n "$ac_unrecognized_opts"; then
1145 case $enable_option_checking in
1146 no) ;;
1147 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1148 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1149 esac
1150 fi
1151
1152 # Check all directory arguments for consistency.
1153 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1154 datadir sysconfdir sharedstatedir localstatedir includedir \
1155 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1156 libdir localedir mandir
1157 do
1158 eval ac_val=\$$ac_var
1159 # Remove trailing slashes.
1160 case $ac_val in
1161 */ )
1162 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1163 eval $ac_var=\$ac_val;;
1164 esac
1165 # Be sure to have absolute directory names.
1166 case $ac_val in
1167 [\\/$]* | ?:[\\/]* ) continue;;
1168 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1169 esac
1170 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1171 done
1172
1173 # There might be people who depend on the old broken behavior: `$host'
1174 # used to hold the argument of --host etc.
1175 # FIXME: To remove some day.
1176 build=$build_alias
1177 host=$host_alias
1178 target=$target_alias
1179
1180 # FIXME: To remove some day.
1181 if test "x$host_alias" != x; then
1182 if test "x$build_alias" = x; then
1183 cross_compiling=maybe
1184 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1185 If a cross compiler is detected then cross compile mode will be used" >&2
1186 elif test "x$build_alias" != "x$host_alias"; then
1187 cross_compiling=yes
1188 fi
1189 fi
1190
1191 ac_tool_prefix=
1192 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1193
1194 test "$silent" = yes && exec 6>/dev/null
1195
1196
1197 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1198 ac_ls_di=`ls -di .` &&
1199 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1200 as_fn_error $? "working directory cannot be determined"
1201 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1202 as_fn_error $? "pwd does not report name of working directory"
1203
1204
1205 # Find the source files, if location was not specified.
1206 if test -z "$srcdir"; then
1207 ac_srcdir_defaulted=yes
1208 # Try the directory containing this script, then the parent directory.
1209 ac_confdir=`$as_dirname -- "$as_myself" ||
1210 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1211 X"$as_myself" : 'X\(//\)[^/]' \| \
1212 X"$as_myself" : 'X\(//\)$' \| \
1213 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1214 $as_echo X"$as_myself" |
1215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1216 s//\1/
1217 q
1218 }
1219 /^X\(\/\/\)[^/].*/{
1220 s//\1/
1221 q
1222 }
1223 /^X\(\/\/\)$/{
1224 s//\1/
1225 q
1226 }
1227 /^X\(\/\).*/{
1228 s//\1/
1229 q
1230 }
1231 s/.*/./; q'`
1232 srcdir=$ac_confdir
1233 if test ! -r "$srcdir/$ac_unique_file"; then
1234 srcdir=..
1235 fi
1236 else
1237 ac_srcdir_defaulted=no
1238 fi
1239 if test ! -r "$srcdir/$ac_unique_file"; then
1240 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1241 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1242 fi
1243 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1244 ac_abs_confdir=`(
1245 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1246 pwd)`
1247 # When building in place, set srcdir=.
1248 if test "$ac_abs_confdir" = "$ac_pwd"; then
1249 srcdir=.
1250 fi
1251 # Remove unnecessary trailing slashes from srcdir.
1252 # Double slashes in file names in object file debugging info
1253 # mess up M-x gdb in Emacs.
1254 case $srcdir in
1255 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1256 esac
1257 for ac_var in $ac_precious_vars; do
1258 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1259 eval ac_env_${ac_var}_value=\$${ac_var}
1260 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1261 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1262 done
1263
1264 #
1265 # Report the --help message.
1266 #
1267 if test "$ac_init_help" = "long"; then
1268 # Omit some internal or obsolete options to make the list less imposing.
1269 # This message is too long to be a string in the A/UX 3.1 sh.
1270 cat <<_ACEOF
1271 \`configure' configures scponly 4.8 to adapt to many kinds of systems.
1272
1273 Usage: $0 [OPTION]... [VAR=VALUE]...
1274
1275 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1276 VAR=VALUE. See below for descriptions of some of the useful variables.
1277
1278 Defaults for the options are specified in brackets.
1279
1280 Configuration:
1281 -h, --help display this help and exit
1282 --help=short display options specific to this package
1283 --help=recursive display the short help of all the included packages
1284 -V, --version display version information and exit
1285 -q, --quiet, --silent do not print \`checking ...' messages
1286 --cache-file=FILE cache test results in FILE [disabled]
1287 -C, --config-cache alias for \`--cache-file=config.cache'
1288 -n, --no-create do not create output files
1289 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1290
1291 Installation directories:
1292 --prefix=PREFIX install architecture-independent files in PREFIX
1293 [$ac_default_prefix]
1294 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1295 [PREFIX]
1296
1297 By default, \`make install' will install all the files in
1298 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1299 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1300 for instance \`--prefix=\$HOME'.
1301
1302 For better control, use the options below.
1303
1304 Fine tuning of the installation directories:
1305 --bindir=DIR user executables [EPREFIX/bin]
1306 --sbindir=DIR system admin executables [EPREFIX/sbin]
1307 --libexecdir=DIR program executables [EPREFIX/libexec]
1308 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1309 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1310 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1311 --libdir=DIR object code libraries [EPREFIX/lib]
1312 --includedir=DIR C header files [PREFIX/include]
1313 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1314 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1315 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1316 --infodir=DIR info documentation [DATAROOTDIR/info]
1317 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1318 --mandir=DIR man documentation [DATAROOTDIR/man]
1319 --docdir=DIR documentation root [DATAROOTDIR/doc/scponly]
1320 --htmldir=DIR html documentation [DOCDIR]
1321 --dvidir=DIR dvi documentation [DOCDIR]
1322 --pdfdir=DIR pdf documentation [DOCDIR]
1323 --psdir=DIR ps documentation [DOCDIR]
1324 _ACEOF
1325
1326 cat <<\_ACEOF
1327
1328 System types:
1329 --build=BUILD configure for building on BUILD [guessed]
1330 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1331 _ACEOF
1332 fi
1333
1334 if test -n "$ac_init_help"; then
1335 case $ac_init_help in
1336 short | recursive ) echo "Configuration of scponly 4.8:";;
1337 esac
1338 cat <<\_ACEOF
1339
1340 Optional Features:
1341 --disable-option-checking ignore unrecognized --enable/--with options
1342 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1343 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1344 --disable-restrictive-names
1345 disable restrictive filename checks
1346 --disable-wildcards disable wildcard processing
1347 --disable-gftp-compat disable gftp compatibility
1348 --enable-winscp-compat enable winscp (and scp) compatibility
1349 --enable-unison-compat enable unison compatibility
1350 --enable-scp-compat enable scp compatibility
1351 --enable-rsync-compat enable rsync compatibility
1352 --enable-chrooted-binary
1353 install chrooted binary 'scponlyc'
1354 --disable-chroot-checkdir
1355 disable checking chroot dir ownership
1356 --enable-svn-compat enable subversion SCS cli compatibility
1357 --enable-svnserv-compat enable subversion SCS svnserve compatibility
1358 --enable-passwd-compat enable passwd compatibility
1359 --enable-quota-compat enable quota compatibility
1360
1361 Optional Packages:
1362 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1363 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1364 --with-sftp-server path to sftp-server binary [defaults to on+guessed]
1365 --with-default-chdir=DIR
1366 cd to this directory after authentication (only for
1367 interactive logins)
1368
1369 Some influential environment variables:
1370 CC C compiler command
1371 CFLAGS C compiler flags
1372 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1373 nonstandard directory <lib dir>
1374 LIBS libraries to pass to the linker, e.g. -l<library>
1375 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1376 you have headers in a nonstandard directory <include dir>
1377 CPP C preprocessor
1378
1379 Use these variables to override the choices made by `configure' or to help
1380 it to find libraries and programs with nonstandard names/locations.
1381
1382 Report bugs to <joe@sublimation.org>.
1383 _ACEOF
1384 ac_status=$?
1385 fi
1386
1387 if test "$ac_init_help" = "recursive"; then
1388 # If there are subdirs, report their specific --help.
1389 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1390 test -d "$ac_dir" ||
1391 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1392 continue
1393 ac_builddir=.
1394
1395 case "$ac_dir" in
1396 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1397 *)
1398 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1399 # A ".." for each directory in $ac_dir_suffix.
1400 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1401 case $ac_top_builddir_sub in
1402 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1403 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1404 esac ;;
1405 esac
1406 ac_abs_top_builddir=$ac_pwd
1407 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1408 # for backward compatibility:
1409 ac_top_builddir=$ac_top_build_prefix
1410
1411 case $srcdir in
1412 .) # We are building in place.
1413 ac_srcdir=.
1414 ac_top_srcdir=$ac_top_builddir_sub
1415 ac_abs_top_srcdir=$ac_pwd ;;
1416 [\\/]* | ?:[\\/]* ) # Absolute name.
1417 ac_srcdir=$srcdir$ac_dir_suffix;
1418 ac_top_srcdir=$srcdir
1419 ac_abs_top_srcdir=$srcdir ;;
1420 *) # Relative name.
1421 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1422 ac_top_srcdir=$ac_top_build_prefix$srcdir
1423 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1424 esac
1425 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1426
1427 cd "$ac_dir" || { ac_status=$?; continue; }
1428 # Check for guested configure.
1429 if test -f "$ac_srcdir/configure.gnu"; then
1430 echo &&
1431 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1432 elif test -f "$ac_srcdir/configure"; then
1433 echo &&
1434 $SHELL "$ac_srcdir/configure" --help=recursive
1435 else
1436 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1437 fi || ac_status=$?
1438 cd "$ac_pwd" || { ac_status=$?; break; }
1439 done
1440 fi
1441
1442 test -n "$ac_init_help" && exit $ac_status
1443 if $ac_init_version; then
1444 cat <<\_ACEOF
1445 scponly configure 4.8
1446 generated by GNU Autoconf 2.68
1447
1448 Copyright (C) 2010 Free Software Foundation, Inc.
1449 This configure script is free software; the Free Software Foundation
1450 gives unlimited permission to copy, distribute and modify it.
1451 _ACEOF
1452 exit
1453 fi
1454
1455 ## ------------------------ ##
1456 ## Autoconf initialization. ##
1457 ## ------------------------ ##
1458
1459 # ac_fn_c_try_compile LINENO
1460 # --------------------------
1461 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1462 ac_fn_c_try_compile ()
1463 {
1464 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1465 rm -f conftest.$ac_objext
1466 if { { ac_try="$ac_compile"
1467 case "(($ac_try" in
1468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1469 *) ac_try_echo=$ac_try;;
1470 esac
1471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1472 $as_echo "$ac_try_echo"; } >&5
1473 (eval "$ac_compile") 2>conftest.err
1474 ac_status=$?
1475 if test -s conftest.err; then
1476 grep -v '^ *+' conftest.err >conftest.er1
1477 cat conftest.er1 >&5
1478 mv -f conftest.er1 conftest.err
1479 fi
1480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1481 test $ac_status = 0; } && {
1482 test -z "$ac_c_werror_flag" ||
1483 test ! -s conftest.err
1484 } && test -s conftest.$ac_objext; then :
1485 ac_retval=0
1486 else
1487 $as_echo "$as_me: failed program was:" >&5
1488 sed 's/^/| /' conftest.$ac_ext >&5
1489
1490 ac_retval=1
1491 fi
1492 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1493 as_fn_set_status $ac_retval
1494
1495 } # ac_fn_c_try_compile
1496
1497 # ac_fn_c_try_cpp LINENO
1498 # ----------------------
1499 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1500 ac_fn_c_try_cpp ()
1501 {
1502 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1503 if { { ac_try="$ac_cpp conftest.$ac_ext"
1504 case "(($ac_try" in
1505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1506 *) ac_try_echo=$ac_try;;
1507 esac
1508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1509 $as_echo "$ac_try_echo"; } >&5
1510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1511 ac_status=$?
1512 if test -s conftest.err; then
1513 grep -v '^ *+' conftest.err >conftest.er1
1514 cat conftest.er1 >&5
1515 mv -f conftest.er1 conftest.err
1516 fi
1517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1518 test $ac_status = 0; } > conftest.i && {
1519 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1520 test ! -s conftest.err
1521 }; then :
1522 ac_retval=0
1523 else
1524 $as_echo "$as_me: failed program was:" >&5
1525 sed 's/^/| /' conftest.$ac_ext >&5
1526
1527 ac_retval=1
1528 fi
1529 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1530 as_fn_set_status $ac_retval
1531
1532 } # ac_fn_c_try_cpp
1533
1534 # ac_fn_c_try_run LINENO
1535 # ----------------------
1536 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1537 # that executables *can* be run.
1538 ac_fn_c_try_run ()
1539 {
1540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1541 if { { ac_try="$ac_link"
1542 case "(($ac_try" in
1543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1544 *) ac_try_echo=$ac_try;;
1545 esac
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548 (eval "$ac_link") 2>&5
1549 ac_status=$?
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1552 { { case "(($ac_try" in
1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554 *) ac_try_echo=$ac_try;;
1555 esac
1556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557 $as_echo "$ac_try_echo"; } >&5
1558 (eval "$ac_try") 2>&5
1559 ac_status=$?
1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561 test $ac_status = 0; }; }; then :
1562 ac_retval=0
1563 else
1564 $as_echo "$as_me: program exited with status $ac_status" >&5
1565 $as_echo "$as_me: failed program was:" >&5
1566 sed 's/^/| /' conftest.$ac_ext >&5
1567
1568 ac_retval=$ac_status
1569 fi
1570 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572 as_fn_set_status $ac_retval
1573
1574 } # ac_fn_c_try_run
1575
1576 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1577 # -------------------------------------------------------
1578 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1579 # the include files in INCLUDES and setting the cache variable VAR
1580 # accordingly.
1581 ac_fn_c_check_header_mongrel ()
1582 {
1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1584 if eval \${$3+:} false; then :
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1586 $as_echo_n "checking for $2... " >&6; }
1587 if eval \${$3+:} false; then :
1588 $as_echo_n "(cached) " >&6
1589 fi
1590 eval ac_res=\$$3
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1592 $as_echo "$ac_res" >&6; }
1593 else
1594 # Is the header compilable?
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1596 $as_echo_n "checking $2 usability... " >&6; }
1597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1598 /* end confdefs.h. */
1599 $4
1600 #include <$2>
1601 _ACEOF
1602 if ac_fn_c_try_compile "$LINENO"; then :
1603 ac_header_compiler=yes
1604 else
1605 ac_header_compiler=no
1606 fi
1607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1609 $as_echo "$ac_header_compiler" >&6; }
1610
1611 # Is the header present?
1612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1613 $as_echo_n "checking $2 presence... " >&6; }
1614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1615 /* end confdefs.h. */
1616 #include <$2>
1617 _ACEOF
1618 if ac_fn_c_try_cpp "$LINENO"; then :
1619 ac_header_preproc=yes
1620 else
1621 ac_header_preproc=no
1622 fi
1623 rm -f conftest.err conftest.i conftest.$ac_ext
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1625 $as_echo "$ac_header_preproc" >&6; }
1626
1627 # So? What about this header?
1628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1629 yes:no: )
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1631 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1633 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1634 ;;
1635 no:yes:* )
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1637 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1639 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1641 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1643 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1645 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1646 ( $as_echo "## ---------------------------------- ##
1647 ## Report this to joe@sublimation.org ##
1648 ## ---------------------------------- ##"
1649 ) | sed "s/^/$as_me: WARNING: /" >&2
1650 ;;
1651 esac
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1653 $as_echo_n "checking for $2... " >&6; }
1654 if eval \${$3+:} false; then :
1655 $as_echo_n "(cached) " >&6
1656 else
1657 eval "$3=\$ac_header_compiler"
1658 fi
1659 eval ac_res=\$$3
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1661 $as_echo "$ac_res" >&6; }
1662 fi
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664
1665 } # ac_fn_c_check_header_mongrel
1666
1667 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1668 # -------------------------------------------------------
1669 # Tests whether HEADER exists and can be compiled using the include files in
1670 # INCLUDES, setting the cache variable VAR accordingly.
1671 ac_fn_c_check_header_compile ()
1672 {
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675 $as_echo_n "checking for $2... " >&6; }
1676 if eval \${$3+:} false; then :
1677 $as_echo_n "(cached) " >&6
1678 else
1679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1680 /* end confdefs.h. */
1681 $4
1682 #include <$2>
1683 _ACEOF
1684 if ac_fn_c_try_compile "$LINENO"; then :
1685 eval "$3=yes"
1686 else
1687 eval "$3=no"
1688 fi
1689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1690 fi
1691 eval ac_res=\$$3
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1693 $as_echo "$ac_res" >&6; }
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695
1696 } # ac_fn_c_check_header_compile
1697
1698 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1699 # -------------------------------------------
1700 # Tests whether TYPE exists after having included INCLUDES, setting cache
1701 # variable VAR accordingly.
1702 ac_fn_c_check_type ()
1703 {
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1706 $as_echo_n "checking for $2... " >&6; }
1707 if eval \${$3+:} false; then :
1708 $as_echo_n "(cached) " >&6
1709 else
1710 eval "$3=no"
1711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1713 $4
1714 int
1715 main ()
1716 {
1717 if (sizeof ($2))
1718 return 0;
1719 ;
1720 return 0;
1721 }
1722 _ACEOF
1723 if ac_fn_c_try_compile "$LINENO"; then :
1724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1725 /* end confdefs.h. */
1726 $4
1727 int
1728 main ()
1729 {
1730 if (sizeof (($2)))
1731 return 0;
1732 ;
1733 return 0;
1734 }
1735 _ACEOF
1736 if ac_fn_c_try_compile "$LINENO"; then :
1737
1738 else
1739 eval "$3=yes"
1740 fi
1741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1742 fi
1743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1744 fi
1745 eval ac_res=\$$3
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1747 $as_echo "$ac_res" >&6; }
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749
1750 } # ac_fn_c_check_type
1751
1752 # ac_fn_c_try_link LINENO
1753 # -----------------------
1754 # Try to link conftest.$ac_ext, and return whether this succeeded.
1755 ac_fn_c_try_link ()
1756 {
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758 rm -f conftest.$ac_objext conftest$ac_exeext
1759 if { { ac_try="$ac_link"
1760 case "(($ac_try" in
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1763 esac
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_link") 2>conftest.err
1767 ac_status=$?
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1772 fi
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && {
1775 test -z "$ac_c_werror_flag" ||
1776 test ! -s conftest.err
1777 } && test -s conftest$ac_exeext && {
1778 test "$cross_compiling" = yes ||
1779 $as_test_x conftest$ac_exeext
1780 }; then :
1781 ac_retval=0
1782 else
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1785
1786 ac_retval=1
1787 fi
1788 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1789 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1790 # interfere with the next link command; also delete a directory that is
1791 # left behind by Apple's compiler. We do this before executing the actions.
1792 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794 as_fn_set_status $ac_retval
1795
1796 } # ac_fn_c_try_link
1797
1798 # ac_fn_c_check_func LINENO FUNC VAR
1799 # ----------------------------------
1800 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1801 ac_fn_c_check_func ()
1802 {
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \${$3+:} false; then :
1807 $as_echo_n "(cached) " >&6
1808 else
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h. */
1811 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1813 #define $2 innocuous_$2
1814
1815 /* System header to define __stub macros and hopefully few prototypes,
1816 which can conflict with char $2 (); below.
1817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1818 <limits.h> exists even on freestanding compilers. */
1819
1820 #ifdef __STDC__
1821 # include <limits.h>
1822 #else
1823 # include <assert.h>
1824 #endif
1825
1826 #undef $2
1827
1828 /* Override any GCC internal prototype to avoid an error.
1829 Use char because int might match the return type of a GCC
1830 builtin and then its argument prototype would still apply. */
1831 #ifdef __cplusplus
1832 extern "C"
1833 #endif
1834 char $2 ();
1835 /* The GNU C library defines this for functions which it implements
1836 to always fail with ENOSYS. Some functions are actually named
1837 something starting with __ and the normal name is an alias. */
1838 #if defined __stub_$2 || defined __stub___$2
1839 choke me
1840 #endif
1841
1842 int
1843 main ()
1844 {
1845 return $2 ();
1846 ;
1847 return 0;
1848 }
1849 _ACEOF
1850 if ac_fn_c_try_link "$LINENO"; then :
1851 eval "$3=yes"
1852 else
1853 eval "$3=no"
1854 fi
1855 rm -f core conftest.err conftest.$ac_objext \
1856 conftest$ac_exeext conftest.$ac_ext
1857 fi
1858 eval ac_res=\$$3
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862
1863 } # ac_fn_c_check_func
1864
1865 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1866 # ---------------------------------------------
1867 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1868 # accordingly.
1869 ac_fn_c_check_decl ()
1870 {
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 as_decl_name=`echo $2|sed 's/ *(.*//'`
1873 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1875 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1876 if eval \${$3+:} false; then :
1877 $as_echo_n "(cached) " >&6
1878 else
1879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h. */
1881 $4
1882 int
1883 main ()
1884 {
1885 #ifndef $as_decl_name
1886 #ifdef __cplusplus
1887 (void) $as_decl_use;
1888 #else
1889 (void) $as_decl_name;
1890 #endif
1891 #endif
1892
1893 ;
1894 return 0;
1895 }
1896 _ACEOF
1897 if ac_fn_c_try_compile "$LINENO"; then :
1898 eval "$3=yes"
1899 else
1900 eval "$3=no"
1901 fi
1902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1903 fi
1904 eval ac_res=\$$3
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906 $as_echo "$ac_res" >&6; }
1907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1908
1909 } # ac_fn_c_check_decl
1910 cat >config.log <<_ACEOF
1911 This file contains any messages produced by compilers while
1912 running configure, to aid debugging if configure makes a mistake.
1913
1914 It was created by scponly $as_me 4.8, which was
1915 generated by GNU Autoconf 2.68. Invocation command line was
1916
1917 $ $0 $@
1918
1919 _ACEOF
1920 exec 5>>config.log
1921 {
1922 cat <<_ASUNAME
1923 ## --------- ##
1924 ## Platform. ##
1925 ## --------- ##
1926
1927 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1928 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1929 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1930 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1931 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1932
1933 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1934 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1935
1936 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1937 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1938 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1939 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1940 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1941 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1942 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1943
1944 _ASUNAME
1945
1946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1947 for as_dir in $PATH
1948 do
1949 IFS=$as_save_IFS
1950 test -z "$as_dir" && as_dir=.
1951 $as_echo "PATH: $as_dir"
1952 done
1953 IFS=$as_save_IFS
1954
1955 } >&5
1956
1957 cat >&5 <<_ACEOF
1958
1959
1960 ## ----------- ##
1961 ## Core tests. ##
1962 ## ----------- ##
1963
1964 _ACEOF
1965
1966
1967 # Keep a trace of the command line.
1968 # Strip out --no-create and --no-recursion so they do not pile up.
1969 # Strip out --silent because we don't want to record it for future runs.
1970 # Also quote any args containing shell meta-characters.
1971 # Make two passes to allow for proper duplicate-argument suppression.
1972 ac_configure_args=
1973 ac_configure_args0=
1974 ac_configure_args1=
1975 ac_must_keep_next=false
1976 for ac_pass in 1 2
1977 do
1978 for ac_arg
1979 do
1980 case $ac_arg in
1981 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1982 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1983 | -silent | --silent | --silen | --sile | --sil)
1984 continue ;;
1985 *\'*)
1986 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1987 esac
1988 case $ac_pass in
1989 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1990 2)
1991 as_fn_append ac_configure_args1 " '$ac_arg'"
1992 if test $ac_must_keep_next = true; then
1993 ac_must_keep_next=false # Got value, back to normal.
1994 else
1995 case $ac_arg in
1996 *=* | --config-cache | -C | -disable-* | --disable-* \
1997 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1998 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1999 | -with-* | --with-* | -without-* | --without-* | --x)
2000 case "$ac_configure_args0 " in
2001 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2002 esac
2003 ;;
2004 -* ) ac_must_keep_next=true ;;
2005 esac
2006 fi
2007 as_fn_append ac_configure_args " '$ac_arg'"
2008 ;;
2009 esac
2010 done
2011 done
2012 { ac_configure_args0=; unset ac_configure_args0;}
2013 { ac_configure_args1=; unset ac_configure_args1;}
2014
2015 # When interrupted or exit'd, cleanup temporary files, and complete
2016 # config.log. We remove comments because anyway the quotes in there
2017 # would cause problems or look ugly.
2018 # WARNING: Use '\'' to represent an apostrophe within the trap.
2019 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2020 trap 'exit_status=$?
2021 # Save into config.log some information that might help in debugging.
2022 {
2023 echo
2024
2025 $as_echo "## ---------------- ##
2026 ## Cache variables. ##
2027 ## ---------------- ##"
2028 echo
2029 # The following way of writing the cache mishandles newlines in values,
2030 (
2031 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2032 eval ac_val=\$$ac_var
2033 case $ac_val in #(
2034 *${as_nl}*)
2035 case $ac_var in #(
2036 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2037 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2038 esac
2039 case $ac_var in #(
2040 _ | IFS | as_nl) ;; #(
2041 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2042 *) { eval $ac_var=; unset $ac_var;} ;;
2043 esac ;;
2044 esac
2045 done
2046 (set) 2>&1 |
2047 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2048 *${as_nl}ac_space=\ *)
2049 sed -n \
2050 "s/'\''/'\''\\\\'\'''\''/g;
2051 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2052 ;; #(
2053 *)
2054 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2055 ;;
2056 esac |
2057 sort
2058 )
2059 echo
2060
2061 $as_echo "## ----------------- ##
2062 ## Output variables. ##
2063 ## ----------------- ##"
2064 echo
2065 for ac_var in $ac_subst_vars
2066 do
2067 eval ac_val=\$$ac_var
2068 case $ac_val in
2069 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2070 esac
2071 $as_echo "$ac_var='\''$ac_val'\''"
2072 done | sort
2073 echo
2074
2075 if test -n "$ac_subst_files"; then
2076 $as_echo "## ------------------- ##
2077 ## File substitutions. ##
2078 ## ------------------- ##"
2079 echo
2080 for ac_var in $ac_subst_files
2081 do
2082 eval ac_val=\$$ac_var
2083 case $ac_val in
2084 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2085 esac
2086 $as_echo "$ac_var='\''$ac_val'\''"
2087 done | sort
2088 echo
2089 fi
2090
2091 if test -s confdefs.h; then
2092 $as_echo "## ----------- ##
2093 ## confdefs.h. ##
2094 ## ----------- ##"
2095 echo
2096 cat confdefs.h
2097 echo
2098 fi
2099 test "$ac_signal" != 0 &&
2100 $as_echo "$as_me: caught signal $ac_signal"
2101 $as_echo "$as_me: exit $exit_status"
2102 } >&5
2103 rm -f core *.core core.conftest.* &&
2104 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2105 exit $exit_status
2106 ' 0
2107 for ac_signal in 1 2 13 15; do
2108 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2109 done
2110 ac_signal=0
2111
2112 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2113 rm -f -r conftest* confdefs.h
2114
2115 $as_echo "/* confdefs.h */" > confdefs.h
2116
2117 # Predefined preprocessor variables.
2118
2119 cat >>confdefs.h <<_ACEOF
2120 #define PACKAGE_NAME "$PACKAGE_NAME"
2121 _ACEOF
2122
2123 cat >>confdefs.h <<_ACEOF
2124 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2125 _ACEOF
2126
2127 cat >>confdefs.h <<_ACEOF
2128 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2129 _ACEOF
2130
2131 cat >>confdefs.h <<_ACEOF
2132 #define PACKAGE_STRING "$PACKAGE_STRING"
2133 _ACEOF
2134
2135 cat >>confdefs.h <<_ACEOF
2136 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2137 _ACEOF
2138
2139 cat >>confdefs.h <<_ACEOF
2140 #define PACKAGE_URL "$PACKAGE_URL"
2141 _ACEOF
2142
2143
2144 # Let the site file select an alternate cache file if it wants to.
2145 # Prefer an explicitly selected file to automatically selected ones.
2146 ac_site_file1=NONE
2147 ac_site_file2=NONE
2148 if test -n "$CONFIG_SITE"; then
2149 # We do not want a PATH search for config.site.
2150 case $CONFIG_SITE in #((
2151 -*) ac_site_file1=./$CONFIG_SITE;;
2152 */*) ac_site_file1=$CONFIG_SITE;;
2153 *) ac_site_file1=./$CONFIG_SITE;;
2154 esac
2155 elif test "x$prefix" != xNONE; then
2156 ac_site_file1=$prefix/share/config.site
2157 ac_site_file2=$prefix/etc/config.site
2158 else
2159 ac_site_file1=$ac_default_prefix/share/config.site
2160 ac_site_file2=$ac_default_prefix/etc/config.site
2161 fi
2162 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2163 do
2164 test "x$ac_site_file" = xNONE && continue
2165 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2167 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2168 sed 's/^/| /' "$ac_site_file" >&5
2169 . "$ac_site_file" \
2170 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2172 as_fn_error $? "failed to load site script $ac_site_file
2173 See \`config.log' for more details" "$LINENO" 5; }
2174 fi
2175 done
2176
2177 if test -r "$cache_file"; then
2178 # Some versions of bash will fail to source /dev/null (special files
2179 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2180 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2182 $as_echo "$as_me: loading cache $cache_file" >&6;}
2183 case $cache_file in
2184 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2185 *) . "./$cache_file";;
2186 esac
2187 fi
2188 else
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2190 $as_echo "$as_me: creating cache $cache_file" >&6;}
2191 >$cache_file
2192 fi
2193
2194 # Check that the precious variables saved in the cache have kept the same
2195 # value.
2196 ac_cache_corrupted=false
2197 for ac_var in $ac_precious_vars; do
2198 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2199 eval ac_new_set=\$ac_env_${ac_var}_set
2200 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2201 eval ac_new_val=\$ac_env_${ac_var}_value
2202 case $ac_old_set,$ac_new_set in
2203 set,)
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2205 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2206 ac_cache_corrupted=: ;;
2207 ,set)
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2209 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2210 ac_cache_corrupted=: ;;
2211 ,);;
2212 *)
2213 if test "x$ac_old_val" != "x$ac_new_val"; then
2214 # differences in whitespace do not lead to failure.
2215 ac_old_val_w=`echo x $ac_old_val`
2216 ac_new_val_w=`echo x $ac_new_val`
2217 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2219 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2220 ac_cache_corrupted=:
2221 else
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2223 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2224 eval $ac_var=\$ac_old_val
2225 fi
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2227 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2229 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2230 fi;;
2231 esac
2232 # Pass precious variables to config.status.
2233 if test "$ac_new_set" = set; then
2234 case $ac_new_val in
2235 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2236 *) ac_arg=$ac_var=$ac_new_val ;;
2237 esac
2238 case " $ac_configure_args " in
2239 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2240 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2241 esac
2242 fi
2243 done
2244 if $ac_cache_corrupted; then
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2248 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2249 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2250 fi
2251 ## -------------------- ##
2252 ## Main body of script. ##
2253 ## -------------------- ##
2254
2255 ac_ext=c
2256 ac_cpp='$CPP $CPPFLAGS'
2257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2260
2261
2262
2263 ac_config_headers="$ac_config_headers config.h"
2264
2265
2266 ac_aux_dir=
2267 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2268 if test -f "$ac_dir/install-sh"; then
2269 ac_aux_dir=$ac_dir
2270 ac_install_sh="$ac_aux_dir/install-sh -c"
2271 break
2272 elif test -f "$ac_dir/install.sh"; then
2273 ac_aux_dir=$ac_dir
2274 ac_install_sh="$ac_aux_dir/install.sh -c"
2275 break
2276 elif test -f "$ac_dir/shtool"; then
2277 ac_aux_dir=$ac_dir
2278 ac_install_sh="$ac_aux_dir/shtool install -c"
2279 break
2280 fi
2281 done
2282 if test -z "$ac_aux_dir"; then
2283 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2284 fi
2285
2286 # These three variables are undocumented and unsupported,
2287 # and are intended to be withdrawn in a future Autoconf release.
2288 # They can cause serious problems if a builder's source tree is in a directory
2289 # whose full name contains unusual characters.
2290 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2291 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2292 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2293
2294
2295 # Make sure we can run config.sub.
2296 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2297 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2298
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2300 $as_echo_n "checking build system type... " >&6; }
2301 if ${ac_cv_build+:} false; then :
2302 $as_echo_n "(cached) " >&6
2303 else
2304 ac_build_alias=$build_alias
2305 test "x$ac_build_alias" = x &&
2306 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2307 test "x$ac_build_alias" = x &&
2308 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2309 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2310 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2311
2312 fi
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2314 $as_echo "$ac_cv_build" >&6; }
2315 case $ac_cv_build in
2316 *-*-*) ;;
2317 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2318 esac
2319 build=$ac_cv_build
2320 ac_save_IFS=$IFS; IFS='-'
2321 set x $ac_cv_build
2322 shift
2323 build_cpu=$1
2324 build_vendor=$2
2325 shift; shift
2326 # Remember, the first character of IFS is used to create $*,
2327 # except with old shells:
2328 build_os=$*
2329 IFS=$ac_save_IFS
2330 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2331
2332
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2334 $as_echo_n "checking host system type... " >&6; }
2335 if ${ac_cv_host+:} false; then :
2336 $as_echo_n "(cached) " >&6
2337 else
2338 if test "x$host_alias" = x; then
2339 ac_cv_host=$ac_cv_build
2340 else
2341 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2342 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2343 fi
2344
2345 fi
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2347 $as_echo "$ac_cv_host" >&6; }
2348 case $ac_cv_host in
2349 *-*-*) ;;
2350 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2351 esac
2352 host=$ac_cv_host
2353 ac_save_IFS=$IFS; IFS='-'
2354 set x $ac_cv_host
2355 shift
2356 host_cpu=$1
2357 host_vendor=$2
2358 shift; shift
2359 # Remember, the first character of IFS is used to create $*,
2360 # except with old shells:
2361 host_os=$*
2362 IFS=$ac_save_IFS
2363 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2364
2365
2366
2367 # this temp_os is a brutal hack until i look into the proper way to do this. ie- rtfm
2368 temp_os=`echo $host_os | cut -c-7`
2369 if test "$temp_os" = solaris; then
2370 $as_echo "#define UNIX_COMPAT 1" >>confdefs.h
2371
2372 fi
2373 temp_os=`echo $host_os | cut -c-4`
2374 if test "$temp_os" = irix; then
2375 $as_echo "#define IRIX_COMPAT 1" >>confdefs.h
2376
2377 fi
2378 temp_os=`echo $host_os | cut -c-3`
2379 if test "$temp_os" = aix; then
2380 $as_echo "#define UNIX_COMPAT 1" >>confdefs.h
2381
2382 fi
2383
2384 $as_echo "#define HOST_OS \$host_os" >>confdefs.h
2385
2386
2387 ac_ext=c
2388 ac_cpp='$CPP $CPPFLAGS'
2389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2392 if test -n "$ac_tool_prefix"; then
2393 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2394 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2396 $as_echo_n "checking for $ac_word... " >&6; }
2397 if ${ac_cv_prog_CC+:} false; then :
2398 $as_echo_n "(cached) " >&6
2399 else
2400 if test -n "$CC"; then
2401 ac_cv_prog_CC="$CC" # Let the user override the test.
2402 else
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 for as_dir in $PATH
2405 do
2406 IFS=$as_save_IFS
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2410 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2412 break 2
2413 fi
2414 done
2415 done
2416 IFS=$as_save_IFS
2417
2418 fi
2419 fi
2420 CC=$ac_cv_prog_CC
2421 if test -n "$CC"; then
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2423 $as_echo "$CC" >&6; }
2424 else
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2426 $as_echo "no" >&6; }
2427 fi
2428
2429
2430 fi
2431 if test -z "$ac_cv_prog_CC"; then
2432 ac_ct_CC=$CC
2433 # Extract the first word of "gcc", so it can be a program name with args.
2434 set dummy gcc; ac_word=$2
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2436 $as_echo_n "checking for $ac_word... " >&6; }
2437 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2438 $as_echo_n "(cached) " >&6
2439 else
2440 if test -n "$ac_ct_CC"; then
2441 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2442 else
2443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2444 for as_dir in $PATH
2445 do
2446 IFS=$as_save_IFS
2447 test -z "$as_dir" && as_dir=.
2448 for ac_exec_ext in '' $ac_executable_extensions; do
2449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2450 ac_cv_prog_ac_ct_CC="gcc"
2451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2452 break 2
2453 fi
2454 done
2455 done
2456 IFS=$as_save_IFS
2457
2458 fi
2459 fi
2460 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2461 if test -n "$ac_ct_CC"; then
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2463 $as_echo "$ac_ct_CC" >&6; }
2464 else
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2466 $as_echo "no" >&6; }
2467 fi
2468
2469 if test "x$ac_ct_CC" = x; then
2470 CC=""
2471 else
2472 case $cross_compiling:$ac_tool_warned in
2473 yes:)
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2476 ac_tool_warned=yes ;;
2477 esac
2478 CC=$ac_ct_CC
2479 fi
2480 else
2481 CC="$ac_cv_prog_CC"
2482 fi
2483
2484 if test -z "$CC"; then
2485 if test -n "$ac_tool_prefix"; then
2486 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2487 set dummy ${ac_tool_prefix}cc; ac_word=$2
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2489 $as_echo_n "checking for $ac_word... " >&6; }
2490 if ${ac_cv_prog_CC+:} false; then :
2491 $as_echo_n "(cached) " >&6
2492 else
2493 if test -n "$CC"; then
2494 ac_cv_prog_CC="$CC" # Let the user override the test.
2495 else
2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497 for as_dir in $PATH
2498 do
2499 IFS=$as_save_IFS
2500 test -z "$as_dir" && as_dir=.
2501 for ac_exec_ext in '' $ac_executable_extensions; do
2502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2503 ac_cv_prog_CC="${ac_tool_prefix}cc"
2504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 break 2
2506 fi
2507 done
2508 done
2509 IFS=$as_save_IFS
2510
2511 fi
2512 fi
2513 CC=$ac_cv_prog_CC
2514 if test -n "$CC"; then
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2516 $as_echo "$CC" >&6; }
2517 else
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2519 $as_echo "no" >&6; }
2520 fi
2521
2522
2523 fi
2524 fi
2525 if test -z "$CC"; then
2526 # Extract the first word of "cc", so it can be a program name with args.
2527 set dummy cc; ac_word=$2
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2529 $as_echo_n "checking for $ac_word... " >&6; }
2530 if ${ac_cv_prog_CC+:} false; then :
2531 $as_echo_n "(cached) " >&6
2532 else
2533 if test -n "$CC"; then
2534 ac_cv_prog_CC="$CC" # Let the user override the test.
2535 else
2536 ac_prog_rejected=no
2537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538 for as_dir in $PATH
2539 do
2540 IFS=$as_save_IFS
2541 test -z "$as_dir" && as_dir=.
2542 for ac_exec_ext in '' $ac_executable_extensions; do
2543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2544 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2545 ac_prog_rejected=yes
2546 continue
2547 fi
2548 ac_cv_prog_CC="cc"
2549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 break 2
2551 fi
2552 done
2553 done
2554 IFS=$as_save_IFS
2555
2556 if test $ac_prog_rejected = yes; then
2557 # We found a bogon in the path, so make sure we never use it.
2558 set dummy $ac_cv_prog_CC
2559 shift
2560 if test $# != 0; then
2561 # We chose a different compiler from the bogus one.
2562 # However, it has the same basename, so the bogon will be chosen
2563 # first if we set CC to just the basename; use the full file name.
2564 shift
2565 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2566 fi
2567 fi
2568 fi
2569 fi
2570 CC=$ac_cv_prog_CC
2571 if test -n "$CC"; then
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2573 $as_echo "$CC" >&6; }
2574 else
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2576 $as_echo "no" >&6; }
2577 fi
2578
2579
2580 fi
2581 if test -z "$CC"; then
2582 if test -n "$ac_tool_prefix"; then
2583 for ac_prog in cl.exe
2584 do
2585 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2586 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2588 $as_echo_n "checking for $ac_word... " >&6; }
2589 if ${ac_cv_prog_CC+:} false; then :
2590 $as_echo_n "(cached) " >&6
2591 else
2592 if test -n "$CC"; then
2593 ac_cv_prog_CC="$CC" # Let the user override the test.
2594 else
2595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596 for as_dir in $PATH
2597 do
2598 IFS=$as_save_IFS
2599 test -z "$as_dir" && as_dir=.
2600 for ac_exec_ext in '' $ac_executable_extensions; do
2601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2602 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2604 break 2
2605 fi
2606 done
2607 done
2608 IFS=$as_save_IFS
2609
2610 fi
2611 fi
2612 CC=$ac_cv_prog_CC
2613 if test -n "$CC"; then
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2615 $as_echo "$CC" >&6; }
2616 else
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2618 $as_echo "no" >&6; }
2619 fi
2620
2621
2622 test -n "$CC" && break
2623 done
2624 fi
2625 if test -z "$CC"; then
2626 ac_ct_CC=$CC
2627 for ac_prog in cl.exe
2628 do
2629 # Extract the first word of "$ac_prog", so it can be a program name with args.
2630 set dummy $ac_prog; ac_word=$2
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2632 $as_echo_n "checking for $ac_word... " >&6; }
2633 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2634 $as_echo_n "(cached) " >&6
2635 else
2636 if test -n "$ac_ct_CC"; then
2637 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2638 else
2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2640 for as_dir in $PATH
2641 do
2642 IFS=$as_save_IFS
2643 test -z "$as_dir" && as_dir=.
2644 for ac_exec_ext in '' $ac_executable_extensions; do
2645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2646 ac_cv_prog_ac_ct_CC="$ac_prog"
2647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 break 2
2649 fi
2650 done
2651 done
2652 IFS=$as_save_IFS
2653
2654 fi
2655 fi
2656 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2657 if test -n "$ac_ct_CC"; then
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2659 $as_echo "$ac_ct_CC" >&6; }
2660 else
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2662 $as_echo "no" >&6; }
2663 fi
2664
2665
2666 test -n "$ac_ct_CC" && break
2667 done
2668
2669 if test "x$ac_ct_CC" = x; then
2670 CC=""
2671 else
2672 case $cross_compiling:$ac_tool_warned in
2673 yes:)
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2676 ac_tool_warned=yes ;;
2677 esac
2678 CC=$ac_ct_CC
2679 fi
2680 fi
2681
2682 fi
2683
2684
2685 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2687 as_fn_error $? "no acceptable C compiler found in \$PATH
2688 See \`config.log' for more details" "$LINENO" 5; }
2689
2690 # Provide some information about the compiler.
2691 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2692 set X $ac_compile
2693 ac_compiler=$2
2694 for ac_option in --version -v -V -qversion; do
2695 { { ac_try="$ac_compiler $ac_option >&5"
2696 case "(($ac_try" in
2697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2698 *) ac_try_echo=$ac_try;;
2699 esac
2700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2701 $as_echo "$ac_try_echo"; } >&5
2702 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2703 ac_status=$?
2704 if test -s conftest.err; then
2705 sed '10a\
2706 ... rest of stderr output deleted ...
2707 10q' conftest.err >conftest.er1
2708 cat conftest.er1 >&5
2709 fi
2710 rm -f conftest.er1 conftest.err
2711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2712 test $ac_status = 0; }
2713 done
2714
2715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2716 /* end confdefs.h. */
2717
2718 int
2719 main ()
2720 {
2721
2722 ;
2723 return 0;
2724 }
2725 _ACEOF
2726 ac_clean_files_save=$ac_clean_files
2727 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2728 # Try to create an executable without -o first, disregard a.out.
2729 # It will help us diagnose broken compilers, and finding out an intuition
2730 # of exeext.
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2732 $as_echo_n "checking whether the C compiler works... " >&6; }
2733 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2734
2735 # The possible output files:
2736 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2737
2738 ac_rmfiles=
2739 for ac_file in $ac_files
2740 do
2741 case $ac_file in
2742 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2743 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2744 esac
2745 done
2746 rm -f $ac_rmfiles
2747
2748 if { { ac_try="$ac_link_default"
2749 case "(($ac_try" in
2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2752 esac
2753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2754 $as_echo "$ac_try_echo"; } >&5
2755 (eval "$ac_link_default") 2>&5
2756 ac_status=$?
2757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2758 test $ac_status = 0; }; then :
2759 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2760 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2761 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2762 # so that the user can short-circuit this test for compilers unknown to
2763 # Autoconf.
2764 for ac_file in $ac_files ''
2765 do
2766 test -f "$ac_file" || continue
2767 case $ac_file in
2768 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2769 ;;
2770 [ab].out )
2771 # We found the default executable, but exeext='' is most
2772 # certainly right.
2773 break;;
2774 *.* )
2775 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2776 then :; else
2777 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2778 fi
2779 # We set ac_cv_exeext here because the later test for it is not
2780 # safe: cross compilers may not add the suffix if given an `-o'
2781 # argument, so we may need to know it at that point already.
2782 # Even if this section looks crufty: it has the advantage of
2783 # actually working.
2784 break;;
2785 * )
2786 break;;
2787 esac
2788 done
2789 test "$ac_cv_exeext" = no && ac_cv_exeext=
2790
2791 else
2792 ac_file=''
2793 fi
2794 if test -z "$ac_file"; then :
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2797 $as_echo "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.$ac_ext >&5
2799
2800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2802 as_fn_error 77 "C compiler cannot create executables
2803 See \`config.log' for more details" "$LINENO" 5; }
2804 else
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2806 $as_echo "yes" >&6; }
2807 fi
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2809 $as_echo_n "checking for C compiler default output file name... " >&6; }
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2811 $as_echo "$ac_file" >&6; }
2812 ac_exeext=$ac_cv_exeext
2813
2814 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2815 ac_clean_files=$ac_clean_files_save
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2817 $as_echo_n "checking for suffix of executables... " >&6; }
2818 if { { ac_try="$ac_link"
2819 case "(($ac_try" in
2820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2821 *) ac_try_echo=$ac_try;;
2822 esac
2823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2824 $as_echo "$ac_try_echo"; } >&5
2825 (eval "$ac_link") 2>&5
2826 ac_status=$?
2827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2828 test $ac_status = 0; }; then :
2829 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2830 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2831 # work properly (i.e., refer to `conftest.exe'), while it won't with
2832 # `rm'.
2833 for ac_file in conftest.exe conftest conftest.*; do
2834 test -f "$ac_file" || continue
2835 case $ac_file in
2836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2837 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2838 break;;
2839 * ) break;;
2840 esac
2841 done
2842 else
2843 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2845 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2846 See \`config.log' for more details" "$LINENO" 5; }
2847 fi
2848 rm -f conftest conftest$ac_cv_exeext
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2850 $as_echo "$ac_cv_exeext" >&6; }
2851
2852 rm -f conftest.$ac_ext
2853 EXEEXT=$ac_cv_exeext
2854 ac_exeext=$EXEEXT
2855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2856 /* end confdefs.h. */
2857 #include <stdio.h>
2858 int
2859 main ()
2860 {
2861 FILE *f = fopen ("conftest.out", "w");
2862 return ferror (f) || fclose (f) != 0;
2863
2864 ;
2865 return 0;
2866 }
2867 _ACEOF
2868 ac_clean_files="$ac_clean_files conftest.out"
2869 # Check that the compiler produces executables we can run. If not, either
2870 # the compiler is broken, or we cross compile.
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2872 $as_echo_n "checking whether we are cross compiling... " >&6; }
2873 if test "$cross_compiling" != yes; then
2874 { { ac_try="$ac_link"
2875 case "(($ac_try" in
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2877 *) ac_try_echo=$ac_try;;
2878 esac
2879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2880 $as_echo "$ac_try_echo"; } >&5
2881 (eval "$ac_link") 2>&5
2882 ac_status=$?
2883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2884 test $ac_status = 0; }
2885 if { ac_try='./conftest$ac_cv_exeext'
2886 { { case "(($ac_try" in
2887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888 *) ac_try_echo=$ac_try;;
2889 esac
2890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2891 $as_echo "$ac_try_echo"; } >&5
2892 (eval "$ac_try") 2>&5
2893 ac_status=$?
2894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2895 test $ac_status = 0; }; }; then
2896 cross_compiling=no
2897 else
2898 if test "$cross_compiling" = maybe; then
2899 cross_compiling=yes
2900 else
2901 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2903 as_fn_error $? "cannot run C compiled programs.
2904 If you meant to cross compile, use \`--host'.
2905 See \`config.log' for more details" "$LINENO" 5; }
2906 fi
2907 fi
2908 fi
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2910 $as_echo "$cross_compiling" >&6; }
2911
2912 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2913 ac_clean_files=$ac_clean_files_save
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2915 $as_echo_n "checking for suffix of object files... " >&6; }
2916 if ${ac_cv_objext+:} false; then :
2917 $as_echo_n "(cached) " >&6
2918 else
2919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2920 /* end confdefs.h. */
2921
2922 int
2923 main ()
2924 {
2925
2926 ;
2927 return 0;
2928 }
2929 _ACEOF
2930 rm -f conftest.o conftest.obj
2931 if { { ac_try="$ac_compile"
2932 case "(($ac_try" in
2933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934 *) ac_try_echo=$ac_try;;
2935 esac
2936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2937 $as_echo "$ac_try_echo"; } >&5
2938 (eval "$ac_compile") 2>&5
2939 ac_status=$?
2940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2941 test $ac_status = 0; }; then :
2942 for ac_file in conftest.o conftest.obj conftest.*; do
2943 test -f "$ac_file" || continue;
2944 case $ac_file in
2945 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2946 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2947 break;;
2948 esac
2949 done
2950 else
2951 $as_echo "$as_me: failed program was:" >&5
2952 sed 's/^/| /' conftest.$ac_ext >&5
2953
2954 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2956 as_fn_error $? "cannot compute suffix of object files: cannot compile
2957 See \`config.log' for more details" "$LINENO" 5; }
2958 fi
2959 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2960 fi
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2962 $as_echo "$ac_cv_objext" >&6; }
2963 OBJEXT=$ac_cv_objext
2964 ac_objext=$OBJEXT
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2966 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2967 if ${ac_cv_c_compiler_gnu+:} false; then :
2968 $as_echo_n "(cached) " >&6
2969 else
2970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2971 /* end confdefs.h. */
2972
2973 int
2974 main ()
2975 {
2976 #ifndef __GNUC__
2977 choke me
2978 #endif
2979
2980 ;
2981 return 0;
2982 }
2983 _ACEOF
2984 if ac_fn_c_try_compile "$LINENO"; then :
2985 ac_compiler_gnu=yes
2986 else
2987 ac_compiler_gnu=no
2988 fi
2989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2990 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2991
2992 fi
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2994 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2995 if test $ac_compiler_gnu = yes; then
2996 GCC=yes
2997 else
2998 GCC=
2999 fi
3000 ac_test_CFLAGS=${CFLAGS+set}
3001 ac_save_CFLAGS=$CFLAGS
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3003 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3004 if ${ac_cv_prog_cc_g+:} false; then :
3005 $as_echo_n "(cached) " >&6
3006 else
3007 ac_save_c_werror_flag=$ac_c_werror_flag
3008 ac_c_werror_flag=yes
3009 ac_cv_prog_cc_g=no
3010 CFLAGS="-g"
3011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012 /* end confdefs.h. */
3013
3014 int
3015 main ()
3016 {
3017
3018 ;
3019 return 0;
3020 }
3021 _ACEOF
3022 if ac_fn_c_try_compile "$LINENO"; then :
3023 ac_cv_prog_cc_g=yes
3024 else
3025 CFLAGS=""
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3028
3029 int
3030 main ()
3031 {
3032
3033 ;
3034 return 0;
3035 }
3036 _ACEOF
3037 if ac_fn_c_try_compile "$LINENO"; then :
3038
3039 else
3040 ac_c_werror_flag=$ac_save_c_werror_flag
3041 CFLAGS="-g"
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3044
3045 int
3046 main ()
3047 {
3048
3049 ;
3050 return 0;
3051 }
3052 _ACEOF
3053 if ac_fn_c_try_compile "$LINENO"; then :
3054 ac_cv_prog_cc_g=yes
3055 fi
3056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3057 fi
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 fi
3060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 ac_c_werror_flag=$ac_save_c_werror_flag
3062 fi
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3064 $as_echo "$ac_cv_prog_cc_g" >&6; }
3065 if test "$ac_test_CFLAGS" = set; then
3066 CFLAGS=$ac_save_CFLAGS
3067 elif test $ac_cv_prog_cc_g = yes; then
3068 if test "$GCC" = yes; then
3069 CFLAGS="-g -O2"
3070 else
3071 CFLAGS="-g"
3072 fi
3073 else
3074 if test "$GCC" = yes; then
3075 CFLAGS="-O2"
3076 else
3077 CFLAGS=
3078 fi
3079 fi
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3081 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3082 if ${ac_cv_prog_cc_c89+:} false; then :
3083 $as_echo_n "(cached) " >&6
3084 else
3085 ac_cv_prog_cc_c89=no
3086 ac_save_CC=$CC
3087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3089 #include <stdarg.h>
3090 #include <stdio.h>
3091 #include <sys/types.h>
3092 #include <sys/stat.h>
3093 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3094 struct buf { int x; };
3095 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3096 static char *e (p, i)
3097 char **p;
3098 int i;
3099 {
3100 return p[i];
3101 }
3102 static char *f (char * (*g) (char **, int), char **p, ...)
3103 {
3104 char *s;
3105 va_list v;
3106 va_start (v,p);
3107 s = g (p, va_arg (v,int));
3108 va_end (v);
3109 return s;
3110 }
3111
3112 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3113 function prototypes and stuff, but not '\xHH' hex character constants.
3114 These don't provoke an error unfortunately, instead are silently treated
3115 as 'x'. The following induces an error, until -std is added to get
3116 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3117 array size at least. It's necessary to write '\x00'==0 to get something
3118 that's true only with -std. */
3119 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3120
3121 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3122 inside strings and character constants. */
3123 #define FOO(x) 'x'
3124 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3125
3126 int test (int i, double x);
3127 struct s1 {int (*f) (int a);};
3128 struct s2 {int (*f) (double a);};
3129 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3130 int argc;
3131 char **argv;
3132 int
3133 main ()
3134 {
3135 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3136 ;
3137 return 0;
3138 }
3139 _ACEOF
3140 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3141 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3142 do
3143 CC="$ac_save_CC $ac_arg"
3144 if ac_fn_c_try_compile "$LINENO"; then :
3145 ac_cv_prog_cc_c89=$ac_arg
3146 fi
3147 rm -f core conftest.err conftest.$ac_objext
3148 test "x$ac_cv_prog_cc_c89" != "xno" && break
3149 done
3150 rm -f conftest.$ac_ext
3151 CC=$ac_save_CC
3152
3153 fi
3154 # AC_CACHE_VAL
3155 case "x$ac_cv_prog_cc_c89" in
3156 x)
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3158 $as_echo "none needed" >&6; } ;;
3159 xno)
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3161 $as_echo "unsupported" >&6; } ;;
3162 *)
3163 CC="$CC $ac_cv_prog_cc_c89"
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3165 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3166 esac
3167 if test "x$ac_cv_prog_cc_c89" != xno; then :
3168
3169 fi
3170
3171 ac_ext=c
3172 ac_cpp='$CPP $CPPFLAGS'
3173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3176
3177 # Find a good install program. We prefer a C program (faster),
3178 # so one script is as good as another. But avoid the broken or
3179 # incompatible versions:
3180 # SysV /etc/install, /usr/sbin/install
3181 # SunOS /usr/etc/install
3182 # IRIX /sbin/install
3183 # AIX /bin/install
3184 # AmigaOS /C/install, which installs bootblocks on floppy discs
3185 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3186 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3187 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3188 # OS/2's system install, which has a completely different semantic
3189 # ./install, which can be erroneously created by make from ./install.sh.
3190 # Reject install programs that cannot install multiple files.
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3192 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3193 if test -z "$INSTALL"; then
3194 if ${ac_cv_path_install+:} false; then :
3195 $as_echo_n "(cached) " >&6
3196 else
3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 for as_dir in $PATH
3199 do
3200 IFS=$as_save_IFS
3201 test -z "$as_dir" && as_dir=.
3202 # Account for people who put trailing slashes in PATH elements.
3203 case $as_dir/ in #((
3204 ./ | .// | /[cC]/* | \
3205 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3206 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3207 /usr/ucb/* ) ;;
3208 *)
3209 # OSF1 and SCO ODT 3.0 have their own names for install.
3210 # Don't use installbsd from OSF since it installs stuff as root
3211 # by default.
3212 for ac_prog in ginstall scoinst install; do
3213 for ac_exec_ext in '' $ac_executable_extensions; do
3214 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3215 if test $ac_prog = install &&
3216 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3217 # AIX install. It has an incompatible calling convention.
3218 :
3219 elif test $ac_prog = install &&
3220 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3221 # program-specific install script used by HP pwplus--don't use.
3222 :
3223 else
3224 rm -rf conftest.one conftest.two conftest.dir
3225 echo one > conftest.one
3226 echo two > conftest.two
3227 mkdir conftest.dir
3228 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3229 test -s conftest.one && test -s conftest.two &&
3230 test -s conftest.dir/conftest.one &&
3231 test -s conftest.dir/conftest.two
3232 then
3233 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3234 break 3
3235 fi
3236 fi
3237 fi
3238 done
3239 done
3240 ;;
3241 esac
3242
3243 done
3244 IFS=$as_save_IFS
3245
3246 rm -rf conftest.one conftest.two conftest.dir
3247
3248 fi
3249 if test "${ac_cv_path_install+set}" = set; then
3250 INSTALL=$ac_cv_path_install
3251 else
3252 # As a last resort, use the slow shell script. Don't cache a
3253 # value for INSTALL within a source directory, because that will
3254 # break other packages using the cache if that directory is
3255 # removed, or if the value is a relative name.
3256 INSTALL=$ac_install_sh
3257 fi
3258 fi
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3260 $as_echo "$INSTALL" >&6; }
3261
3262 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3263 # It thinks the first close brace ends the variable substitution.
3264 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3265
3266 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3267
3268 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3269
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3271 $as_echo_n "checking whether ln -s works... " >&6; }
3272 LN_S=$as_ln_s
3273 if test "$LN_S" = "ln -s"; then
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3275 $as_echo "yes" >&6; }
3276 else
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3278 $as_echo "no, using $LN_S" >&6; }
3279 fi
3280
3281 # Extract the first word of "cut", so it can be a program name with args.
3282 set dummy cut; ac_word=$2
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284 $as_echo_n "checking for $ac_word... " >&6; }
3285 if ${ac_cv_path_PROG_CUT+:} false; then :
3286 $as_echo_n "(cached) " >&6
3287 else
3288 case $PROG_CUT in
3289 [\\/]* | ?:[\\/]*)
3290 ac_cv_path_PROG_CUT="$PROG_CUT" # Let the user override the test with a path.
3291 ;;
3292 *)
3293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3294 for as_dir in $PATH
3295 do
3296 IFS=$as_save_IFS
3297 test -z "$as_dir" && as_dir=.
3298 for ac_exec_ext in '' $ac_executable_extensions; do
3299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3300 ac_cv_path_PROG_CUT="$as_dir/$ac_word$ac_exec_ext"
3301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3302 break 2
3303 fi
3304 done
3305 done
3306 IFS=$as_save_IFS
3307
3308 ;;
3309 esac
3310 fi
3311 PROG_CUT=$ac_cv_path_PROG_CUT
3312 if test -n "$PROG_CUT"; then
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROG_CUT" >&5
3314 $as_echo "$PROG_CUT" >&6; }
3315 else
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317 $as_echo "no" >&6; }
3318 fi
3319
3320
3321 # Extract the first word of "grep", so it can be a program name with args.
3322 set dummy grep; ac_word=$2
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3324 $as_echo_n "checking for $ac_word... " >&6; }
3325 if ${ac_cv_path_PROG_GREP+:} false; then :
3326 $as_echo_n "(cached) " >&6
3327 else
3328 case $PROG_GREP in
3329 [\\/]* | ?:[\\/]*)
3330 ac_cv_path_PROG_GREP="$PROG_GREP" # Let the user override the test with a path.
3331 ;;
3332 *)
3333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334 for as_dir in $PATH
3335 do
3336 IFS=$as_save_IFS
3337 test -z "$as_dir" && as_dir=.
3338 for ac_exec_ext in '' $ac_executable_extensions; do
3339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3340 ac_cv_path_PROG_GREP="$as_dir/$ac_word$ac_exec_ext"
3341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3342 break 2
3343 fi
3344 done
3345 done
3346 IFS=$as_save_IFS
3347
3348 ;;
3349 esac
3350 fi
3351 PROG_GREP=$ac_cv_path_PROG_GREP
3352 if test -n "$PROG_GREP"; then
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROG_GREP" >&5
3354 $as_echo "$PROG_GREP" >&6; }
3355 else
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3357 $as_echo "no" >&6; }
3358 fi
3359
3360
3361 # Extract the first word of "sort", so it can be a program name with args.
3362 set dummy sort; ac_word=$2
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3364 $as_echo_n "checking for $ac_word... " >&6; }
3365 if ${ac_cv_path_PROG_SORT+:} false; then :
3366 $as_echo_n "(cached) " >&6
3367 else
3368 case $PROG_SORT in
3369 [\\/]* | ?:[\\/]*)
3370 ac_cv_path_PROG_SORT="$PROG_SORT" # Let the user override the test with a path.
3371 ;;
3372 *)
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH
3375 do
3376 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=.
3378 for ac_exec_ext in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_path_PROG_SORT="$as_dir/$ac_word$ac_exec_ext"
3381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3382 break 2
3383 fi
3384 done
3385 done
3386 IFS=$as_save_IFS
3387
3388 ;;
3389 esac
3390 fi
3391 PROG_SORT=$ac_cv_path_PROG_SORT
3392 if test -n "$PROG_SORT"; then
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROG_SORT" >&5
3394 $as_echo "$PROG_SORT" >&6; }
3395 else
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3397 $as_echo "no" >&6; }
3398 fi
3399
3400
3401 # Extract the first word of "ldd", so it can be a program name with args.
3402 set dummy ldd; ac_word=$2
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3404 $as_echo_n "checking for $ac_word... " >&6; }
3405 if ${ac_cv_path_PROG_LDD+:} false; then :
3406 $as_echo_n "(cached) " >&6
3407 else
3408 case $PROG_LDD in
3409 [\\/]* | ?:[\\/]*)
3410 ac_cv_path_PROG_LDD="$PROG_LDD" # Let the user override the test with a path.
3411 ;;
3412 *)
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 for as_dir in $PATH
3415 do
3416 IFS=$as_save_IFS
3417 test -z "$as_dir" && as_dir=.
3418 for ac_exec_ext in '' $ac_executable_extensions; do
3419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3420 ac_cv_path_PROG_LDD="$as_dir/$ac_word$ac_exec_ext"
3421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 break 2
3423 fi
3424 done
3425 done
3426 IFS=$as_save_IFS
3427
3428 ;;
3429 esac
3430 fi
3431 PROG_LDD=$ac_cv_path_PROG_LDD
3432 if test -n "$PROG_LDD"; then
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROG_LDD" >&5
3434 $as_echo "$PROG_LDD" >&6; }
3435 else
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3437 $as_echo "no" >&6; }
3438 fi
3439
3440
3441 # Extract the first word of "useradd", so it can be a program name with args.
3442 set dummy useradd; ac_word=$2
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3444 $as_echo_n "checking for $ac_word... " >&6; }
3445 if ${ac_cv_path_PROG_USERADD+:} false; then :
3446 $as_echo_n "(cached) " >&6
3447 else
3448 case $PROG_USERADD in
3449 [\\/]* | ?:[\\/]*)
3450 ac_cv_path_PROG_USERADD="$PROG_USERADD" # Let the user override the test with a path.
3451 ;;
3452 *)
3453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3454 for as_dir in $PATH
3455 do
3456 IFS=$as_save_IFS
3457 test -z "$as_dir" && as_dir=.
3458 for ac_exec_ext in '' $ac_executable_extensions; do
3459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3460 ac_cv_path_PROG_USERADD="$as_dir/$ac_word$ac_exec_ext"
3461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 break 2
3463 fi
3464 done
3465 done
3466 IFS=$as_save_IFS
3467
3468 ;;
3469 esac
3470 fi
3471 PROG_USERADD=$ac_cv_path_PROG_USERADD
3472 if test -n "$PROG_USERADD"; then
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROG_USERADD" >&5
3474 $as_echo "$PROG_USERADD" >&6; }
3475 else
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3478 fi
3479
3480
3481 # Extract the first word of "chown", so it can be a program name with args.
3482 set dummy chown; ac_word=$2
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484 $as_echo_n "checking for $ac_word... " >&6; }
3485 if ${ac_cv_path_PROG_CHOWN+:} false; then :
3486 $as_echo_n "(cached) " >&6
3487 else
3488 case $PROG_CHOWN in
3489 [\\/]* | ?:[\\/]*)
3490 ac_cv_path_PROG_CHOWN="$PROG_CHOWN" # Let the user override the test with a path.
3491 ;;
3492 *)
3493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3494 for as_dir in $PATH
3495 do
3496 IFS=$as_save_IFS
3497 test -z "$as_dir" && as_dir=.
3498 for ac_exec_ext in '' $ac_executable_extensions; do
3499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3500 ac_cv_path_PROG_CHOWN="$as_dir/$ac_word$ac_exec_ext"
3501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3502 break 2
3503 fi
3504 done
3505 done
3506 IFS=$as_save_IFS
3507
3508 ;;
3509 esac
3510 fi
3511 PROG_CHOWN=$ac_cv_path_PROG_CHOWN
3512 if test -n "$PROG_CHOWN"; then
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROG_CHOWN" >&5
3514 $as_echo "$PROG_CHOWN" >&6; }
3515 else
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3517 $as_echo "no" >&6; }
3518 fi
3519
3520
3521 # Extract the first word of "chmod", so it can be a program name with args.
3522 set dummy chmod; ac_word=$2
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524 $as_echo_n "checking for $ac_word... " >&6; }
3525 if ${ac_cv_path_PROG_CHMOD+:} false; then :
3526 $as_echo_n "(cached) " >&6
3527 else
3528 case $PROG_CHMOD in
3529 [\\/]* | ?:[\\/]*)
3530 ac_cv_path_PROG_CHMOD="$PROG_CHMOD" # Let the user override the test with a path.
3531 ;;
3532 *)
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3534 for as_dir in $PATH
3535 do
3536 IFS=$as_save_IFS
3537 test -z "$as_dir" && as_dir=.
3538 for ac_exec_ext in '' $ac_executable_extensions; do
3539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3540 ac_cv_path_PROG_CHMOD="$as_dir/$ac_word$ac_exec_ext"
3541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3542 break 2
3543 fi
3544 done
3545 done
3546 IFS=$as_save_IFS
3547
3548 ;;
3549 esac
3550 fi
3551 PROG_CHMOD=$ac_cv_path_PROG_CHMOD
3552 if test -n "$PROG_CHMOD"; then
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROG_CHMOD" >&5
3554 $as_echo "$PROG_CHMOD" >&6; }
3555 else
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3557 $as_echo "no" >&6; }
3558 fi
3559
3560
3561 # Extract the first word of "dirname", so it can be a program name with args.
3562 set dummy dirname; ac_word=$2
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3564 $as_echo_n "checking for $ac_word... " >&6; }
3565 if ${ac_cv_path_PROG_DIRNAME+:} false; then :
3566 $as_echo_n "(cached) " >&6
3567 else
3568 case $PROG_DIRNAME in
3569 [\\/]* | ?:[\\/]*)
3570 ac_cv_path_PROG_DIRNAME="$PROG_DIRNAME" # Let the user override the test with a path.
3571 ;;
3572 *)
3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574 for as_dir in $PATH
3575 do
3576 IFS=$as_save_IFS
3577 test -z "$as_dir" && as_dir=.
3578 for ac_exec_ext in '' $ac_executable_extensions; do
3579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3580 ac_cv_path_PROG_DIRNAME="$as_dir/$ac_word$ac_exec_ext"
3581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 break 2
3583 fi
3584 done
3585 done
3586 IFS=$as_save_IFS
3587
3588 ;;
3589 esac
3590 fi
3591 PROG_DIRNAME=$ac_cv_path_PROG_DIRNAME
3592 if test -n "$PROG_DIRNAME"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROG_DIRNAME" >&5
3594 $as_echo "$PROG_DIRNAME" >&6; }
3595 else
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3598 fi
3599
3600
3601 # Extract the first word of "id", so it can be a program name with args.
3602 set dummy id; ac_word=$2
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 $as_echo_n "checking for $ac_word... " >&6; }
3605 if ${ac_cv_path_PROG_ID+:} false; then :
3606 $as_echo_n "(cached) " >&6
3607 else
3608 case $PROG_ID in
3609 [\\/]* | ?:[\\/]*)
3610 ac_cv_path_PROG_ID="$PROG_ID" # Let the user override the test with a path.
3611 ;;
3612 *)
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH
3615 do
3616 IFS=$as_save_IFS
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3620 ac_cv_path_PROG_ID="$as_dir/$ac_word$ac_exec_ext"
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 break 2
3623 fi
3624 done
3625 done
3626 IFS=$as_save_IFS
3627
3628 ;;
3629 esac
3630 fi
3631 PROG_ID=$ac_cv_path_PROG_ID
3632 if test -n "$PROG_ID"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROG_ID" >&5
3634 $as_echo "$PROG_ID" >&6; }
3635 else
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3638 fi
3639
3640
3641 # Extract the first word of "pw", so it can be a program name with args.
3642 set dummy pw; ac_word=$2
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3644 $as_echo_n "checking for $ac_word... " >&6; }
3645 if ${ac_cv_path_PROG_PW+:} false; then :
3646 $as_echo_n "(cached) " >&6
3647 else
3648 case $PROG_PW in
3649 [\\/]* | ?:[\\/]*)
3650 ac_cv_path_PROG_PW="$PROG_PW" # Let the user override the test with a path.
3651 ;;
3652 *)
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654 for as_dir in $PATH
3655 do
3656 IFS=$as_save_IFS
3657 test -z "$as_dir" && as_dir=.
3658 for ac_exec_ext in '' $ac_executable_extensions; do
3659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3660 ac_cv_path_PROG_PW="$as_dir/$ac_word$ac_exec_ext"
3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 break 2
3663 fi
3664 done
3665 done
3666 IFS=$as_save_IFS
3667
3668 ;;
3669 esac
3670 fi
3671 PROG_PW=$ac_cv_path_PROG_PW
3672 if test -n "$PROG_PW"; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROG_PW" >&5
3674 $as_echo "$PROG_PW" >&6; }
3675 else
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3678 fi
3679
3680
3681 # Extract the first word of "rm", so it can be a program name with args.
3682 set dummy rm; ac_word=$2
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3684 $as_echo_n "checking for $ac_word... " >&6; }
3685 if ${ac_cv_path_PROG_RM+:} false; then :
3686 $as_echo_n "(cached) " >&6
3687 else
3688 case $PROG_RM in
3689 [\\/]* | ?:[\\/]*)
3690 ac_cv_path_PROG_RM="$PROG_RM" # Let the user override the test with a path.
3691 ;;
3692 *)
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 for ac_exec_ext in '' $ac_executable_extensions; do
3699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3700 ac_cv_path_PROG_RM="$as_dir/$ac_word$ac_exec_ext"
3701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3702 break 2
3703 fi
3704 done
3705 done
3706 IFS=$as_save_IFS
3707
3708 ;;
3709 esac
3710 fi
3711 PROG_RM=$ac_cv_path_PROG_RM
3712 if test -n "$PROG_RM"; then
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROG_RM" >&5
3714 $as_echo "$PROG_RM" >&6; }
3715 else
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3717 $as_echo "no" >&6; }
3718 fi
3719
3720
3721 # Extract the first word of "pwd_mkdb", so it can be a program name with args.
3722 set dummy pwd_mkdb; ac_word=$2
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3724 $as_echo_n "checking for $ac_word... " >&6; }
3725 if ${ac_cv_path_PROG_PWD_MKDB+:} false; then :
3726 $as_echo_n "(cached) " >&6
3727 else
3728 case $PROG_PWD_MKDB in
3729 [\\/]* | ?:[\\/]*)
3730 ac_cv_path_PROG_PWD_MKDB="$PROG_PWD_MKDB" # Let the user override the test with a path.
3731 ;;
3732 *)
3733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3734 for as_dir in $PATH
3735 do
3736 IFS=$as_save_IFS
3737 test -z "$as_dir" && as_dir=.
3738 for ac_exec_ext in '' $ac_executable_extensions; do
3739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3740 ac_cv_path_PROG_PWD_MKDB="$as_dir/$ac_word$ac_exec_ext"
3741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3742 break 2
3743 fi
3744 done
3745 done
3746 IFS=$as_save_IFS
3747
3748 ;;
3749 esac
3750 fi
3751 PROG_PWD_MKDB=$ac_cv_path_PROG_PWD_MKDB
3752 if test -n "$PROG_PWD_MKDB"; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PROG_PWD_MKDB" >&5
3754 $as_echo "$PROG_PWD_MKDB" >&6; }
3755 else
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757 $as_echo "no" >&6; }
3758 fi
3759
3760
3761
3762
3763 # Check whether --enable-restrictive-names was given.
3764 if test "${enable_restrictive_names+set}" = set; then :
3765 enableval=$enable_restrictive_names;
3766 if test "x$enableval" != "xno"; then
3767 $as_echo "#define RESTRICTIVE_FILENAMES 1" >>confdefs.h
3768
3769 fi
3770
3771 else
3772
3773 $as_echo "#define RESTRICTIVE_FILENAMES 1" >>confdefs.h
3774
3775
3776 fi
3777
3778
3779 # Check whether --enable-wildcards was given.
3780 if test "${enable_wildcards+set}" = set; then :
3781 enableval=$enable_wildcards;
3782 if test "x$enableval" != "xno"; then
3783 $as_echo "#define ENABLE_WILDCARDS 1" >>confdefs.h
3784
3785 fi
3786
3787 else
3788
3789 $as_echo "#define ENABLE_WILDCARDS 1" >>confdefs.h
3790
3791
3792 fi
3793
3794
3795 # Check whether --enable-gftp-compat was given.
3796 if test "${enable_gftp_compat+set}" = set; then :
3797 enableval=$enable_gftp_compat;
3798 if test "x$enableval" != "xno"; then
3799 $as_echo "#define GFTP_COMPAT 1" >>confdefs.h
3800
3801 fi
3802
3803 else
3804
3805 $as_echo "#define GFTP_COMPAT 1" >>confdefs.h
3806
3807
3808 fi
3809
3810
3811
3812 # Check whether --with-sftp-server was given.
3813 if test "${with_sftp_server+set}" = set; then :
3814 withval=$with_sftp_server;
3815 if test "x$withval" != "xno"; then
3816 scponly_explicit_sftpserver_path=$withval
3817 $as_echo "#define ENABLE_SFTP 1" >>confdefs.h
3818
3819 scponly_sftp_compat=1
3820 fi
3821
3822 else
3823
3824 $as_echo "#define ENABLE_SFTP 1" >>confdefs.h
3825
3826 scponly_sftp_compat=1
3827
3828 fi
3829
3830
3831 # Check whether --enable-winscp-compat was given.
3832 if test "${enable_winscp_compat+set}" = set; then :
3833 enableval=$enable_winscp_compat;
3834 if test "x$enableval" != "xno"; then
3835 scponly_scp_compat=1
3836 $as_echo "#define ENABLE_SCP2 1" >>confdefs.h
3837
3838 $as_echo "#define WINSCP_COMPAT 1" >>confdefs.h
3839
3840 fi
3841
3842 else
3843
3844 echo -n
3845 fi
3846
3847
3848
3849 # Check whether --with-default-chdir was given.
3850 if test "${with_default_chdir+set}" = set; then :
3851 withval=$with_default_chdir;
3852 $as_echo "#define ENABLE_DEFAULT_CHDIR 1" >>confdefs.h
3853
3854 cat >>confdefs.h <<_ACEOF
3855 #define DEFAULT_CHDIR "$withval"
3856 _ACEOF
3857
3858
3859 else
3860
3861 echo -n
3862 fi
3863
3864
3865 # Check whether --enable-unison-compat was given.
3866 if test "${enable_unison_compat+set}" = set; then :
3867 enableval=$enable_unison_compat;
3868 if test "x$enableval" != "xno"; then
3869 $as_echo "#define UNISON_COMPAT 1" >>confdefs.h
3870
3871 fi
3872
3873 else
3874
3875 echo -n
3876 fi
3877
3878
3879 # Check whether --enable-scp-compat was given.
3880 if test "${enable_scp_compat+set}" = set; then :
3881 enableval=$enable_scp_compat;
3882 if test "x$enableval" != "xno"; then
3883 $as_echo "#define ENABLE_SCP2 1" >>confdefs.h
3884
3885 scponly_scp_compat=1
3886 fi
3887
3888 else
3889
3890 echo -n
3891 fi
3892
3893
3894 # Check whether --enable-rsync-compat was given.
3895 if test "${enable_rsync_compat+set}" = set; then :
3896 enableval=$enable_rsync_compat;
3897 if test "x$enableval" != "xno"; then
3898 $as_echo "#define RSYNC_COMPAT 1" >>confdefs.h
3899
3900 fi
3901
3902 else
3903
3904 echo -n
3905 fi
3906
3907
3908 # Check whether --enable-chrooted-binary was given.
3909 if test "${enable_chrooted_binary+set}" = set; then :
3910 enableval=$enable_chrooted_binary;
3911 if test "x$enableval" != "xno"; then
3912 CHROOTED_NAME=scponlyc
3913
3914 $as_echo "#define CHROOTED_NAME \"scponlyc\"" >>confdefs.h
3915
3916 fi
3917
3918 else
3919
3920 echo -n
3921
3922 fi
3923
3924
3925 # Check whether --enable-chroot-checkdir was given.
3926 if test "${enable_chroot_checkdir+set}" = set; then :
3927 enableval=$enable_chroot_checkdir;
3928 if test "x$enableval" != "xno"; then
3929 $as_echo "#define CHROOT_CHECKDIR 1" >>confdefs.h
3930
3931 fi
3932
3933 else
3934
3935 $as_echo "#define CHROOT_CHECKDIR 1" >>confdefs.h
3936
3937
3938 fi
3939
3940
3941 # Check whether --enable-svn-compat was given.
3942 if test "${enable_svn_compat+set}" = set; then :
3943 enableval=$enable_svn_compat;
3944 if test "x$enableval" != "xno"; then
3945 $as_echo "#define SVN_COMPAT 1" >>confdefs.h
3946
3947 fi
3948
3949 else
3950
3951 echo -n
3952 fi
3953
3954
3955 # Check whether --enable-svnserv-compat was given.
3956 if test "${enable_svnserv_compat+set}" = set; then :
3957 enableval=$enable_svnserv_compat;
3958 if test "x$enableval" != "xno"; then
3959 $as_echo "#define SVNSERV_COMPAT 1" >>confdefs.h
3960
3961 fi
3962
3963 else
3964
3965 echo -n
3966 fi
3967
3968
3969 # Check whether --enable-passwd-compat was given.
3970 if test "${enable_passwd_compat+set}" = set; then :
3971 enableval=$enable_passwd_compat;
3972 if test "x$enableval" != "xno"; then
3973 $as_echo "#define PASSWD_COMPAT 1" >>confdefs.h
3974
3975 fi
3976
3977 else
3978
3979 echo -n
3980 fi
3981
3982
3983 # Check whether --enable-quota-compat was given.
3984 if test "${enable_quota_compat+set}" = set; then :
3985 enableval=$enable_quota_compat;
3986 if test "x$enableval" != "xno"; then
3987 $as_echo "#define QUOTA_COMPAT 1" >>confdefs.h
3988
3989 fi
3990
3991 else
3992
3993 echo -n
3994 fi
3995
3996
3997 if test "x$scponly_scp_compat" != "x"; then
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: enabling core WinSCP and Vanilla SCP binaries..." >&5
3999 $as_echo "$as_me: enabling core WinSCP and Vanilla SCP binaries..." >&6;}
4000 # Extract the first word of "sftp-server", so it can be a program name with args.
4001 set dummy sftp-server; ac_word=$2
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4003 $as_echo_n "checking for $ac_word... " >&6; }
4004 if ${ac_cv_path_scponly_PROG_SFTP_SERVER+:} false; then :
4005 $as_echo_n "(cached) " >&6
4006 else
4007 case $scponly_PROG_SFTP_SERVER in
4008 [\\/]* | ?:[\\/]*)
4009 ac_cv_path_scponly_PROG_SFTP_SERVER="$scponly_PROG_SFTP_SERVER" # Let the user override the test with a path.
4010 ;;
4011 *)
4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013 as_dummy="`echo "$PATH:/usr/lib:/usr/lib64:/usr/libexec:/usr/libexec/openssh:/usr/lib/ssh:/usr/lib64/ssh:/usr/local/libexec:/usr/lib/misc:/usr/lib/openssh" | sed -e 's/:/ /'`"
4014 for as_dir in $as_dummy
4015 do
4016 IFS=$as_save_IFS
4017 test -z "$as_dir" && as_dir=.
4018 for ac_exec_ext in '' $ac_executable_extensions; do
4019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4020 ac_cv_path_scponly_PROG_SFTP_SERVER="$as_dir/$ac_word$ac_exec_ext"
4021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4022 break 2
4023 fi
4024 done
4025 done
4026 IFS=$as_save_IFS
4027
4028 ;;
4029 esac
4030 fi
4031 scponly_PROG_SFTP_SERVER=$ac_cv_path_scponly_PROG_SFTP_SERVER
4032 if test -n "$scponly_PROG_SFTP_SERVER"; then
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_SFTP_SERVER" >&5
4034 $as_echo "$scponly_PROG_SFTP_SERVER" >&6; }
4035 else
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4037 $as_echo "no" >&6; }
4038 fi
4039
4040
4041 test -z $scponly_PROG_SFTP_SERVER && echo "Can't find path to 'sftp-server'" && exit 1
4042 cat >>confdefs.h <<_ACEOF
4043 #define PROG_SFTP_SERVER "$scponly_PROG_SFTP_SERVER"
4044 _ACEOF
4045
4046 # Extract the first word of "ls", so it can be a program name with args.
4047 set dummy ls; ac_word=$2
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4049 $as_echo_n "checking for $ac_word... " >&6; }
4050 if ${ac_cv_path_scponly_PROG_LS+:} false; then :
4051 $as_echo_n "(cached) " >&6
4052 else
4053 case $scponly_PROG_LS in
4054 [\\/]* | ?:[\\/]*)
4055 ac_cv_path_scponly_PROG_LS="$scponly_PROG_LS" # Let the user override the test with a path.
4056 ;;
4057 *)
4058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin" | sed -e 's/:/ /'`"
4060 for as_dir in $as_dummy
4061 do
4062 IFS=$as_save_IFS
4063 test -z "$as_dir" && as_dir=.
4064 for ac_exec_ext in '' $ac_executable_extensions; do
4065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4066 ac_cv_path_scponly_PROG_LS="$as_dir/$ac_word$ac_exec_ext"
4067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4068 break 2
4069 fi
4070 done
4071 done
4072 IFS=$as_save_IFS
4073
4074 ;;
4075 esac
4076 fi
4077 scponly_PROG_LS=$ac_cv_path_scponly_PROG_LS
4078 if test -n "$scponly_PROG_LS"; then
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_LS" >&5
4080 $as_echo "$scponly_PROG_LS" >&6; }
4081 else
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4083 $as_echo "no" >&6; }
4084 fi
4085
4086
4087 test -z $scponly_PROG_LS && echo "Can't find path to 'ls'" && exit 1
4088 cat >>confdefs.h <<_ACEOF
4089 #define PROG_LS "$scponly_PROG_LS"
4090 _ACEOF
4091
4092 # Extract the first word of "scp", so it can be a program name with args.
4093 set dummy scp; ac_word=$2
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4095 $as_echo_n "checking for $ac_word... " >&6; }
4096 if ${ac_cv_path_scponly_PROG_SCP+:} false; then :
4097 $as_echo_n "(cached) " >&6
4098 else
4099 case $scponly_PROG_SCP in
4100 [\\/]* | ?:[\\/]*)
4101 ac_cv_path_scponly_PROG_SCP="$scponly_PROG_SCP" # Let the user override the test with a path.
4102 ;;
4103 *)
4104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4105 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin" | sed -e 's/:/ /'`"
4106 for as_dir in $as_dummy
4107 do
4108 IFS=$as_save_IFS
4109 test -z "$as_dir" && as_dir=.
4110 for ac_exec_ext in '' $ac_executable_extensions; do
4111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4112 ac_cv_path_scponly_PROG_SCP="$as_dir/$ac_word$ac_exec_ext"
4113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4114 break 2
4115 fi
4116 done
4117 done
4118 IFS=$as_save_IFS
4119
4120 ;;
4121 esac
4122 fi
4123 scponly_PROG_SCP=$ac_cv_path_scponly_PROG_SCP
4124 if test -n "$scponly_PROG_SCP"; then
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_SCP" >&5
4126 $as_echo "$scponly_PROG_SCP" >&6; }
4127 else
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4129 $as_echo "no" >&6; }
4130 fi
4131
4132
4133 test -z $scponly_PROG_SCP && echo "Can't find path to 'scp'" && exit 1
4134 cat >>confdefs.h <<_ACEOF
4135 #define PROG_SCP "$scponly_PROG_SCP"
4136 _ACEOF
4137
4138 # Extract the first word of "rm", so it can be a program name with args.
4139 set dummy rm; ac_word=$2
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4141 $as_echo_n "checking for $ac_word... " >&6; }
4142 if ${ac_cv_path_scponly_PROG_RM+:} false; then :
4143 $as_echo_n "(cached) " >&6
4144 else
4145 case $scponly_PROG_RM in
4146 [\\/]* | ?:[\\/]*)
4147 ac_cv_path_scponly_PROG_RM="$scponly_PROG_RM" # Let the user override the test with a path.
4148 ;;
4149 *)
4150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4151 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin" | sed -e 's/:/ /'`"
4152 for as_dir in $as_dummy
4153 do
4154 IFS=$as_save_IFS
4155 test -z "$as_dir" && as_dir=.
4156 for ac_exec_ext in '' $ac_executable_extensions; do
4157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4158 ac_cv_path_scponly_PROG_RM="$as_dir/$ac_word$ac_exec_ext"
4159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4160 break 2
4161 fi
4162 done
4163 done
4164 IFS=$as_save_IFS
4165
4166 ;;
4167 esac
4168 fi
4169 scponly_PROG_RM=$ac_cv_path_scponly_PROG_RM
4170 if test -n "$scponly_PROG_RM"; then
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_RM" >&5
4172 $as_echo "$scponly_PROG_RM" >&6; }
4173 else
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4175 $as_echo "no" >&6; }
4176 fi
4177
4178
4179 test -z $scponly_PROG_RM && echo "Can't find path to 'rm'" && exit 1
4180 cat >>confdefs.h <<_ACEOF
4181 #define PROG_RM "$scponly_PROG_RM"
4182 _ACEOF
4183
4184 # Extract the first word of "ln", so it can be a program name with args.
4185 set dummy ln; ac_word=$2
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4187 $as_echo_n "checking for $ac_word... " >&6; }
4188 if ${ac_cv_path_scponly_PROG_LN+:} false; then :
4189 $as_echo_n "(cached) " >&6
4190 else
4191 case $scponly_PROG_LN in
4192 [\\/]* | ?:[\\/]*)
4193 ac_cv_path_scponly_PROG_LN="$scponly_PROG_LN" # Let the user override the test with a path.
4194 ;;
4195 *)
4196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4197 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin" | sed -e 's/:/ /'`"
4198 for as_dir in $as_dummy
4199 do
4200 IFS=$as_save_IFS
4201 test -z "$as_dir" && as_dir=.
4202 for ac_exec_ext in '' $ac_executable_extensions; do
4203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4204 ac_cv_path_scponly_PROG_LN="$as_dir/$ac_word$ac_exec_ext"
4205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4206 break 2
4207 fi
4208 done
4209 done
4210 IFS=$as_save_IFS
4211
4212 ;;
4213 esac
4214 fi
4215 scponly_PROG_LN=$ac_cv_path_scponly_PROG_LN
4216 if test -n "$scponly_PROG_LN"; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_LN" >&5
4218 $as_echo "$scponly_PROG_LN" >&6; }
4219 else
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221 $as_echo "no" >&6; }
4222 fi
4223
4224
4225 test -z $scponly_PROG_LN && echo "Can't find path to 'ln'" && exit 1
4226 cat >>confdefs.h <<_ACEOF
4227 #define PROG_LN "$scponly_PROG_LN"
4228 _ACEOF
4229
4230 # Extract the first word of "mv", so it can be a program name with args.
4231 set dummy mv; ac_word=$2
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4233 $as_echo_n "checking for $ac_word... " >&6; }
4234 if ${ac_cv_path_scponly_PROG_MV+:} false; then :
4235 $as_echo_n "(cached) " >&6
4236 else
4237 case $scponly_PROG_MV in
4238 [\\/]* | ?:[\\/]*)
4239 ac_cv_path_scponly_PROG_MV="$scponly_PROG_MV" # Let the user override the test with a path.
4240 ;;
4241 *)
4242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4243 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin" | sed -e 's/:/ /'`"
4244 for as_dir in $as_dummy
4245 do
4246 IFS=$as_save_IFS
4247 test -z "$as_dir" && as_dir=.
4248 for ac_exec_ext in '' $ac_executable_extensions; do
4249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4250 ac_cv_path_scponly_PROG_MV="$as_dir/$ac_word$ac_exec_ext"
4251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4252 break 2
4253 fi
4254 done
4255 done
4256 IFS=$as_save_IFS
4257
4258 ;;
4259 esac
4260 fi
4261 scponly_PROG_MV=$ac_cv_path_scponly_PROG_MV
4262 if test -n "$scponly_PROG_MV"; then
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_MV" >&5
4264 $as_echo "$scponly_PROG_MV" >&6; }
4265 else
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4267 $as_echo "no" >&6; }
4268 fi
4269
4270
4271 test -z $scponly_PROG_MV && echo "Can't find path to 'mv'" && exit 1
4272 cat >>confdefs.h <<_ACEOF
4273 #define PROG_MV "$scponly_PROG_MV"
4274 _ACEOF
4275
4276 # Extract the first word of "chmod", so it can be a program name with args.
4277 set dummy chmod; ac_word=$2
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4279 $as_echo_n "checking for $ac_word... " >&6; }
4280 if ${ac_cv_path_scponly_PROG_CHMOD+:} false; then :
4281 $as_echo_n "(cached) " >&6
4282 else
4283 case $scponly_PROG_CHMOD in
4284 [\\/]* | ?:[\\/]*)
4285 ac_cv_path_scponly_PROG_CHMOD="$scponly_PROG_CHMOD" # Let the user override the test with a path.
4286 ;;
4287 *)
4288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4289 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin" | sed -e 's/:/ /'`"
4290 for as_dir in $as_dummy
4291 do
4292 IFS=$as_save_IFS
4293 test -z "$as_dir" && as_dir=.
4294 for ac_exec_ext in '' $ac_executable_extensions; do
4295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4296 ac_cv_path_scponly_PROG_CHMOD="$as_dir/$ac_word$ac_exec_ext"
4297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 break 2
4299 fi
4300 done
4301 done
4302 IFS=$as_save_IFS
4303
4304 ;;
4305 esac
4306 fi
4307 scponly_PROG_CHMOD=$ac_cv_path_scponly_PROG_CHMOD
4308 if test -n "$scponly_PROG_CHMOD"; then
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_CHMOD" >&5
4310 $as_echo "$scponly_PROG_CHMOD" >&6; }
4311 else
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4313 $as_echo "no" >&6; }
4314 fi
4315
4316
4317 test -z $scponly_PROG_CHMOD && echo "Can't find path to 'chmod'" && exit 1
4318 cat >>confdefs.h <<_ACEOF
4319 #define PROG_CHMOD "$scponly_PROG_CHMOD"
4320 _ACEOF
4321
4322 # Extract the first word of "chown", so it can be a program name with args.
4323 set dummy chown; ac_word=$2
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4325 $as_echo_n "checking for $ac_word... " >&6; }
4326 if ${ac_cv_path_scponly_PROG_CHOWN+:} false; then :
4327 $as_echo_n "(cached) " >&6
4328 else
4329 case $scponly_PROG_CHOWN in
4330 [\\/]* | ?:[\\/]*)
4331 ac_cv_path_scponly_PROG_CHOWN="$scponly_PROG_CHOWN" # Let the user override the test with a path.
4332 ;;
4333 *)
4334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4335 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin" | sed -e 's/:/ /'`"
4336 for as_dir in $as_dummy
4337 do
4338 IFS=$as_save_IFS
4339 test -z "$as_dir" && as_dir=.
4340 for ac_exec_ext in '' $ac_executable_extensions; do
4341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4342 ac_cv_path_scponly_PROG_CHOWN="$as_dir/$ac_word$ac_exec_ext"
4343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4344 break 2
4345 fi
4346 done
4347 done
4348 IFS=$as_save_IFS
4349
4350 ;;
4351 esac
4352 fi
4353 scponly_PROG_CHOWN=$ac_cv_path_scponly_PROG_CHOWN
4354 if test -n "$scponly_PROG_CHOWN"; then
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_CHOWN" >&5
4356 $as_echo "$scponly_PROG_CHOWN" >&6; }
4357 else
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4359 $as_echo "no" >&6; }
4360 fi
4361
4362
4363 test -z $scponly_PROG_CHOWN && echo "Can't find path to 'chown'" && exit 1
4364 cat >>confdefs.h <<_ACEOF
4365 #define PROG_CHOWN "$scponly_PROG_CHOWN"
4366 _ACEOF
4367
4368 # Extract the first word of "chgrp", so it can be a program name with args.
4369 set dummy chgrp; ac_word=$2
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4371 $as_echo_n "checking for $ac_word... " >&6; }
4372 if ${ac_cv_path_scponly_PROG_CHGRP+:} false; then :
4373 $as_echo_n "(cached) " >&6
4374 else
4375 case $scponly_PROG_CHGRP in
4376 [\\/]* | ?:[\\/]*)
4377 ac_cv_path_scponly_PROG_CHGRP="$scponly_PROG_CHGRP" # Let the user override the test with a path.
4378 ;;
4379 *)
4380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4381 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin" | sed -e 's/:/ /'`"
4382 for as_dir in $as_dummy
4383 do
4384 IFS=$as_save_IFS
4385 test -z "$as_dir" && as_dir=.
4386 for ac_exec_ext in '' $ac_executable_extensions; do
4387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4388 ac_cv_path_scponly_PROG_CHGRP="$as_dir/$ac_word$ac_exec_ext"
4389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4390 break 2
4391 fi
4392 done
4393 done
4394 IFS=$as_save_IFS
4395
4396 ;;
4397 esac
4398 fi
4399 scponly_PROG_CHGRP=$ac_cv_path_scponly_PROG_CHGRP
4400 if test -n "$scponly_PROG_CHGRP"; then
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_CHGRP" >&5
4402 $as_echo "$scponly_PROG_CHGRP" >&6; }
4403 else
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4405 $as_echo "no" >&6; }
4406 fi
4407
4408
4409 test -z $scponly_PROG_CHGRP && echo "Can't find path to 'chgrp'" && exit 1
4410 cat >>confdefs.h <<_ACEOF
4411 #define PROG_CHGRP "$scponly_PROG_CHGRP"
4412 _ACEOF
4413
4414 # Extract the first word of "mkdir", so it can be a program name with args.
4415 set dummy mkdir; ac_word=$2
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4417 $as_echo_n "checking for $ac_word... " >&6; }
4418 if ${ac_cv_path_scponly_PROG_MKDIR+:} false; then :
4419 $as_echo_n "(cached) " >&6
4420 else
4421 case $scponly_PROG_MKDIR in
4422 [\\/]* | ?:[\\/]*)
4423 ac_cv_path_scponly_PROG_MKDIR="$scponly_PROG_MKDIR" # Let the user override the test with a path.
4424 ;;
4425 *)
4426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4427 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin" | sed -e 's/:/ /'`"
4428 for as_dir in $as_dummy
4429 do
4430 IFS=$as_save_IFS
4431 test -z "$as_dir" && as_dir=.
4432 for ac_exec_ext in '' $ac_executable_extensions; do
4433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4434 ac_cv_path_scponly_PROG_MKDIR="$as_dir/$ac_word$ac_exec_ext"
4435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4436 break 2
4437 fi
4438 done
4439 done
4440 IFS=$as_save_IFS
4441
4442 ;;
4443 esac
4444 fi
4445 scponly_PROG_MKDIR=$ac_cv_path_scponly_PROG_MKDIR
4446 if test -n "$scponly_PROG_MKDIR"; then
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_MKDIR" >&5
4448 $as_echo "$scponly_PROG_MKDIR" >&6; }
4449 else
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4451 $as_echo "no" >&6; }
4452 fi
4453
4454
4455 test -z $scponly_PROG_MKDIR && echo "Can't find path to 'mkdir'" && exit 1
4456 cat >>confdefs.h <<_ACEOF
4457 #define PROG_MKDIR "$scponly_PROG_MKDIR"
4458 _ACEOF
4459
4460 # Extract the first word of "rmdir", so it can be a program name with args.
4461 set dummy rmdir; ac_word=$2
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4463 $as_echo_n "checking for $ac_word... " >&6; }
4464 if ${ac_cv_path_scponly_PROG_RMDIR+:} false; then :
4465 $as_echo_n "(cached) " >&6
4466 else
4467 case $scponly_PROG_RMDIR in
4468 [\\/]* | ?:[\\/]*)
4469 ac_cv_path_scponly_PROG_RMDIR="$scponly_PROG_RMDIR" # Let the user override the test with a path.
4470 ;;
4471 *)
4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4473 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin" | sed -e 's/:/ /'`"
4474 for as_dir in $as_dummy
4475 do
4476 IFS=$as_save_IFS
4477 test -z "$as_dir" && as_dir=.
4478 for ac_exec_ext in '' $ac_executable_extensions; do
4479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4480 ac_cv_path_scponly_PROG_RMDIR="$as_dir/$ac_word$ac_exec_ext"
4481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4482 break 2
4483 fi
4484 done
4485 done
4486 IFS=$as_save_IFS
4487
4488 ;;
4489 esac
4490 fi
4491 scponly_PROG_RMDIR=$ac_cv_path_scponly_PROG_RMDIR
4492 if test -n "$scponly_PROG_RMDIR"; then
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_RMDIR" >&5
4494 $as_echo "$scponly_PROG_RMDIR" >&6; }
4495 else
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4497 $as_echo "no" >&6; }
4498 fi
4499
4500
4501 test -z $scponly_PROG_RMDIR && echo "Can't find path to 'rmdir'" && exit 1
4502 cat >>confdefs.h <<_ACEOF
4503 #define PROG_RMDIR "$scponly_PROG_RMDIR"
4504 _ACEOF
4505
4506 fi
4507
4508 if test "x$enable_winscp_compat" != "xno"; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: enabling WinSCP compatability..." >&5
4510 $as_echo "$as_me: enabling WinSCP compatability..." >&6;}
4511 # Extract the first word of "pwd", so it can be a program name with args.
4512 set dummy pwd; ac_word=$2
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4514 $as_echo_n "checking for $ac_word... " >&6; }
4515 if ${ac_cv_path_scponly_PROG_PWD+:} false; then :
4516 $as_echo_n "(cached) " >&6
4517 else
4518 case $scponly_PROG_PWD in
4519 [\\/]* | ?:[\\/]*)
4520 ac_cv_path_scponly_PROG_PWD="$scponly_PROG_PWD" # Let the user override the test with a path.
4521 ;;
4522 *)
4523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin" | sed -e 's/:/ /'`"
4525 for as_dir in $as_dummy
4526 do
4527 IFS=$as_save_IFS
4528 test -z "$as_dir" && as_dir=.
4529 for ac_exec_ext in '' $ac_executable_extensions; do
4530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4531 ac_cv_path_scponly_PROG_PWD="$as_dir/$ac_word$ac_exec_ext"
4532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4533 break 2
4534 fi
4535 done
4536 done
4537 IFS=$as_save_IFS
4538
4539 ;;
4540 esac
4541 fi
4542 scponly_PROG_PWD=$ac_cv_path_scponly_PROG_PWD
4543 if test -n "$scponly_PROG_PWD"; then
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_PWD" >&5
4545 $as_echo "$scponly_PROG_PWD" >&6; }
4546 else
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4548 $as_echo "no" >&6; }
4549 fi
4550
4551
4552 test -z $scponly_PROG_PWD && echo "Can't find path to 'pwd'" && exit 1
4553 cat >>confdefs.h <<_ACEOF
4554 #define PROG_PWD "$scponly_PROG_PWD"
4555 _ACEOF
4556
4557 # Extract the first word of "groups", so it can be a program name with args.
4558 set dummy groups; ac_word=$2
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4560 $as_echo_n "checking for $ac_word... " >&6; }
4561 if ${ac_cv_path_scponly_PROG_GROUPS+:} false; then :
4562 $as_echo_n "(cached) " >&6
4563 else
4564 case $scponly_PROG_GROUPS in
4565 [\\/]* | ?:[\\/]*)
4566 ac_cv_path_scponly_PROG_GROUPS="$scponly_PROG_GROUPS" # Let the user override the test with a path.
4567 ;;
4568 *)
4569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4570 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin" | sed -e 's/:/ /'`"
4571 for as_dir in $as_dummy
4572 do
4573 IFS=$as_save_IFS
4574 test -z "$as_dir" && as_dir=.
4575 for ac_exec_ext in '' $ac_executable_extensions; do
4576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4577 ac_cv_path_scponly_PROG_GROUPS="$as_dir/$ac_word$ac_exec_ext"
4578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4579 break 2
4580 fi
4581 done
4582 done
4583 IFS=$as_save_IFS
4584
4585 ;;
4586 esac
4587 fi
4588 scponly_PROG_GROUPS=$ac_cv_path_scponly_PROG_GROUPS
4589 if test -n "$scponly_PROG_GROUPS"; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_GROUPS" >&5
4591 $as_echo "$scponly_PROG_GROUPS" >&6; }
4592 else
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4594 $as_echo "no" >&6; }
4595 fi
4596
4597
4598 test -z $scponly_PROG_GROUPS && echo "Can't find path to 'groups'" && exit 1
4599 cat >>confdefs.h <<_ACEOF
4600 #define PROG_GROUPS "$scponly_PROG_GROUPS"
4601 _ACEOF
4602
4603 # Extract the first word of "id", so it can be a program name with args.
4604 set dummy id; ac_word=$2
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4606 $as_echo_n "checking for $ac_word... " >&6; }
4607 if ${ac_cv_path_scponly_PROG_ID+:} false; then :
4608 $as_echo_n "(cached) " >&6
4609 else
4610 case $scponly_PROG_ID in
4611 [\\/]* | ?:[\\/]*)
4612 ac_cv_path_scponly_PROG_ID="$scponly_PROG_ID" # Let the user override the test with a path.
4613 ;;
4614 *)
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin" | sed -e 's/:/ /'`"
4617 for as_dir in $as_dummy
4618 do
4619 IFS=$as_save_IFS
4620 test -z "$as_dir" && as_dir=.
4621 for ac_exec_ext in '' $ac_executable_extensions; do
4622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4623 ac_cv_path_scponly_PROG_ID="$as_dir/$ac_word$ac_exec_ext"
4624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4625 break 2
4626 fi
4627 done
4628 done
4629 IFS=$as_save_IFS
4630
4631 ;;
4632 esac
4633 fi
4634 scponly_PROG_ID=$ac_cv_path_scponly_PROG_ID
4635 if test -n "$scponly_PROG_ID"; then
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_ID" >&5
4637 $as_echo "$scponly_PROG_ID" >&6; }
4638 else
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640 $as_echo "no" >&6; }
4641 fi
4642
4643
4644 test -z $scponly_PROG_ID && echo "Can't find path to 'id'" && exit 1
4645 cat >>confdefs.h <<_ACEOF
4646 #define PROG_ID "$scponly_PROG_ID"
4647 _ACEOF
4648
4649 # Extract the first word of "echo", so it can be a program name with args.
4650 set dummy echo; ac_word=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 $as_echo_n "checking for $ac_word... " >&6; }
4653 if ${ac_cv_path_scponly_PROG_ECHO+:} false; then :
4654 $as_echo_n "(cached) " >&6
4655 else
4656 case $scponly_PROG_ECHO in
4657 [\\/]* | ?:[\\/]*)
4658 ac_cv_path_scponly_PROG_ECHO="$scponly_PROG_ECHO" # Let the user override the test with a path.
4659 ;;
4660 *)
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin" | sed -e 's/:/ /'`"
4663 for as_dir in $as_dummy
4664 do
4665 IFS=$as_save_IFS
4666 test -z "$as_dir" && as_dir=.
4667 for ac_exec_ext in '' $ac_executable_extensions; do
4668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4669 ac_cv_path_scponly_PROG_ECHO="$as_dir/$ac_word$ac_exec_ext"
4670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4671 break 2
4672 fi
4673 done
4674 done
4675 IFS=$as_save_IFS
4676
4677 ;;
4678 esac
4679 fi
4680 scponly_PROG_ECHO=$ac_cv_path_scponly_PROG_ECHO
4681 if test -n "$scponly_PROG_ECHO"; then
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_ECHO" >&5
4683 $as_echo "$scponly_PROG_ECHO" >&6; }
4684 else
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 $as_echo "no" >&6; }
4687 fi
4688
4689
4690 test -z $scponly_PROG_ECHO && echo "Can't find path to 'echo'" && exit 1
4691 cat >>confdefs.h <<_ACEOF
4692 #define PROG_ECHO "$scponly_PROG_ECHO"
4693 _ACEOF
4694
4695 fi
4696
4697 # unison-compat conditionals:
4698 if test "x$enable_unison_compat" != "x" && test "x$enable_unison_compat" != "xno"; then
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: read the SECURITY document before enabling unison compatibility" >&5
4700 $as_echo "$as_me: WARNING: read the SECURITY document before enabling unison compatibility" >&2;}
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: enabling unison compatability..." >&5
4702 $as_echo "$as_me: enabling unison compatability..." >&6;}
4703 # Extract the first word of "unison", so it can be a program name with args.
4704 set dummy unison; ac_word=$2
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4706 $as_echo_n "checking for $ac_word... " >&6; }
4707 if ${ac_cv_path_scponly_PROG_UNISON+:} false; then :
4708 $as_echo_n "(cached) " >&6
4709 else
4710 case $scponly_PROG_UNISON in
4711 [\\/]* | ?:[\\/]*)
4712 ac_cv_path_scponly_PROG_UNISON="$scponly_PROG_UNISON" # Let the user override the test with a path.
4713 ;;
4714 *)
4715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin" | sed -e 's/:/ /'`"
4717 for as_dir in $as_dummy
4718 do
4719 IFS=$as_save_IFS
4720 test -z "$as_dir" && as_dir=.
4721 for ac_exec_ext in '' $ac_executable_extensions; do
4722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4723 ac_cv_path_scponly_PROG_UNISON="$as_dir/$ac_word$ac_exec_ext"
4724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4725 break 2
4726 fi
4727 done
4728 done
4729 IFS=$as_save_IFS
4730
4731 ;;
4732 esac
4733 fi
4734 scponly_PROG_UNISON=$ac_cv_path_scponly_PROG_UNISON
4735 if test -n "$scponly_PROG_UNISON"; then
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_UNISON" >&5
4737 $as_echo "$scponly_PROG_UNISON" >&6; }
4738 else
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740 $as_echo "no" >&6; }
4741 fi
4742
4743
4744 test -z $scponly_PROG_UNISON && echo "Can't find path to 'unison'" && exit 1
4745 cat >>confdefs.h <<_ACEOF
4746 #define PROG_UNISON "$scponly_PROG_UNISON"
4747 _ACEOF
4748
4749 fi
4750
4751 # rsync-compat conditionals:
4752 if test "x$enable_rsync_compat" != "x" && test "x$enable_rsync_compat" != "xno"; then
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: read the SECURITY document before enabling rsync compatibility" >&5
4754 $as_echo "$as_me: WARNING: read the SECURITY document before enabling rsync compatibility" >&2;}
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: enabling rsync compatability..." >&5
4756 $as_echo "$as_me: enabling rsync compatability..." >&6;}
4757 # Extract the first word of "rsync", so it can be a program name with args.
4758 set dummy rsync; ac_word=$2
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760 $as_echo_n "checking for $ac_word... " >&6; }
4761 if ${ac_cv_path_scponly_PROG_RSYNC+:} false; then :
4762 $as_echo_n "(cached) " >&6
4763 else
4764 case $scponly_PROG_RSYNC in
4765 [\\/]* | ?:[\\/]*)
4766 ac_cv_path_scponly_PROG_RSYNC="$scponly_PROG_RSYNC" # Let the user override the test with a path.
4767 ;;
4768 *)
4769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin" | sed -e 's/:/ /'`"
4771 for as_dir in $as_dummy
4772 do
4773 IFS=$as_save_IFS
4774 test -z "$as_dir" && as_dir=.
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4777 ac_cv_path_scponly_PROG_RSYNC="$as_dir/$ac_word$ac_exec_ext"
4778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4779 break 2
4780 fi
4781 done
4782 done
4783 IFS=$as_save_IFS
4784
4785 ;;
4786 esac
4787 fi
4788 scponly_PROG_RSYNC=$ac_cv_path_scponly_PROG_RSYNC
4789 if test -n "$scponly_PROG_RSYNC"; then
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_RSYNC" >&5
4791 $as_echo "$scponly_PROG_RSYNC" >&6; }
4792 else
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4794 $as_echo "no" >&6; }
4795 fi
4796
4797
4798 test -z $scponly_PROG_RSYNC && echo "Can't find path to 'rsync'" && exit 1
4799 cat >>confdefs.h <<_ACEOF
4800 #define PROG_RSYNC "$scponly_PROG_RSYNC"
4801 _ACEOF
4802
4803 fi
4804
4805 if test "x$enable_svnserv_compat" != "x" && test "x$enable_svnserv_compat" != "xno"; then
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: read the SECURITY document before enabling svnserv compatibility" >&5
4807 $as_echo "$as_me: WARNING: read the SECURITY document before enabling svnserv compatibility" >&2;}
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: enabling svnserv compatibility..." >&5
4809 $as_echo "$as_me: enabling svnserv compatibility..." >&6;}
4810 # Extract the first word of "svnserve", so it can be a program name with args.
4811 set dummy svnserve; ac_word=$2
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4813 $as_echo_n "checking for $ac_word... " >&6; }
4814 if ${ac_cv_path_scponly_PROG_SVNSERV+:} false; then :
4815 $as_echo_n "(cached) " >&6
4816 else
4817 case $scponly_PROG_SVNSERV in
4818 [\\/]* | ?:[\\/]*)
4819 ac_cv_path_scponly_PROG_SVNSERV="$scponly_PROG_SVNSERV" # Let the user override the test with a path.
4820 ;;
4821 *)
4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin" | sed -e 's/:/ /'`"
4824 for as_dir in $as_dummy
4825 do
4826 IFS=$as_save_IFS
4827 test -z "$as_dir" && as_dir=.
4828 for ac_exec_ext in '' $ac_executable_extensions; do
4829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4830 ac_cv_path_scponly_PROG_SVNSERV="$as_dir/$ac_word$ac_exec_ext"
4831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4832 break 2
4833 fi
4834 done
4835 done
4836 IFS=$as_save_IFS
4837
4838 ;;
4839 esac
4840 fi
4841 scponly_PROG_SVNSERV=$ac_cv_path_scponly_PROG_SVNSERV
4842 if test -n "$scponly_PROG_SVNSERV"; then
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_SVNSERV" >&5
4844 $as_echo "$scponly_PROG_SVNSERV" >&6; }
4845 else
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4847 $as_echo "no" >&6; }
4848 fi
4849
4850
4851 test -z $scponly_PROG_SVNSERV && echo "Can't find path to 'svnserve'" && exit 1
4852 cat >>confdefs.h <<_ACEOF
4853 #define PROG_SVNSERV "$scponly_PROG_SVNSERV"
4854 _ACEOF
4855
4856 fi
4857
4858 if test "x$enable_svn_compat" != "x" && test "x$enable_svn_compat" != "xno"; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: read the SECURITY document before enabling svn compatibility" >&5
4860 $as_echo "$as_me: WARNING: read the SECURITY document before enabling svn compatibility" >&2;}
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: enabling subversion compatability..." >&5
4862 $as_echo "$as_me: enabling subversion compatability..." >&6;}
4863 # Extract the first word of "svn", so it can be a program name with args.
4864 set dummy svn; ac_word=$2
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866 $as_echo_n "checking for $ac_word... " >&6; }
4867 if ${ac_cv_path_scponly_PROG_SVN+:} false; then :
4868 $as_echo_n "(cached) " >&6
4869 else
4870 case $scponly_PROG_SVN in
4871 [\\/]* | ?:[\\/]*)
4872 ac_cv_path_scponly_PROG_SVN="$scponly_PROG_SVN" # Let the user override the test with a path.
4873 ;;
4874 *)
4875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876 as_dummy="`echo "$PATH:/bin:/usr/bin:/usr/local/bin:/usr/local/bin" | sed -e 's/:/ /'`"
4877 for as_dir in $as_dummy
4878 do
4879 IFS=$as_save_IFS
4880 test -z "$as_dir" && as_dir=.
4881 for ac_exec_ext in '' $ac_executable_extensions; do
4882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4883 ac_cv_path_scponly_PROG_SVN="$as_dir/$ac_word$ac_exec_ext"
4884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4885 break 2
4886 fi
4887 done
4888 done
4889 IFS=$as_save_IFS
4890
4891 ;;
4892 esac
4893 fi
4894 scponly_PROG_SVN=$ac_cv_path_scponly_PROG_SVN
4895 if test -n "$scponly_PROG_SVN"; then
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_SVN" >&5
4897 $as_echo "$scponly_PROG_SVN" >&6; }
4898 else
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4900 $as_echo "no" >&6; }
4901 fi
4902
4903
4904 test -z $scponly_PROG_SVN && echo "Can't find path to 'svn'" && exit 1
4905 cat >>confdefs.h <<_ACEOF
4906 #define PROG_SVN "$scponly_PROG_SVN"
4907 _ACEOF
4908
4909 fi
4910
4911 if test "x$enable_passwd_compat" != "x" && test "x$enable_passwd_compat" != "xno"; then
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: enabling passwd compatability..." >&5
4913 $as_echo "$as_me: enabling passwd compatability..." >&6;}
4914 # Extract the first word of "passwd", so it can be a program name with args.
4915 set dummy passwd; ac_word=$2
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 $as_echo_n "checking for $ac_word... " >&6; }
4918 if ${ac_cv_path_scponly_PROG_PASSWD+:} false; then :
4919 $as_echo_n "(cached) " >&6
4920 else
4921 case $scponly_PROG_PASSWD in
4922 [\\/]* | ?:[\\/]*)
4923 ac_cv_path_scponly_PROG_PASSWD="$scponly_PROG_PASSWD" # Let the user override the test with a path.
4924 ;;
4925 *)
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4927 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin" | sed -e 's/:/ /'`"
4928 for as_dir in $as_dummy
4929 do
4930 IFS=$as_save_IFS
4931 test -z "$as_dir" && as_dir=.
4932 for ac_exec_ext in '' $ac_executable_extensions; do
4933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4934 ac_cv_path_scponly_PROG_PASSWD="$as_dir/$ac_word$ac_exec_ext"
4935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4936 break 2
4937 fi
4938 done
4939 done
4940 IFS=$as_save_IFS
4941
4942 ;;
4943 esac
4944 fi
4945 scponly_PROG_PASSWD=$ac_cv_path_scponly_PROG_PASSWD
4946 if test -n "$scponly_PROG_PASSWD"; then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_PASSWD" >&5
4948 $as_echo "$scponly_PROG_PASSWD" >&6; }
4949 else
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4952 fi
4953
4954
4955 test -z $scponly_PROG_PASSWD && echo "Can't find path to 'passwd'" && exit 1
4956 cat >>confdefs.h <<_ACEOF
4957 #define PROG_PASSWD "$scponly_PROG_PASSWD"
4958 _ACEOF
4959
4960 fi
4961
4962 if test "x$enable_quota_compat" != "x" && test "x$enable_quota_compat" != "xno"; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: enabling quota compatability..." >&5
4964 $as_echo "$as_me: enabling quota compatability..." >&6;}
4965 # Extract the first word of "quota", so it can be a program name with args.
4966 set dummy quota; ac_word=$2
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4968 $as_echo_n "checking for $ac_word... " >&6; }
4969 if ${ac_cv_path_scponly_PROG_QUOTA+:} false; then :
4970 $as_echo_n "(cached) " >&6
4971 else
4972 case $scponly_PROG_QUOTA in
4973 [\\/]* | ?:[\\/]*)
4974 ac_cv_path_scponly_PROG_QUOTA="$scponly_PROG_QUOTA" # Let the user override the test with a path.
4975 ;;
4976 *)
4977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 as_dummy="`echo "$PATH:/bin:/usr/bin:/sbin:/usr/sbin" | sed -e 's/:/ /'`"
4979 for as_dir in $as_dummy
4980 do
4981 IFS=$as_save_IFS
4982 test -z "$as_dir" && as_dir=.
4983 for ac_exec_ext in '' $ac_executable_extensions; do
4984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4985 ac_cv_path_scponly_PROG_QUOTA="$as_dir/$ac_word$ac_exec_ext"
4986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4987 break 2
4988 fi
4989 done
4990 done
4991 IFS=$as_save_IFS
4992
4993 ;;
4994 esac
4995 fi
4996 scponly_PROG_QUOTA=$ac_cv_path_scponly_PROG_QUOTA
4997 if test -n "$scponly_PROG_QUOTA"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_QUOTA" >&5
4999 $as_echo "$scponly_PROG_QUOTA" >&6; }
5000 else
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5003 fi
5004
5005
5006 test -z $scponly_PROG_QUOTA && echo "Can't find path to 'quota'" && exit 1
5007 cat >>confdefs.h <<_ACEOF
5008 #define PROG_QUOTA "$scponly_PROG_QUOTA"
5009 _ACEOF
5010
5011 fi
5012
5013 if test "x$scponly_sftp_compat" != "x"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: enabling SFTP compatability..." >&5
5015 $as_echo "$as_me: enabling SFTP compatability..." >&6;}
5016 if test "x$scponly_explicit_sftpserver_path" = "x"; then
5017 # Extract the first word of "sftp-server", so it can be a program name with args.
5018 set dummy sftp-server; ac_word=$2
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5020 $as_echo_n "checking for $ac_word... " >&6; }
5021 if ${ac_cv_path_scponly_PROG_SFTP_SERVER+:} false; then :
5022 $as_echo_n "(cached) " >&6
5023 else
5024 case $scponly_PROG_SFTP_SERVER in
5025 [\\/]* | ?:[\\/]*)
5026 ac_cv_path_scponly_PROG_SFTP_SERVER="$scponly_PROG_SFTP_SERVER" # Let the user override the test with a path.
5027 ;;
5028 *)
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030 as_dummy="`echo "$PATH:/usr/lib:/usr/lib/ssh:/usr/libexec/openssh:/usr/libexec:/usr/local/libexec" | sed -e 's/:/ /'`"
5031 for as_dir in $as_dummy
5032 do
5033 IFS=$as_save_IFS
5034 test -z "$as_dir" && as_dir=.
5035 for ac_exec_ext in '' $ac_executable_extensions; do
5036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5037 ac_cv_path_scponly_PROG_SFTP_SERVER="$as_dir/$ac_word$ac_exec_ext"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039 break 2
5040 fi
5041 done
5042 done
5043 IFS=$as_save_IFS
5044
5045 ;;
5046 esac
5047 fi
5048 scponly_PROG_SFTP_SERVER=$ac_cv_path_scponly_PROG_SFTP_SERVER
5049 if test -n "$scponly_PROG_SFTP_SERVER"; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $scponly_PROG_SFTP_SERVER" >&5
5051 $as_echo "$scponly_PROG_SFTP_SERVER" >&6; }
5052 else
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5055 fi
5056
5057
5058 test -z $scponly_PROG_SFTP_SERVER && echo "Can't find path to 'sftp-server'" && exit 1
5059 cat >>confdefs.h <<_ACEOF
5060 #define PROG_SFTP_SERVER "$scponly_PROG_SFTP_SERVER"
5061 _ACEOF
5062
5063 else
5064 echo checking for sftp-server... $scponly_explicit_sftpserver_path
5065 cat >>confdefs.h <<_ACEOF
5066 #define PROG_SFTP_SERVER "$scponly_explicit_sftpserver_path"
5067 _ACEOF
5068
5069 scponly_PROG_SFTP_SERVER=$scponly_explicit_sftpserver_path
5070 fi
5071 fi
5072
5073
5074 ac_ext=c
5075 ac_cpp='$CPP $CPPFLAGS'
5076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5080 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5081 # On Suns, sometimes $CPP names a directory.
5082 if test -n "$CPP" && test -d "$CPP"; then
5083 CPP=
5084 fi
5085 if test -z "$CPP"; then
5086 if ${ac_cv_prog_CPP+:} false; then :
5087 $as_echo_n "(cached) " >&6
5088 else
5089 # Double quotes because CPP needs to be expanded
5090 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5091 do
5092 ac_preproc_ok=false
5093 for ac_c_preproc_warn_flag in '' yes
5094 do
5095 # Use a header file that comes with gcc, so configuring glibc
5096 # with a fresh cross-compiler works.
5097 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5098 # <limits.h> exists even on freestanding compilers.
5099 # On the NeXT, cc -E runs the code through the compiler's parser,
5100 # not just through cpp. "Syntax error" is here to catch this case.
5101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5102 /* end confdefs.h. */
5103 #ifdef __STDC__
5104 # include <limits.h>
5105 #else
5106 # include <assert.h>
5107 #endif
5108 Syntax error
5109 _ACEOF
5110 if ac_fn_c_try_cpp "$LINENO"; then :
5111
5112 else
5113 # Broken: fails on valid input.
5114 continue
5115 fi
5116 rm -f conftest.err conftest.i conftest.$ac_ext
5117
5118 # OK, works on sane cases. Now check whether nonexistent headers
5119 # can be detected and how.
5120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5122 #include <ac_nonexistent.h>
5123 _ACEOF
5124 if ac_fn_c_try_cpp "$LINENO"; then :
5125 # Broken: success on invalid input.
5126 continue
5127 else
5128 # Passes both tests.
5129 ac_preproc_ok=:
5130 break
5131 fi
5132 rm -f conftest.err conftest.i conftest.$ac_ext
5133
5134 done
5135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5136 rm -f conftest.i conftest.err conftest.$ac_ext
5137 if $ac_preproc_ok; then :
5138 break
5139 fi
5140
5141 done
5142 ac_cv_prog_CPP=$CPP
5143
5144 fi
5145 CPP=$ac_cv_prog_CPP
5146 else
5147 ac_cv_prog_CPP=$CPP
5148 fi
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5150 $as_echo "$CPP" >&6; }
5151 ac_preproc_ok=false
5152 for ac_c_preproc_warn_flag in '' yes
5153 do
5154 # Use a header file that comes with gcc, so configuring glibc
5155 # with a fresh cross-compiler works.
5156 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5157 # <limits.h> exists even on freestanding compilers.
5158 # On the NeXT, cc -E runs the code through the compiler's parser,
5159 # not just through cpp. "Syntax error" is here to catch this case.
5160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5161 /* end confdefs.h. */
5162 #ifdef __STDC__
5163 # include <limits.h>
5164 #else
5165 # include <assert.h>
5166 #endif
5167 Syntax error
5168 _ACEOF
5169 if ac_fn_c_try_cpp "$LINENO"; then :
5170
5171 else
5172 # Broken: fails on valid input.
5173 continue
5174 fi
5175 rm -f conftest.err conftest.i conftest.$ac_ext
5176
5177 # OK, works on sane cases. Now check whether nonexistent headers
5178 # can be detected and how.
5179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5180 /* end confdefs.h. */
5181 #include <ac_nonexistent.h>
5182 _ACEOF
5183 if ac_fn_c_try_cpp "$LINENO"; then :
5184 # Broken: success on invalid input.
5185 continue
5186 else
5187 # Passes both tests.
5188 ac_preproc_ok=:
5189 break
5190 fi
5191 rm -f conftest.err conftest.i conftest.$ac_ext
5192
5193 done
5194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5195 rm -f conftest.i conftest.err conftest.$ac_ext
5196 if $ac_preproc_ok; then :
5197
5198 else
5199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5201 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5202 See \`config.log' for more details" "$LINENO" 5; }
5203 fi
5204
5205 ac_ext=c
5206 ac_cpp='$CPP $CPPFLAGS'
5207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5210
5211
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5213 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5214 if ${ac_cv_path_GREP+:} false; then :
5215 $as_echo_n "(cached) " >&6
5216 else
5217 if test -z "$GREP"; then
5218 ac_path_GREP_found=false
5219 # Loop through the user's path and test for each of PROGNAME-LIST
5220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5221 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5222 do
5223 IFS=$as_save_IFS
5224 test -z "$as_dir" && as_dir=.
5225 for ac_prog in grep ggrep; do
5226 for ac_exec_ext in '' $ac_executable_extensions; do
5227 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5228 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5229 # Check for GNU ac_path_GREP and select it if it is found.
5230 # Check for GNU $ac_path_GREP
5231 case `"$ac_path_GREP" --version 2>&1` in
5232 *GNU*)
5233 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5234 *)
5235 ac_count=0
5236 $as_echo_n 0123456789 >"conftest.in"
5237 while :
5238 do
5239 cat "conftest.in" "conftest.in" >"conftest.tmp"
5240 mv "conftest.tmp" "conftest.in"
5241 cp "conftest.in" "conftest.nl"
5242 $as_echo 'GREP' >> "conftest.nl"
5243 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5244 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5245 as_fn_arith $ac_count + 1 && ac_count=$as_val
5246 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5247 # Best one so far, save it but keep looking for a better one
5248 ac_cv_path_GREP="$ac_path_GREP"
5249 ac_path_GREP_max=$ac_count
5250 fi
5251 # 10*(2^10) chars as input seems more than enough
5252 test $ac_count -gt 10 && break
5253 done
5254 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5255 esac
5256
5257 $ac_path_GREP_found && break 3
5258 done
5259 done
5260 done
5261 IFS=$as_save_IFS
5262 if test -z "$ac_cv_path_GREP"; then
5263 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5264 fi
5265 else
5266 ac_cv_path_GREP=$GREP
5267 fi
5268
5269 fi
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5271 $as_echo "$ac_cv_path_GREP" >&6; }
5272 GREP="$ac_cv_path_GREP"
5273
5274
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5276 $as_echo_n "checking for egrep... " >&6; }
5277 if ${ac_cv_path_EGREP+:} false; then :
5278 $as_echo_n "(cached) " >&6
5279 else
5280 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5281 then ac_cv_path_EGREP="$GREP -E"
5282 else
5283 if test -z "$EGREP"; then
5284 ac_path_EGREP_found=false
5285 # Loop through the user's path and test for each of PROGNAME-LIST
5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5288 do
5289 IFS=$as_save_IFS
5290 test -z "$as_dir" && as_dir=.
5291 for ac_prog in egrep; do
5292 for ac_exec_ext in '' $ac_executable_extensions; do
5293 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5294 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5295 # Check for GNU ac_path_EGREP and select it if it is found.
5296 # Check for GNU $ac_path_EGREP
5297 case `"$ac_path_EGREP" --version 2>&1` in
5298 *GNU*)
5299 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5300 *)
5301 ac_count=0
5302 $as_echo_n 0123456789 >"conftest.in"
5303 while :
5304 do
5305 cat "conftest.in" "conftest.in" >"conftest.tmp"
5306 mv "conftest.tmp" "conftest.in"
5307 cp "conftest.in" "conftest.nl"
5308 $as_echo 'EGREP' >> "conftest.nl"
5309 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5310 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5311 as_fn_arith $ac_count + 1 && ac_count=$as_val
5312 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5313 # Best one so far, save it but keep looking for a better one
5314 ac_cv_path_EGREP="$ac_path_EGREP"
5315 ac_path_EGREP_max=$ac_count
5316 fi
5317 # 10*(2^10) chars as input seems more than enough
5318 test $ac_count -gt 10 && break
5319 done
5320 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;