Debian Codegraph @

configure

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