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