Debian Codegraph @

configure

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