Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for cifs-utils 7.4.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
206 fi
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 do
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
218 /*)
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
227 fi
228 fi
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
238
239
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
261
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell [email protected] and
270 $0: [email protected] about your system, including
271 $0: any error possibly output before this message. Then
272 $0: install a modern shell, or manually run the script
273 $0: under such a shell if you do have one."
274 fi
275 exit 1
276 fi
277 fi
278 fi
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
284
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
292 {
293 { eval $1=; unset $1;}
294 }
295 as_unset=as_fn_unset
296
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
301 {
302 return $1
303 } # as_fn_set_status
304
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
309 {
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
314
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
319 {
320
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
344 q
345 }
346 /^X\(\/\/\)$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\).*/{
351 s//\1/
352 q
353 }
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361 } # as_fn_mkdir_p
362
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
367 {
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
378 {
379 eval $1+=\$2
380 }'
381 else
382 as_fn_append ()
383 {
384 eval $1=\$$1\$2
385 }
386 fi # as_fn_append
387
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
395 {
396 as_val=$(( $* ))
397 }'
398 else
399 as_fn_arith ()
400 {
401 as_val=`expr "$@" || test $? -eq 1`
402 }
403 fi # as_fn_arith
404
405
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
412 {
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 fi
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
421
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
427 fi
428
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
433 fi
434
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
439 fi
440
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\/\)$/{
451 s//\1/
452 q
453 }
454 /^X\/\(\/\).*/{
455 s//\1/
456 q
457 }
458 s/.*/./; q'`
459
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
474 p
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
480 b
481 :lineno
482 N
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
501 }
502
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
512 *)
513 ECHO_N='-n';;
514 esac
515
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
522 fi
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
536 fi
537 else
538 as_ln_s='cp -pR'
539 fi
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
542
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
548 fi
549
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
552
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
562
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568 #
569 # Initializations.
570 #
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
579
580 # Identity of this package.
581 PACKAGE_NAME='cifs-utils'
582 PACKAGE_TARNAME='cifs-utils'
583 PACKAGE_VERSION='7.4'
584 PACKAGE_STRING='cifs-utils 7.4'
585 PACKAGE_BUGREPORT='[email protected]'
586 PACKAGE_URL='https://wiki.samba.org/index.php/LinuxCIFS_utils'
587
588 ac_unique_file="data_blob.h"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
624
625 ac_subst_vars='am__EXEEXT_FALSE
626 am__EXEEXT_TRUE
627 LTLIBOBJS
628 LIBCAP
629 CAPNG_LDADD
630 CONFIG_PLUGIN_FALSE
631 CONFIG_PLUGIN_TRUE
632 CONFIG_PAM_FALSE
633 CONFIG_PAM_TRUE
634 CONFIG_PYTHON_TOOLS_FALSE
635 CONFIG_PYTHON_TOOLS_TRUE
636 CONFIG_SMBINFO_FALSE
637 CONFIG_SMBINFO_TRUE
638 CONFIG_CIFSACL_FALSE
639 CONFIG_CIFSACL_TRUE
640 CONFIG_CIFSIDMAP_FALSE
641 CONFIG_CIFSIDMAP_TRUE
642 CONFIG_CIFSCREDS_FALSE
643 CONFIG_CIFSCREDS_TRUE
644 CONFIG_CIFSUPCALL_FALSE
645 CONFIG_CIFSUPCALL_TRUE
646 CONFIG_MAN_FALSE
647 CONFIG_MAN_TRUE
648 have_rst2man
649 WBCLIENT_LIBS
650 WBCLIENT_CFLAGS
651 PKG_CONFIG_LIBDIR
652 PKG_CONFIG_PATH
653 PKG_CONFIG
654 GSSAPI_LDADD
655 KRB5_LDADD
656 RELRO_CFLAGS
657 PIE_CFLAGS
658 RT_LDADD
659 host_os
660 host_vendor
661 host_cpu
662 host
663 build_os
664 build_vendor
665 build_cpu
666 build
667 LIBOBJS
668 SED
669 EGREP
670 GREP
671 CPP
672 am__fastdepCC_FALSE
673 am__fastdepCC_TRUE
674 CCDEPMODE
675 am__nodep
676 AMDEPBACKSLASH
677 AMDEP_FALSE
678 AMDEP_TRUE
679 am__include
680 DEPDIR
681 OBJEXT
682 EXEEXT
683 ac_ct_CC
684 CPPFLAGS
685 LDFLAGS
686 CFLAGS
687 CC
688 ROOTSBINDIR
689 pamdir
690 pluginpath
691 AM_BACKSLASH
692 AM_DEFAULT_VERBOSITY
693 AM_DEFAULT_V
694 AM_V
695 am__untar
696 am__tar
697 AMTAR
698 am__leading_dot
699 SET_MAKE
700 AWK
701 mkdir_p
702 MKDIR_P
703 INSTALL_STRIP_PROGRAM
704 STRIP
705 install_sh
706 MAKEINFO
707 AUTOHEADER
708 AUTOMAKE
709 AUTOCONF
710 ACLOCAL
711 VERSION
712 PACKAGE
713 CYGPATH_W
714 am__isrc
715 INSTALL_DATA
716 INSTALL_SCRIPT
717 INSTALL_PROGRAM
718 target_alias
719 host_alias
720 build_alias
721 LIBS
722 ECHO_T
723 ECHO_N
724 ECHO_C
725 DEFS
726 mandir
727 localedir
728 libdir
729 psdir
730 pdfdir
731 dvidir
732 htmldir
733 infodir
734 docdir
735 oldincludedir
736 includedir
737 runstatedir
738 localstatedir
739 sharedstatedir
740 sysconfdir
741 datadir
742 datarootdir
743 libexecdir
744 sbindir
745 bindir
746 program_transform_name
747 prefix
748 exec_prefix
749 PACKAGE_URL
750 PACKAGE_BUGREPORT
751 PACKAGE_STRING
752 PACKAGE_VERSION
753 PACKAGE_TARNAME
754 PACKAGE_NAME
755 PATH_SEPARATOR
756 SHELL
757 am__quote'
758 ac_subst_files=''
759 ac_user_opts='
760 enable_option_checking
761 enable_silent_rules
762 enable_pie
763 enable_relro
764 enable_cifsupcall
765 enable_cifscreds
766 enable_cifsidmap
767 enable_cifsacl
768 enable_smbinfo
769 enable_pythontools
770 enable_pam
771 enable_systemd
772 enable_man
773 with_idmap_plugin
774 with_pamdir
775 enable_dependency_tracking
776 with_libcap_ng
777 with_libcap
778 '
779 ac_precious_vars='build_alias
780 host_alias
781 target_alias
782 ROOTSBINDIR
783 CC
784 CFLAGS
785 LDFLAGS
786 LIBS
787 CPPFLAGS
788 CPP
789 PKG_CONFIG
790 PKG_CONFIG_PATH
791 PKG_CONFIG_LIBDIR
792 WBCLIENT_CFLAGS
793 WBCLIENT_LIBS'
794
795
796 # Initialize some variables set by options.
797 ac_init_help=
798 ac_init_version=false
799 ac_unrecognized_opts=
800 ac_unrecognized_sep=
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
803 cache_file=/dev/null
804 exec_prefix=NONE
805 no_create=
806 no_recursion=
807 prefix=NONE
808 program_prefix=NONE
809 program_suffix=NONE
810 program_transform_name=s,x,x,
811 silent=
812 site=
813 srcdir=
814 verbose=
815 x_includes=NONE
816 x_libraries=NONE
817
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir='${exec_prefix}/bin'
825 sbindir='${exec_prefix}/sbin'
826 libexecdir='${exec_prefix}/libexec'
827 datarootdir='${prefix}/share'
828 datadir='${datarootdir}'
829 sysconfdir='${prefix}/etc'
830 sharedstatedir='${prefix}/com'
831 localstatedir='${prefix}/var'
832 runstatedir='${localstatedir}/run'
833 includedir='${prefix}/include'
834 oldincludedir='/usr/include'
835 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
836 infodir='${datarootdir}/info'
837 htmldir='${docdir}'
838 dvidir='${docdir}'
839 pdfdir='${docdir}'
840 psdir='${docdir}'
841 libdir='${exec_prefix}/lib'
842 localedir='${datarootdir}/locale'
843 mandir='${datarootdir}/man'
844
845 ac_prev=
846 ac_dashdash=
847 for ac_option
848 do
849 # If the previous option needs an argument, assign it.
850 if test -n "$ac_prev"; then
851 eval $ac_prev=\$ac_option
852 ac_prev=
853 continue
854 fi
855
856 case $ac_option in
857 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 *=) ac_optarg= ;;
859 *) ac_optarg=yes ;;
860 esac
861
862 # Accept the important Cygnus configure options, so we can diagnose typos.
863
864 case $ac_dashdash$ac_option in
865 --)
866 ac_dashdash=yes ;;
867
868 -bindir | --bindir | --bindi | --bind | --bin | --bi)
869 ac_prev=bindir ;;
870 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
871 bindir=$ac_optarg ;;
872
873 -build | --build | --buil | --bui | --bu)
874 ac_prev=build_alias ;;
875 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
876 build_alias=$ac_optarg ;;
877
878 -cache-file | --cache-file | --cache-fil | --cache-fi \
879 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
880 ac_prev=cache_file ;;
881 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
882 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
883 cache_file=$ac_optarg ;;
884
885 --config-cache | -C)
886 cache_file=config.cache ;;
887
888 -datadir | --datadir | --datadi | --datad)
889 ac_prev=datadir ;;
890 -datadir=* | --datadir=* | --datadi=* | --datad=*)
891 datadir=$ac_optarg ;;
892
893 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
894 | --dataroo | --dataro | --datar)
895 ac_prev=datarootdir ;;
896 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
897 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
898 datarootdir=$ac_optarg ;;
899
900 -disable-* | --disable-*)
901 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
904 as_fn_error $? "invalid feature name: $ac_useropt"
905 ac_useropt_orig=$ac_useropt
906 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
908 *"
909 "enable_$ac_useropt"
910 "*) ;;
911 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
912 ac_unrecognized_sep=', ';;
913 esac
914 eval enable_$ac_useropt=no ;;
915
916 -docdir | --docdir | --docdi | --doc | --do)
917 ac_prev=docdir ;;
918 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
919 docdir=$ac_optarg ;;
920
921 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
922 ac_prev=dvidir ;;
923 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
924 dvidir=$ac_optarg ;;
925
926 -enable-* | --enable-*)
927 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
928 # Reject names that are not valid shell variable names.
929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
930 as_fn_error $? "invalid feature name: $ac_useropt"
931 ac_useropt_orig=$ac_useropt
932 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
933 case $ac_user_opts in
934 *"
935 "enable_$ac_useropt"
936 "*) ;;
937 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
938 ac_unrecognized_sep=', ';;
939 esac
940 eval enable_$ac_useropt=\$ac_optarg ;;
941
942 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
943 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
944 | --exec | --exe | --ex)
945 ac_prev=exec_prefix ;;
946 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
947 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
948 | --exec=* | --exe=* | --ex=*)
949 exec_prefix=$ac_optarg ;;
950
951 -gas | --gas | --ga | --g)
952 # Obsolete; use --with-gas.
953 with_gas=yes ;;
954
955 -help | --help | --hel | --he | -h)
956 ac_init_help=long ;;
957 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
958 ac_init_help=recursive ;;
959 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
960 ac_init_help=short ;;
961
962 -host | --host | --hos | --ho)
963 ac_prev=host_alias ;;
964 -host=* | --host=* | --hos=* | --ho=*)
965 host_alias=$ac_optarg ;;
966
967 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
968 ac_prev=htmldir ;;
969 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
970 | --ht=*)
971 htmldir=$ac_optarg ;;
972
973 -includedir | --includedir | --includedi | --included | --include \
974 | --includ | --inclu | --incl | --inc)
975 ac_prev=includedir ;;
976 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
977 | --includ=* | --inclu=* | --incl=* | --inc=*)
978 includedir=$ac_optarg ;;
979
980 -infodir | --infodir | --infodi | --infod | --info | --inf)
981 ac_prev=infodir ;;
982 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
983 infodir=$ac_optarg ;;
984
985 -libdir | --libdir | --libdi | --libd)
986 ac_prev=libdir ;;
987 -libdir=* | --libdir=* | --libdi=* | --libd=*)
988 libdir=$ac_optarg ;;
989
990 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
991 | --libexe | --libex | --libe)
992 ac_prev=libexecdir ;;
993 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
994 | --libexe=* | --libex=* | --libe=*)
995 libexecdir=$ac_optarg ;;
996
997 -localedir | --localedir | --localedi | --localed | --locale)
998 ac_prev=localedir ;;
999 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1000 localedir=$ac_optarg ;;
1001
1002 -localstatedir | --localstatedir | --localstatedi | --localstated \
1003 | --localstate | --localstat | --localsta | --localst | --locals)
1004 ac_prev=localstatedir ;;
1005 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1006 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1007 localstatedir=$ac_optarg ;;
1008
1009 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1010 ac_prev=mandir ;;
1011 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1012 mandir=$ac_optarg ;;
1013
1014 -nfp | --nfp | --nf)
1015 # Obsolete; use --without-fp.
1016 with_fp=no ;;
1017
1018 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1019 | --no-cr | --no-c | -n)
1020 no_create=yes ;;
1021
1022 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1023 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1024 no_recursion=yes ;;
1025
1026 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1027 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1028 | --oldin | --oldi | --old | --ol | --o)
1029 ac_prev=oldincludedir ;;
1030 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1031 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1032 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1033 oldincludedir=$ac_optarg ;;
1034
1035 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1036 ac_prev=prefix ;;
1037 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1038 prefix=$ac_optarg ;;
1039
1040 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1041 | --program-pre | --program-pr | --program-p)
1042 ac_prev=program_prefix ;;
1043 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1044 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1045 program_prefix=$ac_optarg ;;
1046
1047 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1048 | --program-suf | --program-su | --program-s)
1049 ac_prev=program_suffix ;;
1050 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1051 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1052 program_suffix=$ac_optarg ;;
1053
1054 -program-transform-name | --program-transform-name \
1055 | --program-transform-nam | --program-transform-na \
1056 | --program-transform-n | --program-transform- \
1057 | --program-transform | --program-transfor \
1058 | --program-transfo | --program-transf \
1059 | --program-trans | --program-tran \
1060 | --progr-tra | --program-tr | --program-t)
1061 ac_prev=program_transform_name ;;
1062 -program-transform-name=* | --program-transform-name=* \
1063 | --program-transform-nam=* | --program-transform-na=* \
1064 | --program-transform-n=* | --program-transform-=* \
1065 | --program-transform=* | --program-transfor=* \
1066 | --program-transfo=* | --program-transf=* \
1067 | --program-trans=* | --program-tran=* \
1068 | --progr-tra=* | --program-tr=* | --program-t=*)
1069 program_transform_name=$ac_optarg ;;
1070
1071 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1072 ac_prev=pdfdir ;;
1073 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1074 pdfdir=$ac_optarg ;;
1075
1076 -psdir | --psdir | --psdi | --psd | --ps)
1077 ac_prev=psdir ;;
1078 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1079 psdir=$ac_optarg ;;
1080
1081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1082 | -silent | --silent | --silen | --sile | --sil)
1083 silent=yes ;;
1084
1085 -runstatedir | --runstatedir | --runstatedi | --runstated \
1086 | --runstate | --runstat | --runsta | --runst | --runs \
1087 | --run | --ru | --r)
1088 ac_prev=runstatedir ;;
1089 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1090 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1091 | --run=* | --ru=* | --r=*)
1092 runstatedir=$ac_optarg ;;
1093
1094 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1095 ac_prev=sbindir ;;
1096 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1097 | --sbi=* | --sb=*)
1098 sbindir=$ac_optarg ;;
1099
1100 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1101 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1102 | --sharedst | --shareds | --shared | --share | --shar \
1103 | --sha | --sh)
1104 ac_prev=sharedstatedir ;;
1105 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1106 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1107 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1108 | --sha=* | --sh=*)
1109 sharedstatedir=$ac_optarg ;;
1110
1111 -site | --site | --sit)
1112 ac_prev=site ;;
1113 -site=* | --site=* | --sit=*)
1114 site=$ac_optarg ;;
1115
1116 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1117 ac_prev=srcdir ;;
1118 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1119 srcdir=$ac_optarg ;;
1120
1121 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1122 | --syscon | --sysco | --sysc | --sys | --sy)
1123 ac_prev=sysconfdir ;;
1124 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1125 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1126 sysconfdir=$ac_optarg ;;
1127
1128 -target | --target | --targe | --targ | --tar | --ta | --t)
1129 ac_prev=target_alias ;;
1130 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1131 target_alias=$ac_optarg ;;
1132
1133 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1134 verbose=yes ;;
1135
1136 -version | --version | --versio | --versi | --vers | -V)
1137 ac_init_version=: ;;
1138
1139 -with-* | --with-*)
1140 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143 as_fn_error $? "invalid package name: $ac_useropt"
1144 ac_useropt_orig=$ac_useropt
1145 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1147 *"
1148 "with_$ac_useropt"
1149 "*) ;;
1150 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1151 ac_unrecognized_sep=', ';;
1152 esac
1153 eval with_$ac_useropt=\$ac_optarg ;;
1154
1155 -without-* | --without-*)
1156 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1159 as_fn_error $? "invalid package name: $ac_useropt"
1160 ac_useropt_orig=$ac_useropt
1161 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1162 case $ac_user_opts in
1163 *"
1164 "with_$ac_useropt"
1165 "*) ;;
1166 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1167 ac_unrecognized_sep=', ';;
1168 esac
1169 eval with_$ac_useropt=no ;;
1170
1171 --x)
1172 # Obsolete; use --with-x.
1173 with_x=yes ;;
1174
1175 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1176 | --x-incl | --x-inc | --x-in | --x-i)
1177 ac_prev=x_includes ;;
1178 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1179 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1180 x_includes=$ac_optarg ;;
1181
1182 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1183 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1184 ac_prev=x_libraries ;;
1185 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1186 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1187 x_libraries=$ac_optarg ;;
1188
1189 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1190 Try \`$0 --help' for more information"
1191 ;;
1192
1193 *=*)
1194 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1195 # Reject names that are not valid shell variable names.
1196 case $ac_envvar in #(
1197 '' | [0-9]* | *[!_$as_cr_alnum]* )
1198 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1199 esac
1200 eval $ac_envvar=\$ac_optarg
1201 export $ac_envvar ;;
1202
1203 *)
1204 # FIXME: should be removed in autoconf 3.0.
1205 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1206 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1207 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1208 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1209 ;;
1210
1211 esac
1212 done
1213
1214 if test -n "$ac_prev"; then
1215 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1216 as_fn_error $? "missing argument to $ac_option"
1217 fi
1218
1219 if test -n "$ac_unrecognized_opts"; then
1220 case $enable_option_checking in
1221 no) ;;
1222 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1223 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1224 esac
1225 fi
1226
1227 # Check all directory arguments for consistency.
1228 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1231 libdir localedir mandir runstatedir
1232 do
1233 eval ac_val=\$$ac_var
1234 # Remove trailing slashes.
1235 case $ac_val in
1236 */ )
1237 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1238 eval $ac_var=\$ac_val;;
1239 esac
1240 # Be sure to have absolute directory names.
1241 case $ac_val in
1242 [\\/$]* | ?:[\\/]* ) continue;;
1243 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1244 esac
1245 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1246 done
1247
1248 # There might be people who depend on the old broken behavior: `$host'
1249 # used to hold the argument of --host etc.
1250 # FIXME: To remove some day.
1251 build=$build_alias
1252 host=$host_alias
1253 target=$target_alias
1254
1255 # FIXME: To remove some day.
1256 if test "x$host_alias" != x; then
1257 if test "x$build_alias" = x; then
1258 cross_compiling=maybe
1259 elif test "x$build_alias" != "x$host_alias"; then
1260 cross_compiling=yes
1261 fi
1262 fi
1263
1264 ac_tool_prefix=
1265 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1266
1267 test "$silent" = yes && exec 6>/dev/null
1268
1269
1270 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1271 ac_ls_di=`ls -di .` &&
1272 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1273 as_fn_error $? "working directory cannot be determined"
1274 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1275 as_fn_error $? "pwd does not report name of working directory"
1276
1277
1278 # Find the source files, if location was not specified.
1279 if test -z "$srcdir"; then
1280 ac_srcdir_defaulted=yes
1281 # Try the directory containing this script, then the parent directory.
1282 ac_confdir=`$as_dirname -- "$as_myself" ||
1283 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1284 X"$as_myself" : 'X\(//\)[^/]' \| \
1285 X"$as_myself" : 'X\(//\)$' \| \
1286 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1287 $as_echo X"$as_myself" |
1288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1289 s//\1/
1290 q
1291 }
1292 /^X\(\/\/\)[^/].*/{
1293 s//\1/
1294 q
1295 }
1296 /^X\(\/\/\)$/{
1297 s//\1/
1298 q
1299 }
1300 /^X\(\/\).*/{
1301 s//\1/
1302 q
1303 }
1304 s/.*/./; q'`
1305 srcdir=$ac_confdir
1306 if test ! -r "$srcdir/$ac_unique_file"; then
1307 srcdir=..
1308 fi
1309 else
1310 ac_srcdir_defaulted=no
1311 fi
1312 if test ! -r "$srcdir/$ac_unique_file"; then
1313 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1314 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1315 fi
1316 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1317 ac_abs_confdir=`(
1318 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1319 pwd)`
1320 # When building in place, set srcdir=.
1321 if test "$ac_abs_confdir" = "$ac_pwd"; then
1322 srcdir=.
1323 fi
1324 # Remove unnecessary trailing slashes from srcdir.
1325 # Double slashes in file names in object file debugging info
1326 # mess up M-x gdb in Emacs.
1327 case $srcdir in
1328 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1329 esac
1330 for ac_var in $ac_precious_vars; do
1331 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1332 eval ac_env_${ac_var}_value=\$${ac_var}
1333 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1334 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1335 done
1336
1337 #
1338 # Report the --help message.
1339 #
1340 if test "$ac_init_help" = "long"; then
1341 # Omit some internal or obsolete options to make the list less imposing.
1342 # This message is too long to be a string in the A/UX 3.1 sh.
1343 cat <<_ACEOF
1344 \`configure' configures cifs-utils 7.4 to adapt to many kinds of systems.
1345
1346 Usage: $0 [OPTION]... [VAR=VALUE]...
1347
1348 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1349 VAR=VALUE. See below for descriptions of some of the useful variables.
1350
1351 Defaults for the options are specified in brackets.
1352
1353 Configuration:
1354 -h, --help display this help and exit
1355 --help=short display options specific to this package
1356 --help=recursive display the short help of all the included packages
1357 -V, --version display version information and exit
1358 -q, --quiet, --silent do not print \`checking ...' messages
1359 --cache-file=FILE cache test results in FILE [disabled]
1360 -C, --config-cache alias for \`--cache-file=config.cache'
1361 -n, --no-create do not create output files
1362 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1363
1364 Installation directories:
1365 --prefix=PREFIX install architecture-independent files in PREFIX
1366 [$ac_default_prefix]
1367 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1368 [PREFIX]
1369
1370 By default, \`make install' will install all the files in
1371 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1372 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1373 for instance \`--prefix=\$HOME'.
1374
1375 For better control, use the options below.
1376
1377 Fine tuning of the installation directories:
1378 --bindir=DIR user executables [EPREFIX/bin]
1379 --sbindir=DIR system admin executables [EPREFIX/sbin]
1380 --libexecdir=DIR program executables [EPREFIX/libexec]
1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1383 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1384 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1385 --libdir=DIR object code libraries [EPREFIX/lib]
1386 --includedir=DIR C header files [PREFIX/include]
1387 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1388 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1389 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1390 --infodir=DIR info documentation [DATAROOTDIR/info]
1391 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1392 --mandir=DIR man documentation [DATAROOTDIR/man]
1393 --docdir=DIR documentation root [DATAROOTDIR/doc/cifs-utils]
1394 --htmldir=DIR html documentation [DOCDIR]
1395 --dvidir=DIR dvi documentation [DOCDIR]
1396 --pdfdir=DIR pdf documentation [DOCDIR]
1397 --psdir=DIR ps documentation [DOCDIR]
1398 _ACEOF
1399
1400 cat <<\_ACEOF
1401
1402 Program names:
1403 --program-prefix=PREFIX prepend PREFIX to installed program names
1404 --program-suffix=SUFFIX append SUFFIX to installed program names
1405 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1406
1407 System types:
1408 --build=BUILD configure for building on BUILD [guessed]
1409 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1410 _ACEOF
1411 fi
1412
1413 if test -n "$ac_init_help"; then
1414 case $ac_init_help in
1415 short | recursive ) echo "Configuration of cifs-utils 7.4:";;
1416 esac
1417 cat <<\_ACEOF
1418
1419 Optional Features:
1420 --disable-option-checking ignore unrecognized --enable/--with options
1421 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1422 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1423 --enable-silent-rules less verbose build output (undo: "make V=1")
1424 --disable-silent-rules verbose build output (undo: "make V=0")
1425 --enable-pie Produce position independent executables
1426 [default=yes]
1427 --enable-relro Enable relocations read-only support [default=yes]
1428 --enable-cifsupcall Create cifs.upcall binary [default=yes]
1429 --enable-cifscreds Create cifscreds utility [default=yes]
1430 --enable-cifsidmap Create cifs.idmap binary [default=yes]
1431 --enable-cifsacl Create get/set cifsacl binary [default=yes]
1432 --enable-smbinfo Create smbinfo binary [default=yes@@
1433 --enable-pythontools Install python utilities [default=yes@@
1434 --enable-pam Create cifscreds PAM module [default=yes]
1435 --enable-systemd Enable systemd specific behavior for mount.cifs
1436 [default=yes]
1437 --enable-man Enable generation and installation of man pages
1438 [default=yes]
1439 --enable-dependency-tracking
1440 do not reject slow dependency extractors
1441 --disable-dependency-tracking
1442 speeds up one-time build
1443
1444 Optional Packages:
1445 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1446 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1447 --with-idmap-plugin=/path/to/plugin
1448 Define the path to the plugin that the idmapping
1449 infrastructure should use
1450 [default=/etc/cifs-utils/idmap-plugin]
1451 --with-pamdir=DIR Where to install the PAM module
1452 [default=$(libdir)/security]
1453 --with-libcap-ng=auto/yes/no Add Libcap-ng support default=auto
1454 --with-libcap Add libcap support default=yes, if libcap-ng not available
1455
1456 Some influential environment variables:
1457 ROOTSBINDIR Location where files ordinarily under /sbin should be installed.
1458 Note: unaffected by --prefix. [default=/sbin]
1459 CC C compiler command
1460 CFLAGS C compiler flags
1461 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1462 nonstandard directory <lib dir>
1463 LIBS libraries to pass to the linker, e.g. -l<library>
1464 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1465 you have headers in a nonstandard directory <include dir>
1466 CPP C preprocessor
1467 PKG_CONFIG path to pkg-config utility
1468 PKG_CONFIG_PATH
1469 directories to add to pkg-config's search path
1470 PKG_CONFIG_LIBDIR
1471 path overriding pkg-config's built-in search path
1472 WBCLIENT_CFLAGS
1473 C compiler flags for WBCLIENT, overriding pkg-config
1474 WBCLIENT_LIBS
1475 linker flags for WBCLIENT, overriding pkg-config
1476
1477 Use these variables to override the choices made by `configure' or to help
1478 it to find libraries and programs with nonstandard names/locations.
1479
1480 Report bugs to <[email protected]>.
1481 cifs-utils home page: <https://wiki.samba.org/index.php/LinuxCIFS_utils>.
1482 _ACEOF
1483 ac_status=$?
1484 fi
1485
1486 if test "$ac_init_help" = "recursive"; then
1487 # If there are subdirs, report their specific --help.
1488 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1489 test -d "$ac_dir" ||
1490 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1491 continue
1492 ac_builddir=.
1493
1494 case "$ac_dir" in
1495 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1496 *)
1497 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1498 # A ".." for each directory in $ac_dir_suffix.
1499 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1500 case $ac_top_builddir_sub in
1501 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1502 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1503 esac ;;
1504 esac
1505 ac_abs_top_builddir=$ac_pwd
1506 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1507 # for backward compatibility:
1508 ac_top_builddir=$ac_top_build_prefix
1509
1510 case $srcdir in
1511 .) # We are building in place.
1512 ac_srcdir=.
1513 ac_top_srcdir=$ac_top_builddir_sub
1514 ac_abs_top_srcdir=$ac_pwd ;;
1515 [\\/]* | ?:[\\/]* ) # Absolute name.
1516 ac_srcdir=$srcdir$ac_dir_suffix;
1517 ac_top_srcdir=$srcdir
1518 ac_abs_top_srcdir=$srcdir ;;
1519 *) # Relative name.
1520 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1521 ac_top_srcdir=$ac_top_build_prefix$srcdir
1522 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1523 esac
1524 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1525
1526 cd "$ac_dir" || { ac_status=$?; continue; }
1527 # Check for guested configure.
1528 if test -f "$ac_srcdir/configure.gnu"; then
1529 echo &&
1530 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1531 elif test -f "$ac_srcdir/configure"; then
1532 echo &&
1533 $SHELL "$ac_srcdir/configure" --help=recursive
1534 else
1535 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1536 fi || ac_status=$?
1537 cd "$ac_pwd" || { ac_status=$?; break; }
1538 done
1539 fi
1540
1541 test -n "$ac_init_help" && exit $ac_status
1542 if $ac_init_version; then
1543 cat <<\_ACEOF
1544 cifs-utils configure 7.4
1545 generated by GNU Autoconf 2.69
1546
1547 Copyright (C) 2012 Free Software Foundation, Inc.
1548 This configure script is free software; the Free Software Foundation
1549 gives unlimited permission to copy, distribute and modify it.
1550 _ACEOF
1551 exit
1552 fi
1553
1554 ## ------------------------ ##
1555 ## Autoconf initialization. ##
1556 ## ------------------------ ##
1557
1558 # ac_fn_c_try_compile LINENO
1559 # --------------------------
1560 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1561 ac_fn_c_try_compile ()
1562 {
1563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564 rm -f conftest.$ac_objext
1565 if { { ac_try="$ac_compile"
1566 case "(($ac_try" in
1567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1568 *) ac_try_echo=$ac_try;;
1569 esac
1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_compile") 2>conftest.err
1573 ac_status=$?
1574 if test -s conftest.err; then
1575 grep -v '^ *+' conftest.err >conftest.er1
1576 cat conftest.er1 >&5
1577 mv -f conftest.er1 conftest.err
1578 fi
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } && {
1581 test -z "$ac_c_werror_flag" ||
1582 test ! -s conftest.err
1583 } && test -s conftest.$ac_objext; then :
1584 ac_retval=0
1585 else
1586 $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.$ac_ext >&5
1588
1589 ac_retval=1
1590 fi
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status $ac_retval
1593
1594 } # ac_fn_c_try_compile
1595
1596 # ac_fn_c_try_cpp LINENO
1597 # ----------------------
1598 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1599 ac_fn_c_try_cpp ()
1600 {
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 if { { ac_try="$ac_cpp conftest.$ac_ext"
1603 case "(($ac_try" in
1604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1605 *) ac_try_echo=$ac_try;;
1606 esac
1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1610 ac_status=$?
1611 if test -s conftest.err; then
1612 grep -v '^ *+' conftest.err >conftest.er1
1613 cat conftest.er1 >&5
1614 mv -f conftest.er1 conftest.err
1615 fi
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } > conftest.i && {
1618 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1619 test ! -s conftest.err
1620 }; then :
1621 ac_retval=0
1622 else
1623 $as_echo "$as_me: failed program was:" >&5
1624 sed 's/^/| /' conftest.$ac_ext >&5
1625
1626 ac_retval=1
1627 fi
1628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629 as_fn_set_status $ac_retval
1630
1631 } # ac_fn_c_try_cpp
1632
1633 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1634 # -------------------------------------------------------
1635 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1636 # the include files in INCLUDES and setting the cache variable VAR
1637 # accordingly.
1638 ac_fn_c_check_header_mongrel ()
1639 {
1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641 if eval \${$3+:} false; then :
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1643 $as_echo_n "checking for $2... " >&6; }
1644 if eval \${$3+:} false; then :
1645 $as_echo_n "(cached) " >&6
1646 fi
1647 eval ac_res=\$$3
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1649 $as_echo "$ac_res" >&6; }
1650 else
1651 # Is the header compilable?
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1653 $as_echo_n "checking $2 usability... " >&6; }
1654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655 /* end confdefs.h. */
1656 $4
1657 #include <$2>
1658 _ACEOF
1659 if ac_fn_c_try_compile "$LINENO"; then :
1660 ac_header_compiler=yes
1661 else
1662 ac_header_compiler=no
1663 fi
1664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1666 $as_echo "$ac_header_compiler" >&6; }
1667
1668 # Is the header present?
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1670 $as_echo_n "checking $2 presence... " >&6; }
1671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1672 /* end confdefs.h. */
1673 #include <$2>
1674 _ACEOF
1675 if ac_fn_c_try_cpp "$LINENO"; then :
1676 ac_header_preproc=yes
1677 else
1678 ac_header_preproc=no
1679 fi
1680 rm -f conftest.err conftest.i conftest.$ac_ext
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1682 $as_echo "$ac_header_preproc" >&6; }
1683
1684 # So? What about this header?
1685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1686 yes:no: )
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1688 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1690 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1691 ;;
1692 no:yes:* )
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1694 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1696 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1698 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1700 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1702 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1703 ( $as_echo "## ----------------------------------------- ##
1704 ## Report this to [email protected] ##
1705 ## ----------------------------------------- ##"
1706 ) | sed "s/^/$as_me: WARNING: /" >&2
1707 ;;
1708 esac
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1710 $as_echo_n "checking for $2... " >&6; }
1711 if eval \${$3+:} false; then :
1712 $as_echo_n "(cached) " >&6
1713 else
1714 eval "$3=\$ac_header_compiler"
1715 fi
1716 eval ac_res=\$$3
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1718 $as_echo "$ac_res" >&6; }
1719 fi
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721
1722 } # ac_fn_c_check_header_mongrel
1723
1724 # ac_fn_c_try_run LINENO
1725 # ----------------------
1726 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1727 # that executables *can* be run.
1728 ac_fn_c_try_run ()
1729 {
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 if { { ac_try="$ac_link"
1732 case "(($ac_try" in
1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1735 esac
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_link") 2>&5
1739 ac_status=$?
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1742 { { case "(($ac_try" in
1743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1744 *) ac_try_echo=$ac_try;;
1745 esac
1746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747 $as_echo "$ac_try_echo"; } >&5
1748 (eval "$ac_try") 2>&5
1749 ac_status=$?
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; }; }; then :
1752 ac_retval=0
1753 else
1754 $as_echo "$as_me: program exited with status $ac_status" >&5
1755 $as_echo "$as_me: failed program was:" >&5
1756 sed 's/^/| /' conftest.$ac_ext >&5
1757
1758 ac_retval=$ac_status
1759 fi
1760 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762 as_fn_set_status $ac_retval
1763
1764 } # ac_fn_c_try_run
1765
1766 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1767 # -------------------------------------------------------
1768 # Tests whether HEADER exists and can be compiled using the include files in
1769 # INCLUDES, setting the cache variable VAR accordingly.
1770 ac_fn_c_check_header_compile ()
1771 {
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774 $as_echo_n "checking for $2... " >&6; }
1775 if eval \${$3+:} false; then :
1776 $as_echo_n "(cached) " >&6
1777 else
1778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1780 $4
1781 #include <$2>
1782 _ACEOF
1783 if ac_fn_c_try_compile "$LINENO"; then :
1784 eval "$3=yes"
1785 else
1786 eval "$3=no"
1787 fi
1788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1789 fi
1790 eval ac_res=\$$3
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794
1795 } # ac_fn_c_check_header_compile
1796
1797 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1798 # -------------------------------------------
1799 # Tests whether TYPE exists after having included INCLUDES, setting cache
1800 # variable VAR accordingly.
1801 ac_fn_c_check_type ()
1802 {
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \${$3+:} false; then :
1807 $as_echo_n "(cached) " >&6
1808 else
1809 eval "$3=no"
1810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1811 /* end confdefs.h. */
1812 $4
1813 int
1814 main ()
1815 {
1816 if (sizeof ($2))
1817 return 0;
1818 ;
1819 return 0;
1820 }
1821 _ACEOF
1822 if ac_fn_c_try_compile "$LINENO"; then :
1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824 /* end confdefs.h. */
1825 $4
1826 int
1827 main ()
1828 {
1829 if (sizeof (($2)))
1830 return 0;
1831 ;
1832 return 0;
1833 }
1834 _ACEOF
1835 if ac_fn_c_try_compile "$LINENO"; then :
1836
1837 else
1838 eval "$3=yes"
1839 fi
1840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1841 fi
1842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1843 fi
1844 eval ac_res=\$$3
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1846 $as_echo "$ac_res" >&6; }
1847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848
1849 } # ac_fn_c_check_type
1850
1851 # ac_fn_c_try_link LINENO
1852 # -----------------------
1853 # Try to link conftest.$ac_ext, and return whether this succeeded.
1854 ac_fn_c_try_link ()
1855 {
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 rm -f conftest.$ac_objext conftest$ac_exeext
1858 if { { ac_try="$ac_link"
1859 case "(($ac_try" in
1860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1861 *) ac_try_echo=$ac_try;;
1862 esac
1863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864 $as_echo "$ac_try_echo"; } >&5
1865 (eval "$ac_link") 2>conftest.err
1866 ac_status=$?
1867 if test -s conftest.err; then
1868 grep -v '^ *+' conftest.err >conftest.er1
1869 cat conftest.er1 >&5
1870 mv -f conftest.er1 conftest.err
1871 fi
1872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873 test $ac_status = 0; } && {
1874 test -z "$ac_c_werror_flag" ||
1875 test ! -s conftest.err
1876 } && test -s conftest$ac_exeext && {
1877 test "$cross_compiling" = yes ||
1878 test -x conftest$ac_exeext
1879 }; then :
1880 ac_retval=0
1881 else
1882 $as_echo "$as_me: failed program was:" >&5
1883 sed 's/^/| /' conftest.$ac_ext >&5
1884
1885 ac_retval=1
1886 fi
1887 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1888 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1889 # interfere with the next link command; also delete a directory that is
1890 # left behind by Apple's compiler. We do this before executing the actions.
1891 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1893 as_fn_set_status $ac_retval
1894
1895 } # ac_fn_c_try_link
1896
1897 # ac_fn_c_check_func LINENO FUNC VAR
1898 # ----------------------------------
1899 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1900 ac_fn_c_check_func ()
1901 {
1902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1904 $as_echo_n "checking for $2... " >&6; }
1905 if eval \${$3+:} false; then :
1906 $as_echo_n "(cached) " >&6
1907 else
1908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1909 /* end confdefs.h. */
1910 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1912 #define $2 innocuous_$2
1913
1914 /* System header to define __stub macros and hopefully few prototypes,
1915 which can conflict with char $2 (); below.
1916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1917 <limits.h> exists even on freestanding compilers. */
1918
1919 #ifdef __STDC__
1920 # include <limits.h>
1921 #else
1922 # include <assert.h>
1923 #endif
1924
1925 #undef $2
1926
1927 /* Override any GCC internal prototype to avoid an error.
1928 Use char because int might match the return type of a GCC
1929 builtin and then its argument prototype would still apply. */
1930 #ifdef __cplusplus
1931 extern "C"
1932 #endif
1933 char $2 ();
1934 /* The GNU C library defines this for functions which it implements
1935 to always fail with ENOSYS. Some functions are actually named
1936 something starting with __ and the normal name is an alias. */
1937 #if defined __stub_$2 || defined __stub___$2
1938 choke me
1939 #endif
1940
1941 int
1942 main ()
1943 {
1944 return $2 ();
1945 ;
1946 return 0;
1947 }
1948 _ACEOF
1949 if ac_fn_c_try_link "$LINENO"; then :
1950 eval "$3=yes"
1951 else
1952 eval "$3=no"
1953 fi
1954 rm -f core conftest.err conftest.$ac_objext \
1955 conftest$ac_exeext conftest.$ac_ext
1956 fi
1957 eval ac_res=\$$3
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1959 $as_echo "$ac_res" >&6; }
1960 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1961
1962 } # ac_fn_c_check_func
1963
1964 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1965 # ---------------------------------------------
1966 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1967 # accordingly.
1968 ac_fn_c_check_decl ()
1969 {
1970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971 as_decl_name=`echo $2|sed 's/ *(.*//'`
1972 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1974 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1975 if eval \${$3+:} false; then :
1976 $as_echo_n "(cached) " >&6
1977 else
1978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1979 /* end confdefs.h. */
1980 $4
1981 int
1982 main ()
1983 {
1984 #ifndef $as_decl_name
1985 #ifdef __cplusplus
1986 (void) $as_decl_use;
1987 #else
1988 (void) $as_decl_name;
1989 #endif
1990 #endif
1991
1992 ;
1993 return 0;
1994 }
1995 _ACEOF
1996 if ac_fn_c_try_compile "$LINENO"; then :
1997 eval "$3=yes"
1998 else
1999 eval "$3=no"
2000 fi
2001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2002 fi
2003 eval ac_res=\$$3
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2005 $as_echo "$ac_res" >&6; }
2006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007
2008 } # ac_fn_c_check_decl
2009 cat >config.log <<_ACEOF
2010 This file contains any messages produced by compilers while
2011 running configure, to aid debugging if configure makes a mistake.
2012
2013 It was created by cifs-utils $as_me 7.4, which was
2014 generated by GNU Autoconf 2.69. Invocation command line was
2015
2016 $ $0 $@
2017
2018 _ACEOF
2019 exec 5>>config.log
2020 {
2021 cat <<_ASUNAME
2022 ## --------- ##
2023 ## Platform. ##
2024 ## --------- ##
2025
2026 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2027 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2028 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2029 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2030 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2031
2032 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2033 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2034
2035 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2036 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2037 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2038 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2039 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2040 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2041 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2042
2043 _ASUNAME
2044
2045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046 for as_dir in $PATH
2047 do
2048 IFS=$as_save_IFS
2049 test -z "$as_dir" && as_dir=.
2050 $as_echo "PATH: $as_dir"
2051 done
2052 IFS=$as_save_IFS
2053
2054 } >&5
2055
2056 cat >&5 <<_ACEOF
2057
2058
2059 ## ----------- ##
2060 ## Core tests. ##
2061 ## ----------- ##
2062
2063 _ACEOF
2064
2065
2066 # Keep a trace of the command line.
2067 # Strip out --no-create and --no-recursion so they do not pile up.
2068 # Strip out --silent because we don't want to record it for future runs.
2069 # Also quote any args containing shell meta-characters.
2070 # Make two passes to allow for proper duplicate-argument suppression.
2071 ac_configure_args=
2072 ac_configure_args0=
2073 ac_configure_args1=
2074 ac_must_keep_next=false
2075 for ac_pass in 1 2
2076 do
2077 for ac_arg
2078 do
2079 case $ac_arg in
2080 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2082 | -silent | --silent | --silen | --sile | --sil)
2083 continue ;;
2084 *\'*)
2085 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2086 esac
2087 case $ac_pass in
2088 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2089 2)
2090 as_fn_append ac_configure_args1 " '$ac_arg'"
2091 if test $ac_must_keep_next = true; then
2092 ac_must_keep_next=false # Got value, back to normal.
2093 else
2094 case $ac_arg in
2095 *=* | --config-cache | -C | -disable-* | --disable-* \
2096 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2097 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2098 | -with-* | --with-* | -without-* | --without-* | --x)
2099 case "$ac_configure_args0 " in
2100 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2101 esac
2102 ;;
2103 -* ) ac_must_keep_next=true ;;
2104 esac
2105 fi
2106 as_fn_append ac_configure_args " '$ac_arg'"
2107 ;;
2108 esac
2109 done
2110 done
2111 { ac_configure_args0=; unset ac_configure_args0;}
2112 { ac_configure_args1=; unset ac_configure_args1;}
2113
2114 # When interrupted or exit'd, cleanup temporary files, and complete
2115 # config.log. We remove comments because anyway the quotes in there
2116 # would cause problems or look ugly.
2117 # WARNING: Use '\'' to represent an apostrophe within the trap.
2118 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2119 trap 'exit_status=$?
2120 # Save into config.log some information that might help in debugging.
2121 {
2122 echo
2123
2124 $as_echo "## ---------------- ##
2125 ## Cache variables. ##
2126 ## ---------------- ##"
2127 echo
2128 # The following way of writing the cache mishandles newlines in values,
2129 (
2130 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2131 eval ac_val=\$$ac_var
2132 case $ac_val in #(
2133 *${as_nl}*)
2134 case $ac_var in #(
2135 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2136 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2137 esac
2138 case $ac_var in #(
2139 _ | IFS | as_nl) ;; #(
2140 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2141 *) { eval $ac_var=; unset $ac_var;} ;;
2142 esac ;;
2143 esac
2144 done
2145 (set) 2>&1 |
2146 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2147 *${as_nl}ac_space=\ *)
2148 sed -n \
2149 "s/'\''/'\''\\\\'\'''\''/g;
2150 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2151 ;; #(
2152 *)
2153 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2154 ;;
2155 esac |
2156 sort
2157 )
2158 echo
2159
2160 $as_echo "## ----------------- ##
2161 ## Output variables. ##
2162 ## ----------------- ##"
2163 echo
2164 for ac_var in $ac_subst_vars
2165 do
2166 eval ac_val=\$$ac_var
2167 case $ac_val in
2168 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2169 esac
2170 $as_echo "$ac_var='\''$ac_val'\''"
2171 done | sort
2172 echo
2173
2174 if test -n "$ac_subst_files"; then
2175 $as_echo "## ------------------- ##
2176 ## File substitutions. ##
2177 ## ------------------- ##"
2178 echo
2179 for ac_var in $ac_subst_files
2180 do
2181 eval ac_val=\$$ac_var
2182 case $ac_val in
2183 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2184 esac
2185 $as_echo "$ac_var='\''$ac_val'\''"
2186 done | sort
2187 echo
2188 fi
2189
2190 if test -s confdefs.h; then
2191 $as_echo "## ----------- ##
2192 ## confdefs.h. ##
2193 ## ----------- ##"
2194 echo
2195 cat confdefs.h
2196 echo
2197 fi
2198 test "$ac_signal" != 0 &&
2199 $as_echo "$as_me: caught signal $ac_signal"
2200 $as_echo "$as_me: exit $exit_status"
2201 } >&5
2202 rm -f core *.core core.conftest.* &&
2203 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2204 exit $exit_status
2205 ' 0
2206 for ac_signal in 1 2 13 15; do
2207 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2208 done
2209 ac_signal=0
2210
2211 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2212 rm -f -r conftest* confdefs.h
2213
2214 $as_echo "/* confdefs.h */" > confdefs.h
2215
2216 # Predefined preprocessor variables.
2217
2218 cat >>confdefs.h <<_ACEOF
2219 #define PACKAGE_NAME "$PACKAGE_NAME"
2220 _ACEOF
2221
2222 cat >>confdefs.h <<_ACEOF
2223 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2224 _ACEOF
2225
2226 cat >>confdefs.h <<_ACEOF
2227 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2228 _ACEOF
2229
2230 cat >>confdefs.h <<_ACEOF
2231 #define PACKAGE_STRING "$PACKAGE_STRING"
2232 _ACEOF
2233
2234 cat >>confdefs.h <<_ACEOF
2235 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2236 _ACEOF
2237
2238 cat >>confdefs.h <<_ACEOF
2239 #define PACKAGE_URL "$PACKAGE_URL"
2240 _ACEOF
2241
2242
2243 # Let the site file select an alternate cache file if it wants to.
2244 # Prefer an explicitly selected file to automatically selected ones.
2245 ac_site_file1=NONE
2246 ac_site_file2=NONE
2247 if test -n "$CONFIG_SITE"; then
2248 # We do not want a PATH search for config.site.
2249 case $CONFIG_SITE in #((
2250 -*) ac_site_file1=./$CONFIG_SITE;;
2251 */*) ac_site_file1=$CONFIG_SITE;;
2252 *) ac_site_file1=./$CONFIG_SITE;;
2253 esac
2254 elif test "x$prefix" != xNONE; then
2255 ac_site_file1=$prefix/share/config.site
2256 ac_site_file2=$prefix/etc/config.site
2257 else
2258 ac_site_file1=$ac_default_prefix/share/config.site
2259 ac_site_file2=$ac_default_prefix/etc/config.site
2260 fi
2261 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2262 do
2263 test "x$ac_site_file" = xNONE && continue
2264 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2266 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2267 sed 's/^/| /' "$ac_site_file" >&5
2268 . "$ac_site_file" \
2269 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2271 as_fn_error $? "failed to load site script $ac_site_file
2272 See \`config.log' for more details" "$LINENO" 5; }
2273 fi
2274 done
2275
2276 if test -r "$cache_file"; then
2277 # Some versions of bash will fail to source /dev/null (special files
2278 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2279 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2281 $as_echo "$as_me: loading cache $cache_file" >&6;}
2282 case $cache_file in
2283 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2284 *) . "./$cache_file";;
2285 esac
2286 fi
2287 else
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2289 $as_echo "$as_me: creating cache $cache_file" >&6;}
2290 >$cache_file
2291 fi
2292
2293 # Check that the precious variables saved in the cache have kept the same
2294 # value.
2295 ac_cache_corrupted=false
2296 for ac_var in $ac_precious_vars; do
2297 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2298 eval ac_new_set=\$ac_env_${ac_var}_set
2299 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2300 eval ac_new_val=\$ac_env_${ac_var}_value
2301 case $ac_old_set,$ac_new_set in
2302 set,)
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2304 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2305 ac_cache_corrupted=: ;;
2306 ,set)
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2308 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2309 ac_cache_corrupted=: ;;
2310 ,);;
2311 *)
2312 if test "x$ac_old_val" != "x$ac_new_val"; then
2313 # differences in whitespace do not lead to failure.
2314 ac_old_val_w=`echo x $ac_old_val`
2315 ac_new_val_w=`echo x $ac_new_val`
2316 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2318 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2319 ac_cache_corrupted=:
2320 else
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2322 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2323 eval $ac_var=\$ac_old_val
2324 fi
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2326 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2328 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2329 fi;;
2330 esac
2331 # Pass precious variables to config.status.
2332 if test "$ac_new_set" = set; then
2333 case $ac_new_val in
2334 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2335 *) ac_arg=$ac_var=$ac_new_val ;;
2336 esac
2337 case " $ac_configure_args " in
2338 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2339 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2340 esac
2341 fi
2342 done
2343 if $ac_cache_corrupted; then
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2347 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2348 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2349 fi
2350 ## -------------------- ##
2351 ## Main body of script. ##
2352 ## -------------------- ##
2353
2354 ac_ext=c
2355 ac_cpp='$CPP $CPPFLAGS'
2356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2359
2360
2361
2362 ac_config_headers="$ac_config_headers config.h"
2363
2364 ac_config_files="$ac_config_files Makefile contrib/Makefile contrib/request-key.d/Makefile"
2365
2366
2367
2368 am__api_version='1.16'
2369
2370 ac_aux_dir=
2371 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2372 if test -f "$ac_dir/install-sh"; then
2373 ac_aux_dir=$ac_dir
2374 ac_install_sh="$ac_aux_dir/install-sh -c"
2375 break
2376 elif test -f "$ac_dir/install.sh"; then
2377 ac_aux_dir=$ac_dir
2378 ac_install_sh="$ac_aux_dir/install.sh -c"
2379 break
2380 elif test -f "$ac_dir/shtool"; then
2381 ac_aux_dir=$ac_dir
2382 ac_install_sh="$ac_aux_dir/shtool install -c"
2383 break
2384 fi
2385 done
2386 if test -z "$ac_aux_dir"; then
2387 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2388 fi
2389
2390 # These three variables are undocumented and unsupported,
2391 # and are intended to be withdrawn in a future Autoconf release.
2392 # They can cause serious problems if a builder's source tree is in a directory
2393 # whose full name contains unusual characters.
2394 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2395 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2396 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2397
2398
2399 # Find a good install program. We prefer a C program (faster),
2400 # so one script is as good as another. But avoid the broken or
2401 # incompatible versions:
2402 # SysV /etc/install, /usr/sbin/install
2403 # SunOS /usr/etc/install
2404 # IRIX /sbin/install
2405 # AIX /bin/install
2406 # AmigaOS /C/install, which installs bootblocks on floppy discs
2407 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2408 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2409 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2410 # OS/2's system install, which has a completely different semantic
2411 # ./install, which can be erroneously created by make from ./install.sh.
2412 # Reject install programs that cannot install multiple files.
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2414 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2415 if test -z "$INSTALL"; then
2416 if ${ac_cv_path_install+:} false; then :
2417 $as_echo_n "(cached) " >&6
2418 else
2419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2420 for as_dir in $PATH
2421 do
2422 IFS=$as_save_IFS
2423 test -z "$as_dir" && as_dir=.
2424 # Account for people who put trailing slashes in PATH elements.
2425 case $as_dir/ in #((
2426 ./ | .// | /[cC]/* | \
2427 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2428 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2429 /usr/ucb/* ) ;;
2430 *)
2431 # OSF1 and SCO ODT 3.0 have their own names for install.
2432 # Don't use installbsd from OSF since it installs stuff as root
2433 # by default.
2434 for ac_prog in ginstall scoinst install; do
2435 for ac_exec_ext in '' $ac_executable_extensions; do
2436 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2437 if test $ac_prog = install &&
2438 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2439 # AIX install. It has an incompatible calling convention.
2440 :
2441 elif test $ac_prog = install &&
2442 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2443 # program-specific install script used by HP pwplus--don't use.
2444 :
2445 else
2446 rm -rf conftest.one conftest.two conftest.dir
2447 echo one > conftest.one
2448 echo two > conftest.two
2449 mkdir conftest.dir
2450 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2451 test -s conftest.one && test -s conftest.two &&
2452 test -s conftest.dir/conftest.one &&
2453 test -s conftest.dir/conftest.two
2454 then
2455 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2456 break 3
2457 fi
2458 fi
2459 fi
2460 done
2461 done
2462 ;;
2463 esac
2464
2465 done
2466 IFS=$as_save_IFS
2467
2468 rm -rf conftest.one conftest.two conftest.dir
2469
2470 fi
2471 if test "${ac_cv_path_install+set}" = set; then
2472 INSTALL=$ac_cv_path_install
2473 else
2474 # As a last resort, use the slow shell script. Don't cache a
2475 # value for INSTALL within a source directory, because that will
2476 # break other packages using the cache if that directory is
2477 # removed, or if the value is a relative name.
2478 INSTALL=$ac_install_sh
2479 fi
2480 fi
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2482 $as_echo "$INSTALL" >&6; }
2483
2484 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2485 # It thinks the first close brace ends the variable substitution.
2486 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2487
2488 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2489
2490 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2491
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2493 $as_echo_n "checking whether build environment is sane... " >&6; }
2494 # Reject unsafe characters in $srcdir or the absolute working directory
2495 # name. Accept space and tab only in the latter.
2496 am_lf='
2497 '
2498 case `pwd` in
2499 *[\\\"\#\$\&\'\`$am_lf]*)
2500 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2501 esac
2502 case $srcdir in
2503 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2504 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2505 esac
2506
2507 # Do 'set' in a subshell so we don't clobber the current shell's
2508 # arguments. Must try -L first in case configure is actually a
2509 # symlink; some systems play weird games with the mod time of symlinks
2510 # (eg FreeBSD returns the mod time of the symlink's containing
2511 # directory).
2512 if (
2513 am_has_slept=no
2514 for am_try in 1 2; do
2515 echo "timestamp, slept: $am_has_slept" > conftest.file
2516 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2517 if test "$*" = "X"; then
2518 # -L didn't work.
2519 set X `ls -t "$srcdir/configure" conftest.file`
2520 fi
2521 if test "$*" != "X $srcdir/configure conftest.file" \
2522 && test "$*" != "X conftest.file $srcdir/configure"; then
2523
2524 # If neither matched, then we have a broken ls. This can happen
2525 # if, for instance, CONFIG_SHELL is bash and it inherits a
2526 # broken ls alias from the environment. This has actually
2527 # happened. Such a system could not be considered "sane".
2528 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2529 alias in your environment" "$LINENO" 5
2530 fi
2531 if test "$2" = conftest.file || test $am_try -eq 2; then
2532 break
2533 fi
2534 # Just in case.
2535 sleep 1
2536 am_has_slept=yes
2537 done
2538 test "$2" = conftest.file
2539 )
2540 then
2541 # Ok.
2542 :
2543 else
2544 as_fn_error $? "newly created file is older than distributed files!
2545 Check your system clock" "$LINENO" 5
2546 fi
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2548 $as_echo "yes" >&6; }
2549 # If we didn't sleep, we still need to ensure time stamps of config.status and
2550 # generated files are strictly newer.
2551 am_sleep_pid=
2552 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2553 ( sleep 1 ) &
2554 am_sleep_pid=$!
2555 fi
2556
2557 rm -f conftest.file
2558
2559 test "$program_prefix" != NONE &&
2560 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2561 # Use a double $ so make ignores it.
2562 test "$program_suffix" != NONE &&
2563 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2564 # Double any \ or $.
2565 # By default was `s,x,x', remove it if useless.
2566 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2567 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2568
2569 # Expand $ac_aux_dir to an absolute path.
2570 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2571
2572 if test x"${MISSING+set}" != xset; then
2573 case $am_aux_dir in
2574 *\ * | *\ *)
2575 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2576 *)
2577 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2578 esac
2579 fi
2580 # Use eval to expand $SHELL
2581 if eval "$MISSING --is-lightweight"; then
2582 am_missing_run="$MISSING "
2583 else
2584 am_missing_run=
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2586 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2587 fi
2588
2589 if test x"${install_sh+set}" != xset; then
2590 case $am_aux_dir in
2591 *\ * | *\ *)
2592 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2593 *)
2594 install_sh="\${SHELL} $am_aux_dir/install-sh"
2595 esac
2596 fi
2597
2598 # Installed binaries are usually stripped using 'strip' when the user
2599 # run "make install-strip". However 'strip' might not be the right
2600 # tool to use in cross-compilation environments, therefore Automake
2601 # will honor the 'STRIP' environment variable to overrule this program.
2602 if test "$cross_compiling" != no; then
2603 if test -n "$ac_tool_prefix"; then
2604 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2605 set dummy ${ac_tool_prefix}strip; ac_word=$2
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2607 $as_echo_n "checking for $ac_word... " >&6; }
2608 if ${ac_cv_prog_STRIP+:} false; then :
2609 $as_echo_n "(cached) " >&6
2610 else
2611 if test -n "$STRIP"; then
2612 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2613 else
2614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2615 for as_dir in $PATH
2616 do
2617 IFS=$as_save_IFS
2618 test -z "$as_dir" && as_dir=.
2619 for ac_exec_ext in '' $ac_executable_extensions; do
2620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2621 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2623 break 2
2624 fi
2625 done
2626 done
2627 IFS=$as_save_IFS
2628
2629 fi
2630 fi
2631 STRIP=$ac_cv_prog_STRIP
2632 if test -n "$STRIP"; then
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2634 $as_echo "$STRIP" >&6; }
2635 else
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2637 $as_echo "no" >&6; }
2638 fi
2639
2640
2641 fi
2642 if test -z "$ac_cv_prog_STRIP"; then
2643 ac_ct_STRIP=$STRIP
2644 # Extract the first word of "strip", so it can be a program name with args.
2645 set dummy strip; ac_word=$2
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647 $as_echo_n "checking for $ac_word... " >&6; }
2648 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2649 $as_echo_n "(cached) " >&6
2650 else
2651 if test -n "$ac_ct_STRIP"; then
2652 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2653 else
2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655 for as_dir in $PATH
2656 do
2657 IFS=$as_save_IFS
2658 test -z "$as_dir" && as_dir=.
2659 for ac_exec_ext in '' $ac_executable_extensions; do
2660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2661 ac_cv_prog_ac_ct_STRIP="strip"
2662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2663 break 2
2664 fi
2665 done
2666 done
2667 IFS=$as_save_IFS
2668
2669 fi
2670 fi
2671 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2672 if test -n "$ac_ct_STRIP"; then
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2674 $as_echo "$ac_ct_STRIP" >&6; }
2675 else
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677 $as_echo "no" >&6; }
2678 fi
2679
2680 if test "x$ac_ct_STRIP" = x; then
2681 STRIP=":"
2682 else
2683 case $cross_compiling:$ac_tool_warned in
2684 yes:)
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2687 ac_tool_warned=yes ;;
2688 esac
2689 STRIP=$ac_ct_STRIP
2690 fi
2691 else
2692 STRIP="$ac_cv_prog_STRIP"
2693 fi
2694
2695 fi
2696 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2697
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2699 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2700 if test -z "$MKDIR_P"; then
2701 if ${ac_cv_path_mkdir+:} false; then :
2702 $as_echo_n "(cached) " >&6
2703 else
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2706 do
2707 IFS=$as_save_IFS
2708 test -z "$as_dir" && as_dir=.
2709 for ac_prog in mkdir gmkdir; do
2710 for ac_exec_ext in '' $ac_executable_extensions; do
2711 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2712 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2713 'mkdir (GNU coreutils) '* | \
2714 'mkdir (coreutils) '* | \
2715 'mkdir (fileutils) '4.1*)
2716 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2717 break 3;;
2718 esac
2719 done
2720 done
2721 done
2722 IFS=$as_save_IFS
2723
2724 fi
2725
2726 test -d ./--version && rmdir ./--version
2727 if test "${ac_cv_path_mkdir+set}" = set; then
2728 MKDIR_P="$ac_cv_path_mkdir -p"
2729 else
2730 # As a last resort, use the slow shell script. Don't cache a
2731 # value for MKDIR_P within a source directory, because that will
2732 # break other packages using the cache if that directory is
2733 # removed, or if the value is a relative name.
2734 MKDIR_P="$ac_install_sh -d"
2735 fi
2736 fi
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2738 $as_echo "$MKDIR_P" >&6; }
2739
2740 for ac_prog in gawk mawk nawk awk
2741 do
2742 # Extract the first word of "$ac_prog", so it can be a program name with args.
2743 set dummy $ac_prog; ac_word=$2
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2745 $as_echo_n "checking for $ac_word... " >&6; }
2746 if ${ac_cv_prog_AWK+:} false; then :
2747 $as_echo_n "(cached) " >&6
2748 else
2749 if test -n "$AWK"; then
2750 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2751 else
2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 for as_dir in $PATH
2754 do
2755 IFS=$as_save_IFS
2756 test -z "$as_dir" && as_dir=.
2757 for ac_exec_ext in '' $ac_executable_extensions; do
2758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2759 ac_cv_prog_AWK="$ac_prog"
2760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2761 break 2
2762 fi
2763 done
2764 done
2765 IFS=$as_save_IFS
2766
2767 fi
2768 fi
2769 AWK=$ac_cv_prog_AWK
2770 if test -n "$AWK"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2772 $as_echo "$AWK" >&6; }
2773 else
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2775 $as_echo "no" >&6; }
2776 fi
2777
2778
2779 test -n "$AWK" && break
2780 done
2781
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2783 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2784 set x ${MAKE-make}
2785 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2786 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2787 $as_echo_n "(cached) " >&6
2788 else
2789 cat >conftest.make <<\_ACEOF
2790 SHELL = /bin/sh
2791 all:
2792 @echo '@@@%%%=$(MAKE)=@@@%%%'
2793 _ACEOF
2794 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2795 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2796 *@@@%%%=?*=@@@%%%*)
2797 eval ac_cv_prog_make_${ac_make}_set=yes;;
2798 *)
2799 eval ac_cv_prog_make_${ac_make}_set=no;;
2800 esac
2801 rm -f conftest.make
2802 fi
2803 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2805 $as_echo "yes" >&6; }
2806 SET_MAKE=
2807 else
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2809 $as_echo "no" >&6; }
2810 SET_MAKE="MAKE=${MAKE-make}"
2811 fi
2812
2813 rm -rf .tst 2>/dev/null
2814 mkdir .tst 2>/dev/null
2815 if test -d .tst; then
2816 am__leading_dot=.
2817 else
2818 am__leading_dot=_
2819 fi
2820 rmdir .tst 2>/dev/null
2821
2822 # Check whether --enable-silent-rules was given.
2823 if test "${enable_silent_rules+set}" = set; then :
2824 enableval=$enable_silent_rules;
2825 fi
2826
2827 case $enable_silent_rules in # (((
2828 yes) AM_DEFAULT_VERBOSITY=0;;
2829 no) AM_DEFAULT_VERBOSITY=1;;
2830 *) AM_DEFAULT_VERBOSITY=1;;
2831 esac
2832 am_make=${MAKE-make}
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2834 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2835 if ${am_cv_make_support_nested_variables+:} false; then :
2836 $as_echo_n "(cached) " >&6
2837 else
2838 if $as_echo 'TRUE=$(BAR$(V))
2839 BAR0=false
2840 BAR1=true
2841 V=1
2842 am__doit:
2843 @$(TRUE)
2844 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2845 am_cv_make_support_nested_variables=yes
2846 else
2847 am_cv_make_support_nested_variables=no
2848 fi
2849 fi
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2851 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2852 if test $am_cv_make_support_nested_variables = yes; then
2853 AM_V='$(V)'
2854 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2855 else
2856 AM_V=$AM_DEFAULT_VERBOSITY
2857 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2858 fi
2859 AM_BACKSLASH='\'
2860
2861 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2862 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2863 # is not polluted with repeated "-I."
2864 am__isrc=' -I$(srcdir)'
2865 # test to see if srcdir already configured
2866 if test -f $srcdir/config.status; then
2867 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2868 fi
2869 fi
2870
2871 # test whether we have cygpath
2872 if test -z "$CYGPATH_W"; then
2873 if (cygpath --version) >/dev/null 2>/dev/null; then
2874 CYGPATH_W='cygpath -w'
2875 else
2876 CYGPATH_W=echo
2877 fi
2878 fi
2879
2880
2881 # Define the identity of the package.
2882 PACKAGE='cifs-utils'
2883 VERSION='7.4'
2884
2885
2886 cat >>confdefs.h <<_ACEOF
2887 #define PACKAGE "$PACKAGE"
2888 _ACEOF
2889
2890
2891 cat >>confdefs.h <<_ACEOF
2892 #define VERSION "$VERSION"
2893 _ACEOF
2894
2895 # Some tools Automake needs.
2896
2897 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2898
2899
2900 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2901
2902
2903 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2904
2905
2906 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2907
2908
2909 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2910
2911 # For better backward compatibility. To be removed once Automake 1.9.x
2912 # dies out for good. For more background, see:
2913 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2914 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2915 mkdir_p='$(MKDIR_P)'
2916
2917 # We need awk for the "check" target (and possibly the TAP driver). The
2918 # system "awk" is bad on some platforms.
2919 # Always define AMTAR for backward compatibility. Yes, it's still used
2920 # in the wild :-( We should find a proper way to deprecate it ...
2921 AMTAR='$${TAR-tar}'
2922
2923
2924 # We'll loop over all known methods to create a tar archive until one works.
2925 _am_tools='gnutar pax cpio none'
2926
2927 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2928
2929
2930
2931
2932
2933
2934 # POSIX will say in a future version that running "rm -f" with no argument
2935 # is OK; and we want to be able to make that assumption in our Makefile
2936 # recipes. So use an aggressive probe to check that the usage we want is
2937 # actually supported "in the wild" to an acceptable degree.
2938 # See automake bug#10828.
2939 # To make any issue more visible, cause the running configure to be aborted
2940 # by default if the 'rm' program in use doesn't match our expectations; the
2941 # user can still override this though.
2942 if rm -f && rm -fr && rm -rf; then : OK; else
2943 cat >&2 <<'END'
2944 Oops!
2945
2946 Your 'rm' program seems unable to run without file operands specified
2947 on the command line, even when the '-f' option is present. This is contrary
2948 to the behaviour of most rm programs out there, and not conforming with
2949 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2950
2951 Please tell [email protected] about your system, including the value
2952 of your $PATH and any error possibly output before this message. This
2953 can help us improve future automake versions.
2954
2955 END
2956 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2957 echo 'Configuration will proceed anyway, since you have set the' >&2
2958 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2959 echo >&2
2960 else
2961 cat >&2 <<'END'
2962 Aborting the configuration process, to ensure you take notice of the issue.
2963
2964 You can download and install GNU coreutils to get an 'rm' implementation
2965 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2966
2967 If you want to complete the configuration process using your problematic
2968 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2969 to "yes", and re-run configure.
2970
2971 END
2972 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2973 fi
2974 fi
2975
2976
2977 # "enable" options
2978 # Check whether --enable-pie was given.
2979 if test "${enable_pie+set}" = set; then :
2980 enableval=$enable_pie; enable_pie=$enableval
2981 else
2982 enable_pie="maybe"
2983 fi
2984
2985
2986 # Check whether --enable-relro was given.
2987 if test "${enable_relro+set}" = set; then :
2988 enableval=$enable_relro; enable_relro=$enableval
2989 else
2990 enable_relro="maybe"
2991 fi
2992
2993
2994 # Check whether --enable-cifsupcall was given.
2995 if test "${enable_cifsupcall+set}" = set; then :
2996 enableval=$enable_cifsupcall; enable_cifsupcall=$enableval
2997 else
2998 enable_cifsupcall="maybe"
2999 fi
3000
3001
3002 # Check whether --enable-cifscreds was given.
3003 if test "${enable_cifscreds+set}" = set; then :
3004 enableval=$enable_cifscreds; enable_cifscreds=$enableval
3005 else
3006 enable_cifscreds="maybe"
3007 fi
3008
3009
3010 # Check whether --enable-cifsidmap was given.
3011 if test "${enable_cifsidmap+set}" = set; then :
3012 enableval=$enable_cifsidmap; enable_cifsidmap=$enableval
3013 else
3014 enable_cifsidmap="maybe"
3015 fi
3016
3017
3018 # Check whether --enable-cifsacl was given.
3019 if test "${enable_cifsacl+set}" = set; then :
3020 enableval=$enable_cifsacl; enable_cifsacl=$enableval
3021 else
3022 enable_cifsacl="maybe"
3023 fi
3024
3025
3026 # Check whether --enable-smbinfo was given.
3027 if test "${enable_smbinfo+set}" = set; then :
3028 enableval=$enable_smbinfo; enable_smbinfo=$enableval
3029 else
3030 enable_smbinfo="maybe"
3031 fi
3032
3033
3034 # Check whether --enable-pythontools was given.
3035 if test "${enable_pythontools+set}" = set; then :
3036 enableval=$enable_pythontools; enable_pythontools=$enableval
3037 else
3038 enable_pythontools="maybe"
3039 fi
3040
3041
3042 # Check whether --enable-pam was given.
3043 if test "${enable_pam+set}" = set; then :
3044 enableval=$enable_pam; enable_pam=$enableval
3045 else
3046 enable_pam="maybe"
3047 fi
3048
3049
3050 # Check whether --enable-systemd was given.
3051 if test "${enable_systemd+set}" = set; then :
3052 enableval=$enable_systemd; enable_systemd=$enableval
3053 else
3054 enable_systemd="maybe"
3055 fi
3056
3057
3058 # Check whether --enable-man was given.
3059 if test "${enable_man+set}" = set; then :
3060 enableval=$enable_man; enable_man=$enableval
3061 else
3062 enable_man="maybe"
3063 fi
3064
3065
3066 # "with" options
3067
3068 # Check whether --with-idmap-plugin was given.
3069 if test "${with_idmap_plugin+set}" = set; then :
3070 withval=$with_idmap_plugin; pluginpath=$withval
3071 else
3072 pluginpath="/etc/cifs-utils/idmap-plugin"
3073 fi
3074
3075
3076 cat >>confdefs.h <<_ACEOF
3077 #define IDMAP_PLUGIN_PATH "$pluginpath"
3078 _ACEOF
3079
3080
3081
3082
3083 # Check whether --with-pamdir was given.
3084 if test "${with_pamdir+set}" = set; then :
3085 withval=$with_pamdir; pamdir=$withval
3086 else
3087 pamdir="\$(libdir)/security"
3088 fi
3089
3090
3091
3092 # check for ROOTSBINDIR environment var
3093 if test -z $ROOTSBINDIR; then
3094 ROOTSBINDIR="/sbin"
3095 export ROOTSBINDIR
3096 fi
3097
3098
3099
3100 # Checks for programs.
3101 ac_ext=c
3102 ac_cpp='$CPP $CPPFLAGS'
3103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3106 if test -n "$ac_tool_prefix"; then
3107 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3108 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3110 $as_echo_n "checking for $ac_word... " >&6; }
3111 if ${ac_cv_prog_CC+:} false; then :
3112 $as_echo_n "(cached) " >&6
3113 else
3114 if test -n "$CC"; then
3115 ac_cv_prog_CC="$CC" # Let the user override the test.
3116 else
3117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3118 for as_dir in $PATH
3119 do
3120 IFS=$as_save_IFS
3121 test -z "$as_dir" && as_dir=.
3122 for ac_exec_ext in '' $ac_executable_extensions; do
3123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3124 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3126 break 2
3127 fi
3128 done
3129 done
3130 IFS=$as_save_IFS
3131
3132 fi
3133 fi
3134 CC=$ac_cv_prog_CC
3135 if test -n "$CC"; then
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3137 $as_echo "$CC" >&6; }
3138 else
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3140 $as_echo "no" >&6; }
3141 fi
3142
3143
3144 fi
3145 if test -z "$ac_cv_prog_CC"; then
3146 ac_ct_CC=$CC
3147 # Extract the first word of "gcc", so it can be a program name with args.
3148 set dummy gcc; ac_word=$2
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3150 $as_echo_n "checking for $ac_word... " >&6; }
3151 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3152 $as_echo_n "(cached) " >&6
3153 else
3154 if test -n "$ac_ct_CC"; then
3155 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3156 else
3157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3158 for as_dir in $PATH
3159 do
3160 IFS=$as_save_IFS
3161 test -z "$as_dir" && as_dir=.
3162 for ac_exec_ext in '' $ac_executable_extensions; do
3163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3164 ac_cv_prog_ac_ct_CC="gcc"
3165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3166 break 2
3167 fi
3168 done
3169 done
3170 IFS=$as_save_IFS
3171
3172 fi
3173 fi
3174 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3175 if test -n "$ac_ct_CC"; then
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3177 $as_echo "$ac_ct_CC" >&6; }
3178 else
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3180 $as_echo "no" >&6; }
3181 fi
3182
3183 if test "x$ac_ct_CC" = x; then
3184 CC=""
3185 else
3186 case $cross_compiling:$ac_tool_warned in
3187 yes:)
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3190 ac_tool_warned=yes ;;
3191 esac
3192 CC=$ac_ct_CC
3193 fi
3194 else
3195 CC="$ac_cv_prog_CC"
3196 fi
3197
3198 if test -z "$CC"; then
3199 if test -n "$ac_tool_prefix"; then
3200 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3201 set dummy ${ac_tool_prefix}cc; ac_word=$2
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3203 $as_echo_n "checking for $ac_word... " >&6; }
3204 if ${ac_cv_prog_CC+:} false; then :
3205 $as_echo_n "(cached) " >&6
3206 else
3207 if test -n "$CC"; then
3208 ac_cv_prog_CC="$CC" # Let the user override the test.
3209 else
3210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3211 for as_dir in $PATH
3212 do
3213 IFS=$as_save_IFS
3214 test -z "$as_dir" && as_dir=.
3215 for ac_exec_ext in '' $ac_executable_extensions; do
3216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3217 ac_cv_prog_CC="${ac_tool_prefix}cc"
3218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3219 break 2
3220 fi
3221 done
3222 done
3223 IFS=$as_save_IFS
3224
3225 fi
3226 fi
3227 CC=$ac_cv_prog_CC
3228 if test -n "$CC"; then
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3230 $as_echo "$CC" >&6; }
3231 else
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3233 $as_echo "no" >&6; }
3234 fi
3235
3236
3237 fi
3238 fi
3239 if test -z "$CC"; then
3240 # Extract the first word of "cc", so it can be a program name with args.
3241 set dummy cc; ac_word=$2
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3243 $as_echo_n "checking for $ac_word... " >&6; }
3244 if ${ac_cv_prog_CC+:} false; then :
3245 $as_echo_n "(cached) " >&6
3246 else
3247 if test -n "$CC"; then
3248 ac_cv_prog_CC="$CC" # Let the user override the test.
3249 else
3250 ac_prog_rejected=no
3251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3252 for as_dir in $PATH
3253 do
3254 IFS=$as_save_IFS
3255 test -z "$as_dir" && as_dir=.
3256 for ac_exec_ext in '' $ac_executable_extensions; do
3257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3258 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3259 ac_prog_rejected=yes
3260 continue
3261 fi
3262 ac_cv_prog_CC="cc"
3263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3264 break 2
3265 fi
3266 done
3267 done
3268 IFS=$as_save_IFS
3269
3270 if test $ac_prog_rejected = yes; then
3271 # We found a bogon in the path, so make sure we never use it.
3272 set dummy $ac_cv_prog_CC
3273 shift
3274 if test $# != 0; then
3275 # We chose a different compiler from the bogus one.
3276 # However, it has the same basename, so the bogon will be chosen
3277 # first if we set CC to just the basename; use the full file name.
3278 shift
3279 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3280 fi
3281 fi
3282 fi
3283 fi
3284 CC=$ac_cv_prog_CC
3285 if test -n "$CC"; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3287 $as_echo "$CC" >&6; }
3288 else
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3290 $as_echo "no" >&6; }
3291 fi
3292
3293
3294 fi
3295 if test -z "$CC"; then
3296 if test -n "$ac_tool_prefix"; then
3297 for ac_prog in cl.exe
3298 do
3299 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3300 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if ${ac_cv_prog_CC+:} false; then :
3304 $as_echo_n "(cached) " >&6
3305 else
3306 if test -n "$CC"; then
3307 ac_cv_prog_CC="$CC" # Let the user override the test.
3308 else
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310 for as_dir in $PATH
3311 do
3312 IFS=$as_save_IFS
3313 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3316 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 break 2
3319 fi
3320 done
3321 done
3322 IFS=$as_save_IFS
3323
3324 fi
3325 fi
3326 CC=$ac_cv_prog_CC
3327 if test -n "$CC"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3329 $as_echo "$CC" >&6; }
3330 else
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3333 fi
3334
3335
3336 test -n "$CC" && break
3337 done
3338 fi
3339 if test -z "$CC"; then
3340 ac_ct_CC=$CC
3341 for ac_prog in cl.exe
3342 do
3343 # Extract the first word of "$ac_prog", so it can be a program name with args.
3344 set dummy $ac_prog; ac_word=$2
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3346 $as_echo_n "checking for $ac_word... " >&6; }
3347 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3348 $as_echo_n "(cached) " >&6
3349 else
3350 if test -n "$ac_ct_CC"; then
3351 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3352 else
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 for as_dir in $PATH
3355 do
3356 IFS=$as_save_IFS
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3360 ac_cv_prog_ac_ct_CC="$ac_prog"
3361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 break 2
3363 fi
3364 done
3365 done
3366 IFS=$as_save_IFS
3367
3368 fi
3369 fi
3370 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3371 if test -n "$ac_ct_CC"; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3373 $as_echo "$ac_ct_CC" >&6; }
3374 else
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3377 fi
3378
3379
3380 test -n "$ac_ct_CC" && break
3381 done
3382
3383 if test "x$ac_ct_CC" = x; then
3384 CC=""
3385 else
3386 case $cross_compiling:$ac_tool_warned in
3387 yes:)
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3390 ac_tool_warned=yes ;;
3391 esac
3392 CC=$ac_ct_CC
3393 fi
3394 fi
3395
3396 fi
3397
3398
3399 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3401 as_fn_error $? "no acceptable C compiler found in \$PATH
3402 See \`config.log' for more details" "$LINENO" 5; }
3403
3404 # Provide some information about the compiler.
3405 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3406 set X $ac_compile
3407 ac_compiler=$2
3408 for ac_option in --version -v -V -qversion; do
3409 { { ac_try="$ac_compiler $ac_option >&5"
3410 case "(($ac_try" in
3411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412 *) ac_try_echo=$ac_try;;
3413 esac
3414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3415 $as_echo "$ac_try_echo"; } >&5
3416 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3417 ac_status=$?
3418 if test -s conftest.err; then
3419 sed '10a\
3420 ... rest of stderr output deleted ...
3421 10q' conftest.err >conftest.er1
3422 cat conftest.er1 >&5
3423 fi
3424 rm -f conftest.er1 conftest.err
3425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3426 test $ac_status = 0; }
3427 done
3428
3429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3430 /* end confdefs.h. */
3431
3432 int
3433 main ()
3434 {
3435
3436 ;
3437 return 0;
3438 }
3439 _ACEOF
3440 ac_clean_files_save=$ac_clean_files
3441 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3442 # Try to create an executable without -o first, disregard a.out.
3443 # It will help us diagnose broken compilers, and finding out an intuition
3444 # of exeext.
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3446 $as_echo_n "checking whether the C compiler works... " >&6; }
3447 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3448
3449 # The possible output files:
3450 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3451
3452 ac_rmfiles=
3453 for ac_file in $ac_files
3454 do
3455 case $ac_file in
3456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3457 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3458 esac
3459 done
3460 rm -f $ac_rmfiles
3461
3462 if { { ac_try="$ac_link_default"
3463 case "(($ac_try" in
3464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3465 *) ac_try_echo=$ac_try;;
3466 esac
3467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3468 $as_echo "$ac_try_echo"; } >&5
3469 (eval "$ac_link_default") 2>&5
3470 ac_status=$?
3471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3472 test $ac_status = 0; }; then :
3473 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3474 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3475 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3476 # so that the user can short-circuit this test for compilers unknown to
3477 # Autoconf.
3478 for ac_file in $ac_files ''
3479 do
3480 test -f "$ac_file" || continue
3481 case $ac_file in
3482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3483 ;;
3484 [ab].out )
3485 # We found the default executable, but exeext='' is most
3486 # certainly right.
3487 break;;
3488 *.* )
3489 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3490 then :; else
3491 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3492 fi
3493 # We set ac_cv_exeext here because the later test for it is not
3494 # safe: cross compilers may not add the suffix if given an `-o'
3495 # argument, so we may need to know it at that point already.
3496 # Even if this section looks crufty: it has the advantage of
3497 # actually working.
3498 break;;
3499 * )
3500 break;;
3501 esac
3502 done
3503 test "$ac_cv_exeext" = no && ac_cv_exeext=
3504
3505 else
3506 ac_file=''
3507 fi
3508 if test -z "$ac_file"; then :
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3510 $as_echo "no" >&6; }
3511 $as_echo "$as_me: failed program was:" >&5
3512 sed 's/^/| /' conftest.$ac_ext >&5
3513
3514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3516 as_fn_error 77 "C compiler cannot create executables
3517 See \`config.log' for more details" "$LINENO" 5; }
3518 else
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3520 $as_echo "yes" >&6; }
3521 fi
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3523 $as_echo_n "checking for C compiler default output file name... " >&6; }
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3525 $as_echo "$ac_file" >&6; }
3526 ac_exeext=$ac_cv_exeext
3527
3528 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3529 ac_clean_files=$ac_clean_files_save
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3531 $as_echo_n "checking for suffix of executables... " >&6; }
3532 if { { ac_try="$ac_link"
3533 case "(($ac_try" in
3534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3535 *) ac_try_echo=$ac_try;;
3536 esac
3537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3538 $as_echo "$ac_try_echo"; } >&5
3539 (eval "$ac_link") 2>&5
3540 ac_status=$?
3541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3542 test $ac_status = 0; }; then :
3543 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3544 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3545 # work properly (i.e., refer to `conftest.exe'), while it won't with
3546 # `rm'.
3547 for ac_file in conftest.exe conftest conftest.*; do
3548 test -f "$ac_file" || continue
3549 case $ac_file in
3550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3551 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3552 break;;
3553 * ) break;;
3554 esac
3555 done
3556 else
3557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3559 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3560 See \`config.log' for more details" "$LINENO" 5; }
3561 fi
3562 rm -f conftest conftest$ac_cv_exeext
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3564 $as_echo "$ac_cv_exeext" >&6; }
3565
3566 rm -f conftest.$ac_ext
3567 EXEEXT=$ac_cv_exeext
3568 ac_exeext=$EXEEXT
3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h. */
3571 #include <stdio.h>
3572 int
3573 main ()
3574 {
3575 FILE *f = fopen ("conftest.out", "w");
3576 return ferror (f) || fclose (f) != 0;
3577
3578 ;
3579 return 0;
3580 }
3581 _ACEOF
3582 ac_clean_files="$ac_clean_files conftest.out"
3583 # Check that the compiler produces executables we can run. If not, either
3584 # the compiler is broken, or we cross compile.
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3586 $as_echo_n "checking whether we are cross compiling... " >&6; }
3587 if test "$cross_compiling" != yes; then
3588 { { ac_try="$ac_link"
3589 case "(($ac_try" in
3590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591 *) ac_try_echo=$ac_try;;
3592 esac
3593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3594 $as_echo "$ac_try_echo"; } >&5
3595 (eval "$ac_link") 2>&5
3596 ac_status=$?
3597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3598 test $ac_status = 0; }
3599 if { ac_try='./conftest$ac_cv_exeext'
3600 { { case "(($ac_try" in
3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3603 esac
3604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3605 $as_echo "$ac_try_echo"; } >&5
3606 (eval "$ac_try") 2>&5
3607 ac_status=$?
3608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3609 test $ac_status = 0; }; }; then
3610 cross_compiling=no
3611 else
3612 if test "$cross_compiling" = maybe; then
3613 cross_compiling=yes
3614 else
3615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3617 as_fn_error $? "cannot run C compiled programs.
3618 If you meant to cross compile, use \`--host'.
3619 See \`config.log' for more details" "$LINENO" 5; }
3620 fi
3621 fi
3622 fi
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3624 $as_echo "$cross_compiling" >&6; }
3625
3626 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3627 ac_clean_files=$ac_clean_files_save
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3629 $as_echo_n "checking for suffix of object files... " >&6; }
3630 if ${ac_cv_objext+:} false; then :
3631 $as_echo_n "(cached) " >&6
3632 else
3633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3634 /* end confdefs.h. */
3635
3636 int
3637 main ()
3638 {
3639
3640 ;
3641 return 0;
3642 }
3643 _ACEOF
3644 rm -f conftest.o conftest.obj
3645 if { { ac_try="$ac_compile"
3646 case "(($ac_try" in
3647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3648 *) ac_try_echo=$ac_try;;
3649 esac
3650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3651 $as_echo "$ac_try_echo"; } >&5
3652 (eval "$ac_compile") 2>&5
3653 ac_status=$?
3654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3655 test $ac_status = 0; }; then :
3656 for ac_file in conftest.o conftest.obj conftest.*; do
3657 test -f "$ac_file" || continue;
3658 case $ac_file in
3659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3660 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3661 break;;
3662 esac
3663 done
3664 else
3665 $as_echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.$ac_ext >&5
3667
3668 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3670 as_fn_error $? "cannot compute suffix of object files: cannot compile
3671 See \`config.log' for more details" "$LINENO" 5; }
3672 fi
3673 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3674 fi
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3676 $as_echo "$ac_cv_objext" >&6; }
3677 OBJEXT=$ac_cv_objext
3678 ac_objext=$OBJEXT
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3680 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3681 if ${ac_cv_c_compiler_gnu+:} false; then :
3682 $as_echo_n "(cached) " >&6
3683 else
3684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3685 /* end confdefs.h. */
3686
3687 int
3688 main ()
3689 {
3690 #ifndef __GNUC__
3691 choke me
3692 #endif
3693
3694 ;
3695 return 0;
3696 }
3697 _ACEOF
3698 if ac_fn_c_try_compile "$LINENO"; then :
3699 ac_compiler_gnu=yes
3700 else
3701 ac_compiler_gnu=no
3702 fi
3703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3704 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3705
3706 fi
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3708 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3709 if test $ac_compiler_gnu = yes; then
3710 GCC=yes
3711 else
3712 GCC=
3713 fi
3714 ac_test_CFLAGS=${CFLAGS+set}
3715 ac_save_CFLAGS=$CFLAGS
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3717 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3718 if ${ac_cv_prog_cc_g+:} false; then :
3719 $as_echo_n "(cached) " >&6
3720 else
3721 ac_save_c_werror_flag=$ac_c_werror_flag
3722 ac_c_werror_flag=yes
3723 ac_cv_prog_cc_g=no
3724 CFLAGS="-g"
3725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3726 /* end confdefs.h. */
3727
3728 int
3729 main ()
3730 {
3731
3732 ;
3733 return 0;
3734 }
3735 _ACEOF
3736 if ac_fn_c_try_compile "$LINENO"; then :
3737 ac_cv_prog_cc_g=yes
3738 else
3739 CFLAGS=""
3740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741 /* end confdefs.h. */
3742
3743 int
3744 main ()
3745 {
3746
3747 ;
3748 return 0;
3749 }
3750 _ACEOF
3751 if ac_fn_c_try_compile "$LINENO"; then :
3752
3753 else
3754 ac_c_werror_flag=$ac_save_c_werror_flag
3755 CFLAGS="-g"
3756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3757 /* end confdefs.h. */
3758
3759 int
3760 main ()
3761 {
3762
3763 ;
3764 return 0;
3765 }
3766 _ACEOF
3767 if ac_fn_c_try_compile "$LINENO"; then :
3768 ac_cv_prog_cc_g=yes
3769 fi
3770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3771 fi
3772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3773 fi
3774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3775 ac_c_werror_flag=$ac_save_c_werror_flag
3776 fi
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3778 $as_echo "$ac_cv_prog_cc_g" >&6; }
3779 if test "$ac_test_CFLAGS" = set; then
3780 CFLAGS=$ac_save_CFLAGS
3781 elif test $ac_cv_prog_cc_g = yes; then
3782 if test "$GCC" = yes; then
3783 CFLAGS="-g -O2"
3784 else
3785 CFLAGS="-g"
3786 fi
3787 else
3788 if test "$GCC" = yes; then
3789 CFLAGS="-O2"
3790 else
3791 CFLAGS=
3792 fi
3793 fi
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3795 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3796 if ${ac_cv_prog_cc_c89+:} false; then :
3797 $as_echo_n "(cached) " >&6
3798 else
3799 ac_cv_prog_cc_c89=no
3800 ac_save_CC=$CC
3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3802 /* end confdefs.h. */
3803 #include <stdarg.h>
3804 #include <stdio.h>
3805 struct stat;
3806 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3807 struct buf { int x; };
3808 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3809 static char *e (p, i)
3810 char **p;
3811 int i;
3812 {
3813 return p[i];
3814 }
3815 static char *f (char * (*g) (char **, int), char **p, ...)
3816 {
3817 char *s;
3818 va_list v;
3819 va_start (v,p);
3820 s = g (p, va_arg (v,int));
3821 va_end (v);
3822 return s;
3823 }
3824
3825 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3826 function prototypes and stuff, but not '\xHH' hex character constants.
3827 These don't provoke an error unfortunately, instead are silently treated
3828 as 'x'. The following induces an error, until -std is added to get
3829 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3830 array size at least. It's necessary to write '\x00'==0 to get something
3831 that's true only with -std. */
3832 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3833
3834 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3835 inside strings and character constants. */
3836 #define FOO(x) 'x'
3837 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3838
3839 int test (int i, double x);
3840 struct s1 {int (*f) (int a);};
3841 struct s2 {int (*f) (double a);};
3842 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3843 int argc;
3844 char **argv;
3845 int
3846 main ()
3847 {
3848 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3849 ;
3850 return 0;
3851 }
3852 _ACEOF
3853 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3854 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3855 do
3856 CC="$ac_save_CC $ac_arg"
3857 if ac_fn_c_try_compile "$LINENO"; then :
3858 ac_cv_prog_cc_c89=$ac_arg
3859 fi
3860 rm -f core conftest.err conftest.$ac_objext
3861 test "x$ac_cv_prog_cc_c89" != "xno" && break
3862 done
3863 rm -f conftest.$ac_ext
3864 CC=$ac_save_CC
3865
3866 fi
3867 # AC_CACHE_VAL
3868 case "x$ac_cv_prog_cc_c89" in
3869 x)
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3871 $as_echo "none needed" >&6; } ;;
3872 xno)
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3874 $as_echo "unsupported" >&6; } ;;
3875 *)
3876 CC="$CC $ac_cv_prog_cc_c89"
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3878 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3879 esac
3880 if test "x$ac_cv_prog_cc_c89" != xno; then :
3881
3882 fi
3883
3884 ac_ext=c
3885 ac_cpp='$CPP $CPPFLAGS'
3886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3889
3890 ac_ext=c
3891 ac_cpp='$CPP $CPPFLAGS'
3892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3896 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3897 if ${am_cv_prog_cc_c_o+:} false; then :
3898 $as_echo_n "(cached) " >&6
3899 else
3900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3902
3903 int
3904 main ()
3905 {
3906
3907 ;
3908 return 0;
3909 }
3910 _ACEOF
3911 # Make sure it works both with $CC and with simple cc.
3912 # Following AC_PROG_CC_C_O, we do the test twice because some
3913 # compilers refuse to overwrite an existing .o file with -o,
3914 # though they will create one.
3915 am_cv_prog_cc_c_o=yes
3916 for am_i in 1 2; do
3917 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3918 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3919 ac_status=$?
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); } \
3922 && test -f conftest2.$ac_objext; then
3923 : OK
3924 else
3925 am_cv_prog_cc_c_o=no
3926 break
3927 fi
3928 done
3929 rm -f core conftest*
3930 unset am_i
3931 fi
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3933 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3934 if test "$am_cv_prog_cc_c_o" != yes; then
3935 # Losing compiler, so override with the script.
3936 # FIXME: It is wrong to rewrite CC.
3937 # But if we don't then we get into trouble of one sort or another.
3938 # A longer-term fix would be to have automake use am__CC in this case,
3939 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3940 CC="$am_aux_dir/compile $CC"
3941 fi
3942 ac_ext=c
3943 ac_cpp='$CPP $CPPFLAGS'
3944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3947
3948 DEPDIR="${am__leading_dot}deps"
3949
3950 ac_config_commands="$ac_config_commands depfiles"
3951
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3953 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3954 cat > confinc.mk << 'END'
3955 am__doit:
3956 @echo this is the am__doit target >confinc.out
3957 .PHONY: am__doit
3958 END
3959 am__include="#"
3960 am__quote=
3961 # BSD make does it like this.
3962 echo '.include "confinc.mk" # ignored' > confmf.BSD
3963 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3964 echo 'include confinc.mk # ignored' > confmf.GNU
3965 _am_result=no
3966 for s in GNU BSD; do
3967 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3968 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3969 ac_status=$?
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); }
3972 case $?:`cat confinc.out 2>/dev/null` in #(
3973 '0:this is the am__doit target') :
3974 case $s in #(
3975 BSD) :
3976 am__include='.include' am__quote='"' ;; #(
3977 *) :
3978 am__include='include' am__quote='' ;;
3979 esac ;; #(
3980 *) :
3981 ;;
3982 esac
3983 if test "$am__include" != "#"; then
3984 _am_result="yes ($s style)"
3985 break
3986 fi
3987 done
3988 rm -f confinc.* confmf.*
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3990 $as_echo "${_am_result}" >&6; }
3991
3992 # Check whether --enable-dependency-tracking was given.
3993 if test "${enable_dependency_tracking+set}" = set; then :
3994 enableval=$enable_dependency_tracking;
3995 fi
3996
3997 if test "x$enable_dependency_tracking" != xno; then
3998 am_depcomp="$ac_aux_dir/depcomp"
3999 AMDEPBACKSLASH='\'
4000 am__nodep='_no'
4001 fi
4002 if test "x$enable_dependency_tracking" != xno; then
4003 AMDEP_TRUE=
4004 AMDEP_FALSE='#'
4005 else
4006 AMDEP_TRUE='#'
4007 AMDEP_FALSE=
4008 fi
4009
4010
4011
4012 depcc="$CC" am_compiler_list=
4013
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4015 $as_echo_n "checking dependency style of $depcc... " >&6; }
4016 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4017 $as_echo_n "(cached) " >&6
4018 else
4019 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4020 # We make a subdir and do the tests there. Otherwise we can end up
4021 # making bogus files that we don't know about and never remove. For
4022 # instance it was reported that on HP-UX the gcc test will end up
4023 # making a dummy file named 'D' -- because '-MD' means "put the output
4024 # in D".
4025 rm -rf conftest.dir
4026 mkdir conftest.dir
4027 # Copy depcomp to subdir because otherwise we won't find it if we're
4028 # using a relative directory.
4029 cp "$am_depcomp" conftest.dir
4030 cd conftest.dir
4031 # We will build objects and dependencies in a subdirectory because
4032 # it helps to detect inapplicable dependency modes. For instance
4033 # both Tru64's cc and ICC support -MD to output dependencies as a
4034 # side effect of compilation, but ICC will put the dependencies in
4035 # the current directory while Tru64 will put them in the object
4036 # directory.
4037 mkdir sub
4038
4039 am_cv_CC_dependencies_compiler_type=none
4040 if test "$am_compiler_list" = ""; then
4041 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4042 fi
4043 am__universal=false
4044 case " $depcc " in #(
4045 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4046 esac
4047
4048 for depmode in $am_compiler_list; do
4049 # Setup a source with many dependencies, because some compilers
4050 # like to wrap large dependency lists on column 80 (with \), and
4051 # we should not choose a depcomp mode which is confused by this.
4052 #
4053 # We need to recreate these files for each test, as the compiler may
4054 # overwrite some of them when testing with obscure command lines.
4055 # This happens at least with the AIX C compiler.
4056 : > sub/conftest.c
4057 for i in 1 2 3 4 5 6; do
4058 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4059 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4060 # Solaris 10 /bin/sh.
4061 echo '/* dummy */' > sub/conftst$i.h
4062 done
4063 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4064
4065 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4066 # mode. It turns out that the SunPro C++ compiler does not properly
4067 # handle '-M -o', and we need to detect this. Also, some Intel
4068 # versions had trouble with output in subdirs.
4069 am__obj=sub/conftest.${OBJEXT-o}
4070 am__minus_obj="-o $am__obj"
4071 case $depmode in
4072 gcc)
4073 # This depmode causes a compiler race in universal mode.
4074 test "$am__universal" = false || continue
4075 ;;
4076 nosideeffect)
4077 # After this tag, mechanisms are not by side-effect, so they'll
4078 # only be used when explicitly requested.
4079 if test "x$enable_dependency_tracking" = xyes; then
4080 continue
4081 else
4082 break
4083 fi
4084 ;;
4085 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4086 # This compiler won't grok '-c -o', but also, the minuso test has
4087 # not run yet. These depmodes are late enough in the game, and
4088 # so weak that their functioning should not be impacted.
4089 am__obj=conftest.${OBJEXT-o}
4090 am__minus_obj=
4091 ;;
4092 none) break ;;
4093 esac
4094 if depmode=$depmode \
4095 source=sub/conftest.c object=$am__obj \
4096 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4097 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4098 >/dev/null 2>conftest.err &&
4099 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4100 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4101 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4102 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4103 # icc doesn't choke on unknown options, it will just issue warnings
4104 # or remarks (even with -Werror). So we grep stderr for any message
4105 # that says an option was ignored or not supported.
4106 # When given -MP, icc 7.0 and 7.1 complain thusly:
4107 # icc: Command line warning: ignoring option '-M'; no argument required
4108 # The diagnosis changed in icc 8.0:
4109 # icc: Command line remark: option '-MP' not supported
4110 if (grep 'ignoring option' conftest.err ||
4111 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4112 am_cv_CC_dependencies_compiler_type=$depmode
4113 break
4114 fi
4115 fi
4116 done
4117
4118 cd ..
4119 rm -rf conftest.dir
4120 else
4121 am_cv_CC_dependencies_compiler_type=none
4122 fi
4123
4124 fi
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4126 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4127 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4128
4129 if
4130 test "x$enable_dependency_tracking" != xno \
4131 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4132 am__fastdepCC_TRUE=
4133 am__fastdepCC_FALSE='#'
4134 else
4135 am__fastdepCC_TRUE='#'
4136 am__fastdepCC_FALSE=
4137 fi
4138
4139
4140
4141 ac_ext=c
4142 ac_cpp='$CPP $CPPFLAGS'
4143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4147 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4148 # On Suns, sometimes $CPP names a directory.
4149 if test -n "$CPP" && test -d "$CPP"; then
4150 CPP=
4151 fi
4152 if test -z "$CPP"; then
4153 if ${ac_cv_prog_CPP+:} false; then :
4154 $as_echo_n "(cached) " >&6
4155 else
4156 # Double quotes because CPP needs to be expanded
4157 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4158 do
4159 ac_preproc_ok=false
4160 for ac_c_preproc_warn_flag in '' yes
4161 do
4162 # Use a header file that comes with gcc, so configuring glibc
4163 # with a fresh cross-compiler works.
4164 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4165 # <limits.h> exists even on freestanding compilers.
4166 # On the NeXT, cc -E runs the code through the compiler's parser,
4167 # not just through cpp. "Syntax error" is here to catch this case.
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4170 #ifdef __STDC__
4171 # include <limits.h>
4172 #else
4173 # include <assert.h>
4174 #endif
4175 Syntax error
4176 _ACEOF
4177 if ac_fn_c_try_cpp "$LINENO"; then :
4178
4179 else
4180 # Broken: fails on valid input.
4181 continue
4182 fi
4183 rm -f conftest.err conftest.i conftest.$ac_ext
4184
4185 # OK, works on sane cases. Now check whether nonexistent headers
4186 # can be detected and how.
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4189 #include <ac_nonexistent.h>
4190 _ACEOF
4191 if ac_fn_c_try_cpp "$LINENO"; then :
4192 # Broken: success on invalid input.
4193 continue
4194 else
4195 # Passes both tests.
4196 ac_preproc_ok=:
4197 break
4198 fi
4199 rm -f conftest.err conftest.i conftest.$ac_ext
4200
4201 done
4202 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4203 rm -f conftest.i conftest.err conftest.$ac_ext
4204 if $ac_preproc_ok; then :
4205 break
4206 fi
4207
4208 done
4209 ac_cv_prog_CPP=$CPP
4210
4211 fi
4212 CPP=$ac_cv_prog_CPP
4213 else
4214 ac_cv_prog_CPP=$CPP
4215 fi
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4217 $as_echo "$CPP" >&6; }
4218 ac_preproc_ok=false
4219 for ac_c_preproc_warn_flag in '' yes
4220 do
4221 # Use a header file that comes with gcc, so configuring glibc
4222 # with a fresh cross-compiler works.
4223 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4224 # <limits.h> exists even on freestanding compilers.
4225 # On the NeXT, cc -E runs the code through the compiler's parser,
4226 # not just through cpp. "Syntax error" is here to catch this case.
4227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228 /* end confdefs.h. */
4229 #ifdef __STDC__
4230 # include <limits.h>
4231 #else
4232 # include <assert.h>
4233 #endif
4234 Syntax error
4235 _ACEOF
4236 if ac_fn_c_try_cpp "$LINENO"; then :
4237
4238 else
4239 # Broken: fails on valid input.
4240 continue
4241 fi
4242 rm -f conftest.err conftest.i conftest.$ac_ext
4243
4244 # OK, works on sane cases. Now check whether nonexistent headers
4245 # can be detected and how.
4246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4247 /* end confdefs.h. */
4248 #include <ac_nonexistent.h>
4249 _ACEOF
4250 if ac_fn_c_try_cpp "$LINENO"; then :
4251 # Broken: success on invalid input.
4252 continue
4253 else
4254 # Passes both tests.
4255 ac_preproc_ok=:
4256 break
4257 fi
4258 rm -f conftest.err conftest.i conftest.$ac_ext
4259
4260 done
4261 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4262 rm -f conftest.i conftest.err conftest.$ac_ext
4263 if $ac_preproc_ok; then :
4264
4265 else
4266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4268 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4269 See \`config.log' for more details" "$LINENO" 5; }
4270 fi
4271
4272 ac_ext=c
4273 ac_cpp='$CPP $CPPFLAGS'
4274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4277
4278
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4280 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4281 if ${ac_cv_path_GREP+:} false; then :
4282 $as_echo_n "(cached) " >&6
4283 else
4284 if test -z "$GREP"; then
4285 ac_path_GREP_found=false
4286 # Loop through the user's path and test for each of PROGNAME-LIST
4287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4288 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4289 do
4290 IFS=$as_save_IFS
4291 test -z "$as_dir" && as_dir=.
4292 for ac_prog in grep ggrep; do
4293 for ac_exec_ext in '' $ac_executable_extensions; do
4294 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4295 as_fn_executable_p "$ac_path_GREP" || continue
4296 # Check for GNU ac_path_GREP and select it if it is found.
4297 # Check for GNU $ac_path_GREP
4298 case `"$ac_path_GREP" --version 2>&1` in
4299 *GNU*)
4300 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4301 *)
4302 ac_count=0
4303 $as_echo_n 0123456789 >"conftest.in"
4304 while :
4305 do
4306 cat "conftest.in" "conftest.in" >"conftest.tmp"
4307 mv "conftest.tmp" "conftest.in"
4308 cp "conftest.in" "conftest.nl"
4309 $as_echo 'GREP' >> "conftest.nl"
4310 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4311 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4312 as_fn_arith $ac_count + 1 && ac_count=$as_val
4313 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4314 # Best one so far, save it but keep looking for a better one
4315 ac_cv_path_GREP="$ac_path_GREP"
4316 ac_path_GREP_max=$ac_count
4317 fi
4318 # 10*(2^10) chars as input seems more than enough
4319 test $ac_count -gt 10 && break
4320 done
4321 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4322 esac
4323
4324 $ac_path_GREP_found && break 3
4325 done
4326 done
4327 done
4328 IFS=$as_save_IFS
4329 if test -z "$ac_cv_path_GREP"; then
4330 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4331 fi
4332 else
4333 ac_cv_path_GREP=$GREP
4334 fi
4335
4336 fi
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4338 $as_echo "$ac_cv_path_GREP" >&6; }
4339 GREP="$ac_cv_path_GREP"
4340
4341
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4343 $as_echo_n "checking for egrep... " >&6; }
4344 if ${ac_cv_path_EGREP+:} false; then :
4345 $as_echo_n "(cached) " >&6
4346 else
4347 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4348 then ac_cv_path_EGREP="$GREP -E"
4349 else
4350 if test -z "$EGREP"; then
4351 ac_path_EGREP_found=false
4352 # Loop through the user's path and test for each of PROGNAME-LIST
4353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4354 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4355 do
4356 IFS=$as_save_IFS
4357 test -z "$as_dir" && as_dir=.
4358 for ac_prog in egrep; do
4359 for ac_exec_ext in '' $ac_executable_extensions; do
4360 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4361 as_fn_executable_p "$ac_path_EGREP" || continue
4362 # Check for GNU ac_path_EGREP and select it if it is found.
4363 # Check for GNU $ac_path_EGREP
4364 case `"$ac_path_EGREP" --version 2>&1` in
4365 *GNU*)
4366 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4367 *)
4368 ac_count=0
4369 $as_echo_n 0123456789 >"conftest.in"
4370 while :
4371 do
4372 cat "conftest.in" "conftest.in" >"conftest.tmp"
4373 mv "conftest.tmp" "conftest.in"
4374 cp "conftest.in" "conftest.nl"
4375 $as_echo 'EGREP' >> "conftest.nl"
4376 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4377 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4378 as_fn_arith $ac_count + 1 && ac_count=$as_val
4379 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4380 # Best one so far, save it but keep looking for a better one
4381 ac_cv_path_EGREP="$ac_path_EGREP"
4382 ac_path_EGREP_max=$ac_count
4383 fi
4384 # 10*(2^10) chars as input seems more than enough
4385 test $ac_count -gt 10 && break
4386 done
4387 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4388 esac
4389
4390 $ac_path_EGREP_found && break 3
4391 done
4392 done
4393 done
4394 IFS=$as_save_IFS
4395 if test -z "$ac_cv_path_EGREP"; then
4396 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4397 fi
4398 else
4399 ac_cv_path_EGREP=$EGREP
4400 fi
4401
4402 fi
4403 fi
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4405 $as_echo "$ac_cv_path_EGREP" >&6; }
4406 EGREP="$ac_cv_path_EGREP"
4407
4408
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4410 $as_echo_n "checking for ANSI C header files... " >&6; }
4411 if ${ac_cv_header_stdc+:} false; then :
4412 $as_echo_n "(cached) " >&6
4413 else
4414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4415 /* end confdefs.h. */
4416 #include <stdlib.h>
4417 #include <stdarg.h>
4418 #include <string.h>
4419 #include <float.h>
4420
4421 int
4422 main ()
4423 {
4424
4425 ;
4426 return 0;
4427 }
4428 _ACEOF
4429 if ac_fn_c_try_compile "$LINENO"; then :
4430 ac_cv_header_stdc=yes
4431 else
4432 ac_cv_header_stdc=no
4433 fi
4434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4435
4436 if test $ac_cv_header_stdc = yes; then
4437 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4439 /* end confdefs.h. */
4440 #include <string.h>
4441
4442 _ACEOF
4443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4444 $EGREP "memchr" >/dev/null 2>&1; then :
4445
4446 else
4447 ac_cv_header_stdc=no
4448 fi
4449 rm -f conftest*
4450
4451 fi
4452
4453 if test $ac_cv_header_stdc = yes; then
4454 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4456 /* end confdefs.h. */
4457 #include <stdlib.h>
4458
4459 _ACEOF
4460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4461 $EGREP "free" >/dev/null 2>&1; then :
4462
4463 else
4464 ac_cv_header_stdc=no
4465 fi
4466 rm -f conftest*
4467
4468 fi
4469
4470 if test $ac_cv_header_stdc = yes; then
4471 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4472 if test "$cross_compiling" = yes; then :
4473 :
4474 else
4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4477 #include <ctype.h>
4478 #include <stdlib.h>
4479 #if ((' ' & 0x0FF) == 0x020)
4480 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4481 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4482 #else
4483 # define ISLOWER(c) \
4484 (('a' <= (c) && (c) <= 'i') \
4485 || ('j' <= (c) && (c) <= 'r') \
4486 || ('s' <= (c) && (c) <= 'z'))
4487 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4488 #endif
4489
4490 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4491 int
4492 main ()
4493 {
4494 int i;
4495 for (i = 0; i < 256; i++)
4496 if (XOR (islower (i), ISLOWER (i))
4497 || toupper (i) != TOUPPER (i))
4498 return 2;
4499 return 0;
4500 }
4501 _ACEOF
4502 if ac_fn_c_try_run "$LINENO"; then :
4503
4504 else
4505 ac_cv_header_stdc=no
4506 fi
4507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4508 conftest.$ac_objext conftest.beam conftest.$ac_ext
4509 fi
4510
4511 fi
4512 fi
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4514 $as_echo "$ac_cv_header_stdc" >&6; }
4515 if test $ac_cv_header_stdc = yes; then
4516
4517 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4518
4519 fi
4520
4521 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4522 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4523 inttypes.h stdint.h unistd.h
4524 do :
4525 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4526 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4527 "
4528 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4529 cat >>confdefs.h <<_ACEOF
4530 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4531 _ACEOF
4532
4533 fi
4534
4535 done
4536
4537
4538
4539 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4540 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4541 MINIX=yes
4542 else
4543 MINIX=
4544 fi
4545
4546
4547 if test "$MINIX" = yes; then
4548
4549 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4550
4551
4552 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4553
4554
4555 $as_echo "#define _MINIX 1" >>confdefs.h
4556
4557 fi
4558
4559
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4561 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4562 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4563 $as_echo_n "(cached) " >&6
4564 else
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4567
4568 # define __EXTENSIONS__ 1
4569 $ac_includes_default
4570 int
4571 main ()
4572 {
4573
4574 ;
4575 return 0;
4576 }
4577 _ACEOF
4578 if ac_fn_c_try_compile "$LINENO"; then :
4579 ac_cv_safe_to_define___extensions__=yes
4580 else
4581 ac_cv_safe_to_define___extensions__=no
4582 fi
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 fi
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4586 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4587 test $ac_cv_safe_to_define___extensions__ = yes &&
4588 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4589
4590 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4591
4592 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4593
4594 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4595
4596 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4597
4598
4599
4600
4601 # AC_PROG_SED is only avaliable in recent autoconf versions.
4602 # Use AC_CHECK_PROG instead if AC_PROG_SED is not present.
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4604 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4605 if ${ac_cv_path_SED+:} false; then :
4606 $as_echo_n "(cached) " >&6
4607 else
4608 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4609 for ac_i in 1 2 3 4 5 6 7; do
4610 ac_script="$ac_script$as_nl$ac_script"
4611 done
4612 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4613 { ac_script=; unset ac_script;}
4614 if test -z "$SED"; then
4615 ac_path_SED_found=false
4616 # Loop through the user's path and test for each of PROGNAME-LIST
4617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4618 for as_dir in $PATH
4619 do
4620 IFS=$as_save_IFS
4621 test -z "$as_dir" && as_dir=.
4622 for ac_prog in sed gsed; do
4623 for ac_exec_ext in '' $ac_executable_extensions; do
4624 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4625 as_fn_executable_p "$ac_path_SED" || continue
4626 # Check for GNU ac_path_SED and select it if it is found.
4627 # Check for GNU $ac_path_SED
4628 case `"$ac_path_SED" --version 2>&1` in
4629 *GNU*)
4630 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4631 *)
4632 ac_count=0
4633 $as_echo_n 0123456789 >"conftest.in"
4634 while :
4635 do
4636 cat "conftest.in" "conftest.in" >"conftest.tmp"
4637 mv "conftest.tmp" "conftest.in"
4638 cp "conftest.in" "conftest.nl"
4639 $as_echo '' >> "conftest.nl"
4640 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4641 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4642 as_fn_arith $ac_count + 1 && ac_count=$as_val
4643 if test $ac_count -gt ${ac_path_SED_max-0}; then
4644 # Best one so far, save it but keep looking for a better one
4645 ac_cv_path_SED="$ac_path_SED"
4646 ac_path_SED_max=$ac_count
4647 fi
4648 # 10*(2^10) chars as input seems more than enough
4649 test $ac_count -gt 10 && break
4650 done
4651 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4652 esac
4653
4654 $ac_path_SED_found && break 3
4655 done
4656 done
4657 done
4658 IFS=$as_save_IFS
4659 if test -z "$ac_cv_path_SED"; then
4660 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4661 fi
4662 else
4663 ac_cv_path_SED=$SED
4664 fi
4665
4666 fi
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4668 $as_echo "$ac_cv_path_SED" >&6; }
4669 SED="$ac_cv_path_SED"
4670 rm -f conftest.sed
4671
4672
4673 # Checks for typedefs, structures, and compiler characteristics.
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4675 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4676 if ${ac_cv_header_stdbool_h+:} false; then :
4677 $as_echo_n "(cached) " >&6
4678 else
4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4681
4682 #include <stdbool.h>
4683 #ifndef bool
4684 "error: bool is not defined"
4685 #endif
4686 #ifndef false
4687 "error: false is not defined"
4688 #endif
4689 #if false
4690 "error: false is not 0"
4691 #endif
4692 #ifndef true
4693 "error: true is not defined"
4694 #endif
4695 #if true != 1
4696 "error: true is not 1"
4697 #endif
4698 #ifndef __bool_true_false_are_defined
4699 "error: __bool_true_false_are_defined is not defined"
4700 #endif
4701
4702 struct s { _Bool s: 1; _Bool t; } s;
4703
4704 char a[true == 1 ? 1 : -1];
4705 char b[false == 0 ? 1 : -1];
4706 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4707 char d[(bool) 0.5 == true ? 1 : -1];
4708 /* See body of main program for 'e'. */
4709 char f[(_Bool) 0.0 == false ? 1 : -1];
4710 char g[true];
4711 char h[sizeof (_Bool)];
4712 char i[sizeof s.t];
4713 enum { j = false, k = true, l = false * true, m = true * 256 };
4714 /* The following fails for
4715 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4716 _Bool n[m];
4717 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4718 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4719 /* Catch a bug in an HP-UX C compiler. See
4720 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4721 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4722 */
4723 _Bool q = true;
4724 _Bool *pq = &q;
4725
4726 int
4727 main ()
4728 {
4729
4730 bool e = &s;
4731 *pq |= q;
4732 *pq |= ! q;
4733 /* Refer to every declared value, to avoid compiler optimizations. */
4734 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4735 + !m + !n + !o + !p + !q + !pq);
4736
4737 ;
4738 return 0;
4739 }
4740 _ACEOF
4741 if ac_fn_c_try_compile "$LINENO"; then :
4742 ac_cv_header_stdbool_h=yes
4743 else
4744 ac_cv_header_stdbool_h=no
4745 fi
4746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4747 fi
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4749 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4750 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4751 if test "x$ac_cv_type__Bool" = xyes; then :
4752
4753 cat >>confdefs.h <<_ACEOF
4754 #define HAVE__BOOL 1
4755 _ACEOF
4756
4757
4758 fi
4759
4760
4761 if test $ac_cv_header_stdbool_h = yes; then
4762
4763 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4764
4765 fi
4766
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
4768 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
4769 if ${ac_cv_type_uid_t+:} false; then :
4770 $as_echo_n "(cached) " >&6
4771 else
4772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773 /* end confdefs.h. */
4774 #include <sys/types.h>
4775
4776 _ACEOF
4777 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4778 $EGREP "uid_t" >/dev/null 2>&1; then :
4779 ac_cv_type_uid_t=yes
4780 else
4781 ac_cv_type_uid_t=no
4782 fi
4783 rm -f conftest*
4784
4785 fi
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
4787 $as_echo "$ac_cv_type_uid_t" >&6; }
4788 if test $ac_cv_type_uid_t = no; then
4789
4790 $as_echo "#define uid_t int" >>confdefs.h
4791
4792
4793 $as_echo "#define gid_t int" >>confdefs.h
4794
4795 fi
4796
4797 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4798 if test "x$ac_cv_type_off_t" = xyes; then :
4799
4800 else
4801
4802 cat >>confdefs.h <<_ACEOF
4803 #define off_t long int
4804 _ACEOF
4805
4806 fi
4807
4808 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
4809 if test "x$ac_cv_type_pid_t" = xyes; then :
4810
4811 else
4812
4813 cat >>confdefs.h <<_ACEOF
4814 #define pid_t int
4815 _ACEOF
4816
4817 fi
4818
4819 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4820 if test "x$ac_cv_type_size_t" = xyes; then :
4821
4822 else
4823
4824 cat >>confdefs.h <<_ACEOF
4825 #define size_t unsigned int
4826 _ACEOF
4827
4828 fi
4829
4830 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
4831 if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
4832
4833 cat >>confdefs.h <<_ACEOF
4834 #define HAVE_PTRDIFF_T 1
4835 _ACEOF
4836
4837
4838 fi
4839 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4840 if test "x$ac_cv_type_ssize_t" = xyes; then :
4841
4842 cat >>confdefs.h <<_ACEOF
4843 #define HAVE_SSIZE_T 1
4844 _ACEOF
4845
4846
4847 fi
4848 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
4849 if test "x$ac_cv_type_uint32_t" = xyes; then :
4850
4851 cat >>confdefs.h <<_ACEOF
4852 #define HAVE_UINT32_T 1
4853 _ACEOF
4854
4855
4856 fi
4857 ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
4858 if test "x$ac_cv_type_uint8_t" = xyes; then :
4859
4860 cat >>confdefs.h <<_ACEOF
4861 #define HAVE_UINT8_T 1
4862 _ACEOF
4863
4864
4865 fi
4866
4867
4868 # Checks for library functions.
4869 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
4870 # -lseq on Dynix/PTX, -lgen on Unixware.
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5
4872 $as_echo_n "checking for library containing getmntent... " >&6; }
4873 if ${ac_cv_search_getmntent+:} false; then :
4874 $as_echo_n "(cached) " >&6
4875 else
4876 ac_func_search_save_LIBS=$LIBS
4877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4878 /* end confdefs.h. */
4879
4880 /* Override any GCC internal prototype to avoid an error.
4881 Use char because int might match the return type of a GCC
4882 builtin and then its argument prototype would still apply. */
4883 #ifdef __cplusplus
4884 extern "C"
4885 #endif
4886 char getmntent ();
4887 int
4888 main ()
4889 {
4890 return getmntent ();
4891 ;
4892 return 0;
4893 }
4894 _ACEOF
4895 for ac_lib in '' sun seq gen; do
4896 if test -z "$ac_lib"; then
4897 ac_res="none required"
4898 else
4899 ac_res=-l$ac_lib
4900 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4901 fi
4902 if ac_fn_c_try_link "$LINENO"; then :
4903 ac_cv_search_getmntent=$ac_res
4904 fi
4905 rm -f core conftest.err conftest.$ac_objext \
4906 conftest$ac_exeext
4907 if ${ac_cv_search_getmntent+:} false; then :
4908 break
4909 fi
4910 done
4911 if ${ac_cv_search_getmntent+:} false; then :
4912
4913 else
4914 ac_cv_search_getmntent=no
4915 fi
4916 rm conftest.$ac_ext
4917 LIBS=$ac_func_search_save_LIBS
4918 fi
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5
4920 $as_echo "$ac_cv_search_getmntent" >&6; }
4921 ac_res=$ac_cv_search_getmntent
4922 if test "$ac_res" != no; then :
4923 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4924 ac_cv_func_getmntent=yes
4925
4926 $as_echo "#define HAVE_GETMNTENT 1" >>confdefs.h
4927
4928 else
4929 ac_cv_func_getmntent=no
4930 fi
4931
4932
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
4934 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
4935 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
4936 $as_echo_n "(cached) " >&6
4937 else
4938 rm -f conftest.sym conftest.file
4939 echo >conftest.file
4940 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
4941 if test "$cross_compiling" = yes; then :
4942 ac_cv_func_lstat_dereferences_slashed_symlink=no
4943 else
4944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4945 /* end confdefs.h. */
4946 $ac_includes_default
4947 int
4948 main ()
4949 {
4950 struct stat sbuf;
4951 /* Linux will dereference the symlink and fail, as required by POSIX.
4952 That is better in the sense that it means we will not
4953 have to compile and use the lstat wrapper. */
4954 return lstat ("conftest.sym/", &sbuf) == 0;
4955 ;
4956 return 0;
4957 }
4958 _ACEOF
4959 if ac_fn_c_try_run "$LINENO"; then :
4960 ac_cv_func_lstat_dereferences_slashed_symlink=yes
4961 else
4962 ac_cv_func_lstat_dereferences_slashed_symlink=no
4963 fi
4964 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4965 conftest.$ac_objext conftest.beam conftest.$ac_ext
4966 fi
4967
4968 else
4969 # If the `ln -s' command failed, then we probably don't even
4970 # have an lstat function.
4971 ac_cv_func_lstat_dereferences_slashed_symlink=no
4972 fi
4973 rm -f conftest.sym conftest.file
4974
4975 fi
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
4977 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
4978
4979 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
4980
4981 cat >>confdefs.h <<_ACEOF
4982 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
4983 _ACEOF
4984
4985
4986 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
4987 case " $LIBOBJS " in
4988 *" lstat.$ac_objext "* ) ;;
4989 *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
4990 ;;
4991 esac
4992
4993 fi
4994
4995 for ac_header in stdlib.h
4996 do :
4997 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
4998 if test "x$ac_cv_header_stdlib_h" = xyes; then :
4999 cat >>confdefs.h <<_ACEOF
5000 #define HAVE_STDLIB_H 1
5001 _ACEOF
5002
5003 fi
5004
5005 done
5006
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5008 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5009 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5010 $as_echo_n "(cached) " >&6
5011 else
5012 if test "$cross_compiling" = yes; then :
5013 ac_cv_func_malloc_0_nonnull=no
5014 else
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5017 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5018 # include <stdlib.h>
5019 #else
5020 char *malloc ();
5021 #endif
5022
5023 int
5024 main ()
5025 {
5026 return ! malloc (0);
5027 ;
5028 return 0;
5029 }
5030 _ACEOF
5031 if ac_fn_c_try_run "$LINENO"; then :
5032 ac_cv_func_malloc_0_nonnull=yes
5033 else
5034 ac_cv_func_malloc_0_nonnull=no
5035 fi
5036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5037 conftest.$ac_objext conftest.beam conftest.$ac_ext
5038 fi
5039
5040 fi
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5042 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5043 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5044
5045 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5046
5047 else
5048 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5049
5050 case " $LIBOBJS " in
5051 *" malloc.$ac_objext "* ) ;;
5052 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5053 ;;
5054 esac
5055
5056
5057 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5058
5059 fi
5060
5061
5062 for ac_header in stdlib.h
5063 do :
5064 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5065 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5066 cat >>confdefs.h <<_ACEOF
5067 #define HAVE_STDLIB_H 1
5068 _ACEOF
5069
5070 fi
5071
5072 done
5073
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
5075 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
5076 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
5077 $as_echo_n "(cached) " >&6
5078 else
5079 if test "$cross_compiling" = yes; then :
5080 ac_cv_func_realloc_0_nonnull=no
5081 else
5082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5083 /* end confdefs.h. */
5084 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5085 # include <stdlib.h>
5086 #else
5087 char *realloc ();
5088 #endif
5089
5090 int
5091 main ()
5092 {
5093 return ! realloc (0, 0);
5094 ;
5095 return 0;
5096 }
5097 _ACEOF
5098 if ac_fn_c_try_run "$LINENO"; then :
5099 ac_cv_func_realloc_0_nonnull=yes
5100 else
5101 ac_cv_func_realloc_0_nonnull=no
5102 fi
5103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5104 conftest.$ac_objext conftest.beam conftest.$ac_ext
5105 fi
5106
5107 fi
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
5109 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
5110 if test $ac_cv_func_realloc_0_nonnull = yes; then :
5111
5112 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
5113
5114 else
5115 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
5116
5117 case " $LIBOBJS " in
5118 *" realloc.$ac_objext "* ) ;;
5119 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
5120 ;;
5121 esac
5122
5123
5124 $as_echo "#define realloc rpl_realloc" >>confdefs.h
5125
5126 fi
5127
5128
5129 # Make sure we can run config.sub.
5130 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5131 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5132
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5134 $as_echo_n "checking build system type... " >&6; }
5135 if ${ac_cv_build+:} false; then :
5136 $as_echo_n "(cached) " >&6
5137 else
5138 ac_build_alias=$build_alias
5139 test "x$ac_build_alias" = x &&
5140 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5141 test "x$ac_build_alias" = x &&
5142 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5143 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5144 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5145
5146 fi
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5148 $as_echo "$ac_cv_build" >&6; }
5149 case $ac_cv_build in
5150 *-*-*) ;;
5151 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5152 esac
5153 build=$ac_cv_build
5154 ac_save_IFS=$IFS; IFS='-'
5155 set x $ac_cv_build
5156 shift
5157 build_cpu=$1
5158 build_vendor=$2
5159 shift; shift
5160 # Remember, the first character of IFS is used to create $*,
5161 # except with old shells:
5162 build_os=$*
5163 IFS=$ac_save_IFS
5164 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5165
5166
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5168 $as_echo_n "checking host system type... " >&6; }
5169 if ${ac_cv_host+:} false; then :
5170 $as_echo_n "(cached) " >&6
5171 else
5172 if test "x$host_alias" = x; then
5173 ac_cv_host=$ac_cv_build
5174 else
5175 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5176 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5177 fi
5178
5179 fi
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5181 $as_echo "$ac_cv_host" >&6; }
5182 case $ac_cv_host in
5183 *-*-*) ;;
5184 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5185 esac
5186 host=$ac_cv_host
5187 ac_save_IFS=$IFS; IFS='-'
5188 set x $ac_cv_host
5189 shift
5190 host_cpu=$1
5191 host_vendor=$2
5192 shift; shift
5193 # Remember, the first character of IFS is used to create $*,
5194 # except with old shells:
5195 host_os=$*
5196 IFS=$ac_save_IFS
5197 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5198
5199
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
5201 $as_echo_n "checking for working strnlen... " >&6; }
5202 if ${ac_cv_func_strnlen_working+:} false; then :
5203 $as_echo_n "(cached) " >&6
5204 else
5205 if test "$cross_compiling" = yes; then :
5206 # Guess no on AIX systems, yes otherwise.
5207 case "$host_os" in
5208 aix*) ac_cv_func_strnlen_working=no;;
5209 *) ac_cv_func_strnlen_working=yes;;
5210 esac
5211 else
5212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5213 /* end confdefs.h. */
5214 $ac_includes_default
5215 int
5216 main ()
5217 {
5218
5219 #define S "foobar"
5220 #define S_LEN (sizeof S - 1)
5221
5222 /* At least one implementation is buggy: that of AIX 4.3 would
5223 give strnlen (S, 1) == 3. */
5224
5225 int i;
5226 for (i = 0; i < S_LEN + 1; ++i)
5227 {
5228 int expected = i <= S_LEN ? i : S_LEN;
5229 if (strnlen (S, i) != expected)
5230 return 1;
5231 }
5232 return 0;
5233
5234 ;
5235 return 0;
5236 }
5237 _ACEOF
5238 if ac_fn_c_try_run "$LINENO"; then :
5239 ac_cv_func_strnlen_working=yes
5240 else
5241 ac_cv_func_strnlen_working=no
5242 fi
5243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5244 conftest.$ac_objext conftest.beam conftest.$ac_ext
5245 fi
5246
5247 fi
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5
5249 $as_echo "$ac_cv_func_strnlen_working" >&6; }
5250 test $ac_cv_func_strnlen_working = no && case " $LIBOBJS " in
5251 *" strnlen.$ac_objext "* ) ;;
5252 *) LIBOBJS="$LIBOBJS strnlen.$ac_objext"
5253 ;;
5254 esac
5255
5256
5257
5258 # check for required functions
5259 for ac_func in alarm atexit endpwent getmntent getpass gettimeofday inet_ntop memset realpath setenv strchr strcmp strdup strerror strncasecmp strndup strpbrk strrchr strstr strtol strtoul tolower uname
5260 do :
5261 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5262 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5263 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5264 cat >>confdefs.h <<_ACEOF
5265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5266 _ACEOF
5267
5268 else
5269 as_fn_error $? "necessary functions(s) not found" "$LINENO" 5
5270 fi
5271 done
5272
5273
5274 for ac_func in clock_gettime
5275 do :
5276 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
5277 if test "x$ac_cv_func_clock_gettime" = xyes; then :
5278 cat >>confdefs.h <<_ACEOF
5279 #define HAVE_CLOCK_GETTIME 1
5280 _ACEOF
5281
5282 else
5283
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
5285 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
5286 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
5287 $as_echo_n "(cached) " >&6
5288 else
5289 ac_check_lib_save_LIBS=$LIBS
5290 LIBS="-lrt $LIBS"
5291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5292 /* end confdefs.h. */
5293
5294 /* Override any GCC internal prototype to avoid an error.
5295 Use char because int might match the return type of a GCC
5296 builtin and then its argument prototype would still apply. */
5297 #ifdef __cplusplus
5298 extern "C"
5299 #endif
5300 char clock_gettime ();
5301 int
5302 main ()
5303 {
5304 return clock_gettime ();
5305 ;
5306 return 0;
5307 }
5308 _ACEOF
5309 if ac_fn_c_try_link "$LINENO"; then :
5310 ac_cv_lib_rt_clock_gettime=yes
5311 else
5312 ac_cv_lib_rt_clock_gettime=no
5313 fi
5314 rm -f core conftest.err conftest.$ac_objext \
5315 conftest$ac_exeext conftest.$ac_ext
5316 LIBS=$ac_check_lib_save_LIBS
5317 fi
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
5319 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
5320 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
5321
5322 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
5323
5324
5325 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
5326
5327 RT_LDADD="-lrt"
5328
5329 fi
5330
5331
5332 fi
5333 done
5334
5335
5336
5337 # Checks for header files.
5338 for ac_header in arpa/inet.h ctype.h fcntl.h inttypes.h limits.h mntent.h netdb.h stddef.h stdint.h stdbool.h stdlib.h stdio.h errno.h string.h strings.h sys/mount.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h
5339 do :
5340 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5341 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5342 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5343 cat >>confdefs.h <<_ACEOF
5344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5345 _ACEOF
5346
5347 else
5348 as_fn_error $? "necessary header(s) not found" "$LINENO" 5
5349 fi
5350
5351 done
5352
5353
5354 # do we have sys/fsuid.h and setfsuid()?
5355 for ac_header in sys/fsuid.h
5356 do :
5357 ac_fn_c_check_header_mongrel "$LINENO" "sys/fsuid.h" "ac_cv_header_sys_fsuid_h" "$ac_includes_default"
5358 if test "x$ac_cv_header_sys_fsuid_h" = xyes; then :
5359 cat >>confdefs.h <<_ACEOF
5360 #define HAVE_SYS_FSUID_H 1
5361 _ACEOF
5362
5363 fi
5364
5365 done
5366
5367 ac_fn_c_check_func "$LINENO" "setfsuid" "ac_cv_func_setfsuid"
5368 if test "x$ac_cv_func_setfsuid" = xyes; then :
5369
5370 else
5371 as_fn_error $? "System does not support setfsuid()" "$LINENO" 5
5372 fi
5373
5374
5375 # libtalloc
5376 for ac_header in talloc.h
5377 do :
5378 ac_fn_c_check_header_mongrel "$LINENO" "talloc.h" "ac_cv_header_talloc_h" "$ac_includes_default"
5379 if test "x$ac_cv_header_talloc_h" = xyes; then :
5380 cat >>confdefs.h <<_ACEOF
5381 #define HAVE_TALLOC_H 1
5382 _ACEOF
5383
5384 else
5385 as_fn_error $? "talloc.h not found, consider installing libtalloc-devel." "$LINENO" 5
5386 fi
5387
5388 done
5389
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for talloc_init in -ltalloc" >&5
5391 $as_echo_n "checking for talloc_init in -ltalloc... " >&6; }
5392 if ${ac_cv_lib_talloc_talloc_init+:} false; then :
5393 $as_echo_n "(cached) " >&6
5394 else
5395 ac_check_lib_save_LIBS=$LIBS
5396 LIBS="-ltalloc $LIBS"
5397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5399
5400 /* Override any GCC internal prototype to avoid an error.
5401 Use char because int might match the return type of a GCC
5402 builtin and then its argument prototype would still apply. */
5403 #ifdef __cplusplus
5404 extern "C"
5405 #endif
5406 char talloc_init ();
5407 int
5408 main ()
5409 {
5410 return talloc_init ();
5411 ;
5412 return 0;
5413 }
5414 _ACEOF
5415 if ac_fn_c_try_link "$LINENO"; then :
5416 ac_cv_lib_talloc_talloc_init=yes
5417 else
5418 ac_cv_lib_talloc_talloc_init=no
5419 fi
5420 rm -f core conftest.err conftest.$ac_objext \
5421 conftest$ac_exeext conftest.$ac_ext
5422 LIBS=$ac_check_lib_save_LIBS
5423 fi
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_talloc_talloc_init" >&5
5425 $as_echo "$ac_cv_lib_talloc_talloc_init" >&6; }
5426 if test "x$ac_cv_lib_talloc_talloc_init" = xyes; then :
5427 cat >>confdefs.h <<_ACEOF
5428 #define HAVE_LIBTALLOC 1
5429 _ACEOF
5430
5431 LIBS="-ltalloc $LIBS"
5432
5433 else
5434 as_fn_error $? "talloc.h not found, consider installing libtalloc-devel." "$LINENO" 5
5435 fi
5436
5437
5438 # FIXME: add test(s) to autodisable these flags when compiler/linker don't support it
5439 if test $enable_pie != "no"; then
5440 PIE_CFLAGS="-fpie -pie"
5441 else
5442 PIE_CFLAGS=""
5443 fi
5444
5445
5446 if test $enable_relro != "no"; then
5447 RELRO_CFLAGS="-Wl,-z,relro,-z,now"
5448 else
5449 RELRO_CFLAGS=""
5450 fi
5451
5452
5453 if test $enable_cifsupcall != "no"; then
5454 for ac_header in krb5.h krb5/krb5.h
5455 do :
5456 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5457 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5458 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5459 cat >>confdefs.h <<_ACEOF
5460 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5461 _ACEOF
5462
5463 fi
5464
5465 done
5466
5467 if test x$ac_cv_header_krb5_krb5_h != xyes ; then
5468 if test x$ac_cv_header_krb5_h != xyes ; then
5469 if test "$enable_cifsupcall" = "yes"; then
5470 as_fn_error $? "krb5.h not found, consider installing krb5-devel or krb5-libs-devel." "$LINENO" 5
5471 else
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: krb5.h not found, consider installing krb5-devel or krb5-libs-devel. Disabling cifs.upcall." >&5
5473 $as_echo "$as_me: WARNING: krb5.h not found, consider installing krb5-devel or krb5-libs-devel. Disabling cifs.upcall." >&2;}
5474 enable_cifsupcall="no"
5475 fi
5476 fi
5477 fi
5478 fi
5479 if test $enable_cifsupcall != "no"; then
5480 if test x$ac_cv_header_krb5_krb5_h = xyes ; then
5481 krb5_include="#include <krb5/krb5.h>"
5482 fi
5483 if test x$ac_cv_header_krb5_h = xyes ; then
5484 krb5_include="#include <krb5.h>"
5485 fi
5486
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for keyvalue in krb5_keyblock" >&5
5488 $as_echo_n "checking for keyvalue in krb5_keyblock... " >&6; }
5489 if ${ac_cv_have_krb5_keyblock_keyvalue+:} false; then :
5490 $as_echo_n "(cached) " >&6
5491 else
5492
5493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5494 /* end confdefs.h. */
5495 $krb5_include
5496 int
5497 main ()
5498 {
5499 krb5_keyblock key; key.keyvalue.data = NULL;
5500 ;
5501 return 0;
5502 }
5503 _ACEOF
5504 if ac_fn_c_try_compile "$LINENO"; then :
5505 ac_cv_have_krb5_keyblock_keyvalue=yes
5506 else
5507 ac_cv_have_krb5_keyblock_keyvalue=no
5508 fi
5509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5510 fi
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_krb5_keyblock_keyvalue" >&5
5512 $as_echo "$ac_cv_have_krb5_keyblock_keyvalue" >&6; }
5513 if test x"$ac_cv_have_krb5_keyblock_keyvalue" = x"yes" ; then
5514
5515 $as_echo "#define HAVE_KRB5_KEYBLOCK_KEYVALUE 1" >>confdefs.h
5516
5517 fi
5518 fi
5519 if test $enable_cifsupcall != "no" -o $enable_cifsidmap != "no"; then
5520 for ac_header in keyutils.h
5521 do :
5522 ac_fn_c_check_header_mongrel "$LINENO" "keyutils.h" "ac_cv_header_keyutils_h" "$ac_includes_default"
5523 if test "x$ac_cv_header_keyutils_h" = xyes; then :
5524 cat >>confdefs.h <<_ACEOF
5525 #define HAVE_KEYUTILS_H 1
5526 _ACEOF
5527
5528 else
5529
5530 if test "$enable_cifsupcall" = "yes"; then
5531 as_fn_error $? "keyutils.h not found, consider installing keyutils-libs-devel." "$LINENO" 5
5532 else
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: keyutils.h not found, consider installing keyutils-libs-devel. Disabling cifs.upcall." >&5
5534 $as_echo "$as_me: WARNING: keyutils.h not found, consider installing keyutils-libs-devel. Disabling cifs.upcall." >&2;}
5535 enable_cifsupcall="no"
5536 fi
5537 if test "$enable_cifsidmap" = "yes"; then
5538 as_fn_error $? "keyutils.h not found, consider installing keyutils-libs-devel." "$LINENO" 5
5539 else
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: keyutils.h not found, consider installing keyutils-libs-devel. Disabling cifs.idmap." >&5
5541 $as_echo "$as_me: WARNING: keyutils.h not found, consider installing keyutils-libs-devel. Disabling cifs.idmap." >&2;}
5542 enable_cifsidmap="no"
5543 fi
5544
5545 fi
5546
5547 done
5548
5549 fi
5550 if test $enable_cifsupcall != "no"; then
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
5552 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
5553 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
5554 $as_echo_n "(cached) " >&6
5555 else
5556 ac_check_lib_save_LIBS=$LIBS
5557 LIBS="-lkrb5 $LIBS"
5558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5559 /* end confdefs.h. */
5560
5561 /* Override any GCC internal prototype to avoid an error.
5562 Use char because int might match the return type of a GCC
5563 builtin and then its argument prototype would still apply. */
5564 #ifdef __cplusplus
5565 extern "C"
5566 #endif
5567 char krb5_init_context ();
5568 int
5569 main ()
5570 {
5571 return krb5_init_context ();
5572 ;
5573 return 0;
5574 }
5575 _ACEOF
5576 if ac_fn_c_try_link "$LINENO"; then :
5577 ac_cv_lib_krb5_krb5_init_context=yes
5578 else
5579 ac_cv_lib_krb5_krb5_init_context=no
5580 fi
5581 rm -f core conftest.err conftest.$ac_objext \
5582 conftest$ac_exeext conftest.$ac_ext
5583 LIBS=$ac_check_lib_save_LIBS
5584 fi
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
5586 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
5587 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
5588 KRB5_LDADD='-lkrb5'
5589 else
5590 as_fn_error $? "no functioning krb5 library found!" "$LINENO" 5
5591 fi
5592
5593
5594 save_LIBS=$LIBS
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
5596 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
5597 if ${ac_cv_search_gss_init_sec_context+:} false; then :
5598 $as_echo_n "(cached) " >&6
5599 else
5600 ac_func_search_save_LIBS=$LIBS
5601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5603
5604 /* Override any GCC internal prototype to avoid an error.
5605 Use char because int might match the return type of a GCC
5606 builtin and then its argument prototype would still apply. */
5607 #ifdef __cplusplus
5608 extern "C"
5609 #endif
5610 char gss_init_sec_context ();
5611 int
5612 main ()
5613 {
5614 return gss_init_sec_context ();
5615 ;
5616 return 0;
5617 }
5618 _ACEOF
5619 for ac_lib in '' gssapi_krb5 gssapi; do
5620 if test -z "$ac_lib"; then
5621 ac_res="none required"
5622 else
5623 ac_res=-l$ac_lib
5624 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5625 fi
5626 if ac_fn_c_try_link "$LINENO"; then :
5627 ac_cv_search_gss_init_sec_context=$ac_res
5628 fi
5629 rm -f core conftest.err conftest.$ac_objext \
5630 conftest$ac_exeext
5631 if ${ac_cv_search_gss_init_sec_context+:} false; then :
5632 break
5633 fi
5634 done
5635 if ${ac_cv_search_gss_init_sec_context+:} false; then :
5636
5637 else
5638 ac_cv_search_gss_init_sec_context=no
5639 fi
5640 rm conftest.$ac_ext
5641 LIBS=$ac_func_search_save_LIBS
5642 fi
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
5644 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
5645 ac_res=$ac_cv_search_gss_init_sec_context
5646 if test "$ac_res" != no; then :
5647 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5648 GSSAPI_LDADD="$ac_cv_search_gss_init_sec_context"
5649 else
5650 as_fn_error $? "no functioning gssapi library found!" "$LINENO" 5
5651 fi
5652
5653 LIBS=$save_LIBS
5654
5655 fi
5656
5657 # checks for wbclient.h and libwbclient.so library
5658
5659
5660
5661
5662
5663
5664
5665 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5666 if test -n "$ac_tool_prefix"; then
5667 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5668 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5670 $as_echo_n "checking for $ac_word... " >&6; }
5671 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5672 $as_echo_n "(cached) " >&6
5673 else
5674 case $PKG_CONFIG in
5675 [\\/]* | ?:[\\/]*)
5676 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5677 ;;
5678 *)
5679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5680 for as_dir in $PATH
5681 do
5682 IFS=$as_save_IFS
5683 test -z "$as_dir" && as_dir=.
5684 for ac_exec_ext in '' $ac_executable_extensions; do
5685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5686 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 break 2
5689 fi
5690 done
5691 done
5692 IFS=$as_save_IFS
5693
5694 ;;
5695 esac
5696 fi
5697 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5698 if test -n "$PKG_CONFIG"; then
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5700 $as_echo "$PKG_CONFIG" >&6; }
5701 else
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703 $as_echo "no" >&6; }
5704 fi
5705
5706
5707 fi
5708 if test -z "$ac_cv_path_PKG_CONFIG"; then
5709 ac_pt_PKG_CONFIG=$PKG_CONFIG
5710 # Extract the first word of "pkg-config", so it can be a program name with args.
5711 set dummy pkg-config; ac_word=$2
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713 $as_echo_n "checking for $ac_word... " >&6; }
5714 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5715 $as_echo_n "(cached) " >&6
5716 else
5717 case $ac_pt_PKG_CONFIG in
5718 [\\/]* | ?:[\\/]*)
5719 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5720 ;;
5721 *)
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723 for as_dir in $PATH
5724 do
5725 IFS=$as_save_IFS
5726 test -z "$as_dir" && as_dir=.
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5729 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 break 2
5732 fi
5733 done
5734 done
5735 IFS=$as_save_IFS
5736
5737 ;;
5738 esac
5739 fi
5740 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5741 if test -n "$ac_pt_PKG_CONFIG"; then
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5743 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5744 else
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 $as_echo "no" >&6; }
5747 fi
5748
5749 if test "x$ac_pt_PKG_CONFIG" = x; then
5750 PKG_CONFIG=""
5751 else
5752 case $cross_compiling:$ac_tool_warned in
5753 yes:)
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5756 ac_tool_warned=yes ;;
5757 esac
5758 PKG_CONFIG=$ac_pt_PKG_CONFIG
5759 fi
5760 else
5761 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5762 fi
5763
5764 fi
5765 if test -n "$PKG_CONFIG"; then
5766 _pkg_min_version=0.9.0
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5768 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5769 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5771 $as_echo "yes" >&6; }
5772 else
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5774 $as_echo "no" >&6; }
5775 PKG_CONFIG=""
5776 fi
5777 fi
5778
5779 if test $enable_cifsidmap != "no" -o $enable_cifsacl != "no"; then
5780
5781 pkg_failed=no
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WBCLIENT" >&5
5783 $as_echo_n "checking for WBCLIENT... " >&6; }
5784
5785 if test -n "$WBCLIENT_CFLAGS"; then
5786 pkg_cv_WBCLIENT_CFLAGS="$WBCLIENT_CFLAGS"
5787 elif test -n "$PKG_CONFIG"; then
5788 if test -n "$PKG_CONFIG" && \
5789 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wbclient\""; } >&5
5790 ($PKG_CONFIG --exists --print-errors "wbclient") 2>&5
5791 ac_status=$?
5792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5793 test $ac_status = 0; }; then
5794 pkg_cv_WBCLIENT_CFLAGS=`$PKG_CONFIG --cflags "wbclient" 2>/dev/null`
5795 test "x$?" != "x0" && pkg_failed=yes
5796 else
5797 pkg_failed=yes
5798 fi
5799 else
5800 pkg_failed=untried
5801 fi
5802 if test -n "$WBCLIENT_LIBS"; then
5803 pkg_cv_WBCLIENT_LIBS="$WBCLIENT_LIBS"
5804 elif test -n "$PKG_CONFIG"; then
5805 if test -n "$PKG_CONFIG" && \
5806 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wbclient\""; } >&5
5807 ($PKG_CONFIG --exists --print-errors "wbclient") 2>&5
5808 ac_status=$?
5809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5810 test $ac_status = 0; }; then
5811 pkg_cv_WBCLIENT_LIBS=`$PKG_CONFIG --libs "wbclient" 2>/dev/null`
5812 test "x$?" != "x0" && pkg_failed=yes
5813 else
5814 pkg_failed=yes
5815 fi
5816 else
5817 pkg_failed=untried
5818 fi
5819
5820
5821
5822 if test $pkg_failed = yes; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5824 $as_echo "no" >&6; }
5825
5826 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5827 _pkg_short_errors_supported=yes
5828 else
5829 _pkg_short_errors_supported=no
5830 fi
5831 if test $_pkg_short_errors_supported = yes; then
5832 WBCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wbclient" 2>&1`
5833 else
5834 WBCLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wbclient" 2>&1`
5835 fi
5836 # Put the nasty error message in config.log where it belongs
5837 echo "$WBCLIENT_PKG_ERRORS" >&5
5838
5839
5840 if test "$enable_cifsidmap" = "yes"; then
5841 as_fn_error $? "wbclient.h not found, consider installing libwbclient-devel." "$LINENO" 5
5842 else
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wbclient.h not found, consider installing libwbclient-devel. Disabling cifs.idmap." >&5
5844 $as_echo "$as_me: WARNING: wbclient.h not found, consider installing libwbclient-devel. Disabling cifs.idmap." >&2;}
5845 enable_cifsidmap="no"
5846 fi
5847 if test "$enable_cifsacl" = "yes"; then
5848 as_fn_error $? "wbclient.h not found, consider installing libwbclient-devel." "$LINENO" 5
5849 else
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wbclient.h not found, consider installing libwbclient-devel. Disabling cifsacl." >&5
5851 $as_echo "$as_me: WARNING: wbclient.h not found, consider installing libwbclient-devel. Disabling cifsacl." >&2;}
5852 enable_cifsacl="no"
5853 fi
5854
5855 elif test $pkg_failed = untried; then
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5857 $as_echo "no" >&6; }
5858
5859 if test "$enable_cifsidmap" = "yes"; then
5860 as_fn_error $? "wbclient.h not found, consider installing libwbclient-devel." "$LINENO" 5
5861 else
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wbclient.h not found, consider installing libwbclient-devel. Disabling cifs.idmap." >&5
5863 $as_echo "$as_me: WARNING: wbclient.h not found, consider installing libwbclient-devel. Disabling cifs.idmap." >&2;}
5864 enable_cifsidmap="no"
5865 fi
5866 if test "$enable_cifsacl" = "yes"; then
5867 as_fn_error $? "wbclient.h not found, consider installing libwbclient-devel." "$LINENO" 5
5868 else
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wbclient.h not found, consider installing libwbclient-devel. Disabling cifsacl." >&5
5870 $as_echo "$as_me: WARNING: wbclient.h not found, consider installing libwbclient-devel. Disabling cifsacl." >&2;}
5871 enable_cifsacl="no"
5872 fi
5873
5874 else
5875 WBCLIENT_CFLAGS=$pkg_cv_WBCLIENT_CFLAGS
5876 WBCLIENT_LIBS=$pkg_cv_WBCLIENT_LIBS
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5878 $as_echo "yes" >&6; }
5879
5880 fi
5881 fi
5882
5883 if test $enable_cifsidmap != "no" -o $enable_cifsacl != "no"; then
5884 ac_wbc_save_LDFLAGS="$LDFLAGS"
5885 ac_wbc_save_LIBS="$LIBS"
5886 LDFLAGS="$LDFLAGS $WBCLIENT_LIBS"
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wbcSidsToUnixIds in -lwbclient" >&5
5888 $as_echo_n "checking for wbcSidsToUnixIds in -lwbclient... " >&6; }
5889 if ${ac_cv_lib_wbclient_wbcSidsToUnixIds+:} false; then :
5890 $as_echo_n "(cached) " >&6
5891 else
5892 ac_check_lib_save_LIBS=$LIBS
5893 LIBS="-lwbclient $LIBS"
5894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5895 /* end confdefs.h. */
5896
5897 /* Override any GCC internal prototype to avoid an error.
5898 Use char because int might match the return type of a GCC
5899 builtin and then its argument prototype would still apply. */
5900 #ifdef __cplusplus
5901 extern "C"
5902 #endif
5903 char wbcSidsToUnixIds ();
5904 int
5905 main ()
5906 {
5907 return wbcSidsToUnixIds ();
5908 ;
5909 return 0;
5910 }
5911 _ACEOF
5912 if ac_fn_c_try_link "$LINENO"; then :
5913 ac_cv_lib_wbclient_wbcSidsToUnixIds=yes
5914 else
5915 ac_cv_lib_wbclient_wbcSidsToUnixIds=no
5916 fi
5917 rm -f core conftest.err conftest.$ac_objext \
5918 conftest$ac_exeext conftest.$ac_ext
5919 LIBS=$ac_check_lib_save_LIBS
5920 fi
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wbclient_wbcSidsToUnixIds" >&5
5922 $as_echo "$ac_cv_lib_wbclient_wbcSidsToUnixIds" >&6; }
5923 if test "x$ac_cv_lib_wbclient_wbcSidsToUnixIds" = xyes; then :
5924 cat >>confdefs.h <<_ACEOF
5925 #define HAVE_LIBWBCLIENT 1
5926 _ACEOF
5927
5928 LIBS="-lwbclient $LIBS"
5929
5930 else
5931
5932 if test "$enable_cifsidmap" = "yes"; then
5933 as_fn_error $? "wbclient library lacks wbcSidsToUnixIds()." "$LINENO" 5
5934 else
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wbclient library lacks wbcSidsToUnixIds(). Disabling cifs.idmap." >&5
5936 $as_echo "$as_me: WARNING: wbclient library lacks wbcSidsToUnixIds(). Disabling cifs.idmap." >&2;}
5937 enable_cifsidmap="no"
5938 fi
5939 if test "$enable_cifsacl" = "yes"; then
5940 as_fn_error $? "wbclient library lacks wbcSidsToUnixIds." "$LINENO" 5
5941 else
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wbclient library lacks wbcSidsToUnixIds(). Disabling cifsacl tools." >&5
5943 $as_echo "$as_me: WARNING: wbclient library lacks wbcSidsToUnixIds(). Disabling cifsacl tools." >&2;}
5944 enable_cifsacl="no"
5945 fi
5946
5947 fi
5948
5949 LDFLAGS=$ac_wbc_save_LDFLAGS
5950 LIBS=$ac_wbc_save_LIBS
5951 fi
5952
5953 if test $enable_cifsacl != "no"; then
5954 for ac_header in sys/xattr.h
5955 do :
5956 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "
5957 "
5958 if test "x$ac_cv_header_sys_xattr_h" = xyes; then :
5959 cat >>confdefs.h <<_ACEOF
5960 #define HAVE_SYS_XATTR_H 1
5961 _ACEOF
5962
5963 else
5964
5965 if test "$enable_cifsacl" = "yes"; then
5966 as_fn_error $? "/usr/include/sys/xattr.h not found" "$LINENO" 5
5967 else
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: /usr/include/sys/xattr.h not found. Disabling cifsacl." >&5
5969 $as_echo "$as_me: WARNING: /usr/include/sys/xattr.h not found. Disabling cifsacl." >&2;}
5970 enable_cifsacl="no"
5971 fi
5972
5973 fi
5974
5975 done
5976
5977 fi
5978
5979
5980 # test for presence of WBC_ID_TYPE_BOTH enum value
5981
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WBC_ID_TYPE_BOTH enum value is defined" >&5
5983 $as_echo_n "checking whether WBC_ID_TYPE_BOTH enum value is defined... " >&6; }
5984 ac_ext=c
5985 ac_cpp='$CPP $CPPFLAGS'
5986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5989
5990 ac_wbc_save_CFLAGS="$CFLAGS"
5991 CFLAGS="$CFLAGS $WBCLIENT_CFLAGS"
5992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5993 /* end confdefs.h. */
5994 #include <stdint.h>
5995 #include <stdbool.h>
5996 #include <wbclient.h>
5997 int
5998 main ()
5999 {
6000 enum wbcIdType id = WBC_ID_TYPE_BOTH;
6001 ;
6002 return 0;
6003 }
6004 _ACEOF
6005 if ac_fn_c_try_compile "$LINENO"; then :
6006
6007 $as_echo "#define HAVE_WBC_ID_TYPE_BOTH 1" >>confdefs.h
6008
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6010 $as_echo "yes" >&6; }
6011 else
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013 $as_echo "no" >&6; }
6014 fi
6015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6016 CFLAGS=$ac_wbc_save_CFLAGS
6017 ac_ext=c
6018 ac_cpp='$CPP $CPPFLAGS'
6019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6022
6023
6024
6025 if test $enable_cifscreds != "no" -o $enable_pam != "no"; then
6026 for ac_header in keyutils.h
6027 do :
6028 ac_fn_c_check_header_mongrel "$LINENO" "keyutils.h" "ac_cv_header_keyutils_h" "$ac_includes_default"
6029 if test "x$ac_cv_header_keyutils_h" = xyes; then :
6030 cat >>confdefs.h <<_ACEOF
6031 #define HAVE_KEYUTILS_H 1
6032 _ACEOF
6033
6034 else
6035
6036
6037 if test $enable_cifscreds = "yes" -o $enable_pam = "yes"; then
6038 as_fn_error $? "keyutils.h not found, consider installing keyutils-libs-devel." "$LINENO" 5
6039 else
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: keyutils.h not found, consider installing keyutils-libs-devel. Disabling cifscreds and cifscreds PAM module." >&5
6041 $as_echo "$as_me: WARNING: keyutils.h not found, consider installing keyutils-libs-devel. Disabling cifscreds and cifscreds PAM module." >&2;}
6042 enable_cifscreds="no"
6043 enable_pam="no"
6044 fi
6045
6046 fi
6047
6048 done
6049
6050 fi
6051
6052 if test $enable_pam != "no"; then
6053 for ac_header in security/pam_appl.h
6054 do :
6055 ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
6056 if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
6057 cat >>confdefs.h <<_ACEOF
6058 #define HAVE_SECURITY_PAM_APPL_H 1
6059 _ACEOF
6060
6061 else
6062
6063
6064 if test $enable_pam = "yes"; then
6065 as_fn_error $? "security/pam_appl.h not found, consider installing keyutils-libs-devel." "$LINENO" 5
6066 else
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: security/pam_appl.h not found, consider installing pam-devel. Disabling cifscreds PAM module." >&5
6068 $as_echo "$as_me: WARNING: security/pam_appl.h not found, consider installing pam-devel. Disabling cifscreds PAM module." >&2;}
6069 enable_pam="no"
6070 fi
6071
6072 fi
6073
6074 done
6075
6076 fi
6077
6078 # ugly, but I'm not sure how to check for functions in a library that's not in $LIBS
6079 cu_saved_libs=$LIBS
6080 LIBS="$LIBS $KRB5_LDADD"
6081
6082 # determine whether we can use MIT's new 'krb5_auth_con_getsendsubkey' to extract the signing key
6083 if test $enable_cifsupcall != "no"; then
6084 for ac_func in krb5_auth_con_getsendsubkey
6085 do :
6086 ac_fn_c_check_func "$LINENO" "krb5_auth_con_getsendsubkey" "ac_cv_func_krb5_auth_con_getsendsubkey"
6087 if test "x$ac_cv_func_krb5_auth_con_getsendsubkey" = xyes; then :
6088 cat >>confdefs.h <<_ACEOF
6089 #define HAVE_KRB5_AUTH_CON_GETSENDSUBKEY 1
6090 _ACEOF
6091
6092 fi
6093 done
6094
6095 fi
6096
6097 # non-critical functions (we have workarounds for these)
6098 if test $enable_cifsupcall != "no"; then
6099 for ac_func in krb5_principal_get_realm krb5_free_unparsed_name
6100 do :
6101 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6103 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6104 cat >>confdefs.h <<_ACEOF
6105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6106 _ACEOF
6107
6108 fi
6109 done
6110
6111 for ac_func in krb5_auth_con_setaddrs krb5_auth_con_set_req_cksumtype
6112 do :
6113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6115 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6116 cat >>confdefs.h <<_ACEOF
6117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6118 _ACEOF
6119
6120 fi
6121 done
6122
6123 fi
6124
6125 # determine how to free a string allocated by a krb5 function
6126 if test $enable_cifsupcall != "no"; then
6127 for ac_func in krb5_free_string
6128 do :
6129 ac_fn_c_check_func "$LINENO" "krb5_free_string" "ac_cv_func_krb5_free_string"
6130 if test "x$ac_cv_func_krb5_free_string" = xyes; then :
6131 cat >>confdefs.h <<_ACEOF
6132 #define HAVE_KRB5_FREE_STRING 1
6133 _ACEOF
6134
6135 fi
6136 done
6137
6138 fi
6139
6140 if test $enable_systemd != "no"; then
6141
6142 $as_echo "#define ENABLE_SYSTEMD 1" >>confdefs.h
6143
6144 fi
6145
6146 # if docs are not disabled, check if rst2man is available
6147 if test $enable_man != "no"; then
6148 for ac_prog in rst2man-3.6 rst2man-3.4 rst2man-3 rst2man.py rst2man
6149 do
6150 # Extract the first word of "$ac_prog", so it can be a program name with args.
6151 set dummy $ac_prog; ac_word=$2
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6153 $as_echo_n "checking for $ac_word... " >&6; }
6154 if ${ac_cv_prog_have_rst2man+:} false; then :
6155 $as_echo_n "(cached) " >&6
6156 else
6157 if test -n "$have_rst2man"; then
6158 ac_cv_prog_have_rst2man="$have_rst2man" # Let the user override the test.
6159 else
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 for as_dir in $PATH
6162 do
6163 IFS=$as_save_IFS
6164 test -z "$as_dir" && as_dir=.
6165 for ac_exec_ext in '' $ac_executable_extensions; do
6166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6167 ac_cv_prog_have_rst2man="$ac_prog"
6168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 break 2
6170 fi
6171 done
6172 done
6173 IFS=$as_save_IFS
6174
6175 fi
6176 fi
6177 have_rst2man=$ac_cv_prog_have_rst2man
6178 if test -n "$have_rst2man"; then
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_rst2man" >&5
6180 $as_echo "$have_rst2man" >&6; }
6181 else
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6183 $as_echo "no" >&6; }
6184 fi
6185
6186
6187 test -n "$have_rst2man" && break
6188 done
6189 test -n "$have_rst2man" || have_rst2man="no"
6190
6191 if test $have_rst2man = "no"; then
6192 if test $enable_man = "yes"; then
6193 as_fn_error $? "rst2man not found: cannot generate man pages, consider installing python{2,3}-docutils." "$LINENO" 5
6194 else
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: rst2man not found: cannot generate man pages, consider installing python{2,3}-docutils. Disabling man page generation." >&5
6196 $as_echo "$as_me: WARNING: rst2man not found: cannot generate man pages, consider installing python{2,3}-docutils. Disabling man page generation." >&2;}
6197 enable_man="no"
6198 fi
6199 else
6200 enable_man="yes"
6201 fi
6202 fi
6203
6204 # MIT krb5 < 1.7 does not have this declaration but does have the symbol
6205 ac_fn_c_check_decl "$LINENO" "krb5_auth_con_set_req_cksumtype" "ac_cv_have_decl_krb5_auth_con_set_req_cksumtype" "#include <krb5.h>
6206 "
6207 if test "x$ac_cv_have_decl_krb5_auth_con_set_req_cksumtype" = xyes; then :
6208 ac_have_decl=1
6209 else
6210 ac_have_decl=0
6211 fi
6212
6213 cat >>confdefs.h <<_ACEOF
6214 #define HAVE_DECL_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE $ac_have_decl
6215 _ACEOF
6216
6217
6218 LIBS=$cu_saved_libs
6219
6220 if test "$enable_man" != "no"; then
6221 CONFIG_MAN_TRUE=
6222 CONFIG_MAN_FALSE='#'
6223 else
6224 CONFIG_MAN_TRUE='#'
6225 CONFIG_MAN_FALSE=
6226 fi
6227
6228 if test "$enable_cifsupcall" != "no"; then
6229 CONFIG_CIFSUPCALL_TRUE=
6230 CONFIG_CIFSUPCALL_FALSE='#'
6231 else
6232 CONFIG_CIFSUPCALL_TRUE='#'
6233 CONFIG_CIFSUPCALL_FALSE=
6234 fi
6235
6236 if test "$enable_cifscreds" != "no"; then
6237 CONFIG_CIFSCREDS_TRUE=
6238 CONFIG_CIFSCREDS_FALSE='#'
6239 else
6240 CONFIG_CIFSCREDS_TRUE='#'
6241 CONFIG_CIFSCREDS_FALSE=
6242 fi
6243
6244 if test "$enable_cifsidmap" != "no"; then
6245 CONFIG_CIFSIDMAP_TRUE=
6246 CONFIG_CIFSIDMAP_FALSE='#'
6247 else
6248 CONFIG_CIFSIDMAP_TRUE='#'
6249 CONFIG_CIFSIDMAP_FALSE=
6250 fi
6251
6252 if test "$enable_cifsacl" != "no"; then
6253 CONFIG_CIFSACL_TRUE=
6254 CONFIG_CIFSACL_FALSE='#'
6255 else
6256 CONFIG_CIFSACL_TRUE='#'
6257 CONFIG_CIFSACL_FALSE=
6258 fi
6259
6260 if test "$enable_smbinfo" != "no"; then
6261 CONFIG_SMBINFO_TRUE=
6262 CONFIG_SMBINFO_FALSE='#'
6263 else
6264 CONFIG_SMBINFO_TRUE='#'
6265 CONFIG_SMBINFO_FALSE=
6266 fi
6267
6268 if test "$enable_pythontools" != "no"; then
6269 CONFIG_PYTHON_TOOLS_TRUE=
6270 CONFIG_PYTHON_TOOLS_FALSE='#'
6271 else
6272 CONFIG_PYTHON_TOOLS_TRUE='#'
6273 CONFIG_PYTHON_TOOLS_FALSE=
6274 fi
6275
6276 if test "$enable_pam" != "no"; then
6277 CONFIG_PAM_TRUE=
6278 CONFIG_PAM_FALSE='#'
6279 else
6280 CONFIG_PAM_TRUE='#'
6281 CONFIG_PAM_FALSE=
6282 fi
6283
6284 if test "$enable_cifsidmap" != "no" -o "$enable_cifsacl" != "no"; then
6285 CONFIG_PLUGIN_TRUE=
6286 CONFIG_PLUGIN_FALSE='#'
6287 else
6288 CONFIG_PLUGIN_TRUE='#'
6289 CONFIG_PLUGIN_FALSE=
6290 fi
6291
6292
6293
6294
6295 # Check whether --with-libcap-ng was given.
6296 if test "${with_libcap_ng+set}" = set; then :
6297 withval=$with_libcap_ng;
6298 else
6299 with_libcap_ng=auto
6300 fi
6301
6302
6303 # Check for Libcap-ng API
6304 #
6305 # libcap-ng detection
6306
6307 if test x$with_libcap_ng = xno ; then
6308 have_libcap_ng=no;
6309 else
6310 # Start by checking for header file
6311 ac_fn_c_check_header_mongrel "$LINENO" "cap-ng.h" "ac_cv_header_cap_ng_h" "$ac_includes_default"
6312 if test "x$ac_cv_header_cap_ng_h" = xyes; then :
6313 capng_headers=yes
6314 else
6315 capng_headers=no
6316 fi
6317
6318
6319
6320 # See if we have libcap-ng library
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capng_clear in -lcap-ng" >&5
6322 $as_echo_n "checking for capng_clear in -lcap-ng... " >&6; }
6323 if ${ac_cv_lib_cap_ng_capng_clear+:} false; then :
6324 $as_echo_n "(cached) " >&6
6325 else
6326 ac_check_lib_save_LIBS=$LIBS
6327 LIBS="-lcap-ng $LIBS"
6328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6329 /* end confdefs.h. */
6330
6331 /* Override any GCC internal prototype to avoid an error.
6332 Use char because int might match the return type of a GCC
6333 builtin and then its argument prototype would still apply. */
6334 #ifdef __cplusplus
6335 extern "C"
6336 #endif
6337 char capng_clear ();
6338 int
6339 main ()
6340 {
6341 return capng_clear ();
6342 ;
6343 return 0;
6344 }
6345 _ACEOF
6346 if ac_fn_c_try_link "$LINENO"; then :
6347 ac_cv_lib_cap_ng_capng_clear=yes
6348 else
6349 ac_cv_lib_cap_ng_capng_clear=no
6350 fi
6351 rm -f core conftest.err conftest.$ac_objext \
6352 conftest$ac_exeext conftest.$ac_ext
6353 LIBS=$ac_check_lib_save_LIBS
6354 fi
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_ng_capng_clear" >&5
6356 $as_echo "$ac_cv_lib_cap_ng_capng_clear" >&6; }
6357 if test "x$ac_cv_lib_cap_ng_capng_clear" = xyes; then :
6358 CAPNG_LDADD=-lcap-ng
6359 fi
6360
6361
6362 # Check results are usable
6363 if test x$with_libcap_ng = xyes -a x$CAPNG_LDADD = x ; then
6364 as_fn_error $? "libcap-ng support was requested and the library was not found" "$LINENO" 5
6365 fi
6366 if test x$CAPNG_LDADD != x -a $capng_headers = no ; then
6367 as_fn_error $? "libcap-ng libraries found but headers are missing" "$LINENO" 5
6368 fi
6369 fi
6370
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use libcap-ng" >&5
6372 $as_echo_n "checking whether to use libcap-ng... " >&6; }
6373 if test x$CAPNG_LDADD != x ; then
6374
6375 $as_echo "#define HAVE_LIBCAP_NG 1" >>confdefs.h
6376
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6378 $as_echo "yes" >&6; }
6379 else
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6381 $as_echo "no" >&6; }
6382 fi
6383
6384
6385 if test "x$CAPNG_LDADD" = "x"; then
6386
6387
6388
6389 # Check whether --with-libcap was given.
6390 if test "${with_libcap+set}" = set; then :
6391 withval=$with_libcap;
6392 else
6393 with_libcap=auto
6394 fi
6395
6396
6397 if test "x$with_libcap" = "xno"; then
6398 enable_libcap="no"
6399 else
6400 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
6401 if test "x$ac_cv_func_prctl" = xyes; then :
6402
6403 fi
6404
6405
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_get_proc in -lcap" >&5
6407 $as_echo_n "checking for cap_get_proc in -lcap... " >&6; }
6408 if ${ac_cv_lib_cap_cap_get_proc+:} false; then :
6409 $as_echo_n "(cached) " >&6
6410 else
6411 ac_check_lib_save_LIBS=$LIBS
6412 LIBS="-lcap $LIBS"
6413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6414 /* end confdefs.h. */
6415
6416 /* Override any GCC internal prototype to avoid an error.
6417 Use char because int might match the return type of a GCC
6418 builtin and then its argument prototype would still apply. */
6419 #ifdef __cplusplus
6420 extern "C"
6421 #endif
6422 char cap_get_proc ();
6423 int
6424 main ()
6425 {
6426 return cap_get_proc ();
6427 ;
6428 return 0;
6429 }
6430 _ACEOF
6431 if ac_fn_c_try_link "$LINENO"; then :
6432 ac_cv_lib_cap_cap_get_proc=yes
6433 else
6434 ac_cv_lib_cap_cap_get_proc=no
6435 fi
6436 rm -f core conftest.err conftest.$ac_objext \
6437 conftest$ac_exeext conftest.$ac_ext
6438 LIBS=$ac_check_lib_save_LIBS
6439 fi
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_get_proc" >&5
6441 $as_echo "$ac_cv_lib_cap_cap_get_proc" >&6; }
6442 if test "x$ac_cv_lib_cap_cap_get_proc" = xyes; then :
6443 enable_libcap="yes"
6444 else
6445 enable_libcap="no"
6446 fi
6447
6448
6449 for ac_header in sys/capability.h
6450 do :
6451 ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
6452 if test "x$ac_cv_header_sys_capability_h" = xyes; then :
6453 cat >>confdefs.h <<_ACEOF
6454 #define HAVE_SYS_CAPABILITY_H 1
6455 _ACEOF
6456
6457 else
6458
6459 if test x$with_libcap = xyes; then
6460 as_fn_error $? "libcap headers not found" "$LINENO" 5
6461 else
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libcap headers not found. mount.cifs will be built without support for dropping capabilities. Consider installing libcap-devel." >&5
6463 $as_echo "$as_me: WARNING: libcap headers not found. mount.cifs will be built without support for dropping capabilities. Consider installing libcap-devel." >&2;}
6464 enable_libcap="no"
6465 fi
6466
6467 fi
6468
6469 done
6470
6471 fi
6472
6473 if test "$enable_libcap" = "yes"; then
6474
6475 $as_echo "#define HAVE_LIBCAP 1" >>confdefs.h
6476
6477 LIBCAP=-lcap
6478
6479 fi
6480
6481
6482 fi
6483 cat >confcache <<\_ACEOF
6484 # This file is a shell script that caches the results of configure
6485 # tests run on this system so they can be shared between configure
6486 # scripts and configure runs, see configure's option --config-cache.
6487 # It is not useful on other systems. If it contains results you don't
6488 # want to keep, you may remove or edit it.
6489 #
6490 # config.status only pays attention to the cache file if you give it
6491 # the --recheck option to rerun configure.
6492 #
6493 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6494 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6495 # following values.
6496
6497 _ACEOF
6498
6499 # The following way of writing the cache mishandles newlines in values,
6500 # but we know of no workaround that is simple, portable, and efficient.
6501 # So, we kill variables containing newlines.
6502 # Ultrix sh set writes to stderr and can't be redirected directly,
6503 # and sets the high bit in the cache file unless we assign to the vars.
6504 (
6505 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6506 eval ac_val=\$$ac_var
6507 case $ac_val in #(
6508 *${as_nl}*)
6509 case $ac_var in #(
6510 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6511 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6512 esac
6513 case $ac_var in #(
6514 _ | IFS | as_nl) ;; #(
6515 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6516 *) { eval $ac_var=; unset $ac_var;} ;;
6517 esac ;;
6518 esac
6519 done
6520
6521 (set) 2>&1 |
6522 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6523 *${as_nl}ac_space=\ *)
6524 # `set' does not quote correctly, so add quotes: double-quote
6525 # substitution turns \\\\ into \\, and sed turns \\ into \.
6526 sed -n \
6527 "s/'/'\\\\''/g;
6528 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6529 ;; #(
6530 *)
6531 # `set' quotes correctly as required by POSIX, so do not add quotes.
6532 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6533 ;;
6534 esac |
6535 sort
6536 ) |
6537 sed '
6538 /^ac_cv_env_/b end
6539 t clear
6540 :clear
6541 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6542 t end
6543 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6544 :end' >>confcache
6545 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6546 if test -w "$cache_file"; then
6547 if test "x$cache_file" != "x/dev/null"; then
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6549 $as_echo "$as_me: updating cache $cache_file" >&6;}
6550 if test ! -f "$cache_file" || test -h "$cache_file"; then
6551 cat confcache >"$cache_file"
6552 else
6553 case $cache_file in #(
6554 */* | ?:*)
6555 mv -f confcache "$cache_file"$$ &&
6556 mv -f "$cache_file"$$ "$cache_file" ;; #(
6557 *)
6558 mv -f confcache "$cache_file" ;;
6559 esac
6560 fi
6561 fi
6562 else
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6564 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6565 fi
6566 fi
6567 rm -f confcache
6568
6569 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6570 # Let make expand exec_prefix.
6571 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6572
6573 DEFS=-DHAVE_CONFIG_H
6574
6575 ac_libobjs=
6576 ac_ltlibobjs=
6577 U=
6578 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6579 # 1. Remove the extension, and $U if already installed.
6580 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6581 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6582 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6583 # will be set to the directory where LIBOBJS objects are built.
6584 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6585 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6586 done
6587 LIBOBJS=$ac_libobjs
6588
6589 LTLIBOBJS=$ac_ltlibobjs
6590
6591
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6593 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6594 if test -n "$am_sleep_pid"; then
6595 # Hide warnings about reused PIDs.
6596 wait $am_sleep_pid 2>/dev/null
6597 fi
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6599 $as_echo "done" >&6; }
6600 if test -n "$EXEEXT"; then
6601 am__EXEEXT_TRUE=
6602 am__EXEEXT_FALSE='#'
6603 else
6604 am__EXEEXT_TRUE='#'
6605 am__EXEEXT_FALSE=
6606 fi
6607
6608 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6609 as_fn_error $? "conditional \"AMDEP\" was never defined.
6610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6611 fi
6612 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6613 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6615 fi
6616 if test -z "${CONFIG_MAN_TRUE}" && test -z "${CONFIG_MAN_FALSE}"; then
6617 as_fn_error $? "conditional \"CONFIG_MAN\" was never defined.
6618 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6619 fi
6620 if test -z "${CONFIG_CIFSUPCALL_TRUE}" && test -z "${CONFIG_CIFSUPCALL_FALSE}"; then
6621 as_fn_error $? "conditional \"CONFIG_CIFSUPCALL\" was never defined.
6622 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6623 fi
6624 if test -z "${CONFIG_CIFSCREDS_TRUE}" && test -z "${CONFIG_CIFSCREDS_FALSE}"; then
6625 as_fn_error $? "conditional \"CONFIG_CIFSCREDS\" was never defined.
6626 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6627 fi
6628 if test -z "${CONFIG_CIFSIDMAP_TRUE}" && test -z "${CONFIG_CIFSIDMAP_FALSE}"; then
6629 as_fn_error $? "conditional \"CONFIG_CIFSIDMAP\" was never defined.
6630 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6631 fi
6632 if test -z "${CONFIG_CIFSACL_TRUE}" && test -z "${CONFIG_CIFSACL_FALSE}"; then
6633 as_fn_error $? "conditional \"CONFIG_CIFSACL\" was never defined.
6634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6635 fi
6636 if test -z "${CONFIG_SMBINFO_TRUE}" && test -z "${CONFIG_SMBINFO_FALSE}"; then
6637 as_fn_error $? "conditional \"CONFIG_SMBINFO\" was never defined.
6638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6639 fi
6640 if test -z "${CONFIG_PYTHON_TOOLS_TRUE}" && test -z "${CONFIG_PYTHON_TOOLS_FALSE}"; then
6641 as_fn_error $? "conditional \"CONFIG_PYTHON_TOOLS\" was never defined.
6642 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6643 fi
6644 if test -z "${CONFIG_PAM_TRUE}" && test -z "${CONFIG_PAM_FALSE}"; then
6645 as_fn_error $? "conditional \"CONFIG_PAM\" was never defined.
6646 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6647 fi
6648 if test -z "${CONFIG_PLUGIN_TRUE}" && test -z "${CONFIG_PLUGIN_FALSE}"; then
6649 as_fn_error $? "conditional \"CONFIG_PLUGIN\" was never defined.
6650 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6651 fi
6652
6653 : "${CONFIG_STATUS=./config.status}"
6654 ac_write_fail=0
6655 ac_clean_files_save=$ac_clean_files
6656 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6658 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6659 as_write_fail=0
6660 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6661 #! $SHELL
6662 # Generated by $as_me.
6663 # Run this file to recreate the current configuration.
6664 # Compiler output produced by configure, useful for debugging
6665 # configure, is in config.log if it exists.
6666
6667 debug=false
6668 ac_cs_recheck=false
6669 ac_cs_silent=false
6670
6671 SHELL=\${CONFIG_SHELL-$SHELL}
6672 export SHELL
6673 _ASEOF
6674 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6675 ## -------------------- ##
6676 ## M4sh Initialization. ##
6677 ## -------------------- ##
6678
6679 # Be more Bourne compatible
6680 DUALCASE=1; export DUALCASE # for MKS sh
6681 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6682 emulate sh
6683 NULLCMD=:
6684 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6685 # is contrary to our usage. Disable this feature.
6686 alias -g '${1+"$@"}'='"$@"'
6687 setopt NO_GLOB_SUBST
6688 else
6689 case `(set -o) 2>/dev/null` in #(
6690 *posix*) :
6691 set -o posix ;; #(
6692 *) :
6693 ;;
6694 esac
6695 fi
6696
6697
6698 as_nl='
6699 '
6700 export as_nl
6701 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6702 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6703 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6704 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6705 # Prefer a ksh shell builtin over an external printf program on Solaris,
6706 # but without wasting forks for bash or zsh.
6707 if test -z "$BASH_VERSION$ZSH_VERSION" \
6708 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6709 as_echo='print -r --'
6710 as_echo_n='print -rn --'
6711 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6712 as_echo='printf %s\n'
6713 as_echo_n='printf %s'
6714 else
6715 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6716 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6717 as_echo_n='/usr/ucb/echo -n'
6718 else
6719 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6720 as_echo_n_body='eval
6721 arg=$1;
6722 case $arg in #(
6723 *"$as_nl"*)
6724 expr "X$arg" : "X\\(.*\\)$as_nl";
6725 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6726 esac;
6727 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6728 '
6729 export as_echo_n_body
6730 as_echo_n='sh -c $as_echo_n_body as_echo'
6731 fi
6732 export as_echo_body
6733 as_echo='sh -c $as_echo_body as_echo'
6734 fi
6735
6736 # The user is always right.
6737 if test "${PATH_SEPARATOR+set}" != set; then
6738 PATH_SEPARATOR=:
6739 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6740 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6741 PATH_SEPARATOR=';'
6742 }
6743 fi
6744
6745
6746 # IFS
6747 # We need space, tab and new line, in precisely that order. Quoting is
6748 # there to prevent editors from complaining about space-tab.
6749 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6750 # splitting by setting IFS to empty value.)
6751 IFS=" "" $as_nl"
6752
6753 # Find who we are. Look in the path if we contain no directory separator.
6754 as_myself=
6755 case $0 in #((
6756 *[\\/]* ) as_myself=$0 ;;
6757 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6758 for as_dir in $PATH
6759 do
6760 IFS=$as_save_IFS
6761 test -z "$as_dir" && as_dir=.
6762 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6763 done
6764 IFS=$as_save_IFS
6765
6766 ;;
6767 esac
6768 # We did not find ourselves, most probably we were run as `sh COMMAND'
6769 # in which case we are not to be found in the path.
6770 if test "x$as_myself" = x; then
6771 as_myself=$0
6772 fi
6773 if test ! -f "$as_myself"; then
6774 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6775 exit 1
6776 fi
6777
6778 # Unset variables that we do not need and which cause bugs (e.g. in
6779 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6780 # suppresses any "Segmentation fault" message there. '((' could
6781 # trigger a bug in pdksh 5.2.14.
6782 for as_var in BASH_ENV ENV MAIL MAILPATH
6783 do eval test x\${$as_var+set} = xset \
6784 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6785 done
6786 PS1='$ '
6787 PS2='> '
6788 PS4='+ '
6789
6790 # NLS nuisances.
6791 LC_ALL=C
6792 export LC_ALL
6793 LANGUAGE=C
6794 export LANGUAGE
6795
6796 # CDPATH.
6797 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6798
6799
6800 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6801 # ----------------------------------------
6802 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6803 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6804 # script with STATUS, using 1 if that was 0.
6805 as_fn_error ()
6806 {
6807 as_status=$1; test $as_status -eq 0 && as_status=1
6808 if test "$4"; then
6809 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6810 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6811 fi
6812 $as_echo "$as_me: error: $2" >&2
6813 as_fn_exit $as_status
6814 } # as_fn_error
6815
6816
6817 # as_fn_set_status STATUS
6818 # -----------------------
6819 # Set $? to STATUS, without forking.
6820 as_fn_set_status ()
6821 {
6822 return $1
6823 } # as_fn_set_status
6824
6825 # as_fn_exit STATUS
6826 # -----------------
6827 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6828 as_fn_exit ()
6829 {
6830 set +e
6831 as_fn_set_status $1
6832 exit $1
6833 } # as_fn_exit
6834
6835 # as_fn_unset VAR
6836 # ---------------
6837 # Portably unset VAR.
6838 as_fn_unset ()
6839 {
6840 { eval $1=; unset $1;}
6841 }
6842 as_unset=as_fn_unset
6843 # as_fn_append VAR VALUE
6844 # ----------------------
6845 # Append the text in VALUE to the end of the definition contained in VAR. Take
6846 # advantage of any shell optimizations that allow amortized linear growth over
6847 # repeated appends, instead of the typical quadratic growth present in naive
6848 # implementations.
6849 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6850 eval 'as_fn_append ()
6851 {
6852 eval $1+=\$2
6853 }'
6854 else
6855 as_fn_append ()
6856 {
6857 eval $1=\$$1\$2
6858 }
6859 fi # as_fn_append
6860
6861 # as_fn_arith ARG...
6862 # ------------------
6863 # Perform arithmetic evaluation on the ARGs, and store the result in the
6864 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6865 # must be portable across $(()) and expr.
6866 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6867 eval 'as_fn_arith ()
6868 {
6869 as_val=$(( $* ))
6870 }'
6871 else
6872 as_fn_arith ()
6873 {
6874 as_val=`expr "$@" || test $? -eq 1`
6875 }
6876 fi # as_fn_arith
6877
6878
6879 if expr a : '\(a\)' >/dev/null 2>&1 &&
6880 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6881 as_expr=expr
6882 else
6883 as_expr=false
6884 fi
6885
6886 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6887 as_basename=basename
6888 else
6889 as_basename=false
6890 fi
6891
6892 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6893 as_dirname=dirname
6894 else
6895 as_dirname=false
6896 fi
6897
6898 as_me=`$as_basename -- "$0" ||
6899 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6900 X"$0" : 'X\(//\)$' \| \
6901 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6902 $as_echo X/"$0" |
6903 sed '/^.*\/\([^/][^/]*\)\/*$/{
6904 s//\1/
6905 q
6906 }
6907 /^X\/\(\/\/\)$/{
6908 s//\1/
6909 q
6910 }
6911 /^X\/\(\/\).*/{
6912 s//\1/
6913 q
6914 }
6915 s/.*/./; q'`
6916
6917 # Avoid depending upon Character Ranges.
6918 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6919 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6920 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6921 as_cr_digits='0123456789'
6922 as_cr_alnum=$as_cr_Letters$as_cr_digits
6923
6924 ECHO_C= ECHO_N= ECHO_T=
6925 case `echo -n x` in #(((((
6926 -n*)
6927 case `echo 'xy\c'` in
6928 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6929 xy) ECHO_C='\c';;
6930 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6931 ECHO_T=' ';;
6932 esac;;
6933 *)
6934 ECHO_N='-n';;
6935 esac
6936
6937 rm -f conf$$ conf$$.exe conf$$.file
6938 if test -d conf$$.dir; then
6939 rm -f conf$$.dir/conf$$.file
6940 else
6941 rm -f conf$$.dir
6942 mkdir conf$$.dir 2>/dev/null
6943 fi
6944 if (echo >conf$$.file) 2>/dev/null; then
6945 if ln -s conf$$.file conf$$ 2>/dev/null; then
6946 as_ln_s='ln -s'
6947 # ... but there are two gotchas:
6948 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6949 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6950 # In both cases, we have to default to `cp -pR'.
6951 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6952 as_ln_s='cp -pR'
6953 elif ln conf$$.file conf$$ 2>/dev/null; then
6954 as_ln_s=ln
6955 else
6956 as_ln_s='cp -pR'
6957 fi
6958 else
6959 as_ln_s='cp -pR'
6960 fi
6961 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6962 rmdir conf$$.dir 2>/dev/null
6963
6964
6965 # as_fn_mkdir_p
6966 # -------------
6967 # Create "$as_dir" as a directory, including parents if necessary.
6968 as_fn_mkdir_p ()
6969 {
6970
6971 case $as_dir in #(
6972 -*) as_dir=./$as_dir;;
6973 esac
6974 test -d "$as_dir" || eval $as_mkdir_p || {
6975 as_dirs=
6976 while :; do
6977 case $as_dir in #(
6978 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6979 *) as_qdir=$as_dir;;
6980 esac
6981 as_dirs="'$as_qdir' $as_dirs"
6982 as_dir=`$as_dirname -- "$as_dir" ||
6983 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6984 X"$as_dir" : 'X\(//\)[^/]' \| \
6985 X"$as_dir" : 'X\(//\)$' \| \
6986 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6987 $as_echo X"$as_dir" |
6988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6989 s//\1/
6990 q
6991 }
6992 /^X\(\/\/\)[^/].*/{
6993 s//\1/
6994 q
6995 }
6996 /^X\(\/\/\)$/{
6997 s//\1/
6998 q
6999 }
7000 /^X\(\/\).*/{
7001 s//\1/
7002 q
7003 }
7004 s/.*/./; q'`
7005 test -d "$as_dir" && break
7006 done
7007 test -z "$as_dirs" || eval "mkdir $as_dirs"
7008 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7009
7010
7011 } # as_fn_mkdir_p
7012 if mkdir -p . 2>/dev/null; then
7013 as_mkdir_p='mkdir -p "$as_dir"'
7014 else
7015 test -d ./-p && rmdir ./-p
7016 as_mkdir_p=false
7017 fi
7018
7019
7020 # as_fn_executable_p FILE
7021 # -----------------------
7022 # Test if FILE is an executable regular file.
7023 as_fn_executable_p ()
7024 {
7025 test -f "$1" && test -x "$1"
7026 } # as_fn_executable_p
7027 as_test_x='test -x'
7028 as_executable_p=as_fn_executable_p
7029
7030 # Sed expression to map a string onto a valid CPP name.
7031 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7032
7033 # Sed expression to map a string onto a valid variable name.
7034 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7035
7036
7037 exec 6>&1
7038 ## ----------------------------------- ##
7039 ## Main body of $CONFIG_STATUS script. ##
7040 ## ----------------------------------- ##
7041 _ASEOF
7042 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7043
7044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7045 # Save the log message, to keep $0 and so on meaningful, and to
7046 # report actual input values of CONFIG_FILES etc. instead of their
7047 # values after options handling.
7048 ac_log="
7049 This file was extended by cifs-utils $as_me 7.4, which was
7050 generated by GNU Autoconf 2.69. Invocation command line was
7051
7052 CONFIG_FILES = $CONFIG_FILES
7053 CONFIG_HEADERS = $CONFIG_HEADERS
7054 CONFIG_LINKS = $CONFIG_LINKS
7055 CONFIG_COMMANDS = $CONFIG_COMMANDS
7056 $ $0 $@
7057
7058 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7059 "
7060
7061 _ACEOF
7062
7063 case $ac_config_files in *"
7064 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7065 esac
7066
7067 case $ac_config_headers in *"
7068 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7069 esac
7070
7071
7072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7073 # Files that config.status was made for.
7074 config_files="$ac_config_files"
7075 config_headers="$ac_config_headers"
7076 config_commands="$ac_config_commands"
7077
7078 _ACEOF
7079
7080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7081 ac_cs_usage="\
7082 \`$as_me' instantiates files and other configuration actions
7083 from templates according to the current configuration. Unless the files
7084 and actions are specified as TAGs, all are instantiated by default.
7085
7086 Usage: $0 [OPTION]... [TAG]...
7087
7088 -h, --help print this help, then exit
7089 -V, --version print version number and configuration settings, then exit
7090 --config print configuration, then exit
7091 -q, --quiet, --silent
7092 do not print progress messages
7093 -d, --debug don't remove temporary files
7094 --recheck update $as_me by reconfiguring in the same conditions
7095 --file=FILE[:TEMPLATE]
7096 instantiate the configuration file FILE
7097 --header=FILE[:TEMPLATE]
7098 instantiate the configuration header FILE
7099
7100 Configuration files:
7101 $config_files
7102
7103 Configuration headers:
7104 $config_headers
7105
7106 Configuration commands:
7107 $config_commands
7108
7109 Report bugs to <[email protected]>.
7110 cifs-utils home page: <https://wiki.samba.org/index.php/LinuxCIFS_utils>."
7111
7112 _ACEOF
7113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7114 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7115 ac_cs_version="\\
7116 cifs-utils config.status 7.4
7117 configured by $0, generated by GNU Autoconf 2.69,
7118 with options \\"\$ac_cs_config\\"
7119
7120 Copyright (C) 2012 Free Software Foundation, Inc.
7121 This config.status script is free software; the Free Software Foundation
7122 gives unlimited permission to copy, distribute and modify it."
7123
7124 ac_pwd='$ac_pwd'
7125 srcdir='$srcdir'
7126 INSTALL='$INSTALL'
7127 MKDIR_P='$MKDIR_P'
7128 AWK='$AWK'
7129 test -n "\$AWK" || AWK=awk
7130 _ACEOF
7131
7132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7133 # The default lists apply if the user does not specify any file.
7134 ac_need_defaults=:
7135 while test $# != 0
7136 do
7137 case $1 in
7138 --*=?*)
7139 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7140 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7141 ac_shift=:
7142 ;;
7143 --*=)
7144 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7145 ac_optarg=
7146 ac_shift=:
7147 ;;
7148 *)
7149 ac_option=$1
7150 ac_optarg=$2
7151 ac_shift=shift
7152 ;;
7153 esac
7154
7155 case $ac_option in
7156 # Handling of the options.
7157 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7158 ac_cs_recheck=: ;;
7159 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7160 $as_echo "$ac_cs_version"; exit ;;
7161 --config | --confi | --conf | --con | --co | --c )
7162 $as_echo "$ac_cs_config"; exit ;;
7163 --debug | --debu | --deb | --de | --d | -d )
7164 debug=: ;;
7165 --file | --fil | --fi | --f )
7166 $ac_shift
7167 case $ac_optarg in
7168 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7169 '') as_fn_error $? "missing file argument" ;;
7170 esac
7171 as_fn_append CONFIG_FILES " '$ac_optarg'"
7172 ac_need_defaults=false;;
7173 --header | --heade | --head | --hea )
7174 $ac_shift
7175 case $ac_optarg in
7176 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7177 esac
7178 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7179 ac_need_defaults=false;;
7180 --he | --h)
7181 # Conflict between --help and --header
7182 as_fn_error $? "ambiguous option: \`$1'
7183 Try \`$0 --help' for more information.";;
7184 --help | --hel | -h )
7185 $as_echo "$ac_cs_usage"; exit ;;
7186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7187 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7188 ac_cs_silent=: ;;
7189
7190 # This is an error.
7191 -*) as_fn_error $? "unrecognized option: \`$1'
7192 Try \`$0 --help' for more information." ;;
7193
7194 *) as_fn_append ac_config_targets " $1"
7195 ac_need_defaults=false ;;
7196
7197 esac
7198 shift
7199 done
7200
7201 ac_configure_extra_args=
7202
7203 if $ac_cs_silent; then
7204 exec 6>/dev/null
7205 ac_configure_extra_args="$ac_configure_extra_args --silent"
7206 fi
7207
7208 _ACEOF
7209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7210 if \$ac_cs_recheck; then
7211 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7212 shift
7213 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7214 CONFIG_SHELL='$SHELL'
7215 export CONFIG_SHELL
7216 exec "\$@"
7217 fi
7218
7219 _ACEOF
7220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7221 exec 5>>config.log
7222 {
7223 echo
7224 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7225 ## Running $as_me. ##
7226 _ASBOX
7227 $as_echo "$ac_log"
7228 } >&5
7229
7230 _ACEOF
7231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7232 #
7233 # INIT-COMMANDS
7234 #
7235 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
7236
7237 _ACEOF
7238
7239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7240
7241 # Handling of arguments.
7242 for ac_config_target in $ac_config_targets
7243 do
7244 case $ac_config_target in
7245 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7246 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7247 "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
7248 "contrib/request-key.d/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/request-key.d/Makefile" ;;
7249 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7250
7251 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7252 esac
7253 done
7254
7255
7256 # If the user did not use the arguments to specify the items to instantiate,
7257 # then the envvar interface is used. Set only those that are not.
7258 # We use the long form for the default assignment because of an extremely
7259 # bizarre bug on SunOS 4.1.3.
7260 if $ac_need_defaults; then
7261 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7262 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7263 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7264 fi
7265
7266 # Have a temporary directory for convenience. Make it in the build tree
7267 # simply because there is no reason against having it here, and in addition,
7268 # creating and moving files from /tmp can sometimes cause problems.
7269 # Hook for its removal unless debugging.
7270 # Note that there is a small window in which the directory will not be cleaned:
7271 # after its creation but before its name has been assigned to `$tmp'.
7272 $debug ||
7273 {
7274 tmp= ac_tmp=
7275 trap 'exit_status=$?
7276 : "${ac_tmp:=$tmp}"
7277 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7278 ' 0
7279 trap 'as_fn_exit 1' 1 2 13 15
7280 }
7281 # Create a (secure) tmp directory for tmp files.
7282
7283 {
7284 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7285 test -d "$tmp"
7286 } ||
7287 {
7288 tmp=./conf$$-$RANDOM
7289 (umask 077 && mkdir "$tmp")
7290 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7291 ac_tmp=$tmp
7292
7293 # Set up the scripts for CONFIG_FILES section.
7294 # No need to generate them if there are no CONFIG_FILES.
7295 # This happens for instance with `./config.status config.h'.
7296 if test -n "$CONFIG_FILES"; then
7297
7298
7299 ac_cr=`echo X | tr X '\015'`
7300 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7301 # But we know of no other shell where ac_cr would be empty at this
7302 # point, so we can use a bashism as a fallback.
7303 if test "x$ac_cr" = x; then
7304 eval ac_cr=\$\'\\r\'
7305 fi
7306 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7307 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7308 ac_cs_awk_cr='\\r'
7309 else
7310 ac_cs_awk_cr=$ac_cr
7311 fi
7312
7313 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7314 _ACEOF
7315
7316
7317 {
7318 echo "cat >conf$$subs.awk <<_ACEOF" &&
7319 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7320 echo "_ACEOF"
7321 } >conf$$subs.sh ||
7322 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7323 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7324 ac_delim='%!_!# '
7325 for ac_last_try in false false false false false :; do
7326 . ./conf$$subs.sh ||
7327 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7328
7329 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7330 if test $ac_delim_n = $ac_delim_num; then
7331 break
7332 elif $ac_last_try; then
7333 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7334 else
7335 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7336 fi
7337 done
7338 rm -f conf$$subs.sh
7339
7340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7341 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7342 _ACEOF
7343 sed -n '
7344 h
7345 s/^/S["/; s/!.*/"]=/
7346 p
7347 g
7348 s/^[^!]*!//
7349 :repl
7350 t repl
7351 s/'"$ac_delim"'$//
7352 t delim
7353 :nl
7354 h
7355 s/\(.\{148\}\)..*/\1/
7356 t more1
7357 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7358 p
7359 n
7360 b repl
7361 :more1
7362 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7363 p
7364 g
7365 s/.\{148\}//
7366 t nl
7367 :delim
7368 h
7369 s/\(.\{148\}\)..*/\1/
7370 t more2
7371 s/["\\]/\\&/g; s/^/"/; s/$/"/
7372 p
7373 b
7374 :more2
7375 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7376 p
7377 g
7378 s/.\{148\}//
7379 t delim
7380 ' <conf$$subs.awk | sed '
7381 /^[^""]/{
7382 N
7383 s/\n//
7384 }
7385 ' >>$CONFIG_STATUS || ac_write_fail=1
7386 rm -f conf$$subs.awk
7387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7388 _ACAWK
7389 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7390 for (key in S) S_is_set[key] = 1
7391 FS = ""
7392
7393 }
7394 {
7395 line = $ 0
7396 nfields = split(line, field, "@")
7397 substed = 0
7398 len = length(field[1])
7399 for (i = 2; i < nfields; i++) {
7400 key = field[i]
7401 keylen = length(key)
7402 if (S_is_set[key]) {
7403 value = S[key]
7404 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7405 len += length(value) + length(field[++i])
7406 substed = 1
7407 } else
7408 len += 1 + keylen
7409 }
7410
7411 print line
7412 }
7413
7414 _ACAWK
7415 _ACEOF
7416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7417 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7418 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7419 else
7420 cat
7421 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7422 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7423 _ACEOF
7424
7425 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7426 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7427 # trailing colons and then remove the whole line if VPATH becomes empty
7428 # (actually we leave an empty line to preserve line numbers).
7429 if test "x$srcdir" = x.; then
7430 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7431 h
7432 s///
7433 s/^/:/
7434 s/[ ]*$/:/
7435 s/:\$(srcdir):/:/g
7436 s/:\${srcdir}:/:/g
7437 s/:@srcdir@:/:/g
7438 s/^:*//
7439 s/:*$//
7440 x
7441 s/\(=[ ]*\).*/\1/
7442 G
7443 s/\n//
7444 s/^[^=]*=[ ]*$//
7445 }'
7446 fi
7447
7448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7449 fi # test -n "$CONFIG_FILES"
7450
7451 # Set up the scripts for CONFIG_HEADERS section.
7452 # No need to generate them if there are no CONFIG_HEADERS.
7453 # This happens for instance with `./config.status Makefile'.
7454 if test -n "$CONFIG_HEADERS"; then
7455 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7456 BEGIN {
7457 _ACEOF
7458
7459 # Transform confdefs.h into an awk script `defines.awk', embedded as
7460 # here-document in config.status, that substitutes the proper values into
7461 # config.h.in to produce config.h.
7462
7463 # Create a delimiter string that does not exist in confdefs.h, to ease
7464 # handling of long lines.
7465 ac_delim='%!_!# '
7466 for ac_last_try in false false :; do
7467 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7468 if test -z "$ac_tt"; then
7469 break
7470 elif $ac_last_try; then
7471 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7472 else
7473 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7474 fi
7475 done
7476
7477 # For the awk script, D is an array of macro values keyed by name,
7478 # likewise P contains macro parameters if any. Preserve backslash
7479 # newline sequences.
7480
7481 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7482 sed -n '
7483 s/.\{148\}/&'"$ac_delim"'/g
7484 t rset
7485 :rset
7486 s/^[ ]*#[ ]*define[ ][ ]*/ /
7487 t def
7488 d
7489 :def
7490 s/\\$//
7491 t bsnl
7492 s/["\\]/\\&/g
7493 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7494 D["\1"]=" \3"/p
7495 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7496 d
7497 :bsnl
7498 s/["\\]/\\&/g
7499 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7500 D["\1"]=" \3\\\\\\n"\\/p
7501 t cont
7502 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7503 t cont
7504 d
7505 :cont
7506 n
7507 s/.\{148\}/&'"$ac_delim"'/g
7508 t clear
7509 :clear
7510 s/\\$//
7511 t bsnlc
7512 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7513 d
7514 :bsnlc
7515 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7516 b cont
7517 ' <confdefs.h | sed '
7518 s/'"$ac_delim"'/"\\\
7519 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7520
7521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7522 for (key in D) D_is_set[key] = 1
7523 FS = ""
7524 }
7525 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7526 line = \$ 0
7527 split(line, arg, " ")
7528 if (arg[1] == "#") {
7529 defundef = arg[2]
7530 mac1 = arg[3]
7531 } else {
7532 defundef = substr(arg[1], 2)
7533 mac1 = arg[2]
7534 }
7535 split(mac1, mac2, "(") #)
7536 macro = mac2[1]
7537 prefix = substr(line, 1, index(line, defundef) - 1)
7538 if (D_is_set[macro]) {
7539 # Preserve the white space surrounding the "#".
7540 print prefix "define", macro P[macro] D[macro]
7541 next
7542 } else {
7543 # Replace #undef with comments. This is necessary, for example,
7544 # in the case of _POSIX_SOURCE, which is predefined and required
7545 # on some systems where configure will not decide to define it.
7546 if (defundef == "undef") {
7547 print "/*", prefix defundef, macro, "*/"
7548 next
7549 }
7550 }
7551 }
7552 { print }
7553 _ACAWK
7554 _ACEOF
7555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7556 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7557 fi # test -n "$CONFIG_HEADERS"
7558
7559
7560 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7561 shift
7562 for ac_tag
7563 do
7564 case $ac_tag in
7565 :[FHLC]) ac_mode=$ac_tag; continue;;
7566 esac
7567 case $ac_mode$ac_tag in
7568 :[FHL]*:*);;
7569 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7570 :[FH]-) ac_tag=-:-;;
7571 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7572 esac
7573 ac_save_IFS=$IFS
7574 IFS=:
7575 set x $ac_tag
7576 IFS=$ac_save_IFS
7577 shift
7578 ac_file=$1
7579 shift
7580
7581 case $ac_mode in
7582 :L) ac_source=$1;;
7583 :[FH])
7584 ac_file_inputs=
7585 for ac_f
7586 do
7587 case $ac_f in
7588 -) ac_f="$ac_tmp/stdin";;
7589 *) # Look for the file first in the build tree, then in the source tree
7590 # (if the path is not absolute). The absolute path cannot be DOS-style,
7591 # because $ac_f cannot contain `:'.
7592 test -f "$ac_f" ||
7593 case $ac_f in
7594 [\\/$]*) false;;
7595 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7596 esac ||
7597 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7598 esac
7599 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7600 as_fn_append ac_file_inputs " '$ac_f'"
7601 done
7602
7603 # Let's still pretend it is `configure' which instantiates (i.e., don't
7604 # use $as_me), people would be surprised to read:
7605 # /* config.h. Generated by config.status. */
7606 configure_input='Generated from '`
7607 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7608 `' by configure.'
7609 if test x"$ac_file" != x-; then
7610 configure_input="$ac_file. $configure_input"
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7612 $as_echo "$as_me: creating $ac_file" >&6;}
7613 fi
7614 # Neutralize special characters interpreted by sed in replacement strings.
7615 case $configure_input in #(
7616 *\&* | *\|* | *\\* )
7617 ac_sed_conf_input=`$as_echo "$configure_input" |
7618 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7619 *) ac_sed_conf_input=$configure_input;;
7620 esac
7621
7622 case $ac_tag in
7623 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7624 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7625 esac
7626 ;;
7627 esac
7628
7629 ac_dir=`$as_dirname -- "$ac_file" ||
7630 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7631 X"$ac_file" : 'X\(//\)[^/]' \| \
7632 X"$ac_file" : 'X\(//\)$' \| \
7633 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7634 $as_echo X"$ac_file" |
7635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7636 s//\1/
7637 q
7638 }
7639 /^X\(\/\/\)[^/].*/{
7640 s//\1/
7641 q
7642 }
7643 /^X\(\/\/\)$/{
7644 s//\1/
7645 q
7646 }
7647 /^X\(\/\).*/{
7648 s//\1/
7649 q
7650 }
7651 s/.*/./; q'`
7652 as_dir="$ac_dir"; as_fn_mkdir_p
7653 ac_builddir=.
7654
7655 case "$ac_dir" in
7656 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7657 *)
7658 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7659 # A ".." for each directory in $ac_dir_suffix.
7660 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7661 case $ac_top_builddir_sub in
7662 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7663 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7664 esac ;;
7665 esac
7666 ac_abs_top_builddir=$ac_pwd
7667 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7668 # for backward compatibility:
7669 ac_top_builddir=$ac_top_build_prefix
7670
7671 case $srcdir in
7672 .) # We are building in place.
7673 ac_srcdir=.
7674 ac_top_srcdir=$ac_top_builddir_sub
7675 ac_abs_top_srcdir=$ac_pwd ;;
7676 [\\/]* | ?:[\\/]* ) # Absolute name.
7677 ac_srcdir=$srcdir$ac_dir_suffix;
7678 ac_top_srcdir=$srcdir
7679 ac_abs_top_srcdir=$srcdir ;;
7680 *) # Relative name.
7681 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7682 ac_top_srcdir=$ac_top_build_prefix$srcdir
7683 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7684 esac
7685 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7686
7687
7688 case $ac_mode in
7689 :F)
7690 #
7691 # CONFIG_FILE
7692 #
7693
7694 case $INSTALL in
7695 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7696 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7697 esac
7698 ac_MKDIR_P=$MKDIR_P
7699 case $MKDIR_P in
7700 [\\/$]* | ?:[\\/]* ) ;;
7701 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7702 esac
7703 _ACEOF
7704
7705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7706 # If the template does not know about datarootdir, expand it.
7707 # FIXME: This hack should be removed a few years after 2.60.
7708 ac_datarootdir_hack=; ac_datarootdir_seen=
7709 ac_sed_dataroot='
7710 /datarootdir/ {
7711 p
7712 q
7713 }
7714 /@datadir@/p
7715 /@docdir@/p
7716 /@infodir@/p
7717 /@localedir@/p
7718 /@mandir@/p'
7719 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7720 *datarootdir*) ac_datarootdir_seen=yes;;
7721 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7723 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7724 _ACEOF
7725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7726 ac_datarootdir_hack='
7727 s&@datadir@&$datadir&g
7728 s&@docdir@&$docdir&g
7729 s&@infodir@&$infodir&g
7730 s&@localedir@&$localedir&g
7731 s&@mandir@&$mandir&g
7732 s&\\\${datarootdir}&$datarootdir&g' ;;
7733 esac
7734 _ACEOF
7735
7736 # Neutralize VPATH when `$srcdir' = `.'.
7737 # Shell code in configure.ac might set extrasub.
7738 # FIXME: do we really want to maintain this feature?
7739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7740 ac_sed_extra="$ac_vpsub
7741 $extrasub
7742 _ACEOF
7743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7744 :t
7745 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7746 s|@configure_input@|$ac_sed_conf_input|;t t
7747 s&@top_builddir@&$ac_top_builddir_sub&;t t
7748 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7749 s&@srcdir@&$ac_srcdir&;t t
7750 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7751 s&@top_srcdir@&$ac_top_srcdir&;t t
7752 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7753 s&@builddir@&$ac_builddir&;t t
7754 s&@abs_builddir@&$ac_abs_builddir&;t t
7755 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7756 s&@INSTALL@&$ac_INSTALL&;t t
7757 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7758 $ac_datarootdir_hack
7759 "
7760 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7761 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7762
7763 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7764 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7765 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7766 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7768 which seems to be undefined. Please make sure it is defined" >&5
7769 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7770 which seems to be undefined. Please make sure it is defined" >&2;}
7771
7772 rm -f "$ac_tmp/stdin"
7773 case $ac_file in
7774 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7775 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7776 esac \
7777 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7778 ;;
7779 :H)
7780 #
7781 # CONFIG_HEADER
7782 #
7783 if test x"$ac_file" != x-; then
7784 {
7785 $as_echo "/* $configure_input */" \
7786 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7787 } >"$ac_tmp/config.h" \
7788 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7789 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7791 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7792 else
7793 rm -f "$ac_file"
7794 mv "$ac_tmp/config.h" "$ac_file" \
7795 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7796 fi
7797 else
7798 $as_echo "/* $configure_input */" \
7799 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7800 || as_fn_error $? "could not create -" "$LINENO" 5
7801 fi
7802 # Compute "$ac_file"'s index in $config_headers.
7803 _am_arg="$ac_file"
7804 _am_stamp_count=1
7805 for _am_header in $config_headers :; do
7806 case $_am_header in
7807 $_am_arg | $_am_arg:* )
7808 break ;;
7809 * )
7810 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7811 esac
7812 done
7813 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7814 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7815 X"$_am_arg" : 'X\(//\)[^/]' \| \
7816 X"$_am_arg" : 'X\(//\)$' \| \
7817 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7818 $as_echo X"$_am_arg" |
7819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7820 s//\1/
7821 q
7822 }
7823 /^X\(\/\/\)[^/].*/{
7824 s//\1/
7825 q
7826 }
7827 /^X\(\/\/\)$/{
7828 s//\1/
7829 q
7830 }
7831 /^X\(\/\).*/{
7832 s//\1/
7833 q
7834 }
7835 s/.*/./; q'`/stamp-h$_am_stamp_count
7836 ;;
7837
7838 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7839 $as_echo "$as_me: executing $ac_file commands" >&6;}
7840 ;;
7841 esac
7842
7843
7844 case $ac_file$ac_mode in
7845 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7846 # Older Autoconf quotes --file arguments for eval, but not when files
7847 # are listed without --file. Let's play safe and only enable the eval
7848 # if we detect the quoting.
7849 # TODO: see whether this extra hack can be removed once we start
7850 # requiring Autoconf 2.70 or later.
7851 case $CONFIG_FILES in #(
7852 *\'*) :
7853 eval set x "$CONFIG_FILES" ;; #(
7854 *) :
7855 set x $CONFIG_FILES ;; #(
7856 *) :
7857 ;;
7858 esac
7859 shift
7860 # Used to flag and report bootstrapping failures.
7861 am_rc=0
7862 for am_mf
7863 do
7864 # Strip MF so we end up with the name of the file.
7865 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
7866 # Check whether this is an Automake generated Makefile which includes
7867 # dependency-tracking related rules and includes.
7868 # Grep'ing the whole file directly is not great: AIX grep has a line
7869 # limit of 2048, but all sed's we know have understand at least 4000.
7870 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
7871 || continue
7872 am_dirpart=`$as_dirname -- "$am_mf" ||
7873 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7874 X"$am_mf" : 'X\(//\)[^/]' \| \
7875 X"$am_mf" : 'X\(//\)$' \| \
7876 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7877 $as_echo X"$am_mf" |
7878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7879 s//\1/
7880 q
7881 }
7882 /^X\(\/\/\)[^/].*/{
7883 s//\1/
7884 q
7885 }
7886 /^X\(\/\/\)$/{
7887 s//\1/
7888 q
7889 }
7890 /^X\(\/\).*/{
7891 s//\1/
7892 q
7893 }
7894 s/.*/./; q'`
7895 am_filepart=`$as_basename -- "$am_mf" ||
7896 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
7897 X"$am_mf" : 'X\(//\)$' \| \
7898 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7899 $as_echo X/"$am_mf" |
7900 sed '/^.*\/\([^/][^/]*\)\/*$/{
7901 s//\1/
7902 q
7903 }
7904 /^X\/\(\/\/\)$/{
7905 s//\1/
7906 q
7907 }
7908 /^X\/\(\/\).*/{
7909 s//\1/
7910 q
7911 }
7912 s/.*/./; q'`
7913 { echo "$as_me:$LINENO: cd "$am_dirpart" \
7914 && sed -e '/# am--include-marker/d' "$am_filepart" \
7915 | $MAKE -f - am--depfiles" >&5
7916 (cd "$am_dirpart" \
7917 && sed -e '/# am--include-marker/d' "$am_filepart" \
7918 | $MAKE -f - am--depfiles) >&5 2>&5
7919 ac_status=$?
7920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7921 (exit $ac_status); } || am_rc=$?
7922 done
7923 if test $am_rc -ne 0; then
7924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7926 as_fn_error $? "Something went wrong bootstrapping makefile fragments
7927 for automatic dependency tracking. Try re-running configure with the
7928 '--disable-dependency-tracking' option to at least be able to build
7929 the package (albeit without support for automatic dependency tracking).
7930 See \`config.log' for more details" "$LINENO" 5; }
7931 fi
7932 { am_dirpart=; unset am_dirpart;}
7933 { am_filepart=; unset am_filepart;}
7934 { am_mf=; unset am_mf;}
7935 { am_rc=; unset am_rc;}
7936 rm -f conftest-deps.mk
7937 }
7938 ;;
7939
7940 esac
7941 done # for ac_tag
7942
7943
7944 as_fn_exit 0
7945 _ACEOF
7946 ac_clean_files=$ac_clean_files_save
7947
7948 test $ac_write_fail = 0 ||
7949 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7950
7951
7952 # configure is writing to config.log, and then calls config.status.
7953 # config.status does its own redirection, appending to config.log.
7954 # Unfortunately, on DOS this fails, as config.log is still kept open
7955 # by configure, so config.status won't be able to write to it; its
7956 # output is simply discarded. So we exec the FD to /dev/null,
7957 # effectively closing config.log, so it can be properly (re)opened and
7958 # appended to by config.status. When coming back to configure, we
7959 # need to make the FD available again.
7960 if test "$no_create" != yes; then
7961 ac_cs_success=:
7962 ac_config_status_args=
7963 test "$silent" = yes &&
7964 ac_config_status_args="$ac_config_status_args --quiet"
7965 exec 5>/dev/null
7966 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7967 exec 5>>config.log
7968 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7969 # would make configure fail if this is the last instruction.
7970 $ac_cs_success || as_fn_exit 1
7971 fi
7972 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7974 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7975 fi
7976