Debian Codegraph @

contrib/mod_sftp/configure

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