Add hotkey for toggling focus between the search LineEdits
[qBittorrent.git] / configure
blobe4c129aad1502bdc8ed38628c3750a4ab4f8825a
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for qbittorrent v4.2.0alpha.
5 # Report bugs to <bugs.qbittorrent.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: bugs.qbittorrent.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='qbittorrent'
582 PACKAGE_TARNAME='qbittorrent'
583 PACKAGE_VERSION='v4.2.0alpha'
584 PACKAGE_STRING='qbittorrent v4.2.0alpha'
585 PACKAGE_BUGREPORT='bugs.qbittorrent.org'
586 PACKAGE_URL='https://www.qbittorrent.org/'
588 ac_subst_vars='am__EXEEXT_FALSE
589 am__EXEEXT_TRUE
590 LTLIBOBJS
591 LIBOBJS
592 QBT_REMOVE_DEFINES
593 QBT_ADD_DEFINES
594 QBT_REMOVE_CONFIG
595 QBT_ADD_CONFIG
596 QBT_CONF_EXTRA_CFLAGS
597 QBT_CONF_INCLUDES
598 EXPAND_MANDIR
599 EXPAND_DATADIR
600 EXPAND_BINDIR
601 EXPAND_PREFIX
602 zlib_LIBS
603 zlib_CFLAGS
604 libtorrent_LIBS
605 libtorrent_CFLAGS
606 BOOST_SYSTEM_LIB
607 BOOST_LDFLAGS
608 BOOST_CPPFLAGS
609 Qt5Svg_LIBS
610 Qt5Svg_CFLAGS
611 QT_QMAKE
612 PKG_CONFIG_LIBDIR
613 PKG_CONFIG_PATH
614 PKG_CONFIG
615 AM_BACKSLASH
616 AM_DEFAULT_VERBOSITY
617 AM_DEFAULT_V
618 AM_V
619 am__fastdepCXX_FALSE
620 am__fastdepCXX_TRUE
621 CXXDEPMODE
622 am__fastdepCC_FALSE
623 am__fastdepCC_TRUE
624 CCDEPMODE
625 am__nodep
626 AMDEPBACKSLASH
627 AMDEP_FALSE
628 AMDEP_TRUE
629 am__quote
630 am__include
631 DEPDIR
632 am__untar
633 am__tar
634 AMTAR
635 am__leading_dot
636 SET_MAKE
638 mkdir_p
639 MKDIR_P
640 INSTALL_STRIP_PROGRAM
641 STRIP
642 install_sh
643 MAKEINFO
644 AUTOHEADER
645 AUTOMAKE
646 AUTOCONF
647 ACLOCAL
648 VERSION
649 PACKAGE
650 CYGPATH_W
651 am__isrc
652 INSTALL_DATA
653 INSTALL_SCRIPT
654 INSTALL_PROGRAM
655 host_os
656 host_vendor
657 host_cpu
658 host
659 build_os
660 build_vendor
661 build_cpu
662 build
664 ac_ct_CXX
665 CXXFLAGS
667 OBJEXT
668 EXEEXT
669 ac_ct_CC
670 CPPFLAGS
671 LDFLAGS
672 CFLAGS
674 target_alias
675 host_alias
676 build_alias
677 LIBS
678 ECHO_T
679 ECHO_N
680 ECHO_C
681 DEFS
682 mandir
683 localedir
684 libdir
685 psdir
686 pdfdir
687 dvidir
688 htmldir
689 infodir
690 docdir
691 oldincludedir
692 includedir
693 runstatedir
694 localstatedir
695 sharedstatedir
696 sysconfdir
697 datadir
698 datarootdir
699 libexecdir
700 sbindir
701 bindir
702 program_transform_name
703 prefix
704 exec_prefix
705 PACKAGE_URL
706 PACKAGE_BUGREPORT
707 PACKAGE_STRING
708 PACKAGE_VERSION
709 PACKAGE_TARNAME
710 PACKAGE_NAME
711 PATH_SEPARATOR
712 SHELL'
713 ac_subst_files=''
714 ac_user_opts='
715 enable_option_checking
716 enable_dependency_tracking
717 enable_silent_rules
718 with_qtsingleapplication
719 enable_debug
720 enable_stacktrace
721 enable_gui
722 enable_systemd
723 enable_webui
724 enable_qt_dbus
725 with_boost
726 with_boost_libdir
727 with_boost_system
729 ac_precious_vars='build_alias
730 host_alias
731 target_alias
733 CFLAGS
734 LDFLAGS
735 LIBS
736 CPPFLAGS
738 CXXFLAGS
740 PKG_CONFIG
741 PKG_CONFIG_PATH
742 PKG_CONFIG_LIBDIR
743 QT_QMAKE
744 Qt5Svg_CFLAGS
745 Qt5Svg_LIBS
746 libtorrent_CFLAGS
747 libtorrent_LIBS
748 zlib_CFLAGS
749 zlib_LIBS'
752 # Initialize some variables set by options.
753 ac_init_help=
754 ac_init_version=false
755 ac_unrecognized_opts=
756 ac_unrecognized_sep=
757 # The variables have the same names as the options, with
758 # dashes changed to underlines.
759 cache_file=/dev/null
760 exec_prefix=NONE
761 no_create=
762 no_recursion=
763 prefix=NONE
764 program_prefix=NONE
765 program_suffix=NONE
766 program_transform_name=s,x,x,
767 silent=
768 site=
769 srcdir=
770 verbose=
771 x_includes=NONE
772 x_libraries=NONE
774 # Installation directory options.
775 # These are left unexpanded so users can "make install exec_prefix=/foo"
776 # and all the variables that are supposed to be based on exec_prefix
777 # by default will actually change.
778 # Use braces instead of parens because sh, perl, etc. also accept them.
779 # (The list follows the same order as the GNU Coding Standards.)
780 bindir='${exec_prefix}/bin'
781 sbindir='${exec_prefix}/sbin'
782 libexecdir='${exec_prefix}/libexec'
783 datarootdir='${prefix}/share'
784 datadir='${datarootdir}'
785 sysconfdir='${prefix}/etc'
786 sharedstatedir='${prefix}/com'
787 localstatedir='${prefix}/var'
788 runstatedir='${localstatedir}/run'
789 includedir='${prefix}/include'
790 oldincludedir='/usr/include'
791 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
792 infodir='${datarootdir}/info'
793 htmldir='${docdir}'
794 dvidir='${docdir}'
795 pdfdir='${docdir}'
796 psdir='${docdir}'
797 libdir='${exec_prefix}/lib'
798 localedir='${datarootdir}/locale'
799 mandir='${datarootdir}/man'
801 ac_prev=
802 ac_dashdash=
803 for ac_option
805 # If the previous option needs an argument, assign it.
806 if test -n "$ac_prev"; then
807 eval $ac_prev=\$ac_option
808 ac_prev=
809 continue
812 case $ac_option in
813 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
814 *=) ac_optarg= ;;
815 *) ac_optarg=yes ;;
816 esac
818 # Accept the important Cygnus configure options, so we can diagnose typos.
820 case $ac_dashdash$ac_option in
822 ac_dashdash=yes ;;
824 -bindir | --bindir | --bindi | --bind | --bin | --bi)
825 ac_prev=bindir ;;
826 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
827 bindir=$ac_optarg ;;
829 -build | --build | --buil | --bui | --bu)
830 ac_prev=build_alias ;;
831 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
832 build_alias=$ac_optarg ;;
834 -cache-file | --cache-file | --cache-fil | --cache-fi \
835 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
836 ac_prev=cache_file ;;
837 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
838 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
839 cache_file=$ac_optarg ;;
841 --config-cache | -C)
842 cache_file=config.cache ;;
844 -datadir | --datadir | --datadi | --datad)
845 ac_prev=datadir ;;
846 -datadir=* | --datadir=* | --datadi=* | --datad=*)
847 datadir=$ac_optarg ;;
849 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
850 | --dataroo | --dataro | --datar)
851 ac_prev=datarootdir ;;
852 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
853 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
854 datarootdir=$ac_optarg ;;
856 -disable-* | --disable-*)
857 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
858 # Reject names that are not valid shell variable names.
859 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
860 as_fn_error $? "invalid feature name: $ac_useropt"
861 ac_useropt_orig=$ac_useropt
862 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
863 case $ac_user_opts in
865 "enable_$ac_useropt"
866 "*) ;;
867 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
868 ac_unrecognized_sep=', ';;
869 esac
870 eval enable_$ac_useropt=no ;;
872 -docdir | --docdir | --docdi | --doc | --do)
873 ac_prev=docdir ;;
874 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
875 docdir=$ac_optarg ;;
877 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
878 ac_prev=dvidir ;;
879 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
880 dvidir=$ac_optarg ;;
882 -enable-* | --enable-*)
883 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
886 as_fn_error $? "invalid feature name: $ac_useropt"
887 ac_useropt_orig=$ac_useropt
888 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
891 "enable_$ac_useropt"
892 "*) ;;
893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
894 ac_unrecognized_sep=', ';;
895 esac
896 eval enable_$ac_useropt=\$ac_optarg ;;
898 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
899 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
900 | --exec | --exe | --ex)
901 ac_prev=exec_prefix ;;
902 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
903 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
904 | --exec=* | --exe=* | --ex=*)
905 exec_prefix=$ac_optarg ;;
907 -gas | --gas | --ga | --g)
908 # Obsolete; use --with-gas.
909 with_gas=yes ;;
911 -help | --help | --hel | --he | -h)
912 ac_init_help=long ;;
913 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
914 ac_init_help=recursive ;;
915 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
916 ac_init_help=short ;;
918 -host | --host | --hos | --ho)
919 ac_prev=host_alias ;;
920 -host=* | --host=* | --hos=* | --ho=*)
921 host_alias=$ac_optarg ;;
923 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
924 ac_prev=htmldir ;;
925 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
926 | --ht=*)
927 htmldir=$ac_optarg ;;
929 -includedir | --includedir | --includedi | --included | --include \
930 | --includ | --inclu | --incl | --inc)
931 ac_prev=includedir ;;
932 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
933 | --includ=* | --inclu=* | --incl=* | --inc=*)
934 includedir=$ac_optarg ;;
936 -infodir | --infodir | --infodi | --infod | --info | --inf)
937 ac_prev=infodir ;;
938 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
939 infodir=$ac_optarg ;;
941 -libdir | --libdir | --libdi | --libd)
942 ac_prev=libdir ;;
943 -libdir=* | --libdir=* | --libdi=* | --libd=*)
944 libdir=$ac_optarg ;;
946 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
947 | --libexe | --libex | --libe)
948 ac_prev=libexecdir ;;
949 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
950 | --libexe=* | --libex=* | --libe=*)
951 libexecdir=$ac_optarg ;;
953 -localedir | --localedir | --localedi | --localed | --locale)
954 ac_prev=localedir ;;
955 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
956 localedir=$ac_optarg ;;
958 -localstatedir | --localstatedir | --localstatedi | --localstated \
959 | --localstate | --localstat | --localsta | --localst | --locals)
960 ac_prev=localstatedir ;;
961 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
962 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
963 localstatedir=$ac_optarg ;;
965 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
966 ac_prev=mandir ;;
967 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
968 mandir=$ac_optarg ;;
970 -nfp | --nfp | --nf)
971 # Obsolete; use --without-fp.
972 with_fp=no ;;
974 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
975 | --no-cr | --no-c | -n)
976 no_create=yes ;;
978 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
979 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
980 no_recursion=yes ;;
982 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
983 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
984 | --oldin | --oldi | --old | --ol | --o)
985 ac_prev=oldincludedir ;;
986 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
987 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
988 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
989 oldincludedir=$ac_optarg ;;
991 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
992 ac_prev=prefix ;;
993 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
994 prefix=$ac_optarg ;;
996 -program-prefix | --program-prefix | --program-prefi | --program-pref \
997 | --program-pre | --program-pr | --program-p)
998 ac_prev=program_prefix ;;
999 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1000 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1001 program_prefix=$ac_optarg ;;
1003 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1004 | --program-suf | --program-su | --program-s)
1005 ac_prev=program_suffix ;;
1006 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1007 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1008 program_suffix=$ac_optarg ;;
1010 -program-transform-name | --program-transform-name \
1011 | --program-transform-nam | --program-transform-na \
1012 | --program-transform-n | --program-transform- \
1013 | --program-transform | --program-transfor \
1014 | --program-transfo | --program-transf \
1015 | --program-trans | --program-tran \
1016 | --progr-tra | --program-tr | --program-t)
1017 ac_prev=program_transform_name ;;
1018 -program-transform-name=* | --program-transform-name=* \
1019 | --program-transform-nam=* | --program-transform-na=* \
1020 | --program-transform-n=* | --program-transform-=* \
1021 | --program-transform=* | --program-transfor=* \
1022 | --program-transfo=* | --program-transf=* \
1023 | --program-trans=* | --program-tran=* \
1024 | --progr-tra=* | --program-tr=* | --program-t=*)
1025 program_transform_name=$ac_optarg ;;
1027 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1028 ac_prev=pdfdir ;;
1029 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1030 pdfdir=$ac_optarg ;;
1032 -psdir | --psdir | --psdi | --psd | --ps)
1033 ac_prev=psdir ;;
1034 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1035 psdir=$ac_optarg ;;
1037 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038 | -silent | --silent | --silen | --sile | --sil)
1039 silent=yes ;;
1041 -runstatedir | --runstatedir | --runstatedi | --runstated \
1042 | --runstate | --runstat | --runsta | --runst | --runs \
1043 | --run | --ru | --r)
1044 ac_prev=runstatedir ;;
1045 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1046 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1047 | --run=* | --ru=* | --r=*)
1048 runstatedir=$ac_optarg ;;
1050 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1051 ac_prev=sbindir ;;
1052 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1053 | --sbi=* | --sb=*)
1054 sbindir=$ac_optarg ;;
1056 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1057 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1058 | --sharedst | --shareds | --shared | --share | --shar \
1059 | --sha | --sh)
1060 ac_prev=sharedstatedir ;;
1061 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1062 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1063 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1064 | --sha=* | --sh=*)
1065 sharedstatedir=$ac_optarg ;;
1067 -site | --site | --sit)
1068 ac_prev=site ;;
1069 -site=* | --site=* | --sit=*)
1070 site=$ac_optarg ;;
1072 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1073 ac_prev=srcdir ;;
1074 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1075 srcdir=$ac_optarg ;;
1077 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1078 | --syscon | --sysco | --sysc | --sys | --sy)
1079 ac_prev=sysconfdir ;;
1080 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1081 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1082 sysconfdir=$ac_optarg ;;
1084 -target | --target | --targe | --targ | --tar | --ta | --t)
1085 ac_prev=target_alias ;;
1086 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1087 target_alias=$ac_optarg ;;
1089 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1090 verbose=yes ;;
1092 -version | --version | --versio | --versi | --vers | -V)
1093 ac_init_version=: ;;
1095 -with-* | --with-*)
1096 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099 as_fn_error $? "invalid package name: $ac_useropt"
1100 ac_useropt_orig=$ac_useropt
1101 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1104 "with_$ac_useropt"
1105 "*) ;;
1106 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107 ac_unrecognized_sep=', ';;
1108 esac
1109 eval with_$ac_useropt=\$ac_optarg ;;
1111 -without-* | --without-*)
1112 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115 as_fn_error $? "invalid package name: $ac_useropt"
1116 ac_useropt_orig=$ac_useropt
1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1120 "with_$ac_useropt"
1121 "*) ;;
1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123 ac_unrecognized_sep=', ';;
1124 esac
1125 eval with_$ac_useropt=no ;;
1127 --x)
1128 # Obsolete; use --with-x.
1129 with_x=yes ;;
1131 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1132 | --x-incl | --x-inc | --x-in | --x-i)
1133 ac_prev=x_includes ;;
1134 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1135 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1136 x_includes=$ac_optarg ;;
1138 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1139 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1140 ac_prev=x_libraries ;;
1141 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1142 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143 x_libraries=$ac_optarg ;;
1145 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information"
1149 *=*)
1150 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 case $ac_envvar in #(
1153 '' | [0-9]* | *[!_$as_cr_alnum]* )
1154 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1155 esac
1156 eval $ac_envvar=\$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1167 esac
1168 done
1170 if test -n "$ac_prev"; then
1171 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1172 as_fn_error $? "missing argument to $ac_option"
1175 if test -n "$ac_unrecognized_opts"; then
1176 case $enable_option_checking in
1177 no) ;;
1178 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1179 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1180 esac
1183 # Check all directory arguments for consistency.
1184 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir runstatedir
1189 eval ac_val=\$$ac_var
1190 # Remove trailing slashes.
1191 case $ac_val in
1192 */ )
1193 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194 eval $ac_var=\$ac_val;;
1195 esac
1196 # Be sure to have absolute directory names.
1197 case $ac_val in
1198 [\\/$]* | ?:[\\/]* ) continue;;
1199 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1200 esac
1201 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1202 done
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1207 build=$build_alias
1208 host=$host_alias
1209 target=$target_alias
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x; then
1213 if test "x$build_alias" = x; then
1214 cross_compiling=maybe
1215 elif test "x$build_alias" != "x$host_alias"; then
1216 cross_compiling=yes
1220 ac_tool_prefix=
1221 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1223 test "$silent" = yes && exec 6>/dev/null
1226 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1227 ac_ls_di=`ls -di .` &&
1228 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1229 as_fn_error $? "working directory cannot be determined"
1230 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1231 as_fn_error $? "pwd does not report name of working directory"
1234 # Find the source files, if location was not specified.
1235 if test -z "$srcdir"; then
1236 ac_srcdir_defaulted=yes
1237 # Try the directory containing this script, then the parent directory.
1238 ac_confdir=`$as_dirname -- "$as_myself" ||
1239 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1240 X"$as_myself" : 'X\(//\)[^/]' \| \
1241 X"$as_myself" : 'X\(//\)$' \| \
1242 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1243 $as_echo X"$as_myself" |
1244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1245 s//\1/
1248 /^X\(\/\/\)[^/].*/{
1249 s//\1/
1252 /^X\(\/\/\)$/{
1253 s//\1/
1256 /^X\(\/\).*/{
1257 s//\1/
1260 s/.*/./; q'`
1261 srcdir=$ac_confdir
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 srcdir=..
1265 else
1266 ac_srcdir_defaulted=no
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1269 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1270 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1272 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1273 ac_abs_confdir=`(
1274 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1275 pwd)`
1276 # When building in place, set srcdir=.
1277 if test "$ac_abs_confdir" = "$ac_pwd"; then
1278 srcdir=.
1280 # Remove unnecessary trailing slashes from srcdir.
1281 # Double slashes in file names in object file debugging info
1282 # mess up M-x gdb in Emacs.
1283 case $srcdir in
1284 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1285 esac
1286 for ac_var in $ac_precious_vars; do
1287 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1288 eval ac_env_${ac_var}_value=\$${ac_var}
1289 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1290 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1291 done
1294 # Report the --help message.
1296 if test "$ac_init_help" = "long"; then
1297 # Omit some internal or obsolete options to make the list less imposing.
1298 # This message is too long to be a string in the A/UX 3.1 sh.
1299 cat <<_ACEOF
1300 \`configure' configures qbittorrent v4.2.0alpha to adapt to many kinds of systems.
1302 Usage: $0 [OPTION]... [VAR=VALUE]...
1304 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1305 VAR=VALUE. See below for descriptions of some of the useful variables.
1307 Defaults for the options are specified in brackets.
1309 Configuration:
1310 -h, --help display this help and exit
1311 --help=short display options specific to this package
1312 --help=recursive display the short help of all the included packages
1313 -V, --version display version information and exit
1314 -q, --quiet, --silent do not print \`checking ...' messages
1315 --cache-file=FILE cache test results in FILE [disabled]
1316 -C, --config-cache alias for \`--cache-file=config.cache'
1317 -n, --no-create do not create output files
1318 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1320 Installation directories:
1321 --prefix=PREFIX install architecture-independent files in PREFIX
1322 [$ac_default_prefix]
1323 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1324 [PREFIX]
1326 By default, \`make install' will install all the files in
1327 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1328 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1329 for instance \`--prefix=\$HOME'.
1331 For better control, use the options below.
1333 Fine tuning of the installation directories:
1334 --bindir=DIR user executables [EPREFIX/bin]
1335 --sbindir=DIR system admin executables [EPREFIX/sbin]
1336 --libexecdir=DIR program executables [EPREFIX/libexec]
1337 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1338 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1339 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1340 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1341 --libdir=DIR object code libraries [EPREFIX/lib]
1342 --includedir=DIR C header files [PREFIX/include]
1343 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1344 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1345 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1346 --infodir=DIR info documentation [DATAROOTDIR/info]
1347 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1348 --mandir=DIR man documentation [DATAROOTDIR/man]
1349 --docdir=DIR documentation root [DATAROOTDIR/doc/qbittorrent]
1350 --htmldir=DIR html documentation [DOCDIR]
1351 --dvidir=DIR dvi documentation [DOCDIR]
1352 --pdfdir=DIR pdf documentation [DOCDIR]
1353 --psdir=DIR ps documentation [DOCDIR]
1354 _ACEOF
1356 cat <<\_ACEOF
1358 Program names:
1359 --program-prefix=PREFIX prepend PREFIX to installed program names
1360 --program-suffix=SUFFIX append SUFFIX to installed program names
1361 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1363 System types:
1364 --build=BUILD configure for building on BUILD [guessed]
1365 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1366 _ACEOF
1369 if test -n "$ac_init_help"; then
1370 case $ac_init_help in
1371 short | recursive ) echo "Configuration of qbittorrent v4.2.0alpha:";;
1372 esac
1373 cat <<\_ACEOF
1375 Optional Features:
1376 --disable-option-checking ignore unrecognized --enable/--with options
1377 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1378 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1379 --enable-dependency-tracking
1380 do not reject slow dependency extractors
1381 --disable-dependency-tracking
1382 speeds up one-time build
1383 --enable-silent-rules less verbose build output (undo: "make V=1")
1384 --disable-silent-rules verbose build output (undo: "make V=0")
1385 --enable-debug Enable debug build
1386 --enable-stacktrace Enable stacktrace feature (default=auto)
1387 --disable-gui Disable the GUI for headless running. Disables
1388 QtDBus and the GeoIP Database.
1389 --enable-systemd Install the systemd service file (headless only).
1390 --disable-webui Disable the WebUI.
1391 --disable-qt-dbus Disable use of QtDBus (GUI only)
1393 Optional Packages:
1394 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1395 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1396 --with-qtsingleapplication=[system|shipped]
1397 Use the shipped qtsingleapplication library or the
1398 system one (default=shipped)
1399 --with-boost[=ARG] use Boost library from a standard location
1400 (ARG=yes), from the specified location (ARG=<path>),
1401 or disable it (ARG=no) [ARG=yes]
1402 --with-boost-libdir=LIB_DIR
1403 Force given directory for boost libraries. Note that
1404 this will override library path detection, so use
1405 this parameter only if default library detection
1406 fails and you know exactly where your boost
1407 libraries are located.
1408 --with-boost-system[=special-lib]
1409 use the System library from boost - it is possible
1410 to specify a certain library for the linker e.g.
1411 --with-boost-system=boost_system-gcc-mt
1413 Some influential environment variables:
1414 CC C compiler command
1415 CFLAGS C compiler flags
1416 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1417 nonstandard directory <lib dir>
1418 LIBS libraries to pass to the linker, e.g. -l<library>
1419 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1420 you have headers in a nonstandard directory <include dir>
1421 CXX C++ compiler command
1422 CXXFLAGS C++ compiler flags
1423 PKG_CONFIG path to pkg-config utility
1424 PKG_CONFIG_PATH
1425 directories to add to pkg-config's search path
1426 PKG_CONFIG_LIBDIR
1427 path overriding pkg-config's built-in search path
1428 QT_QMAKE value of host_bins for Qt5Core >= 5.5.1, overriding pkg-config
1429 Qt5Svg_CFLAGS
1430 C compiler flags for Qt5Svg, overriding pkg-config
1431 Qt5Svg_LIBS linker flags for Qt5Svg, overriding pkg-config
1432 libtorrent_CFLAGS
1433 C compiler flags for libtorrent, overriding pkg-config
1434 libtorrent_LIBS
1435 linker flags for libtorrent, overriding pkg-config
1436 zlib_CFLAGS C compiler flags for zlib, overriding pkg-config
1437 zlib_LIBS linker flags for zlib, overriding pkg-config
1439 Use these variables to override the choices made by `configure' or to help
1440 it to find libraries and programs with nonstandard names/locations.
1442 Report bugs to <bugs.qbittorrent.org>.
1443 qbittorrent home page: <https://www.qbittorrent.org/>.
1444 _ACEOF
1445 ac_status=$?
1448 if test "$ac_init_help" = "recursive"; then
1449 # If there are subdirs, report their specific --help.
1450 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1451 test -d "$ac_dir" ||
1452 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1453 continue
1454 ac_builddir=.
1456 case "$ac_dir" in
1457 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1460 # A ".." for each directory in $ac_dir_suffix.
1461 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1462 case $ac_top_builddir_sub in
1463 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1464 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1465 esac ;;
1466 esac
1467 ac_abs_top_builddir=$ac_pwd
1468 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1469 # for backward compatibility:
1470 ac_top_builddir=$ac_top_build_prefix
1472 case $srcdir in
1473 .) # We are building in place.
1474 ac_srcdir=.
1475 ac_top_srcdir=$ac_top_builddir_sub
1476 ac_abs_top_srcdir=$ac_pwd ;;
1477 [\\/]* | ?:[\\/]* ) # Absolute name.
1478 ac_srcdir=$srcdir$ac_dir_suffix;
1479 ac_top_srcdir=$srcdir
1480 ac_abs_top_srcdir=$srcdir ;;
1481 *) # Relative name.
1482 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1483 ac_top_srcdir=$ac_top_build_prefix$srcdir
1484 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1485 esac
1486 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1488 cd "$ac_dir" || { ac_status=$?; continue; }
1489 # Check for guested configure.
1490 if test -f "$ac_srcdir/configure.gnu"; then
1491 echo &&
1492 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1493 elif test -f "$ac_srcdir/configure"; then
1494 echo &&
1495 $SHELL "$ac_srcdir/configure" --help=recursive
1496 else
1497 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1498 fi || ac_status=$?
1499 cd "$ac_pwd" || { ac_status=$?; break; }
1500 done
1503 test -n "$ac_init_help" && exit $ac_status
1504 if $ac_init_version; then
1505 cat <<\_ACEOF
1506 qbittorrent configure v4.2.0alpha
1507 generated by GNU Autoconf 2.69
1509 Copyright (C) 2012 Free Software Foundation, Inc.
1510 This configure script is free software; the Free Software Foundation
1511 gives unlimited permission to copy, distribute and modify it.
1512 _ACEOF
1513 exit
1516 ## ------------------------ ##
1517 ## Autoconf initialization. ##
1518 ## ------------------------ ##
1520 # ac_fn_c_try_compile LINENO
1521 # --------------------------
1522 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1523 ac_fn_c_try_compile ()
1525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1526 rm -f conftest.$ac_objext
1527 if { { ac_try="$ac_compile"
1528 case "(($ac_try" in
1529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1530 *) ac_try_echo=$ac_try;;
1531 esac
1532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533 $as_echo "$ac_try_echo"; } >&5
1534 (eval "$ac_compile") 2>conftest.err
1535 ac_status=$?
1536 if test -s conftest.err; then
1537 grep -v '^ *+' conftest.err >conftest.er1
1538 cat conftest.er1 >&5
1539 mv -f conftest.er1 conftest.err
1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542 test $ac_status = 0; } && {
1543 test -z "$ac_c_werror_flag" ||
1544 test ! -s conftest.err
1545 } && test -s conftest.$ac_objext; then :
1546 ac_retval=0
1547 else
1548 $as_echo "$as_me: failed program was:" >&5
1549 sed 's/^/| /' conftest.$ac_ext >&5
1551 ac_retval=1
1553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1554 as_fn_set_status $ac_retval
1556 } # ac_fn_c_try_compile
1558 # ac_fn_cxx_try_compile LINENO
1559 # ----------------------------
1560 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1561 ac_fn_cxx_try_compile ()
1563 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564 rm -f conftest.$ac_objext
1565 if { { ac_try="$ac_compile"
1566 case "(($ac_try" in
1567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1568 *) ac_try_echo=$ac_try;;
1569 esac
1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_compile") 2>conftest.err
1573 ac_status=$?
1574 if test -s conftest.err; then
1575 grep -v '^ *+' conftest.err >conftest.er1
1576 cat conftest.er1 >&5
1577 mv -f conftest.er1 conftest.err
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } && {
1581 test -z "$ac_cxx_werror_flag" ||
1582 test ! -s conftest.err
1583 } && test -s conftest.$ac_objext; then :
1584 ac_retval=0
1585 else
1586 $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.$ac_ext >&5
1589 ac_retval=1
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status $ac_retval
1594 } # ac_fn_cxx_try_compile
1596 # ac_fn_cxx_try_link LINENO
1597 # -------------------------
1598 # Try to link conftest.$ac_ext, and return whether this succeeded.
1599 ac_fn_cxx_try_link ()
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 rm -f conftest.$ac_objext conftest$ac_exeext
1603 if { { ac_try="$ac_link"
1604 case "(($ac_try" in
1605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1606 *) ac_try_echo=$ac_try;;
1607 esac
1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609 $as_echo "$ac_try_echo"; } >&5
1610 (eval "$ac_link") 2>conftest.err
1611 ac_status=$?
1612 if test -s conftest.err; then
1613 grep -v '^ *+' conftest.err >conftest.er1
1614 cat conftest.er1 >&5
1615 mv -f conftest.er1 conftest.err
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } && {
1619 test -z "$ac_cxx_werror_flag" ||
1620 test ! -s conftest.err
1621 } && test -s conftest$ac_exeext && {
1622 test "$cross_compiling" = yes ||
1623 test -x conftest$ac_exeext
1624 }; then :
1625 ac_retval=0
1626 else
1627 $as_echo "$as_me: failed program was:" >&5
1628 sed 's/^/| /' conftest.$ac_ext >&5
1630 ac_retval=1
1632 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1633 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1634 # interfere with the next link command; also delete a directory that is
1635 # left behind by Apple's compiler. We do this before executing the actions.
1636 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638 as_fn_set_status $ac_retval
1640 } # ac_fn_cxx_try_link
1641 cat >config.log <<_ACEOF
1642 This file contains any messages produced by compilers while
1643 running configure, to aid debugging if configure makes a mistake.
1645 It was created by qbittorrent $as_me v4.2.0alpha, which was
1646 generated by GNU Autoconf 2.69. Invocation command line was
1648 $ $0 $@
1650 _ACEOF
1651 exec 5>>config.log
1653 cat <<_ASUNAME
1654 ## --------- ##
1655 ## Platform. ##
1656 ## --------- ##
1658 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1659 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1660 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1661 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1662 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1664 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1665 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1667 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1668 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1669 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1670 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1671 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1672 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1673 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1675 _ASUNAME
1677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1678 for as_dir in $PATH
1680 IFS=$as_save_IFS
1681 test -z "$as_dir" && as_dir=.
1682 $as_echo "PATH: $as_dir"
1683 done
1684 IFS=$as_save_IFS
1686 } >&5
1688 cat >&5 <<_ACEOF
1691 ## ----------- ##
1692 ## Core tests. ##
1693 ## ----------- ##
1695 _ACEOF
1698 # Keep a trace of the command line.
1699 # Strip out --no-create and --no-recursion so they do not pile up.
1700 # Strip out --silent because we don't want to record it for future runs.
1701 # Also quote any args containing shell meta-characters.
1702 # Make two passes to allow for proper duplicate-argument suppression.
1703 ac_configure_args=
1704 ac_configure_args0=
1705 ac_configure_args1=
1706 ac_must_keep_next=false
1707 for ac_pass in 1 2
1709 for ac_arg
1711 case $ac_arg in
1712 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1713 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1714 | -silent | --silent | --silen | --sile | --sil)
1715 continue ;;
1716 *\'*)
1717 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1718 esac
1719 case $ac_pass in
1720 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1722 as_fn_append ac_configure_args1 " '$ac_arg'"
1723 if test $ac_must_keep_next = true; then
1724 ac_must_keep_next=false # Got value, back to normal.
1725 else
1726 case $ac_arg in
1727 *=* | --config-cache | -C | -disable-* | --disable-* \
1728 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1729 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1730 | -with-* | --with-* | -without-* | --without-* | --x)
1731 case "$ac_configure_args0 " in
1732 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1733 esac
1735 -* ) ac_must_keep_next=true ;;
1736 esac
1738 as_fn_append ac_configure_args " '$ac_arg'"
1740 esac
1741 done
1742 done
1743 { ac_configure_args0=; unset ac_configure_args0;}
1744 { ac_configure_args1=; unset ac_configure_args1;}
1746 # When interrupted or exit'd, cleanup temporary files, and complete
1747 # config.log. We remove comments because anyway the quotes in there
1748 # would cause problems or look ugly.
1749 # WARNING: Use '\'' to represent an apostrophe within the trap.
1750 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1751 trap 'exit_status=$?
1752 # Save into config.log some information that might help in debugging.
1754 echo
1756 $as_echo "## ---------------- ##
1757 ## Cache variables. ##
1758 ## ---------------- ##"
1759 echo
1760 # The following way of writing the cache mishandles newlines in values,
1762 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1763 eval ac_val=\$$ac_var
1764 case $ac_val in #(
1765 *${as_nl}*)
1766 case $ac_var in #(
1767 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1768 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1769 esac
1770 case $ac_var in #(
1771 _ | IFS | as_nl) ;; #(
1772 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1773 *) { eval $ac_var=; unset $ac_var;} ;;
1774 esac ;;
1775 esac
1776 done
1777 (set) 2>&1 |
1778 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1779 *${as_nl}ac_space=\ *)
1780 sed -n \
1781 "s/'\''/'\''\\\\'\'''\''/g;
1782 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1783 ;; #(
1785 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1787 esac |
1788 sort
1790 echo
1792 $as_echo "## ----------------- ##
1793 ## Output variables. ##
1794 ## ----------------- ##"
1795 echo
1796 for ac_var in $ac_subst_vars
1798 eval ac_val=\$$ac_var
1799 case $ac_val in
1800 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1801 esac
1802 $as_echo "$ac_var='\''$ac_val'\''"
1803 done | sort
1804 echo
1806 if test -n "$ac_subst_files"; then
1807 $as_echo "## ------------------- ##
1808 ## File substitutions. ##
1809 ## ------------------- ##"
1810 echo
1811 for ac_var in $ac_subst_files
1813 eval ac_val=\$$ac_var
1814 case $ac_val in
1815 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1816 esac
1817 $as_echo "$ac_var='\''$ac_val'\''"
1818 done | sort
1819 echo
1822 if test -s confdefs.h; then
1823 $as_echo "## ----------- ##
1824 ## confdefs.h. ##
1825 ## ----------- ##"
1826 echo
1827 cat confdefs.h
1828 echo
1830 test "$ac_signal" != 0 &&
1831 $as_echo "$as_me: caught signal $ac_signal"
1832 $as_echo "$as_me: exit $exit_status"
1833 } >&5
1834 rm -f core *.core core.conftest.* &&
1835 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1836 exit $exit_status
1838 for ac_signal in 1 2 13 15; do
1839 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1840 done
1841 ac_signal=0
1843 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1844 rm -f -r conftest* confdefs.h
1846 $as_echo "/* confdefs.h */" > confdefs.h
1848 # Predefined preprocessor variables.
1850 cat >>confdefs.h <<_ACEOF
1851 #define PACKAGE_NAME "$PACKAGE_NAME"
1852 _ACEOF
1854 cat >>confdefs.h <<_ACEOF
1855 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1856 _ACEOF
1858 cat >>confdefs.h <<_ACEOF
1859 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1860 _ACEOF
1862 cat >>confdefs.h <<_ACEOF
1863 #define PACKAGE_STRING "$PACKAGE_STRING"
1864 _ACEOF
1866 cat >>confdefs.h <<_ACEOF
1867 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1868 _ACEOF
1870 cat >>confdefs.h <<_ACEOF
1871 #define PACKAGE_URL "$PACKAGE_URL"
1872 _ACEOF
1875 # Let the site file select an alternate cache file if it wants to.
1876 # Prefer an explicitly selected file to automatically selected ones.
1877 ac_site_file1=NONE
1878 ac_site_file2=NONE
1879 if test -n "$CONFIG_SITE"; then
1880 # We do not want a PATH search for config.site.
1881 case $CONFIG_SITE in #((
1882 -*) ac_site_file1=./$CONFIG_SITE;;
1883 */*) ac_site_file1=$CONFIG_SITE;;
1884 *) ac_site_file1=./$CONFIG_SITE;;
1885 esac
1886 elif test "x$prefix" != xNONE; then
1887 ac_site_file1=$prefix/share/config.site
1888 ac_site_file2=$prefix/etc/config.site
1889 else
1890 ac_site_file1=$ac_default_prefix/share/config.site
1891 ac_site_file2=$ac_default_prefix/etc/config.site
1893 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1895 test "x$ac_site_file" = xNONE && continue
1896 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1898 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1899 sed 's/^/| /' "$ac_site_file" >&5
1900 . "$ac_site_file" \
1901 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1903 as_fn_error $? "failed to load site script $ac_site_file
1904 See \`config.log' for more details" "$LINENO" 5; }
1906 done
1908 if test -r "$cache_file"; then
1909 # Some versions of bash will fail to source /dev/null (special files
1910 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1911 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1913 $as_echo "$as_me: loading cache $cache_file" >&6;}
1914 case $cache_file in
1915 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1916 *) . "./$cache_file";;
1917 esac
1919 else
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1921 $as_echo "$as_me: creating cache $cache_file" >&6;}
1922 >$cache_file
1925 # Check that the precious variables saved in the cache have kept the same
1926 # value.
1927 ac_cache_corrupted=false
1928 for ac_var in $ac_precious_vars; do
1929 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1930 eval ac_new_set=\$ac_env_${ac_var}_set
1931 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1932 eval ac_new_val=\$ac_env_${ac_var}_value
1933 case $ac_old_set,$ac_new_set in
1934 set,)
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1936 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1937 ac_cache_corrupted=: ;;
1938 ,set)
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1940 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1941 ac_cache_corrupted=: ;;
1942 ,);;
1944 if test "x$ac_old_val" != "x$ac_new_val"; then
1945 # differences in whitespace do not lead to failure.
1946 ac_old_val_w=`echo x $ac_old_val`
1947 ac_new_val_w=`echo x $ac_new_val`
1948 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1950 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1951 ac_cache_corrupted=:
1952 else
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1954 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1955 eval $ac_var=\$ac_old_val
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1958 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1960 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1961 fi;;
1962 esac
1963 # Pass precious variables to config.status.
1964 if test "$ac_new_set" = set; then
1965 case $ac_new_val in
1966 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1967 *) ac_arg=$ac_var=$ac_new_val ;;
1968 esac
1969 case " $ac_configure_args " in
1970 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1971 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1972 esac
1974 done
1975 if $ac_cache_corrupted; then
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1979 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1980 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1982 ## -------------------- ##
1983 ## Main body of script. ##
1984 ## -------------------- ##
1986 ac_ext=c
1987 ac_cpp='$CPP $CPPFLAGS'
1988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1993 ac_aux_dir=
1994 for ac_dir in build-aux "$srcdir"/build-aux; do
1995 if test -f "$ac_dir/install-sh"; then
1996 ac_aux_dir=$ac_dir
1997 ac_install_sh="$ac_aux_dir/install-sh -c"
1998 break
1999 elif test -f "$ac_dir/install.sh"; then
2000 ac_aux_dir=$ac_dir
2001 ac_install_sh="$ac_aux_dir/install.sh -c"
2002 break
2003 elif test -f "$ac_dir/shtool"; then
2004 ac_aux_dir=$ac_dir
2005 ac_install_sh="$ac_aux_dir/shtool install -c"
2006 break
2008 done
2009 if test -z "$ac_aux_dir"; then
2010 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2013 # These three variables are undocumented and unsupported,
2014 # and are intended to be withdrawn in a future Autoconf release.
2015 # They can cause serious problems if a builder's source tree is in a directory
2016 # whose full name contains unusual characters.
2017 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2018 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2019 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2023 ac_ext=c
2024 ac_cpp='$CPP $CPPFLAGS'
2025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2028 if test -n "$ac_tool_prefix"; then
2029 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2030 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2032 $as_echo_n "checking for $ac_word... " >&6; }
2033 if ${ac_cv_prog_CC+:} false; then :
2034 $as_echo_n "(cached) " >&6
2035 else
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC="$CC" # Let the user override the test.
2038 else
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040 for as_dir in $PATH
2042 IFS=$as_save_IFS
2043 test -z "$as_dir" && as_dir=.
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2046 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2048 break 2
2050 done
2051 done
2052 IFS=$as_save_IFS
2056 CC=$ac_cv_prog_CC
2057 if test -n "$CC"; then
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2059 $as_echo "$CC" >&6; }
2060 else
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2062 $as_echo "no" >&6; }
2067 if test -z "$ac_cv_prog_CC"; then
2068 ac_ct_CC=$CC
2069 # Extract the first word of "gcc", so it can be a program name with args.
2070 set dummy gcc; ac_word=$2
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2072 $as_echo_n "checking for $ac_word... " >&6; }
2073 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2074 $as_echo_n "(cached) " >&6
2075 else
2076 if test -n "$ac_ct_CC"; then
2077 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2078 else
2079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 for as_dir in $PATH
2082 IFS=$as_save_IFS
2083 test -z "$as_dir" && as_dir=.
2084 for ac_exec_ext in '' $ac_executable_extensions; do
2085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2086 ac_cv_prog_ac_ct_CC="gcc"
2087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2088 break 2
2090 done
2091 done
2092 IFS=$as_save_IFS
2096 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2097 if test -n "$ac_ct_CC"; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2099 $as_echo "$ac_ct_CC" >&6; }
2100 else
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2102 $as_echo "no" >&6; }
2105 if test "x$ac_ct_CC" = x; then
2106 CC=""
2107 else
2108 case $cross_compiling:$ac_tool_warned in
2109 yes:)
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2112 ac_tool_warned=yes ;;
2113 esac
2114 CC=$ac_ct_CC
2116 else
2117 CC="$ac_cv_prog_CC"
2120 if test -z "$CC"; then
2121 if test -n "$ac_tool_prefix"; then
2122 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2123 set dummy ${ac_tool_prefix}cc; ac_word=$2
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2125 $as_echo_n "checking for $ac_word... " >&6; }
2126 if ${ac_cv_prog_CC+:} false; then :
2127 $as_echo_n "(cached) " >&6
2128 else
2129 if test -n "$CC"; then
2130 ac_cv_prog_CC="$CC" # Let the user override the test.
2131 else
2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 for as_dir in $PATH
2135 IFS=$as_save_IFS
2136 test -z "$as_dir" && as_dir=.
2137 for ac_exec_ext in '' $ac_executable_extensions; do
2138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2139 ac_cv_prog_CC="${ac_tool_prefix}cc"
2140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2141 break 2
2143 done
2144 done
2145 IFS=$as_save_IFS
2149 CC=$ac_cv_prog_CC
2150 if test -n "$CC"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2152 $as_echo "$CC" >&6; }
2153 else
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2155 $as_echo "no" >&6; }
2161 if test -z "$CC"; then
2162 # Extract the first word of "cc", so it can be a program name with args.
2163 set dummy cc; ac_word=$2
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2165 $as_echo_n "checking for $ac_word... " >&6; }
2166 if ${ac_cv_prog_CC+:} false; then :
2167 $as_echo_n "(cached) " >&6
2168 else
2169 if test -n "$CC"; then
2170 ac_cv_prog_CC="$CC" # Let the user override the test.
2171 else
2172 ac_prog_rejected=no
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174 for as_dir in $PATH
2176 IFS=$as_save_IFS
2177 test -z "$as_dir" && as_dir=.
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2180 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2181 ac_prog_rejected=yes
2182 continue
2184 ac_cv_prog_CC="cc"
2185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2186 break 2
2188 done
2189 done
2190 IFS=$as_save_IFS
2192 if test $ac_prog_rejected = yes; then
2193 # We found a bogon in the path, so make sure we never use it.
2194 set dummy $ac_cv_prog_CC
2195 shift
2196 if test $# != 0; then
2197 # We chose a different compiler from the bogus one.
2198 # However, it has the same basename, so the bogon will be chosen
2199 # first if we set CC to just the basename; use the full file name.
2200 shift
2201 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2206 CC=$ac_cv_prog_CC
2207 if test -n "$CC"; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2209 $as_echo "$CC" >&6; }
2210 else
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2212 $as_echo "no" >&6; }
2217 if test -z "$CC"; then
2218 if test -n "$ac_tool_prefix"; then
2219 for ac_prog in cl.exe
2221 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2222 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2224 $as_echo_n "checking for $ac_word... " >&6; }
2225 if ${ac_cv_prog_CC+:} false; then :
2226 $as_echo_n "(cached) " >&6
2227 else
2228 if test -n "$CC"; then
2229 ac_cv_prog_CC="$CC" # Let the user override the test.
2230 else
2231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2232 for as_dir in $PATH
2234 IFS=$as_save_IFS
2235 test -z "$as_dir" && as_dir=.
2236 for ac_exec_ext in '' $ac_executable_extensions; do
2237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2238 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2240 break 2
2242 done
2243 done
2244 IFS=$as_save_IFS
2248 CC=$ac_cv_prog_CC
2249 if test -n "$CC"; then
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2251 $as_echo "$CC" >&6; }
2252 else
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2254 $as_echo "no" >&6; }
2258 test -n "$CC" && break
2259 done
2261 if test -z "$CC"; then
2262 ac_ct_CC=$CC
2263 for ac_prog in cl.exe
2265 # Extract the first word of "$ac_prog", so it can be a program name with args.
2266 set dummy $ac_prog; ac_word=$2
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2268 $as_echo_n "checking for $ac_word... " >&6; }
2269 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2270 $as_echo_n "(cached) " >&6
2271 else
2272 if test -n "$ac_ct_CC"; then
2273 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2274 else
2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 for as_dir in $PATH
2278 IFS=$as_save_IFS
2279 test -z "$as_dir" && as_dir=.
2280 for ac_exec_ext in '' $ac_executable_extensions; do
2281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2282 ac_cv_prog_ac_ct_CC="$ac_prog"
2283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 break 2
2286 done
2287 done
2288 IFS=$as_save_IFS
2292 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2293 if test -n "$ac_ct_CC"; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2295 $as_echo "$ac_ct_CC" >&6; }
2296 else
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2298 $as_echo "no" >&6; }
2302 test -n "$ac_ct_CC" && break
2303 done
2305 if test "x$ac_ct_CC" = x; then
2306 CC=""
2307 else
2308 case $cross_compiling:$ac_tool_warned in
2309 yes:)
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2312 ac_tool_warned=yes ;;
2313 esac
2314 CC=$ac_ct_CC
2321 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2323 as_fn_error $? "no acceptable C compiler found in \$PATH
2324 See \`config.log' for more details" "$LINENO" 5; }
2326 # Provide some information about the compiler.
2327 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2328 set X $ac_compile
2329 ac_compiler=$2
2330 for ac_option in --version -v -V -qversion; do
2331 { { ac_try="$ac_compiler $ac_option >&5"
2332 case "(($ac_try" in
2333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2334 *) ac_try_echo=$ac_try;;
2335 esac
2336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2337 $as_echo "$ac_try_echo"; } >&5
2338 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2339 ac_status=$?
2340 if test -s conftest.err; then
2341 sed '10a\
2342 ... rest of stderr output deleted ...
2343 10q' conftest.err >conftest.er1
2344 cat conftest.er1 >&5
2346 rm -f conftest.er1 conftest.err
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; }
2349 done
2351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2352 /* end confdefs.h. */
2355 main ()
2359 return 0;
2361 _ACEOF
2362 ac_clean_files_save=$ac_clean_files
2363 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2364 # Try to create an executable without -o first, disregard a.out.
2365 # It will help us diagnose broken compilers, and finding out an intuition
2366 # of exeext.
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2368 $as_echo_n "checking whether the C compiler works... " >&6; }
2369 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2371 # The possible output files:
2372 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2374 ac_rmfiles=
2375 for ac_file in $ac_files
2377 case $ac_file in
2378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2379 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2380 esac
2381 done
2382 rm -f $ac_rmfiles
2384 if { { ac_try="$ac_link_default"
2385 case "(($ac_try" in
2386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2387 *) ac_try_echo=$ac_try;;
2388 esac
2389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2390 $as_echo "$ac_try_echo"; } >&5
2391 (eval "$ac_link_default") 2>&5
2392 ac_status=$?
2393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2394 test $ac_status = 0; }; then :
2395 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2396 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2397 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2398 # so that the user can short-circuit this test for compilers unknown to
2399 # Autoconf.
2400 for ac_file in $ac_files ''
2402 test -f "$ac_file" || continue
2403 case $ac_file in
2404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2406 [ab].out )
2407 # We found the default executable, but exeext='' is most
2408 # certainly right.
2409 break;;
2410 *.* )
2411 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2412 then :; else
2413 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2415 # We set ac_cv_exeext here because the later test for it is not
2416 # safe: cross compilers may not add the suffix if given an `-o'
2417 # argument, so we may need to know it at that point already.
2418 # Even if this section looks crufty: it has the advantage of
2419 # actually working.
2420 break;;
2422 break;;
2423 esac
2424 done
2425 test "$ac_cv_exeext" = no && ac_cv_exeext=
2427 else
2428 ac_file=''
2430 if test -z "$ac_file"; then :
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2432 $as_echo "no" >&6; }
2433 $as_echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.$ac_ext >&5
2436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2438 as_fn_error 77 "C compiler cannot create executables
2439 See \`config.log' for more details" "$LINENO" 5; }
2440 else
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2442 $as_echo "yes" >&6; }
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2445 $as_echo_n "checking for C compiler default output file name... " >&6; }
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2447 $as_echo "$ac_file" >&6; }
2448 ac_exeext=$ac_cv_exeext
2450 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2451 ac_clean_files=$ac_clean_files_save
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2453 $as_echo_n "checking for suffix of executables... " >&6; }
2454 if { { ac_try="$ac_link"
2455 case "(($ac_try" in
2456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2457 *) ac_try_echo=$ac_try;;
2458 esac
2459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2460 $as_echo "$ac_try_echo"; } >&5
2461 (eval "$ac_link") 2>&5
2462 ac_status=$?
2463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2464 test $ac_status = 0; }; then :
2465 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2466 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2467 # work properly (i.e., refer to `conftest.exe'), while it won't with
2468 # `rm'.
2469 for ac_file in conftest.exe conftest conftest.*; do
2470 test -f "$ac_file" || continue
2471 case $ac_file in
2472 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2473 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2474 break;;
2475 * ) break;;
2476 esac
2477 done
2478 else
2479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2481 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2482 See \`config.log' for more details" "$LINENO" 5; }
2484 rm -f conftest conftest$ac_cv_exeext
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2486 $as_echo "$ac_cv_exeext" >&6; }
2488 rm -f conftest.$ac_ext
2489 EXEEXT=$ac_cv_exeext
2490 ac_exeext=$EXEEXT
2491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2492 /* end confdefs.h. */
2493 #include <stdio.h>
2495 main ()
2497 FILE *f = fopen ("conftest.out", "w");
2498 return ferror (f) || fclose (f) != 0;
2501 return 0;
2503 _ACEOF
2504 ac_clean_files="$ac_clean_files conftest.out"
2505 # Check that the compiler produces executables we can run. If not, either
2506 # the compiler is broken, or we cross compile.
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2508 $as_echo_n "checking whether we are cross compiling... " >&6; }
2509 if test "$cross_compiling" != yes; then
2510 { { ac_try="$ac_link"
2511 case "(($ac_try" in
2512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2514 esac
2515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2516 $as_echo "$ac_try_echo"; } >&5
2517 (eval "$ac_link") 2>&5
2518 ac_status=$?
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; }
2521 if { ac_try='./conftest$ac_cv_exeext'
2522 { { case "(($ac_try" in
2523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2524 *) ac_try_echo=$ac_try;;
2525 esac
2526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2527 $as_echo "$ac_try_echo"; } >&5
2528 (eval "$ac_try") 2>&5
2529 ac_status=$?
2530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2531 test $ac_status = 0; }; }; then
2532 cross_compiling=no
2533 else
2534 if test "$cross_compiling" = maybe; then
2535 cross_compiling=yes
2536 else
2537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2539 as_fn_error $? "cannot run C compiled programs.
2540 If you meant to cross compile, use \`--host'.
2541 See \`config.log' for more details" "$LINENO" 5; }
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2546 $as_echo "$cross_compiling" >&6; }
2548 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2549 ac_clean_files=$ac_clean_files_save
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2551 $as_echo_n "checking for suffix of object files... " >&6; }
2552 if ${ac_cv_objext+:} false; then :
2553 $as_echo_n "(cached) " >&6
2554 else
2555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2556 /* end confdefs.h. */
2559 main ()
2563 return 0;
2565 _ACEOF
2566 rm -f conftest.o conftest.obj
2567 if { { ac_try="$ac_compile"
2568 case "(($ac_try" in
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2571 esac
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_compile") 2>&5
2575 ac_status=$?
2576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577 test $ac_status = 0; }; then :
2578 for ac_file in conftest.o conftest.obj conftest.*; do
2579 test -f "$ac_file" || continue;
2580 case $ac_file in
2581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2582 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2583 break;;
2584 esac
2585 done
2586 else
2587 $as_echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.$ac_ext >&5
2590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2592 as_fn_error $? "cannot compute suffix of object files: cannot compile
2593 See \`config.log' for more details" "$LINENO" 5; }
2595 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2598 $as_echo "$ac_cv_objext" >&6; }
2599 OBJEXT=$ac_cv_objext
2600 ac_objext=$OBJEXT
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2602 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2603 if ${ac_cv_c_compiler_gnu+:} false; then :
2604 $as_echo_n "(cached) " >&6
2605 else
2606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2607 /* end confdefs.h. */
2610 main ()
2612 #ifndef __GNUC__
2613 choke me
2614 #endif
2617 return 0;
2619 _ACEOF
2620 if ac_fn_c_try_compile "$LINENO"; then :
2621 ac_compiler_gnu=yes
2622 else
2623 ac_compiler_gnu=no
2625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2626 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2630 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2631 if test $ac_compiler_gnu = yes; then
2632 GCC=yes
2633 else
2634 GCC=
2636 ac_test_CFLAGS=${CFLAGS+set}
2637 ac_save_CFLAGS=$CFLAGS
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2639 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2640 if ${ac_cv_prog_cc_g+:} false; then :
2641 $as_echo_n "(cached) " >&6
2642 else
2643 ac_save_c_werror_flag=$ac_c_werror_flag
2644 ac_c_werror_flag=yes
2645 ac_cv_prog_cc_g=no
2646 CFLAGS="-g"
2647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2648 /* end confdefs.h. */
2651 main ()
2655 return 0;
2657 _ACEOF
2658 if ac_fn_c_try_compile "$LINENO"; then :
2659 ac_cv_prog_cc_g=yes
2660 else
2661 CFLAGS=""
2662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2663 /* end confdefs.h. */
2666 main ()
2670 return 0;
2672 _ACEOF
2673 if ac_fn_c_try_compile "$LINENO"; then :
2675 else
2676 ac_c_werror_flag=$ac_save_c_werror_flag
2677 CFLAGS="-g"
2678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2679 /* end confdefs.h. */
2682 main ()
2686 return 0;
2688 _ACEOF
2689 if ac_fn_c_try_compile "$LINENO"; then :
2690 ac_cv_prog_cc_g=yes
2692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 ac_c_werror_flag=$ac_save_c_werror_flag
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2700 $as_echo "$ac_cv_prog_cc_g" >&6; }
2701 if test "$ac_test_CFLAGS" = set; then
2702 CFLAGS=$ac_save_CFLAGS
2703 elif test $ac_cv_prog_cc_g = yes; then
2704 if test "$GCC" = yes; then
2705 CFLAGS="-g -O2"
2706 else
2707 CFLAGS="-g"
2709 else
2710 if test "$GCC" = yes; then
2711 CFLAGS="-O2"
2712 else
2713 CFLAGS=
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2717 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2718 if ${ac_cv_prog_cc_c89+:} false; then :
2719 $as_echo_n "(cached) " >&6
2720 else
2721 ac_cv_prog_cc_c89=no
2722 ac_save_CC=$CC
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2725 #include <stdarg.h>
2726 #include <stdio.h>
2727 struct stat;
2728 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2729 struct buf { int x; };
2730 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2731 static char *e (p, i)
2732 char **p;
2733 int i;
2735 return p[i];
2737 static char *f (char * (*g) (char **, int), char **p, ...)
2739 char *s;
2740 va_list v;
2741 va_start (v,p);
2742 s = g (p, va_arg (v,int));
2743 va_end (v);
2744 return s;
2747 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2748 function prototypes and stuff, but not '\xHH' hex character constants.
2749 These don't provoke an error unfortunately, instead are silently treated
2750 as 'x'. The following induces an error, until -std is added to get
2751 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2752 array size at least. It's necessary to write '\x00'==0 to get something
2753 that's true only with -std. */
2754 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2756 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2757 inside strings and character constants. */
2758 #define FOO(x) 'x'
2759 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2761 int test (int i, double x);
2762 struct s1 {int (*f) (int a);};
2763 struct s2 {int (*f) (double a);};
2764 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2765 int argc;
2766 char **argv;
2768 main ()
2770 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2772 return 0;
2774 _ACEOF
2775 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2776 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2778 CC="$ac_save_CC $ac_arg"
2779 if ac_fn_c_try_compile "$LINENO"; then :
2780 ac_cv_prog_cc_c89=$ac_arg
2782 rm -f core conftest.err conftest.$ac_objext
2783 test "x$ac_cv_prog_cc_c89" != "xno" && break
2784 done
2785 rm -f conftest.$ac_ext
2786 CC=$ac_save_CC
2789 # AC_CACHE_VAL
2790 case "x$ac_cv_prog_cc_c89" in
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2793 $as_echo "none needed" >&6; } ;;
2794 xno)
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2796 $as_echo "unsupported" >&6; } ;;
2798 CC="$CC $ac_cv_prog_cc_c89"
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2800 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2801 esac
2802 if test "x$ac_cv_prog_cc_c89" != xno; then :
2806 ac_ext=c
2807 ac_cpp='$CPP $CPPFLAGS'
2808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2812 # Expand $ac_aux_dir to an absolute path.
2813 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2815 ac_ext=c
2816 ac_cpp='$CPP $CPPFLAGS'
2817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
2821 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
2822 if ${am_cv_prog_cc_c_o+:} false; then :
2823 $as_echo_n "(cached) " >&6
2824 else
2825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2826 /* end confdefs.h. */
2829 main ()
2833 return 0;
2835 _ACEOF
2836 # Make sure it works both with $CC and with simple cc.
2837 # Following AC_PROG_CC_C_O, we do the test twice because some
2838 # compilers refuse to overwrite an existing .o file with -o,
2839 # though they will create one.
2840 am_cv_prog_cc_c_o=yes
2841 for am_i in 1 2; do
2842 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
2843 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
2844 ac_status=$?
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); } \
2847 && test -f conftest2.$ac_objext; then
2848 : OK
2849 else
2850 am_cv_prog_cc_c_o=no
2851 break
2853 done
2854 rm -f core conftest*
2855 unset am_i
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
2858 $as_echo "$am_cv_prog_cc_c_o" >&6; }
2859 if test "$am_cv_prog_cc_c_o" != yes; then
2860 # Losing compiler, so override with the script.
2861 # FIXME: It is wrong to rewrite CC.
2862 # But if we don't then we get into trouble of one sort or another.
2863 # A longer-term fix would be to have automake use am__CC in this case,
2864 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
2865 CC="$am_aux_dir/compile $CC"
2867 ac_ext=c
2868 ac_cpp='$CPP $CPPFLAGS'
2869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2874 ac_ext=cpp
2875 ac_cpp='$CXXCPP $CPPFLAGS'
2876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2879 if test -z "$CXX"; then
2880 if test -n "$CCC"; then
2881 CXX=$CCC
2882 else
2883 if test -n "$ac_tool_prefix"; then
2884 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2886 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2887 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2889 $as_echo_n "checking for $ac_word... " >&6; }
2890 if ${ac_cv_prog_CXX+:} false; then :
2891 $as_echo_n "(cached) " >&6
2892 else
2893 if test -n "$CXX"; then
2894 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2895 else
2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2897 for as_dir in $PATH
2899 IFS=$as_save_IFS
2900 test -z "$as_dir" && as_dir=.
2901 for ac_exec_ext in '' $ac_executable_extensions; do
2902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2903 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2905 break 2
2907 done
2908 done
2909 IFS=$as_save_IFS
2913 CXX=$ac_cv_prog_CXX
2914 if test -n "$CXX"; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2916 $as_echo "$CXX" >&6; }
2917 else
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2923 test -n "$CXX" && break
2924 done
2926 if test -z "$CXX"; then
2927 ac_ct_CXX=$CXX
2928 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2930 # Extract the first word of "$ac_prog", so it can be a program name with args.
2931 set dummy $ac_prog; ac_word=$2
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933 $as_echo_n "checking for $ac_word... " >&6; }
2934 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2935 $as_echo_n "(cached) " >&6
2936 else
2937 if test -n "$ac_ct_CXX"; then
2938 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2939 else
2940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2941 for as_dir in $PATH
2943 IFS=$as_save_IFS
2944 test -z "$as_dir" && as_dir=.
2945 for ac_exec_ext in '' $ac_executable_extensions; do
2946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2947 ac_cv_prog_ac_ct_CXX="$ac_prog"
2948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 break 2
2951 done
2952 done
2953 IFS=$as_save_IFS
2957 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2958 if test -n "$ac_ct_CXX"; then
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2960 $as_echo "$ac_ct_CXX" >&6; }
2961 else
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2967 test -n "$ac_ct_CXX" && break
2968 done
2970 if test "x$ac_ct_CXX" = x; then
2971 CXX="g++"
2972 else
2973 case $cross_compiling:$ac_tool_warned in
2974 yes:)
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2977 ac_tool_warned=yes ;;
2978 esac
2979 CXX=$ac_ct_CXX
2985 # Provide some information about the compiler.
2986 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2987 set X $ac_compile
2988 ac_compiler=$2
2989 for ac_option in --version -v -V -qversion; do
2990 { { ac_try="$ac_compiler $ac_option >&5"
2991 case "(($ac_try" in
2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2994 esac
2995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 $as_echo "$ac_try_echo"; } >&5
2997 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2998 ac_status=$?
2999 if test -s conftest.err; then
3000 sed '10a\
3001 ... rest of stderr output deleted ...
3002 10q' conftest.err >conftest.er1
3003 cat conftest.er1 >&5
3005 rm -f conftest.er1 conftest.err
3006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007 test $ac_status = 0; }
3008 done
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3011 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3012 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3013 $as_echo_n "(cached) " >&6
3014 else
3015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3016 /* end confdefs.h. */
3019 main ()
3021 #ifndef __GNUC__
3022 choke me
3023 #endif
3026 return 0;
3028 _ACEOF
3029 if ac_fn_cxx_try_compile "$LINENO"; then :
3030 ac_compiler_gnu=yes
3031 else
3032 ac_compiler_gnu=no
3034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3035 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3039 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3040 if test $ac_compiler_gnu = yes; then
3041 GXX=yes
3042 else
3043 GXX=
3045 ac_test_CXXFLAGS=${CXXFLAGS+set}
3046 ac_save_CXXFLAGS=$CXXFLAGS
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3048 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3049 if ${ac_cv_prog_cxx_g+:} false; then :
3050 $as_echo_n "(cached) " >&6
3051 else
3052 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3053 ac_cxx_werror_flag=yes
3054 ac_cv_prog_cxx_g=no
3055 CXXFLAGS="-g"
3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h. */
3060 main ()
3064 return 0;
3066 _ACEOF
3067 if ac_fn_cxx_try_compile "$LINENO"; then :
3068 ac_cv_prog_cxx_g=yes
3069 else
3070 CXXFLAGS=""
3071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3072 /* end confdefs.h. */
3075 main ()
3079 return 0;
3081 _ACEOF
3082 if ac_fn_cxx_try_compile "$LINENO"; then :
3084 else
3085 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3086 CXXFLAGS="-g"
3087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3091 main ()
3095 return 0;
3097 _ACEOF
3098 if ac_fn_cxx_try_compile "$LINENO"; then :
3099 ac_cv_prog_cxx_g=yes
3101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3106 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3109 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3110 if test "$ac_test_CXXFLAGS" = set; then
3111 CXXFLAGS=$ac_save_CXXFLAGS
3112 elif test $ac_cv_prog_cxx_g = yes; then
3113 if test "$GXX" = yes; then
3114 CXXFLAGS="-g -O2"
3115 else
3116 CXXFLAGS="-g"
3118 else
3119 if test "$GXX" = yes; then
3120 CXXFLAGS="-O2"
3121 else
3122 CXXFLAGS=
3125 ac_ext=c
3126 ac_cpp='$CPP $CPPFLAGS'
3127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3132 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3133 if ${ac_cv_path_SED+:} false; then :
3134 $as_echo_n "(cached) " >&6
3135 else
3136 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3137 for ac_i in 1 2 3 4 5 6 7; do
3138 ac_script="$ac_script$as_nl$ac_script"
3139 done
3140 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3141 { ac_script=; unset ac_script;}
3142 if test -z "$SED"; then
3143 ac_path_SED_found=false
3144 # Loop through the user's path and test for each of PROGNAME-LIST
3145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146 for as_dir in $PATH
3148 IFS=$as_save_IFS
3149 test -z "$as_dir" && as_dir=.
3150 for ac_prog in sed gsed; do
3151 for ac_exec_ext in '' $ac_executable_extensions; do
3152 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3153 as_fn_executable_p "$ac_path_SED" || continue
3154 # Check for GNU ac_path_SED and select it if it is found.
3155 # Check for GNU $ac_path_SED
3156 case `"$ac_path_SED" --version 2>&1` in
3157 *GNU*)
3158 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3160 ac_count=0
3161 $as_echo_n 0123456789 >"conftest.in"
3162 while :
3164 cat "conftest.in" "conftest.in" >"conftest.tmp"
3165 mv "conftest.tmp" "conftest.in"
3166 cp "conftest.in" "conftest.nl"
3167 $as_echo '' >> "conftest.nl"
3168 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3169 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3170 as_fn_arith $ac_count + 1 && ac_count=$as_val
3171 if test $ac_count -gt ${ac_path_SED_max-0}; then
3172 # Best one so far, save it but keep looking for a better one
3173 ac_cv_path_SED="$ac_path_SED"
3174 ac_path_SED_max=$ac_count
3176 # 10*(2^10) chars as input seems more than enough
3177 test $ac_count -gt 10 && break
3178 done
3179 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3180 esac
3182 $ac_path_SED_found && break 3
3183 done
3184 done
3185 done
3186 IFS=$as_save_IFS
3187 if test -z "$ac_cv_path_SED"; then
3188 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3190 else
3191 ac_cv_path_SED=$SED
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3196 $as_echo "$ac_cv_path_SED" >&6; }
3197 SED="$ac_cv_path_SED"
3198 rm -f conftest.sed
3200 ac_ext=cpp
3201 ac_cpp='$CXXCPP $CPPFLAGS'
3202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3206 # Make sure we can run config.sub.
3207 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3208 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3211 $as_echo_n "checking build system type... " >&6; }
3212 if ${ac_cv_build+:} false; then :
3213 $as_echo_n "(cached) " >&6
3214 else
3215 ac_build_alias=$build_alias
3216 test "x$ac_build_alias" = x &&
3217 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3218 test "x$ac_build_alias" = x &&
3219 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3220 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3221 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3225 $as_echo "$ac_cv_build" >&6; }
3226 case $ac_cv_build in
3227 *-*-*) ;;
3228 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3229 esac
3230 build=$ac_cv_build
3231 ac_save_IFS=$IFS; IFS='-'
3232 set x $ac_cv_build
3233 shift
3234 build_cpu=$1
3235 build_vendor=$2
3236 shift; shift
3237 # Remember, the first character of IFS is used to create $*,
3238 # except with old shells:
3239 build_os=$*
3240 IFS=$ac_save_IFS
3241 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3245 $as_echo_n "checking host system type... " >&6; }
3246 if ${ac_cv_host+:} false; then :
3247 $as_echo_n "(cached) " >&6
3248 else
3249 if test "x$host_alias" = x; then
3250 ac_cv_host=$ac_cv_build
3251 else
3252 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3253 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3258 $as_echo "$ac_cv_host" >&6; }
3259 case $ac_cv_host in
3260 *-*-*) ;;
3261 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3262 esac
3263 host=$ac_cv_host
3264 ac_save_IFS=$IFS; IFS='-'
3265 set x $ac_cv_host
3266 shift
3267 host_cpu=$1
3268 host_vendor=$2
3269 shift; shift
3270 # Remember, the first character of IFS is used to create $*,
3271 # except with old shells:
3272 host_os=$*
3273 IFS=$ac_save_IFS
3274 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3277 am__api_version='1.15'
3279 # Find a good install program. We prefer a C program (faster),
3280 # so one script is as good as another. But avoid the broken or
3281 # incompatible versions:
3282 # SysV /etc/install, /usr/sbin/install
3283 # SunOS /usr/etc/install
3284 # IRIX /sbin/install
3285 # AIX /bin/install
3286 # AmigaOS /C/install, which installs bootblocks on floppy discs
3287 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3288 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3289 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3290 # OS/2's system install, which has a completely different semantic
3291 # ./install, which can be erroneously created by make from ./install.sh.
3292 # Reject install programs that cannot install multiple files.
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3294 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3295 if test -z "$INSTALL"; then
3296 if ${ac_cv_path_install+:} false; then :
3297 $as_echo_n "(cached) " >&6
3298 else
3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300 for as_dir in $PATH
3302 IFS=$as_save_IFS
3303 test -z "$as_dir" && as_dir=.
3304 # Account for people who put trailing slashes in PATH elements.
3305 case $as_dir/ in #((
3306 ./ | .// | /[cC]/* | \
3307 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3308 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3309 /usr/ucb/* ) ;;
3311 # OSF1 and SCO ODT 3.0 have their own names for install.
3312 # Don't use installbsd from OSF since it installs stuff as root
3313 # by default.
3314 for ac_prog in ginstall scoinst install; do
3315 for ac_exec_ext in '' $ac_executable_extensions; do
3316 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3317 if test $ac_prog = install &&
3318 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3319 # AIX install. It has an incompatible calling convention.
3321 elif test $ac_prog = install &&
3322 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3323 # program-specific install script used by HP pwplus--don't use.
3325 else
3326 rm -rf conftest.one conftest.two conftest.dir
3327 echo one > conftest.one
3328 echo two > conftest.two
3329 mkdir conftest.dir
3330 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3331 test -s conftest.one && test -s conftest.two &&
3332 test -s conftest.dir/conftest.one &&
3333 test -s conftest.dir/conftest.two
3334 then
3335 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3336 break 3
3340 done
3341 done
3343 esac
3345 done
3346 IFS=$as_save_IFS
3348 rm -rf conftest.one conftest.two conftest.dir
3351 if test "${ac_cv_path_install+set}" = set; then
3352 INSTALL=$ac_cv_path_install
3353 else
3354 # As a last resort, use the slow shell script. Don't cache a
3355 # value for INSTALL within a source directory, because that will
3356 # break other packages using the cache if that directory is
3357 # removed, or if the value is a relative name.
3358 INSTALL=$ac_install_sh
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3362 $as_echo "$INSTALL" >&6; }
3364 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3365 # It thinks the first close brace ends the variable substitution.
3366 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3368 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3370 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3373 $as_echo_n "checking whether build environment is sane... " >&6; }
3374 # Reject unsafe characters in $srcdir or the absolute working directory
3375 # name. Accept space and tab only in the latter.
3376 am_lf='
3378 case `pwd` in
3379 *[\\\"\#\$\&\'\`$am_lf]*)
3380 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3381 esac
3382 case $srcdir in
3383 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3384 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3385 esac
3387 # Do 'set' in a subshell so we don't clobber the current shell's
3388 # arguments. Must try -L first in case configure is actually a
3389 # symlink; some systems play weird games with the mod time of symlinks
3390 # (eg FreeBSD returns the mod time of the symlink's containing
3391 # directory).
3392 if (
3393 am_has_slept=no
3394 for am_try in 1 2; do
3395 echo "timestamp, slept: $am_has_slept" > conftest.file
3396 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3397 if test "$*" = "X"; then
3398 # -L didn't work.
3399 set X `ls -t "$srcdir/configure" conftest.file`
3401 if test "$*" != "X $srcdir/configure conftest.file" \
3402 && test "$*" != "X conftest.file $srcdir/configure"; then
3404 # If neither matched, then we have a broken ls. This can happen
3405 # if, for instance, CONFIG_SHELL is bash and it inherits a
3406 # broken ls alias from the environment. This has actually
3407 # happened. Such a system could not be considered "sane".
3408 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3409 alias in your environment" "$LINENO" 5
3411 if test "$2" = conftest.file || test $am_try -eq 2; then
3412 break
3414 # Just in case.
3415 sleep 1
3416 am_has_slept=yes
3417 done
3418 test "$2" = conftest.file
3420 then
3421 # Ok.
3423 else
3424 as_fn_error $? "newly created file is older than distributed files!
3425 Check your system clock" "$LINENO" 5
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3428 $as_echo "yes" >&6; }
3429 # If we didn't sleep, we still need to ensure time stamps of config.status and
3430 # generated files are strictly newer.
3431 am_sleep_pid=
3432 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3433 ( sleep 1 ) &
3434 am_sleep_pid=$!
3437 rm -f conftest.file
3439 test "$program_prefix" != NONE &&
3440 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3441 # Use a double $ so make ignores it.
3442 test "$program_suffix" != NONE &&
3443 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3444 # Double any \ or $.
3445 # By default was `s,x,x', remove it if useless.
3446 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3447 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3449 if test x"${MISSING+set}" != xset; then
3450 case $am_aux_dir in
3451 *\ * | *\ *)
3452 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3454 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3455 esac
3457 # Use eval to expand $SHELL
3458 if eval "$MISSING --is-lightweight"; then
3459 am_missing_run="$MISSING "
3460 else
3461 am_missing_run=
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3463 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3466 if test x"${install_sh+set}" != xset; then
3467 case $am_aux_dir in
3468 *\ * | *\ *)
3469 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3471 install_sh="\${SHELL} $am_aux_dir/install-sh"
3472 esac
3475 # Installed binaries are usually stripped using 'strip' when the user
3476 # run "make install-strip". However 'strip' might not be the right
3477 # tool to use in cross-compilation environments, therefore Automake
3478 # will honor the 'STRIP' environment variable to overrule this program.
3479 if test "$cross_compiling" != no; then
3480 if test -n "$ac_tool_prefix"; then
3481 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3482 set dummy ${ac_tool_prefix}strip; ac_word=$2
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484 $as_echo_n "checking for $ac_word... " >&6; }
3485 if ${ac_cv_prog_STRIP+:} false; then :
3486 $as_echo_n "(cached) " >&6
3487 else
3488 if test -n "$STRIP"; then
3489 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3490 else
3491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492 for as_dir in $PATH
3494 IFS=$as_save_IFS
3495 test -z "$as_dir" && as_dir=.
3496 for ac_exec_ext in '' $ac_executable_extensions; do
3497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3498 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3500 break 2
3502 done
3503 done
3504 IFS=$as_save_IFS
3508 STRIP=$ac_cv_prog_STRIP
3509 if test -n "$STRIP"; then
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3511 $as_echo "$STRIP" >&6; }
3512 else
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514 $as_echo "no" >&6; }
3519 if test -z "$ac_cv_prog_STRIP"; then
3520 ac_ct_STRIP=$STRIP
3521 # Extract the first word of "strip", so it can be a program name with args.
3522 set dummy strip; ac_word=$2
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524 $as_echo_n "checking for $ac_word... " >&6; }
3525 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3526 $as_echo_n "(cached) " >&6
3527 else
3528 if test -n "$ac_ct_STRIP"; then
3529 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3530 else
3531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3532 for as_dir in $PATH
3534 IFS=$as_save_IFS
3535 test -z "$as_dir" && as_dir=.
3536 for ac_exec_ext in '' $ac_executable_extensions; do
3537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3538 ac_cv_prog_ac_ct_STRIP="strip"
3539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3540 break 2
3542 done
3543 done
3544 IFS=$as_save_IFS
3548 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3549 if test -n "$ac_ct_STRIP"; then
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3551 $as_echo "$ac_ct_STRIP" >&6; }
3552 else
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 $as_echo "no" >&6; }
3557 if test "x$ac_ct_STRIP" = x; then
3558 STRIP=":"
3559 else
3560 case $cross_compiling:$ac_tool_warned in
3561 yes:)
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3564 ac_tool_warned=yes ;;
3565 esac
3566 STRIP=$ac_ct_STRIP
3568 else
3569 STRIP="$ac_cv_prog_STRIP"
3573 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3576 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3577 if test -z "$MKDIR_P"; then
3578 if ${ac_cv_path_mkdir+:} false; then :
3579 $as_echo_n "(cached) " >&6
3580 else
3581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3582 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3584 IFS=$as_save_IFS
3585 test -z "$as_dir" && as_dir=.
3586 for ac_prog in mkdir gmkdir; do
3587 for ac_exec_ext in '' $ac_executable_extensions; do
3588 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3589 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3590 'mkdir (GNU coreutils) '* | \
3591 'mkdir (coreutils) '* | \
3592 'mkdir (fileutils) '4.1*)
3593 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3594 break 3;;
3595 esac
3596 done
3597 done
3598 done
3599 IFS=$as_save_IFS
3603 test -d ./--version && rmdir ./--version
3604 if test "${ac_cv_path_mkdir+set}" = set; then
3605 MKDIR_P="$ac_cv_path_mkdir -p"
3606 else
3607 # As a last resort, use the slow shell script. Don't cache a
3608 # value for MKDIR_P within a source directory, because that will
3609 # break other packages using the cache if that directory is
3610 # removed, or if the value is a relative name.
3611 MKDIR_P="$ac_install_sh -d"
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3615 $as_echo "$MKDIR_P" >&6; }
3617 for ac_prog in gawk mawk nawk awk
3619 # Extract the first word of "$ac_prog", so it can be a program name with args.
3620 set dummy $ac_prog; ac_word=$2
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3622 $as_echo_n "checking for $ac_word... " >&6; }
3623 if ${ac_cv_prog_AWK+:} false; then :
3624 $as_echo_n "(cached) " >&6
3625 else
3626 if test -n "$AWK"; then
3627 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3628 else
3629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3630 for as_dir in $PATH
3632 IFS=$as_save_IFS
3633 test -z "$as_dir" && as_dir=.
3634 for ac_exec_ext in '' $ac_executable_extensions; do
3635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3636 ac_cv_prog_AWK="$ac_prog"
3637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3638 break 2
3640 done
3641 done
3642 IFS=$as_save_IFS
3646 AWK=$ac_cv_prog_AWK
3647 if test -n "$AWK"; then
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3649 $as_echo "$AWK" >&6; }
3650 else
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3652 $as_echo "no" >&6; }
3656 test -n "$AWK" && break
3657 done
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3660 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3661 set x ${MAKE-make}
3662 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3663 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3664 $as_echo_n "(cached) " >&6
3665 else
3666 cat >conftest.make <<\_ACEOF
3667 SHELL = /bin/sh
3668 all:
3669 @echo '@@@%%%=$(MAKE)=@@@%%%'
3670 _ACEOF
3671 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3672 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3673 *@@@%%%=?*=@@@%%%*)
3674 eval ac_cv_prog_make_${ac_make}_set=yes;;
3676 eval ac_cv_prog_make_${ac_make}_set=no;;
3677 esac
3678 rm -f conftest.make
3680 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3682 $as_echo "yes" >&6; }
3683 SET_MAKE=
3684 else
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3686 $as_echo "no" >&6; }
3687 SET_MAKE="MAKE=${MAKE-make}"
3690 rm -rf .tst 2>/dev/null
3691 mkdir .tst 2>/dev/null
3692 if test -d .tst; then
3693 am__leading_dot=.
3694 else
3695 am__leading_dot=_
3697 rmdir .tst 2>/dev/null
3699 DEPDIR="${am__leading_dot}deps"
3701 ac_config_commands="$ac_config_commands depfiles"
3704 am_make=${MAKE-make}
3705 cat > confinc << 'END'
3706 am__doit:
3707 @echo this is the am__doit target
3708 .PHONY: am__doit
3710 # If we don't find an include directive, just comment out the code.
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3712 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3713 am__include="#"
3714 am__quote=
3715 _am_result=none
3716 # First try GNU make style include.
3717 echo "include confinc" > confmf
3718 # Ignore all kinds of additional output from 'make'.
3719 case `$am_make -s -f confmf 2> /dev/null` in #(
3720 *the\ am__doit\ target*)
3721 am__include=include
3722 am__quote=
3723 _am_result=GNU
3725 esac
3726 # Now try BSD make style include.
3727 if test "$am__include" = "#"; then
3728 echo '.include "confinc"' > confmf
3729 case `$am_make -s -f confmf 2> /dev/null` in #(
3730 *the\ am__doit\ target*)
3731 am__include=.include
3732 am__quote="\""
3733 _am_result=BSD
3735 esac
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3740 $as_echo "$_am_result" >&6; }
3741 rm -f confinc confmf
3743 # Check whether --enable-dependency-tracking was given.
3744 if test "${enable_dependency_tracking+set}" = set; then :
3745 enableval=$enable_dependency_tracking;
3748 if test "x$enable_dependency_tracking" != xno; then
3749 am_depcomp="$ac_aux_dir/depcomp"
3750 AMDEPBACKSLASH='\'
3751 am__nodep='_no'
3753 if test "x$enable_dependency_tracking" != xno; then
3754 AMDEP_TRUE=
3755 AMDEP_FALSE='#'
3756 else
3757 AMDEP_TRUE='#'
3758 AMDEP_FALSE=
3762 # Check whether --enable-silent-rules was given.
3763 if test "${enable_silent_rules+set}" = set; then :
3764 enableval=$enable_silent_rules;
3767 case $enable_silent_rules in # (((
3768 yes) AM_DEFAULT_VERBOSITY=0;;
3769 no) AM_DEFAULT_VERBOSITY=1;;
3770 *) AM_DEFAULT_VERBOSITY=1;;
3771 esac
3772 am_make=${MAKE-make}
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3774 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3775 if ${am_cv_make_support_nested_variables+:} false; then :
3776 $as_echo_n "(cached) " >&6
3777 else
3778 if $as_echo 'TRUE=$(BAR$(V))
3779 BAR0=false
3780 BAR1=true
3782 am__doit:
3783 @$(TRUE)
3784 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3785 am_cv_make_support_nested_variables=yes
3786 else
3787 am_cv_make_support_nested_variables=no
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3791 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3792 if test $am_cv_make_support_nested_variables = yes; then
3793 AM_V='$(V)'
3794 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3795 else
3796 AM_V=$AM_DEFAULT_VERBOSITY
3797 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3799 AM_BACKSLASH='\'
3801 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3802 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3803 # is not polluted with repeated "-I."
3804 am__isrc=' -I$(srcdir)'
3805 # test to see if srcdir already configured
3806 if test -f $srcdir/config.status; then
3807 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3811 # test whether we have cygpath
3812 if test -z "$CYGPATH_W"; then
3813 if (cygpath --version) >/dev/null 2>/dev/null; then
3814 CYGPATH_W='cygpath -w'
3815 else
3816 CYGPATH_W=echo
3821 # Define the identity of the package.
3822 PACKAGE='qbittorrent'
3823 VERSION='v4.2.0alpha'
3826 cat >>confdefs.h <<_ACEOF
3827 #define PACKAGE "$PACKAGE"
3828 _ACEOF
3831 cat >>confdefs.h <<_ACEOF
3832 #define VERSION "$VERSION"
3833 _ACEOF
3835 # Some tools Automake needs.
3837 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3840 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3843 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3846 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3849 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3851 # For better backward compatibility. To be removed once Automake 1.9.x
3852 # dies out for good. For more background, see:
3853 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3854 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3855 mkdir_p='$(MKDIR_P)'
3857 # We need awk for the "check" target (and possibly the TAP driver). The
3858 # system "awk" is bad on some platforms.
3859 # Always define AMTAR for backward compatibility. Yes, it's still used
3860 # in the wild :-( We should find a proper way to deprecate it ...
3861 AMTAR='$${TAR-tar}'
3864 # We'll loop over all known methods to create a tar archive until one works.
3865 _am_tools='gnutar pax cpio none'
3867 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3873 depcc="$CC" am_compiler_list=
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3876 $as_echo_n "checking dependency style of $depcc... " >&6; }
3877 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3878 $as_echo_n "(cached) " >&6
3879 else
3880 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3881 # We make a subdir and do the tests there. Otherwise we can end up
3882 # making bogus files that we don't know about and never remove. For
3883 # instance it was reported that on HP-UX the gcc test will end up
3884 # making a dummy file named 'D' -- because '-MD' means "put the output
3885 # in D".
3886 rm -rf conftest.dir
3887 mkdir conftest.dir
3888 # Copy depcomp to subdir because otherwise we won't find it if we're
3889 # using a relative directory.
3890 cp "$am_depcomp" conftest.dir
3891 cd conftest.dir
3892 # We will build objects and dependencies in a subdirectory because
3893 # it helps to detect inapplicable dependency modes. For instance
3894 # both Tru64's cc and ICC support -MD to output dependencies as a
3895 # side effect of compilation, but ICC will put the dependencies in
3896 # the current directory while Tru64 will put them in the object
3897 # directory.
3898 mkdir sub
3900 am_cv_CC_dependencies_compiler_type=none
3901 if test "$am_compiler_list" = ""; then
3902 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3904 am__universal=false
3905 case " $depcc " in #(
3906 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3907 esac
3909 for depmode in $am_compiler_list; do
3910 # Setup a source with many dependencies, because some compilers
3911 # like to wrap large dependency lists on column 80 (with \), and
3912 # we should not choose a depcomp mode which is confused by this.
3914 # We need to recreate these files for each test, as the compiler may
3915 # overwrite some of them when testing with obscure command lines.
3916 # This happens at least with the AIX C compiler.
3917 : > sub/conftest.c
3918 for i in 1 2 3 4 5 6; do
3919 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3920 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3921 # Solaris 10 /bin/sh.
3922 echo '/* dummy */' > sub/conftst$i.h
3923 done
3924 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3926 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3927 # mode. It turns out that the SunPro C++ compiler does not properly
3928 # handle '-M -o', and we need to detect this. Also, some Intel
3929 # versions had trouble with output in subdirs.
3930 am__obj=sub/conftest.${OBJEXT-o}
3931 am__minus_obj="-o $am__obj"
3932 case $depmode in
3933 gcc)
3934 # This depmode causes a compiler race in universal mode.
3935 test "$am__universal" = false || continue
3937 nosideeffect)
3938 # After this tag, mechanisms are not by side-effect, so they'll
3939 # only be used when explicitly requested.
3940 if test "x$enable_dependency_tracking" = xyes; then
3941 continue
3942 else
3943 break
3946 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3947 # This compiler won't grok '-c -o', but also, the minuso test has
3948 # not run yet. These depmodes are late enough in the game, and
3949 # so weak that their functioning should not be impacted.
3950 am__obj=conftest.${OBJEXT-o}
3951 am__minus_obj=
3953 none) break ;;
3954 esac
3955 if depmode=$depmode \
3956 source=sub/conftest.c object=$am__obj \
3957 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3958 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3959 >/dev/null 2>conftest.err &&
3960 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3961 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3962 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3963 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3964 # icc doesn't choke on unknown options, it will just issue warnings
3965 # or remarks (even with -Werror). So we grep stderr for any message
3966 # that says an option was ignored or not supported.
3967 # When given -MP, icc 7.0 and 7.1 complain thusly:
3968 # icc: Command line warning: ignoring option '-M'; no argument required
3969 # The diagnosis changed in icc 8.0:
3970 # icc: Command line remark: option '-MP' not supported
3971 if (grep 'ignoring option' conftest.err ||
3972 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3973 am_cv_CC_dependencies_compiler_type=$depmode
3974 break
3977 done
3979 cd ..
3980 rm -rf conftest.dir
3981 else
3982 am_cv_CC_dependencies_compiler_type=none
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3987 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3988 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3991 test "x$enable_dependency_tracking" != xno \
3992 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3993 am__fastdepCC_TRUE=
3994 am__fastdepCC_FALSE='#'
3995 else
3996 am__fastdepCC_TRUE='#'
3997 am__fastdepCC_FALSE=
4001 depcc="$CXX" am_compiler_list=
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4004 $as_echo_n "checking dependency style of $depcc... " >&6; }
4005 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4006 $as_echo_n "(cached) " >&6
4007 else
4008 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4009 # We make a subdir and do the tests there. Otherwise we can end up
4010 # making bogus files that we don't know about and never remove. For
4011 # instance it was reported that on HP-UX the gcc test will end up
4012 # making a dummy file named 'D' -- because '-MD' means "put the output
4013 # in D".
4014 rm -rf conftest.dir
4015 mkdir conftest.dir
4016 # Copy depcomp to subdir because otherwise we won't find it if we're
4017 # using a relative directory.
4018 cp "$am_depcomp" conftest.dir
4019 cd conftest.dir
4020 # We will build objects and dependencies in a subdirectory because
4021 # it helps to detect inapplicable dependency modes. For instance
4022 # both Tru64's cc and ICC support -MD to output dependencies as a
4023 # side effect of compilation, but ICC will put the dependencies in
4024 # the current directory while Tru64 will put them in the object
4025 # directory.
4026 mkdir sub
4028 am_cv_CXX_dependencies_compiler_type=none
4029 if test "$am_compiler_list" = ""; then
4030 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4032 am__universal=false
4033 case " $depcc " in #(
4034 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4035 esac
4037 for depmode in $am_compiler_list; do
4038 # Setup a source with many dependencies, because some compilers
4039 # like to wrap large dependency lists on column 80 (with \), and
4040 # we should not choose a depcomp mode which is confused by this.
4042 # We need to recreate these files for each test, as the compiler may
4043 # overwrite some of them when testing with obscure command lines.
4044 # This happens at least with the AIX C compiler.
4045 : > sub/conftest.c
4046 for i in 1 2 3 4 5 6; do
4047 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4048 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4049 # Solaris 10 /bin/sh.
4050 echo '/* dummy */' > sub/conftst$i.h
4051 done
4052 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4054 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4055 # mode. It turns out that the SunPro C++ compiler does not properly
4056 # handle '-M -o', and we need to detect this. Also, some Intel
4057 # versions had trouble with output in subdirs.
4058 am__obj=sub/conftest.${OBJEXT-o}
4059 am__minus_obj="-o $am__obj"
4060 case $depmode in
4061 gcc)
4062 # This depmode causes a compiler race in universal mode.
4063 test "$am__universal" = false || continue
4065 nosideeffect)
4066 # After this tag, mechanisms are not by side-effect, so they'll
4067 # only be used when explicitly requested.
4068 if test "x$enable_dependency_tracking" = xyes; then
4069 continue
4070 else
4071 break
4074 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4075 # This compiler won't grok '-c -o', but also, the minuso test has
4076 # not run yet. These depmodes are late enough in the game, and
4077 # so weak that their functioning should not be impacted.
4078 am__obj=conftest.${OBJEXT-o}
4079 am__minus_obj=
4081 none) break ;;
4082 esac
4083 if depmode=$depmode \
4084 source=sub/conftest.c object=$am__obj \
4085 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4086 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4087 >/dev/null 2>conftest.err &&
4088 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4089 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4090 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4091 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4092 # icc doesn't choke on unknown options, it will just issue warnings
4093 # or remarks (even with -Werror). So we grep stderr for any message
4094 # that says an option was ignored or not supported.
4095 # When given -MP, icc 7.0 and 7.1 complain thusly:
4096 # icc: Command line warning: ignoring option '-M'; no argument required
4097 # The diagnosis changed in icc 8.0:
4098 # icc: Command line remark: option '-MP' not supported
4099 if (grep 'ignoring option' conftest.err ||
4100 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4101 am_cv_CXX_dependencies_compiler_type=$depmode
4102 break
4105 done
4107 cd ..
4108 rm -rf conftest.dir
4109 else
4110 am_cv_CXX_dependencies_compiler_type=none
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4115 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4116 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4119 test "x$enable_dependency_tracking" != xno \
4120 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4121 am__fastdepCXX_TRUE=
4122 am__fastdepCXX_FALSE='#'
4123 else
4124 am__fastdepCXX_TRUE='#'
4125 am__fastdepCXX_FALSE=
4130 # POSIX will say in a future version that running "rm -f" with no argument
4131 # is OK; and we want to be able to make that assumption in our Makefile
4132 # recipes. So use an aggressive probe to check that the usage we want is
4133 # actually supported "in the wild" to an acceptable degree.
4134 # See automake bug#10828.
4135 # To make any issue more visible, cause the running configure to be aborted
4136 # by default if the 'rm' program in use doesn't match our expectations; the
4137 # user can still override this though.
4138 if rm -f && rm -fr && rm -rf; then : OK; else
4139 cat >&2 <<'END'
4140 Oops!
4142 Your 'rm' program seems unable to run without file operands specified
4143 on the command line, even when the '-f' option is present. This is contrary
4144 to the behaviour of most rm programs out there, and not conforming with
4145 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4147 Please tell bug-automake@gnu.org about your system, including the value
4148 of your $PATH and any error possibly output before this message. This
4149 can help us improve future automake versions.
4152 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4153 echo 'Configuration will proceed anyway, since you have set the' >&2
4154 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4155 echo >&2
4156 else
4157 cat >&2 <<'END'
4158 Aborting the configuration process, to ensure you take notice of the issue.
4160 You can download and install GNU coreutils to get an 'rm' implementation
4161 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4163 If you want to complete the configuration process using your problematic
4164 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4165 to "yes", and re-run configure.
4168 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4175 # Define --wth-* and --enable-* arguments
4178 # Check whether --with-qtsingleapplication was given.
4179 if test "${with_qtsingleapplication+set}" = set; then :
4180 withval=$with_qtsingleapplication;
4181 else
4182 with_qtsingleapplication=shipped
4186 # Check whether --enable-debug was given.
4187 if test "${enable_debug+set}" = set; then :
4188 enableval=$enable_debug;
4189 else
4190 enable_debug=no
4194 # Check whether --enable-stacktrace was given.
4195 if test "${enable_stacktrace+set}" = set; then :
4196 enableval=$enable_stacktrace;
4197 else
4198 enable_stacktrace=auto
4202 # Check whether --enable-gui was given.
4203 if test "${enable_gui+set}" = set; then :
4204 enableval=$enable_gui;
4205 else
4206 enable_gui=yes
4210 # Check whether --enable-systemd was given.
4211 if test "${enable_systemd+set}" = set; then :
4212 enableval=$enable_systemd;
4213 else
4214 enable_systemd=no
4218 # Check whether --enable-webui was given.
4219 if test "${enable_webui+set}" = set; then :
4220 enableval=$enable_webui;
4221 else
4222 enable_webui=yes
4226 # Check whether --enable-qt-dbus was given.
4227 if test "${enable_qt_dbus+set}" = set; then :
4228 enableval=$enable_qt_dbus;
4229 else
4230 enable_qt_dbus=yes
4234 # Detect OS
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OS is FreeBSD" >&5
4236 $as_echo_n "checking whether OS is FreeBSD... " >&6; }
4237 if expr "$host_os" : ".*freebsd.*" > /dev/null; then :
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4239 $as_echo "yes" >&6; }
4240 LIBS="-lexecinfo $LIBS"
4241 else
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4243 $as_echo "no" >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OS is macOS" >&5
4247 $as_echo_n "checking whether OS is macOS... " >&6; }
4248 if expr "$host_os" : ".*darwin.*" > /dev/null; then :
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4250 $as_echo "yes" >&6; }
4251 enable_qt_dbus=no
4252 else
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254 $as_echo "no" >&6; }
4257 # Require 0.23 pkg-config
4265 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4266 if test -n "$ac_tool_prefix"; then
4267 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4268 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4270 $as_echo_n "checking for $ac_word... " >&6; }
4271 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4272 $as_echo_n "(cached) " >&6
4273 else
4274 case $PKG_CONFIG in
4275 [\\/]* | ?:[\\/]*)
4276 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4280 for as_dir in $PATH
4282 IFS=$as_save_IFS
4283 test -z "$as_dir" && as_dir=.
4284 for ac_exec_ext in '' $ac_executable_extensions; do
4285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4286 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4288 break 2
4290 done
4291 done
4292 IFS=$as_save_IFS
4295 esac
4297 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4298 if test -n "$PKG_CONFIG"; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4300 $as_echo "$PKG_CONFIG" >&6; }
4301 else
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4303 $as_echo "no" >&6; }
4308 if test -z "$ac_cv_path_PKG_CONFIG"; then
4309 ac_pt_PKG_CONFIG=$PKG_CONFIG
4310 # Extract the first word of "pkg-config", so it can be a program name with args.
4311 set dummy pkg-config; ac_word=$2
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4315 $as_echo_n "(cached) " >&6
4316 else
4317 case $ac_pt_PKG_CONFIG in
4318 [\\/]* | ?:[\\/]*)
4319 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4323 for as_dir in $PATH
4325 IFS=$as_save_IFS
4326 test -z "$as_dir" && as_dir=.
4327 for ac_exec_ext in '' $ac_executable_extensions; do
4328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4329 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4331 break 2
4333 done
4334 done
4335 IFS=$as_save_IFS
4338 esac
4340 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4341 if test -n "$ac_pt_PKG_CONFIG"; then
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4343 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4344 else
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4346 $as_echo "no" >&6; }
4349 if test "x$ac_pt_PKG_CONFIG" = x; then
4350 PKG_CONFIG=""
4351 else
4352 case $cross_compiling:$ac_tool_warned in
4353 yes:)
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4356 ac_tool_warned=yes ;;
4357 esac
4358 PKG_CONFIG=$ac_pt_PKG_CONFIG
4360 else
4361 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4365 if test -n "$PKG_CONFIG"; then
4366 _pkg_min_version=0.23
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4368 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4369 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4371 $as_echo "yes" >&6; }
4372 else
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4374 $as_echo "no" >&6; }
4375 PKG_CONFIG=""
4378 if test "x$PKG_CONFIG" = "x"; then :
4379 as_fn_error $? "Could not find pkg-config" "$LINENO" 5
4382 # Check which arguments were set and act accordingly
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the Debug build" >&5
4384 $as_echo_n "checking whether to enable the Debug build... " >&6; }
4385 case "x$enable_debug" in #(
4386 "xno") :
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4389 QBT_ADD_CONFIG="$QBT_ADD_CONFIG release"
4390 QBT_REMOVE_CONFIG="$QBT_REMOVE_CONFIG debug" ;; #(
4391 "xyes") :
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4393 $as_echo "yes" >&6; }
4394 QBT_ADD_CONFIG="$QBT_ADD_CONFIG debug"
4395 QBT_REMOVE_CONFIG="$QBT_REMOVE_CONFIG release" ;; #(
4396 *) :
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
4398 $as_echo "$enable_debug" >&6; }
4399 as_fn_error $? "Unknown option \"$enable_debug\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4400 esac
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the stacktrace feature" >&5
4403 $as_echo_n "checking whether to enable the stacktrace feature... " >&6; }
4405 case "x$enable_stacktrace" in #(
4406 "xno") :
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4408 $as_echo "no" >&6; }
4409 QBT_REMOVE_CONFIG="$QBT_REMOVE_CONFIG stacktrace" ;; #(
4410 "xyes") :
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4412 $as_echo "yes" >&6; }
4413 QBT_ADD_CONFIG="$QBT_ADD_CONFIG stacktrace" ;; #(
4414 "xauto") :
4415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4417 #include <execinfo.h>
4418 _ACEOF
4419 if ac_fn_cxx_try_compile "$LINENO"; then :
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4421 $as_echo "yes" >&6; }
4422 QBT_ADD_CONFIG="$QBT_ADD_CONFIG stacktrace"
4423 else
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4426 QBT_REMOVE_CONFIG="$QBT_REMOVE_CONFIG stacktrace"
4428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ;; #(
4429 *) :
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_stacktrace" >&5
4431 $as_echo "$enable_stacktrace" >&6; }
4432 as_fn_error $? "Unknown option \"$enable_stacktrace\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4433 esac
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the GUI" >&5
4436 $as_echo_n "checking whether to enable the GUI... " >&6; }
4437 case "x$enable_gui" in #(
4438 "xyes") :
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4440 $as_echo "yes" >&6; }
4441 enable_systemd=no
4442 QBT_REMOVE_CONFIG="$QBT_REMOVE_CONFIG nogui" ;; #(
4443 "xno") :
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4446 enable_qt_dbus=no
4447 QBT_ADD_CONFIG="$QBT_ADD_CONFIG nogui" ;; #(
4448 *) :
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gui" >&5
4450 $as_echo "$enable_gui" >&6; }
4451 as_fn_error $? "Unknown option \"$enable_gui\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4452 esac
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install the systemd service file" >&5
4455 $as_echo_n "checking whether to install the systemd service file... " >&6; }
4456 case "x$enable_systemd" in #(
4457 "xyes") :
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4459 $as_echo "yes" >&6; }
4460 QBT_ADD_CONFIG="$QBT_ADD_CONFIG systemd" ;; #(
4461 "xno") :
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4463 $as_echo "no" >&6; }
4464 QBT_REMOVE_CONFIG="$QBT_REMOVE_CONFIG systemd" ;; #(
4465 *) :
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_systemd" >&5
4467 $as_echo "$enable_systemd" >&6; }
4468 as_fn_error $? "Unknown option \"$enable_systemd\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4469 esac
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the WebUI" >&5
4472 $as_echo_n "checking whether to enable the WebUI... " >&6; }
4473 case "x$enable_webui" in #(
4474 "xyes") :
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4476 $as_echo "yes" >&6; }
4477 QBT_REMOVE_CONFIG="$QBT_REMOVE_CONFIG nowebui" ;; #(
4478 "xno") :
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4481 QBT_ADD_CONFIG="$QBT_ADD_CONFIG nowebui" ;; #(
4482 *) :
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_webui" >&5
4484 $as_echo "$enable_webui" >&6; }
4485 as_fn_error $? "Unknown option \"$enable_webui\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4486 esac
4488 if test -n "$PKG_CONFIG" && \
4489 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.5.1\""; } >&5
4490 ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.5.1") 2>&5
4491 ac_status=$?
4492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4493 test $ac_status = 0; }; then
4495 if test -n "$QT_QMAKE"; then
4496 pkg_cv_QT_QMAKE="$QT_QMAKE"
4497 elif test -n "$PKG_CONFIG"; then
4498 if test -n "$PKG_CONFIG" && \
4499 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.5.1\""; } >&5
4500 ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.5.1") 2>&5
4501 ac_status=$?
4502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4503 test $ac_status = 0; }; then
4504 pkg_cv_QT_QMAKE=`$PKG_CONFIG --variable="host_bins" "Qt5Core >= 5.5.1" 2>/dev/null`
4505 test "x$?" != "x0" && pkg_failed=yes
4506 else
4507 pkg_failed=yes
4509 else
4510 pkg_failed=untried
4512 QT_QMAKE=$pkg_cv_QT_QMAKE
4514 if test "x$QT_QMAKE" = x""; then :
4520 if test -f "$QT_QMAKE/qmake"; then :
4521 QT_QMAKE="$QT_QMAKE/qmake"
4522 else
4523 if test -f "$QT_QMAKE/qmake-qt5"; then :
4524 QT_QMAKE="$QT_QMAKE/qmake-qt5"
4525 else
4526 QT_QMAKE=""
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5 qmake >= 5.5.1" >&5
4532 $as_echo_n "checking for Qt5 qmake >= 5.5.1... " >&6; }
4533 if test "x$QT_QMAKE" != "x"; then :
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_QMAKE" >&5
4535 $as_echo "$QT_QMAKE" >&6; }
4536 else
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4538 $as_echo "not found" >&6; }
4542 if test "x$QT_QMAKE" = "x"; then :
4543 as_fn_error $? "Could not find qmake" "$LINENO" 5
4546 if test "x$enable_gui" = "xyes"; then :
4548 pkg_failed=no
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5Svg" >&5
4550 $as_echo_n "checking for Qt5Svg... " >&6; }
4552 if test -n "$Qt5Svg_CFLAGS"; then
4553 pkg_cv_Qt5Svg_CFLAGS="$Qt5Svg_CFLAGS"
4554 elif test -n "$PKG_CONFIG"; then
4555 if test -n "$PKG_CONFIG" && \
4556 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Svg >= 5.5.1\""; } >&5
4557 ($PKG_CONFIG --exists --print-errors "Qt5Svg >= 5.5.1") 2>&5
4558 ac_status=$?
4559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4560 test $ac_status = 0; }; then
4561 pkg_cv_Qt5Svg_CFLAGS=`$PKG_CONFIG --cflags "Qt5Svg >= 5.5.1" 2>/dev/null`
4562 test "x$?" != "x0" && pkg_failed=yes
4563 else
4564 pkg_failed=yes
4566 else
4567 pkg_failed=untried
4569 if test -n "$Qt5Svg_LIBS"; then
4570 pkg_cv_Qt5Svg_LIBS="$Qt5Svg_LIBS"
4571 elif test -n "$PKG_CONFIG"; then
4572 if test -n "$PKG_CONFIG" && \
4573 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Svg >= 5.5.1\""; } >&5
4574 ($PKG_CONFIG --exists --print-errors "Qt5Svg >= 5.5.1") 2>&5
4575 ac_status=$?
4576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4577 test $ac_status = 0; }; then
4578 pkg_cv_Qt5Svg_LIBS=`$PKG_CONFIG --libs "Qt5Svg >= 5.5.1" 2>/dev/null`
4579 test "x$?" != "x0" && pkg_failed=yes
4580 else
4581 pkg_failed=yes
4583 else
4584 pkg_failed=untried
4589 if test $pkg_failed = yes; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4593 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4594 _pkg_short_errors_supported=yes
4595 else
4596 _pkg_short_errors_supported=no
4598 if test $_pkg_short_errors_supported = yes; then
4599 Qt5Svg_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "Qt5Svg >= 5.5.1" 2>&1`
4600 else
4601 Qt5Svg_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "Qt5Svg >= 5.5.1" 2>&1`
4603 # Put the nasty error message in config.log where it belongs
4604 echo "$Qt5Svg_PKG_ERRORS" >&5
4606 as_fn_error $? "Package requirements (Qt5Svg >= 5.5.1) were not met:
4608 $Qt5Svg_PKG_ERRORS
4610 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4611 installed software in a non-standard prefix.
4613 Alternatively, you may set the environment variables Qt5Svg_CFLAGS
4614 and Qt5Svg_LIBS to avoid the need to call pkg-config.
4615 See the pkg-config man page for more details." "$LINENO" 5
4616 elif test $pkg_failed = untried; then
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4621 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4622 is in your PATH or set the PKG_CONFIG environment variable to the full
4623 path to pkg-config.
4625 Alternatively, you may set the environment variables Qt5Svg_CFLAGS
4626 and Qt5Svg_LIBS to avoid the need to call pkg-config.
4627 See the pkg-config man page for more details.
4629 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4630 See \`config.log' for more details" "$LINENO" 5; }
4631 else
4632 Qt5Svg_CFLAGS=$pkg_cv_Qt5Svg_CFLAGS
4633 Qt5Svg_LIBS=$pkg_cv_Qt5Svg_LIBS
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4635 $as_echo "yes" >&6; }
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether QtDBus should be enabled" >&5
4641 $as_echo_n "checking whether QtDBus should be enabled... " >&6; }
4642 case "x$enable_qt_dbus" in #(
4643 "xyes") :
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4645 $as_echo "yes" >&6; }
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5DBus >= 5.5.1" >&5
4647 $as_echo_n "checking for Qt5DBus >= 5.5.1... " >&6; }
4648 if test -n "$PKG_CONFIG" && \
4649 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5DBus >= 5.5.1\""; } >&5
4650 ($PKG_CONFIG --exists --print-errors "Qt5DBus >= 5.5.1") 2>&5
4651 ac_status=$?
4652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4653 test $ac_status = 0; }; then
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4655 $as_echo "found" >&6; }
4656 HAVE_QTDBUS=true
4657 else
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4659 $as_echo "not found" >&6; }
4660 HAVE_QTDBUS=false
4663 if test "x$HAVE_QTDBUS" = "xfalse"; then :
4664 as_fn_error $? "Could not find QtDBus" "$LINENO" 5
4665 else
4666 QBT_ADD_CONFIG="$QBT_ADD_CONFIG dbus"
4668 fi ;; #(
4669 "xno") :
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4672 QBT_REMOVE_CONFIG="$QBT_REMOVE_CONFIG dbus" ;; #(
4673 *) :
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_qt_dbus" >&5
4675 $as_echo "$enable_qt_dbus" >&6; }
4676 as_fn_error $? "Unknown option \"$enable_qt_dbus\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4677 esac
4682 # Check whether --with-boost was given.
4683 if test "${with_boost+set}" = set; then :
4684 withval=$with_boost;
4685 case $withval in #(
4686 no) :
4687 want_boost="no";_AX_BOOST_BASE_boost_path="" ;; #(
4688 yes) :
4689 want_boost="yes";_AX_BOOST_BASE_boost_path="" ;; #(
4690 *) :
4691 want_boost="yes";_AX_BOOST_BASE_boost_path="$withval" ;;
4692 esac
4694 else
4695 want_boost="yes"
4701 # Check whether --with-boost-libdir was given.
4702 if test "${with_boost_libdir+set}" = set; then :
4703 withval=$with_boost_libdir;
4704 if test -d "$withval"; then :
4705 _AX_BOOST_BASE_boost_lib_path="$withval"
4706 else
4707 as_fn_error $? "--with-boost-libdir expected directory name" "$LINENO" 5
4710 else
4711 _AX_BOOST_BASE_boost_lib_path=""
4715 BOOST_LDFLAGS=""
4716 BOOST_CPPFLAGS=""
4717 if test "x$want_boost" = "xyes"; then :
4720 if test "x1.35" = "x"; then :
4721 _AX_BOOST_BASE_TONUMERICVERSION_req="1.20.0"
4722 else
4723 _AX_BOOST_BASE_TONUMERICVERSION_req="1.35"
4725 _AX_BOOST_BASE_TONUMERICVERSION_req_shorten=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([0-9]*\.[0-9]*\)'`
4726 _AX_BOOST_BASE_TONUMERICVERSION_req_major=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([0-9]*\)'`
4727 if test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_major" = "x"; then :
4728 as_fn_error $? "You should at least specify libboost major version" "$LINENO" 5
4730 _AX_BOOST_BASE_TONUMERICVERSION_req_minor=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[0-9]*\.\([0-9]*\)'`
4731 if test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_minor" = "x"; then :
4732 _AX_BOOST_BASE_TONUMERICVERSION_req_minor="0"
4734 _AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
4735 if test "X$_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor" = "X"; then :
4736 _AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor="0"
4738 _AX_BOOST_BASE_TONUMERICVERSION_RET=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req_major \* 100000 \+ $_AX_BOOST_BASE_TONUMERICVERSION_req_minor \* 100 \+ $_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor`
4739 WANT_BOOST_VERSION=$_AX_BOOST_BASE_TONUMERICVERSION_RET
4741 succeeded=no
4745 case ${host_cpu} in #(
4746 x86_64) :
4747 libsubdirs="lib64 libx32 lib lib64" ;; #(
4748 ppc64|s390x|sparc64|aarch64|ppc64le) :
4749 libsubdirs="lib64 lib lib64" ;; #(
4750 *) :
4751 libsubdirs="lib"
4753 esac
4755 case ${host_cpu} in #(
4756 i?86) :
4757 multiarch_libsubdir="lib/i386-${host_os}" ;; #(
4758 *) :
4759 multiarch_libsubdir="lib/${host_cpu}-${host_os}"
4761 esac
4763 if test "x$_AX_BOOST_BASE_boost_path" != "x"; then :
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= 1.35 ($WANT_BOOST_VERSION) includes in \"$_AX_BOOST_BASE_boost_path/include\"" >&5
4766 $as_echo_n "checking for boostlib >= 1.35 ($WANT_BOOST_VERSION) includes in \"$_AX_BOOST_BASE_boost_path/include\"... " >&6; }
4767 if test -d "$_AX_BOOST_BASE_boost_path/include" && test -r "$_AX_BOOST_BASE_boost_path/include"; then :
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4770 $as_echo "yes" >&6; }
4771 BOOST_CPPFLAGS="-I$_AX_BOOST_BASE_boost_path/include"
4772 for _AX_BOOST_BASE_boost_path_tmp in $multiarch_libsubdir $libsubdirs; do
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= 1.35 ($WANT_BOOST_VERSION) lib path in \"$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp\"" >&5
4774 $as_echo_n "checking for boostlib >= 1.35 ($WANT_BOOST_VERSION) lib path in \"$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp\"... " >&6; }
4775 if test -d "$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp" && test -r "$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp" ; then :
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4778 $as_echo "yes" >&6; }
4779 BOOST_LDFLAGS="-L$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp";
4780 break;
4782 else
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 $as_echo "no" >&6; }
4786 done
4787 else
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4793 else
4795 if test X"$cross_compiling" = Xyes; then
4796 search_libsubdirs=$multiarch_libsubdir
4797 else
4798 search_libsubdirs="$multiarch_libsubdir $libsubdirs"
4800 for _AX_BOOST_BASE_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
4801 if test -d "$_AX_BOOST_BASE_boost_path_tmp/include/boost" && test -r "$_AX_BOOST_BASE_boost_path_tmp/include/boost" ; then
4802 for libsubdir in $search_libsubdirs ; do
4803 if ls "$_AX_BOOST_BASE_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
4804 done
4805 BOOST_LDFLAGS="-L$_AX_BOOST_BASE_boost_path_tmp/$libsubdir"
4806 BOOST_CPPFLAGS="-I$_AX_BOOST_BASE_boost_path_tmp/include"
4807 break;
4809 done
4813 if test "x$_AX_BOOST_BASE_boost_lib_path" != "x"; then :
4814 BOOST_LDFLAGS="-L$_AX_BOOST_BASE_boost_lib_path"
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= 1.35 ($WANT_BOOST_VERSION)" >&5
4818 $as_echo_n "checking for boostlib >= 1.35 ($WANT_BOOST_VERSION)... " >&6; }
4819 CPPFLAGS_SAVED="$CPPFLAGS"
4820 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
4821 export CPPFLAGS
4823 LDFLAGS_SAVED="$LDFLAGS"
4824 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
4825 export LDFLAGS
4828 ac_ext=cpp
4829 ac_cpp='$CXXCPP $CPPFLAGS'
4830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4835 /* end confdefs.h. */
4837 #include <boost/version.hpp>
4840 main ()
4843 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < ($WANT_BOOST_VERSION))]));
4846 return 0;
4848 _ACEOF
4849 if ac_fn_cxx_try_compile "$LINENO"; then :
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4852 $as_echo "yes" >&6; }
4853 succeeded=yes
4854 found_system=yes
4857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4858 ac_ext=cpp
4859 ac_cpp='$CXXCPP $CPPFLAGS'
4860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4867 if test "x$succeeded" != "xyes" ; then
4868 CPPFLAGS="$CPPFLAGS_SAVED"
4869 LDFLAGS="$LDFLAGS_SAVED"
4870 BOOST_CPPFLAGS=
4871 if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
4872 BOOST_LDFLAGS=
4874 _version=0
4875 if test -n "$_AX_BOOST_BASE_boost_path" ; then
4876 if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path"; then
4877 for i in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
4878 _version_tmp=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
4879 V_CHECK=`expr $_version_tmp \> $_version`
4880 if test "x$V_CHECK" = "x1" ; then
4881 _version=$_version_tmp
4883 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
4884 BOOST_CPPFLAGS="-I$_AX_BOOST_BASE_boost_path/include/boost-$VERSION_UNDERSCORE"
4885 done
4886 if test -z "$BOOST_CPPFLAGS"; then
4887 if test -d "$_AX_BOOST_BASE_boost_path/boost" && test -r "$_AX_BOOST_BASE_boost_path/boost"; then
4888 BOOST_CPPFLAGS="-I$_AX_BOOST_BASE_boost_path"
4891 if test -n "$BOOST_CPPFLAGS" && test -z "$BOOST_LDFLAGS"; then
4892 for libsubdir in $libsubdirs ; do
4893 if ls "$_AX_BOOST_BASE_boost_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
4894 done
4895 BOOST_LDFLAGS="-L$_AX_BOOST_BASE_boost_path/$libsubdir"
4898 else
4899 if test "x$cross_compiling" != "xyes" ; then
4900 for _AX_BOOST_BASE_boost_path in /usr /usr/local /opt /opt/local ; do
4901 if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path" ; then
4902 for i in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
4903 _version_tmp=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
4904 V_CHECK=`expr $_version_tmp \> $_version`
4905 if test "x$V_CHECK" = "x1" ; then
4906 _version=$_version_tmp
4907 best_path=$_AX_BOOST_BASE_boost_path
4909 done
4911 done
4913 VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
4914 BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
4915 if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
4916 for libsubdir in $libsubdirs ; do
4917 if ls "$best_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
4918 done
4919 BOOST_LDFLAGS="-L$best_path/$libsubdir"
4923 if test -n "$BOOST_ROOT" ; then
4924 for libsubdir in $libsubdirs ; do
4925 if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
4926 done
4927 if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; then
4928 version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'`
4929 stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
4930 stage_version_shorten=`expr $stage_version : '\([0-9]*\.[0-9]*\)'`
4931 V_CHECK=`expr $stage_version_shorten \>\= $_version`
4932 if test "x$V_CHECK" = "x1" && test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5
4934 $as_echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;}
4935 BOOST_CPPFLAGS="-I$BOOST_ROOT"
4936 BOOST_LDFLAGS="-L$BOOST_ROOT/stage/$libsubdir"
4942 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
4943 export CPPFLAGS
4944 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
4945 export LDFLAGS
4947 ac_ext=cpp
4948 ac_cpp='$CXXCPP $CPPFLAGS'
4949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4954 /* end confdefs.h. */
4956 #include <boost/version.hpp>
4959 main ()
4962 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < ($WANT_BOOST_VERSION))]));
4965 return 0;
4967 _ACEOF
4968 if ac_fn_cxx_try_compile "$LINENO"; then :
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4971 $as_echo "yes" >&6; }
4972 succeeded=yes
4973 found_system=yes
4976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4977 ac_ext=cpp
4978 ac_cpp='$CXXCPP $CPPFLAGS'
4979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4985 if test "x$succeeded" != "xyes" ; then
4986 if test "x$_version" = "x0" ; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: We could not detect the boost libraries (version 1.35 or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&5
4988 $as_echo "$as_me: We could not detect the boost libraries (version 1.35 or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&6;}
4989 else
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5
4991 $as_echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
4993 # execute ACTION-IF-NOT-FOUND (if present):
4994 as_fn_error $? "Could not find Boost" "$LINENO" 5
4995 else
4997 $as_echo "#define HAVE_BOOST /**/" >>confdefs.h
4999 # execute ACTION-IF-FOUND (if present):
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost CPPFLAGS: \"$BOOST_CPPFLAGS\"
5001 Boost LDFLAGS: \"$BOOST_LDFLAGS\"" >&5
5002 $as_echo "$as_me: Boost CPPFLAGS: \"$BOOST_CPPFLAGS\"
5003 Boost LDFLAGS: \"$BOOST_LDFLAGS\"" >&6;}
5006 CPPFLAGS="$CPPFLAGS_SAVED"
5007 LDFLAGS="$LDFLAGS_SAVED"
5014 CPPFLAGS="$BOOST_CPPFLAGS $CPPFLAGS"
5015 LDFLAGS="$BOOST_LDFLAGS $LDFLAGS"
5017 # add workaround for problematic boost version
5018 ac_ext=cpp
5019 ac_cpp='$CXXCPP $CPPFLAGS'
5020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5024 # taken from ax_boost_base.m4
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5029 #include <boost/version.hpp>
5031 main ()
5033 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < (106000))]));
5035 return 0;
5037 _ACEOF
5038 if ac_fn_cxx_try_compile "$LINENO"; then :
5040 else
5041 QBT_ADD_DEFINES="$QBT_ADD_DEFINES BOOST_NO_CXX11_RVALUE_REFERENCES"
5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5044 ac_ext=cpp
5045 ac_cpp='$CXXCPP $CPPFLAGS'
5046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5053 # Check whether --with-boost-system was given.
5054 if test "${with_boost_system+set}" = set; then :
5055 withval=$with_boost_system;
5056 if test "$withval" = "no"; then
5057 want_boost="no"
5058 elif test "$withval" = "yes"; then
5059 want_boost="yes"
5060 ax_boost_user_system_lib=""
5061 else
5062 want_boost="yes"
5063 ax_boost_user_system_lib="$withval"
5066 else
5067 want_boost="yes"
5072 if test "x$want_boost" = "xyes"; then
5075 CPPFLAGS_SAVED="$CPPFLAGS"
5076 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
5077 export CPPFLAGS
5079 LDFLAGS_SAVED="$LDFLAGS"
5080 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
5081 export LDFLAGS
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::System library is available" >&5
5084 $as_echo_n "checking whether the Boost::System library is available... " >&6; }
5085 if ${ax_cv_boost_system+:} false; then :
5086 $as_echo_n "(cached) " >&6
5087 else
5088 ac_ext=cpp
5089 ac_cpp='$CXXCPP $CPPFLAGS'
5090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5094 CXXFLAGS_SAVE=$CXXFLAGS
5095 CXXFLAGS=
5097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5098 /* end confdefs.h. */
5099 #include <boost/system/error_code.hpp>
5101 main ()
5103 boost::system::error_category *a = 0;
5105 return 0;
5107 _ACEOF
5108 if ac_fn_cxx_try_compile "$LINENO"; then :
5109 ax_cv_boost_system=yes
5110 else
5111 ax_cv_boost_system=no
5113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5114 CXXFLAGS=$CXXFLAGS_SAVE
5115 ac_ext=cpp
5116 ac_cpp='$CXXCPP $CPPFLAGS'
5117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_system" >&5
5124 $as_echo "$ax_cv_boost_system" >&6; }
5125 if test "x$ax_cv_boost_system" = "xyes"; then
5129 $as_echo "#define HAVE_BOOST_SYSTEM /**/" >>confdefs.h
5131 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
5133 LDFLAGS_SAVE=$LDFLAGS
5134 if test "x$ax_boost_user_system_lib" = "x"; then
5135 for libextension in `ls -r $BOOSTLIBDIR/libboost_system* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do
5136 ax_lib=${libextension}
5137 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
5139 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
5140 if eval \${$as_ac_Lib+:} false; then :
5141 $as_echo_n "(cached) " >&6
5142 else
5143 ac_check_lib_save_LIBS=$LIBS
5144 LIBS="-l$ax_lib $LIBS"
5145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5146 /* end confdefs.h. */
5148 /* Override any GCC internal prototype to avoid an error.
5149 Use char because int might match the return type of a GCC
5150 builtin and then its argument prototype would still apply. */
5151 #ifdef __cplusplus
5152 extern "C"
5153 #endif
5154 char exit ();
5156 main ()
5158 return exit ();
5160 return 0;
5162 _ACEOF
5163 if ac_fn_cxx_try_link "$LINENO"; then :
5164 eval "$as_ac_Lib=yes"
5165 else
5166 eval "$as_ac_Lib=no"
5168 rm -f core conftest.err conftest.$ac_objext \
5169 conftest$ac_exeext conftest.$ac_ext
5170 LIBS=$ac_check_lib_save_LIBS
5172 eval ac_res=\$$as_ac_Lib
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5174 $as_echo "$ac_res" >&6; }
5175 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5176 BOOST_SYSTEM_LIB="-l$ax_lib"; link_system="yes"; break
5177 else
5178 link_system="no"
5181 done
5182 if test "x$link_system" != "xyes"; then
5183 for libextension in `ls -r $BOOSTLIBDIR/boost_system* 2>/dev/null | sed 's,.*/,,' | sed -e 's,\..*,,'` ; do
5184 ax_lib=${libextension}
5185 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
5187 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
5188 if eval \${$as_ac_Lib+:} false; then :
5189 $as_echo_n "(cached) " >&6
5190 else
5191 ac_check_lib_save_LIBS=$LIBS
5192 LIBS="-l$ax_lib $LIBS"
5193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5194 /* end confdefs.h. */
5196 /* Override any GCC internal prototype to avoid an error.
5197 Use char because int might match the return type of a GCC
5198 builtin and then its argument prototype would still apply. */
5199 #ifdef __cplusplus
5200 extern "C"
5201 #endif
5202 char exit ();
5204 main ()
5206 return exit ();
5208 return 0;
5210 _ACEOF
5211 if ac_fn_cxx_try_link "$LINENO"; then :
5212 eval "$as_ac_Lib=yes"
5213 else
5214 eval "$as_ac_Lib=no"
5216 rm -f core conftest.err conftest.$ac_objext \
5217 conftest$ac_exeext conftest.$ac_ext
5218 LIBS=$ac_check_lib_save_LIBS
5220 eval ac_res=\$$as_ac_Lib
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5222 $as_echo "$ac_res" >&6; }
5223 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5224 BOOST_SYSTEM_LIB="-l$ax_lib"; link_system="yes"; break
5225 else
5226 link_system="no"
5229 done
5232 else
5233 for ax_lib in $ax_boost_user_system_lib boost_system-$ax_boost_user_system_lib; do
5234 as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
5236 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
5237 if eval \${$as_ac_Lib+:} false; then :
5238 $as_echo_n "(cached) " >&6
5239 else
5240 ac_check_lib_save_LIBS=$LIBS
5241 LIBS="-l$ax_lib $LIBS"
5242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h. */
5245 /* Override any GCC internal prototype to avoid an error.
5246 Use char because int might match the return type of a GCC
5247 builtin and then its argument prototype would still apply. */
5248 #ifdef __cplusplus
5249 extern "C"
5250 #endif
5251 char exit ();
5253 main ()
5255 return exit ();
5257 return 0;
5259 _ACEOF
5260 if ac_fn_cxx_try_link "$LINENO"; then :
5261 eval "$as_ac_Lib=yes"
5262 else
5263 eval "$as_ac_Lib=no"
5265 rm -f core conftest.err conftest.$ac_objext \
5266 conftest$ac_exeext conftest.$ac_ext
5267 LIBS=$ac_check_lib_save_LIBS
5269 eval ac_res=\$$as_ac_Lib
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5271 $as_echo "$ac_res" >&6; }
5272 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5273 BOOST_SYSTEM_LIB="-l$ax_lib"; link_system="yes"; break
5274 else
5275 link_system="no"
5278 done
5281 if test "x$ax_lib" = "x"; then
5282 as_fn_error $? "Could not find a version of the library!" "$LINENO" 5
5284 if test "x$link_system" = "xno"; then
5285 as_fn_error $? "Could not link against $ax_lib !" "$LINENO" 5
5289 CPPFLAGS="$CPPFLAGS_SAVED"
5290 LDFLAGS="$LDFLAGS_SAVED"
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost.System LIB: \"$BOOST_SYSTEM_LIB\"" >&5
5294 $as_echo "$as_me: Boost.System LIB: \"$BOOST_SYSTEM_LIB\"" >&6;}
5295 LIBS="$BOOST_SYSTEM_LIB $LIBS"
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which qtsingleapplication to use" >&5
5298 $as_echo_n "checking which qtsingleapplication to use... " >&6; }
5299 case "x$with_qtsingleapplication" in #(
5300 "xshipped") :
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shipped" >&5
5302 $as_echo "shipped" >&6; }
5303 QBT_REMOVE_CONFIG="$QBT_REMOVE_CONFIG usesystemqtsingleapplication" ;; #(
5304 "xsystem") :
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system" >&5
5306 $as_echo "system" >&6; }
5307 QBT_ADD_CONFIG="$QBT_ADD_CONFIG usesystemqtsingleapplication" ;; #(
5308 *) :
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_qtsingleapplication" >&5
5310 $as_echo "$with_qtsingleapplication" >&6; }
5311 as_fn_error $? "Unknown option \"$with_qtsingleapplication\". Use either \"system\" or \"shipped\"." "$LINENO" 5 ;;
5312 esac
5315 pkg_failed=no
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libtorrent" >&5
5317 $as_echo_n "checking for libtorrent... " >&6; }
5319 if test -n "$libtorrent_CFLAGS"; then
5320 pkg_cv_libtorrent_CFLAGS="$libtorrent_CFLAGS"
5321 elif test -n "$PKG_CONFIG"; then
5322 if test -n "$PKG_CONFIG" && \
5323 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtorrent-rasterbar >= 1.0.6\""; } >&5
5324 ($PKG_CONFIG --exists --print-errors "libtorrent-rasterbar >= 1.0.6") 2>&5
5325 ac_status=$?
5326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5327 test $ac_status = 0; }; then
5328 pkg_cv_libtorrent_CFLAGS=`$PKG_CONFIG --cflags "libtorrent-rasterbar >= 1.0.6" 2>/dev/null`
5329 test "x$?" != "x0" && pkg_failed=yes
5330 else
5331 pkg_failed=yes
5333 else
5334 pkg_failed=untried
5336 if test -n "$libtorrent_LIBS"; then
5337 pkg_cv_libtorrent_LIBS="$libtorrent_LIBS"
5338 elif test -n "$PKG_CONFIG"; then
5339 if test -n "$PKG_CONFIG" && \
5340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtorrent-rasterbar >= 1.0.6\""; } >&5
5341 ($PKG_CONFIG --exists --print-errors "libtorrent-rasterbar >= 1.0.6") 2>&5
5342 ac_status=$?
5343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5344 test $ac_status = 0; }; then
5345 pkg_cv_libtorrent_LIBS=`$PKG_CONFIG --libs "libtorrent-rasterbar >= 1.0.6" 2>/dev/null`
5346 test "x$?" != "x0" && pkg_failed=yes
5347 else
5348 pkg_failed=yes
5350 else
5351 pkg_failed=untried
5356 if test $pkg_failed = yes; then
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358 $as_echo "no" >&6; }
5360 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5361 _pkg_short_errors_supported=yes
5362 else
5363 _pkg_short_errors_supported=no
5365 if test $_pkg_short_errors_supported = yes; then
5366 libtorrent_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtorrent-rasterbar >= 1.0.6" 2>&1`
5367 else
5368 libtorrent_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtorrent-rasterbar >= 1.0.6" 2>&1`
5370 # Put the nasty error message in config.log where it belongs
5371 echo "$libtorrent_PKG_ERRORS" >&5
5373 as_fn_error $? "Package requirements (libtorrent-rasterbar >= 1.0.6) were not met:
5375 $libtorrent_PKG_ERRORS
5377 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5378 installed software in a non-standard prefix.
5380 Alternatively, you may set the environment variables libtorrent_CFLAGS
5381 and libtorrent_LIBS to avoid the need to call pkg-config.
5382 See the pkg-config man page for more details." "$LINENO" 5
5383 elif test $pkg_failed = untried; then
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5388 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5389 is in your PATH or set the PKG_CONFIG environment variable to the full
5390 path to pkg-config.
5392 Alternatively, you may set the environment variables libtorrent_CFLAGS
5393 and libtorrent_LIBS to avoid the need to call pkg-config.
5394 See the pkg-config man page for more details.
5396 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5397 See \`config.log' for more details" "$LINENO" 5; }
5398 else
5399 libtorrent_CFLAGS=$pkg_cv_libtorrent_CFLAGS
5400 libtorrent_LIBS=$pkg_cv_libtorrent_LIBS
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5402 $as_echo "yes" >&6; }
5403 CPPFLAGS="$libtorrent_CFLAGS $CPPFLAGS"
5404 LIBS="$libtorrent_LIBS $LIBS"
5408 pkg_failed=no
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
5410 $as_echo_n "checking for zlib... " >&6; }
5412 if test -n "$zlib_CFLAGS"; then
5413 pkg_cv_zlib_CFLAGS="$zlib_CFLAGS"
5414 elif test -n "$PKG_CONFIG"; then
5415 if test -n "$PKG_CONFIG" && \
5416 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.5.2\""; } >&5
5417 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.5.2") 2>&5
5418 ac_status=$?
5419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5420 test $ac_status = 0; }; then
5421 pkg_cv_zlib_CFLAGS=`$PKG_CONFIG --cflags "zlib >= 1.2.5.2" 2>/dev/null`
5422 test "x$?" != "x0" && pkg_failed=yes
5423 else
5424 pkg_failed=yes
5426 else
5427 pkg_failed=untried
5429 if test -n "$zlib_LIBS"; then
5430 pkg_cv_zlib_LIBS="$zlib_LIBS"
5431 elif test -n "$PKG_CONFIG"; then
5432 if test -n "$PKG_CONFIG" && \
5433 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.5.2\""; } >&5
5434 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.5.2") 2>&5
5435 ac_status=$?
5436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5437 test $ac_status = 0; }; then
5438 pkg_cv_zlib_LIBS=`$PKG_CONFIG --libs "zlib >= 1.2.5.2" 2>/dev/null`
5439 test "x$?" != "x0" && pkg_failed=yes
5440 else
5441 pkg_failed=yes
5443 else
5444 pkg_failed=untried
5449 if test $pkg_failed = yes; then
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5451 $as_echo "no" >&6; }
5453 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5454 _pkg_short_errors_supported=yes
5455 else
5456 _pkg_short_errors_supported=no
5458 if test $_pkg_short_errors_supported = yes; then
5459 zlib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.2.5.2" 2>&1`
5460 else
5461 zlib_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.2.5.2" 2>&1`
5463 # Put the nasty error message in config.log where it belongs
5464 echo "$zlib_PKG_ERRORS" >&5
5466 as_fn_error $? "Package requirements (zlib >= 1.2.5.2) were not met:
5468 $zlib_PKG_ERRORS
5470 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5471 installed software in a non-standard prefix.
5473 Alternatively, you may set the environment variables zlib_CFLAGS
5474 and zlib_LIBS to avoid the need to call pkg-config.
5475 See the pkg-config man page for more details." "$LINENO" 5
5476 elif test $pkg_failed = untried; then
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5481 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
5482 is in your PATH or set the PKG_CONFIG environment variable to the full
5483 path to pkg-config.
5485 Alternatively, you may set the environment variables zlib_CFLAGS
5486 and zlib_LIBS to avoid the need to call pkg-config.
5487 See the pkg-config man page for more details.
5489 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5490 See \`config.log' for more details" "$LINENO" 5; }
5491 else
5492 zlib_CFLAGS=$pkg_cv_zlib_CFLAGS
5493 zlib_LIBS=$pkg_cv_zlib_LIBS
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5495 $as_echo "yes" >&6; }
5496 CPPFLAGS="$zlib_CFLAGS $CPPFLAGS"
5497 LIBS="$zlib_LIBS $LIBS"
5500 # These are required because autoconf doesn't expand these **particular**
5501 # vars automatically. And qmake cannot autoexpand them.
5503 prefix_NONE=
5504 exec_prefix_NONE=
5505 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
5506 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
5507 eval ax_define_dir="\"$prefix\""
5508 eval ax_define_dir="\"$ax_define_dir\""
5509 EXPAND_PREFIX="$ax_define_dir"
5511 cat >>confdefs.h <<_ACEOF
5512 #define EXPAND_PREFIX "$ax_define_dir"
5513 _ACEOF
5515 test "$prefix_NONE" && prefix=NONE
5516 test "$exec_prefix_NONE" && exec_prefix=NONE
5519 prefix_NONE=
5520 exec_prefix_NONE=
5521 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
5522 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
5523 eval ax_define_dir="\"$bindir\""
5524 eval ax_define_dir="\"$ax_define_dir\""
5525 EXPAND_BINDIR="$ax_define_dir"
5527 cat >>confdefs.h <<_ACEOF
5528 #define EXPAND_BINDIR "$ax_define_dir"
5529 _ACEOF
5531 test "$prefix_NONE" && prefix=NONE
5532 test "$exec_prefix_NONE" && exec_prefix=NONE
5535 prefix_NONE=
5536 exec_prefix_NONE=
5537 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
5538 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
5539 eval ax_define_dir="\"$datadir\""
5540 eval ax_define_dir="\"$ax_define_dir\""
5541 EXPAND_DATADIR="$ax_define_dir"
5543 cat >>confdefs.h <<_ACEOF
5544 #define EXPAND_DATADIR "$ax_define_dir"
5545 _ACEOF
5547 test "$prefix_NONE" && prefix=NONE
5548 test "$exec_prefix_NONE" && exec_prefix=NONE
5551 prefix_NONE=
5552 exec_prefix_NONE=
5553 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
5554 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
5555 eval ax_define_dir="\"$mandir\""
5556 eval ax_define_dir="\"$ax_define_dir\""
5557 EXPAND_MANDIR="$ax_define_dir"
5559 cat >>confdefs.h <<_ACEOF
5560 #define EXPAND_MANDIR "$ax_define_dir"
5561 _ACEOF
5563 test "$prefix_NONE" && prefix=NONE
5564 test "$exec_prefix_NONE" && exec_prefix=NONE
5567 # Original extract() function contributed by pmzqla
5568 # $*: Strings to parse
5569 # Set $QBT_CONF_DEFINES, $QBT_CONF_INCLUDES, $QBT_CONF_EXTRA_CFLAGS
5570 extract() {
5571 if [ -z "$*" ]; then
5572 echo "Input string required"
5573 return 1
5576 # BSD sed needs an actual newline character in the substitute command
5577 new_line='
5579 # Convert " -" to "\n" if not between quotes and remove possible leading white spaces
5580 string=$(echo " $*" | $SED -e "s: -:\\${new_line}:g" -e 's:"\(.*\)\n\(.*\)":\"\1 -\2":g' -e "s:'\(.*\)\n\(.*\)':\'\1 -\2':g" -e 's/^[[:space:]]*//')
5581 SAVEIFS=$IFS
5582 IFS=$(printf "\n\b")
5583 for i in $string; do
5584 case "$(echo "$i" | cut -c1)" in
5585 '') ;;
5586 D) QBT_CONF_DEFINES="$(echo $i | cut -c2-) $QBT_CONF_DEFINES";;
5587 I) QBT_CONF_INCLUDES="$(echo $i | cut -c2-) $QBT_CONF_INCLUDES";;
5588 *) QBT_CONF_EXTRA_CFLAGS="-$i $QBT_CONF_EXTRA_CFLAGS";;
5589 esac
5590 done
5591 IFS=$SAVEIFS
5594 extract "$CFLAGS $CPPFLAGS $CXXFLAGS"
5595 QBT_ADD_DEFINES="$QBT_ADD_DEFINES $QBT_CONF_DEFINES"
5597 # Substitute the values of these vars in conf.pri.in
5605 ac_config_files="$ac_config_files conf.pri"
5607 cat >confcache <<\_ACEOF
5608 # This file is a shell script that caches the results of configure
5609 # tests run on this system so they can be shared between configure
5610 # scripts and configure runs, see configure's option --config-cache.
5611 # It is not useful on other systems. If it contains results you don't
5612 # want to keep, you may remove or edit it.
5614 # config.status only pays attention to the cache file if you give it
5615 # the --recheck option to rerun configure.
5617 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5618 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5619 # following values.
5621 _ACEOF
5623 # The following way of writing the cache mishandles newlines in values,
5624 # but we know of no workaround that is simple, portable, and efficient.
5625 # So, we kill variables containing newlines.
5626 # Ultrix sh set writes to stderr and can't be redirected directly,
5627 # and sets the high bit in the cache file unless we assign to the vars.
5629 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5630 eval ac_val=\$$ac_var
5631 case $ac_val in #(
5632 *${as_nl}*)
5633 case $ac_var in #(
5634 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5635 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5636 esac
5637 case $ac_var in #(
5638 _ | IFS | as_nl) ;; #(
5639 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5640 *) { eval $ac_var=; unset $ac_var;} ;;
5641 esac ;;
5642 esac
5643 done
5645 (set) 2>&1 |
5646 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5647 *${as_nl}ac_space=\ *)
5648 # `set' does not quote correctly, so add quotes: double-quote
5649 # substitution turns \\\\ into \\, and sed turns \\ into \.
5650 sed -n \
5651 "s/'/'\\\\''/g;
5652 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5653 ;; #(
5655 # `set' quotes correctly as required by POSIX, so do not add quotes.
5656 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5658 esac |
5659 sort
5661 sed '
5662 /^ac_cv_env_/b end
5663 t clear
5664 :clear
5665 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5666 t end
5667 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5668 :end' >>confcache
5669 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5670 if test -w "$cache_file"; then
5671 if test "x$cache_file" != "x/dev/null"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5673 $as_echo "$as_me: updating cache $cache_file" >&6;}
5674 if test ! -f "$cache_file" || test -h "$cache_file"; then
5675 cat confcache >"$cache_file"
5676 else
5677 case $cache_file in #(
5678 */* | ?:*)
5679 mv -f confcache "$cache_file"$$ &&
5680 mv -f "$cache_file"$$ "$cache_file" ;; #(
5682 mv -f confcache "$cache_file" ;;
5683 esac
5686 else
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5688 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5691 rm -f confcache
5693 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5694 # Let make expand exec_prefix.
5695 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5697 # Transform confdefs.h into DEFS.
5698 # Protect against shell expansion while executing Makefile rules.
5699 # Protect against Makefile macro expansion.
5701 # If the first sed substitution is executed (which looks for macros that
5702 # take arguments), then branch to the quote section. Otherwise,
5703 # look for a macro that doesn't take arguments.
5704 ac_script='
5705 :mline
5706 /\\$/{
5708 s,\\\n,,
5709 b mline
5711 t clear
5712 :clear
5713 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5714 t quote
5715 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5716 t quote
5717 b any
5718 :quote
5719 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5720 s/\[/\\&/g
5721 s/\]/\\&/g
5722 s/\$/$$/g
5724 :any
5727 s/^\n//
5728 s/\n/ /g
5732 DEFS=`sed -n "$ac_script" confdefs.h`
5735 ac_libobjs=
5736 ac_ltlibobjs=
5738 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5739 # 1. Remove the extension, and $U if already installed.
5740 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5741 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5742 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5743 # will be set to the directory where LIBOBJS objects are built.
5744 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5745 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5746 done
5747 LIBOBJS=$ac_libobjs
5749 LTLIBOBJS=$ac_ltlibobjs
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5753 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5754 if test -n "$am_sleep_pid"; then
5755 # Hide warnings about reused PIDs.
5756 wait $am_sleep_pid 2>/dev/null
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5759 $as_echo "done" >&6; }
5760 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5761 as_fn_error $? "conditional \"AMDEP\" was never defined.
5762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5764 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5765 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5768 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5769 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
5770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5772 if test -n "$EXEEXT"; then
5773 am__EXEEXT_TRUE=
5774 am__EXEEXT_FALSE='#'
5775 else
5776 am__EXEEXT_TRUE='#'
5777 am__EXEEXT_FALSE=
5781 : "${CONFIG_STATUS=./config.status}"
5782 ac_write_fail=0
5783 ac_clean_files_save=$ac_clean_files
5784 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5786 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5787 as_write_fail=0
5788 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5789 #! $SHELL
5790 # Generated by $as_me.
5791 # Run this file to recreate the current configuration.
5792 # Compiler output produced by configure, useful for debugging
5793 # configure, is in config.log if it exists.
5795 debug=false
5796 ac_cs_recheck=false
5797 ac_cs_silent=false
5799 SHELL=\${CONFIG_SHELL-$SHELL}
5800 export SHELL
5801 _ASEOF
5802 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5803 ## -------------------- ##
5804 ## M4sh Initialization. ##
5805 ## -------------------- ##
5807 # Be more Bourne compatible
5808 DUALCASE=1; export DUALCASE # for MKS sh
5809 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5810 emulate sh
5811 NULLCMD=:
5812 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5813 # is contrary to our usage. Disable this feature.
5814 alias -g '${1+"$@"}'='"$@"'
5815 setopt NO_GLOB_SUBST
5816 else
5817 case `(set -o) 2>/dev/null` in #(
5818 *posix*) :
5819 set -o posix ;; #(
5820 *) :
5822 esac
5826 as_nl='
5828 export as_nl
5829 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5830 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5831 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5832 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5833 # Prefer a ksh shell builtin over an external printf program on Solaris,
5834 # but without wasting forks for bash or zsh.
5835 if test -z "$BASH_VERSION$ZSH_VERSION" \
5836 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5837 as_echo='print -r --'
5838 as_echo_n='print -rn --'
5839 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5840 as_echo='printf %s\n'
5841 as_echo_n='printf %s'
5842 else
5843 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5844 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5845 as_echo_n='/usr/ucb/echo -n'
5846 else
5847 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5848 as_echo_n_body='eval
5849 arg=$1;
5850 case $arg in #(
5851 *"$as_nl"*)
5852 expr "X$arg" : "X\\(.*\\)$as_nl";
5853 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5854 esac;
5855 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5857 export as_echo_n_body
5858 as_echo_n='sh -c $as_echo_n_body as_echo'
5860 export as_echo_body
5861 as_echo='sh -c $as_echo_body as_echo'
5864 # The user is always right.
5865 if test "${PATH_SEPARATOR+set}" != set; then
5866 PATH_SEPARATOR=:
5867 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5868 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5869 PATH_SEPARATOR=';'
5874 # IFS
5875 # We need space, tab and new line, in precisely that order. Quoting is
5876 # there to prevent editors from complaining about space-tab.
5877 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5878 # splitting by setting IFS to empty value.)
5879 IFS=" "" $as_nl"
5881 # Find who we are. Look in the path if we contain no directory separator.
5882 as_myself=
5883 case $0 in #((
5884 *[\\/]* ) as_myself=$0 ;;
5885 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5886 for as_dir in $PATH
5888 IFS=$as_save_IFS
5889 test -z "$as_dir" && as_dir=.
5890 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5891 done
5892 IFS=$as_save_IFS
5895 esac
5896 # We did not find ourselves, most probably we were run as `sh COMMAND'
5897 # in which case we are not to be found in the path.
5898 if test "x$as_myself" = x; then
5899 as_myself=$0
5901 if test ! -f "$as_myself"; then
5902 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5903 exit 1
5906 # Unset variables that we do not need and which cause bugs (e.g. in
5907 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5908 # suppresses any "Segmentation fault" message there. '((' could
5909 # trigger a bug in pdksh 5.2.14.
5910 for as_var in BASH_ENV ENV MAIL MAILPATH
5911 do eval test x\${$as_var+set} = xset \
5912 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5913 done
5914 PS1='$ '
5915 PS2='> '
5916 PS4='+ '
5918 # NLS nuisances.
5919 LC_ALL=C
5920 export LC_ALL
5921 LANGUAGE=C
5922 export LANGUAGE
5924 # CDPATH.
5925 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5928 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5929 # ----------------------------------------
5930 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5931 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5932 # script with STATUS, using 1 if that was 0.
5933 as_fn_error ()
5935 as_status=$1; test $as_status -eq 0 && as_status=1
5936 if test "$4"; then
5937 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5938 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5940 $as_echo "$as_me: error: $2" >&2
5941 as_fn_exit $as_status
5942 } # as_fn_error
5945 # as_fn_set_status STATUS
5946 # -----------------------
5947 # Set $? to STATUS, without forking.
5948 as_fn_set_status ()
5950 return $1
5951 } # as_fn_set_status
5953 # as_fn_exit STATUS
5954 # -----------------
5955 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5956 as_fn_exit ()
5958 set +e
5959 as_fn_set_status $1
5960 exit $1
5961 } # as_fn_exit
5963 # as_fn_unset VAR
5964 # ---------------
5965 # Portably unset VAR.
5966 as_fn_unset ()
5968 { eval $1=; unset $1;}
5970 as_unset=as_fn_unset
5971 # as_fn_append VAR VALUE
5972 # ----------------------
5973 # Append the text in VALUE to the end of the definition contained in VAR. Take
5974 # advantage of any shell optimizations that allow amortized linear growth over
5975 # repeated appends, instead of the typical quadratic growth present in naive
5976 # implementations.
5977 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5978 eval 'as_fn_append ()
5980 eval $1+=\$2
5982 else
5983 as_fn_append ()
5985 eval $1=\$$1\$2
5987 fi # as_fn_append
5989 # as_fn_arith ARG...
5990 # ------------------
5991 # Perform arithmetic evaluation on the ARGs, and store the result in the
5992 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5993 # must be portable across $(()) and expr.
5994 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5995 eval 'as_fn_arith ()
5997 as_val=$(( $* ))
5999 else
6000 as_fn_arith ()
6002 as_val=`expr "$@" || test $? -eq 1`
6004 fi # as_fn_arith
6007 if expr a : '\(a\)' >/dev/null 2>&1 &&
6008 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6009 as_expr=expr
6010 else
6011 as_expr=false
6014 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6015 as_basename=basename
6016 else
6017 as_basename=false
6020 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6021 as_dirname=dirname
6022 else
6023 as_dirname=false
6026 as_me=`$as_basename -- "$0" ||
6027 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6028 X"$0" : 'X\(//\)$' \| \
6029 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6030 $as_echo X/"$0" |
6031 sed '/^.*\/\([^/][^/]*\)\/*$/{
6032 s//\1/
6035 /^X\/\(\/\/\)$/{
6036 s//\1/
6039 /^X\/\(\/\).*/{
6040 s//\1/
6043 s/.*/./; q'`
6045 # Avoid depending upon Character Ranges.
6046 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6047 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6048 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6049 as_cr_digits='0123456789'
6050 as_cr_alnum=$as_cr_Letters$as_cr_digits
6052 ECHO_C= ECHO_N= ECHO_T=
6053 case `echo -n x` in #(((((
6054 -n*)
6055 case `echo 'xy\c'` in
6056 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6057 xy) ECHO_C='\c';;
6058 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6059 ECHO_T=' ';;
6060 esac;;
6062 ECHO_N='-n';;
6063 esac
6065 rm -f conf$$ conf$$.exe conf$$.file
6066 if test -d conf$$.dir; then
6067 rm -f conf$$.dir/conf$$.file
6068 else
6069 rm -f conf$$.dir
6070 mkdir conf$$.dir 2>/dev/null
6072 if (echo >conf$$.file) 2>/dev/null; then
6073 if ln -s conf$$.file conf$$ 2>/dev/null; then
6074 as_ln_s='ln -s'
6075 # ... but there are two gotchas:
6076 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6077 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6078 # In both cases, we have to default to `cp -pR'.
6079 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6080 as_ln_s='cp -pR'
6081 elif ln conf$$.file conf$$ 2>/dev/null; then
6082 as_ln_s=ln
6083 else
6084 as_ln_s='cp -pR'
6086 else
6087 as_ln_s='cp -pR'
6089 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6090 rmdir conf$$.dir 2>/dev/null
6093 # as_fn_mkdir_p
6094 # -------------
6095 # Create "$as_dir" as a directory, including parents if necessary.
6096 as_fn_mkdir_p ()
6099 case $as_dir in #(
6100 -*) as_dir=./$as_dir;;
6101 esac
6102 test -d "$as_dir" || eval $as_mkdir_p || {
6103 as_dirs=
6104 while :; do
6105 case $as_dir in #(
6106 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6107 *) as_qdir=$as_dir;;
6108 esac
6109 as_dirs="'$as_qdir' $as_dirs"
6110 as_dir=`$as_dirname -- "$as_dir" ||
6111 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6112 X"$as_dir" : 'X\(//\)[^/]' \| \
6113 X"$as_dir" : 'X\(//\)$' \| \
6114 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6115 $as_echo X"$as_dir" |
6116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6117 s//\1/
6120 /^X\(\/\/\)[^/].*/{
6121 s//\1/
6124 /^X\(\/\/\)$/{
6125 s//\1/
6128 /^X\(\/\).*/{
6129 s//\1/
6132 s/.*/./; q'`
6133 test -d "$as_dir" && break
6134 done
6135 test -z "$as_dirs" || eval "mkdir $as_dirs"
6136 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6139 } # as_fn_mkdir_p
6140 if mkdir -p . 2>/dev/null; then
6141 as_mkdir_p='mkdir -p "$as_dir"'
6142 else
6143 test -d ./-p && rmdir ./-p
6144 as_mkdir_p=false
6148 # as_fn_executable_p FILE
6149 # -----------------------
6150 # Test if FILE is an executable regular file.
6151 as_fn_executable_p ()
6153 test -f "$1" && test -x "$1"
6154 } # as_fn_executable_p
6155 as_test_x='test -x'
6156 as_executable_p=as_fn_executable_p
6158 # Sed expression to map a string onto a valid CPP name.
6159 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6161 # Sed expression to map a string onto a valid variable name.
6162 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6165 exec 6>&1
6166 ## ----------------------------------- ##
6167 ## Main body of $CONFIG_STATUS script. ##
6168 ## ----------------------------------- ##
6169 _ASEOF
6170 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6173 # Save the log message, to keep $0 and so on meaningful, and to
6174 # report actual input values of CONFIG_FILES etc. instead of their
6175 # values after options handling.
6176 ac_log="
6177 This file was extended by qbittorrent $as_me v4.2.0alpha, which was
6178 generated by GNU Autoconf 2.69. Invocation command line was
6180 CONFIG_FILES = $CONFIG_FILES
6181 CONFIG_HEADERS = $CONFIG_HEADERS
6182 CONFIG_LINKS = $CONFIG_LINKS
6183 CONFIG_COMMANDS = $CONFIG_COMMANDS
6184 $ $0 $@
6186 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6189 _ACEOF
6191 case $ac_config_files in *"
6192 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6193 esac
6197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6198 # Files that config.status was made for.
6199 config_files="$ac_config_files"
6200 config_commands="$ac_config_commands"
6202 _ACEOF
6204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6205 ac_cs_usage="\
6206 \`$as_me' instantiates files and other configuration actions
6207 from templates according to the current configuration. Unless the files
6208 and actions are specified as TAGs, all are instantiated by default.
6210 Usage: $0 [OPTION]... [TAG]...
6212 -h, --help print this help, then exit
6213 -V, --version print version number and configuration settings, then exit
6214 --config print configuration, then exit
6215 -q, --quiet, --silent
6216 do not print progress messages
6217 -d, --debug don't remove temporary files
6218 --recheck update $as_me by reconfiguring in the same conditions
6219 --file=FILE[:TEMPLATE]
6220 instantiate the configuration file FILE
6222 Configuration files:
6223 $config_files
6225 Configuration commands:
6226 $config_commands
6228 Report bugs to <bugs.qbittorrent.org>.
6229 qbittorrent home page: <https://www.qbittorrent.org/>."
6231 _ACEOF
6232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6233 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6234 ac_cs_version="\\
6235 qbittorrent config.status v4.2.0alpha
6236 configured by $0, generated by GNU Autoconf 2.69,
6237 with options \\"\$ac_cs_config\\"
6239 Copyright (C) 2012 Free Software Foundation, Inc.
6240 This config.status script is free software; the Free Software Foundation
6241 gives unlimited permission to copy, distribute and modify it."
6243 ac_pwd='$ac_pwd'
6244 srcdir='$srcdir'
6245 INSTALL='$INSTALL'
6246 MKDIR_P='$MKDIR_P'
6247 AWK='$AWK'
6248 test -n "\$AWK" || AWK=awk
6249 _ACEOF
6251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6252 # The default lists apply if the user does not specify any file.
6253 ac_need_defaults=:
6254 while test $# != 0
6256 case $1 in
6257 --*=?*)
6258 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6259 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6260 ac_shift=:
6262 --*=)
6263 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6264 ac_optarg=
6265 ac_shift=:
6268 ac_option=$1
6269 ac_optarg=$2
6270 ac_shift=shift
6272 esac
6274 case $ac_option in
6275 # Handling of the options.
6276 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6277 ac_cs_recheck=: ;;
6278 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6279 $as_echo "$ac_cs_version"; exit ;;
6280 --config | --confi | --conf | --con | --co | --c )
6281 $as_echo "$ac_cs_config"; exit ;;
6282 --debug | --debu | --deb | --de | --d | -d )
6283 debug=: ;;
6284 --file | --fil | --fi | --f )
6285 $ac_shift
6286 case $ac_optarg in
6287 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6288 '') as_fn_error $? "missing file argument" ;;
6289 esac
6290 as_fn_append CONFIG_FILES " '$ac_optarg'"
6291 ac_need_defaults=false;;
6292 --he | --h | --help | --hel | -h )
6293 $as_echo "$ac_cs_usage"; exit ;;
6294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6295 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6296 ac_cs_silent=: ;;
6298 # This is an error.
6299 -*) as_fn_error $? "unrecognized option: \`$1'
6300 Try \`$0 --help' for more information." ;;
6302 *) as_fn_append ac_config_targets " $1"
6303 ac_need_defaults=false ;;
6305 esac
6306 shift
6307 done
6309 ac_configure_extra_args=
6311 if $ac_cs_silent; then
6312 exec 6>/dev/null
6313 ac_configure_extra_args="$ac_configure_extra_args --silent"
6316 _ACEOF
6317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6318 if \$ac_cs_recheck; then
6319 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6320 shift
6321 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6322 CONFIG_SHELL='$SHELL'
6323 export CONFIG_SHELL
6324 exec "\$@"
6327 _ACEOF
6328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6329 exec 5>>config.log
6331 echo
6332 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6333 ## Running $as_me. ##
6334 _ASBOX
6335 $as_echo "$ac_log"
6336 } >&5
6338 _ACEOF
6339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6341 # INIT-COMMANDS
6343 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6345 _ACEOF
6347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6349 # Handling of arguments.
6350 for ac_config_target in $ac_config_targets
6352 case $ac_config_target in
6353 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6354 "conf.pri") CONFIG_FILES="$CONFIG_FILES conf.pri" ;;
6356 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6357 esac
6358 done
6361 # If the user did not use the arguments to specify the items to instantiate,
6362 # then the envvar interface is used. Set only those that are not.
6363 # We use the long form for the default assignment because of an extremely
6364 # bizarre bug on SunOS 4.1.3.
6365 if $ac_need_defaults; then
6366 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6367 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6370 # Have a temporary directory for convenience. Make it in the build tree
6371 # simply because there is no reason against having it here, and in addition,
6372 # creating and moving files from /tmp can sometimes cause problems.
6373 # Hook for its removal unless debugging.
6374 # Note that there is a small window in which the directory will not be cleaned:
6375 # after its creation but before its name has been assigned to `$tmp'.
6376 $debug ||
6378 tmp= ac_tmp=
6379 trap 'exit_status=$?
6380 : "${ac_tmp:=$tmp}"
6381 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6383 trap 'as_fn_exit 1' 1 2 13 15
6385 # Create a (secure) tmp directory for tmp files.
6388 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6389 test -d "$tmp"
6390 } ||
6392 tmp=./conf$$-$RANDOM
6393 (umask 077 && mkdir "$tmp")
6394 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6395 ac_tmp=$tmp
6397 # Set up the scripts for CONFIG_FILES section.
6398 # No need to generate them if there are no CONFIG_FILES.
6399 # This happens for instance with `./config.status config.h'.
6400 if test -n "$CONFIG_FILES"; then
6403 ac_cr=`echo X | tr X '\015'`
6404 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6405 # But we know of no other shell where ac_cr would be empty at this
6406 # point, so we can use a bashism as a fallback.
6407 if test "x$ac_cr" = x; then
6408 eval ac_cr=\$\'\\r\'
6410 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6411 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6412 ac_cs_awk_cr='\\r'
6413 else
6414 ac_cs_awk_cr=$ac_cr
6417 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6418 _ACEOF
6422 echo "cat >conf$$subs.awk <<_ACEOF" &&
6423 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6424 echo "_ACEOF"
6425 } >conf$$subs.sh ||
6426 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6427 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6428 ac_delim='%!_!# '
6429 for ac_last_try in false false false false false :; do
6430 . ./conf$$subs.sh ||
6431 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6433 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6434 if test $ac_delim_n = $ac_delim_num; then
6435 break
6436 elif $ac_last_try; then
6437 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6438 else
6439 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6441 done
6442 rm -f conf$$subs.sh
6444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6445 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6446 _ACEOF
6447 sed -n '
6449 s/^/S["/; s/!.*/"]=/
6452 s/^[^!]*!//
6453 :repl
6454 t repl
6455 s/'"$ac_delim"'$//
6456 t delim
6459 s/\(.\{148\}\)..*/\1/
6460 t more1
6461 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6464 b repl
6465 :more1
6466 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6469 s/.\{148\}//
6470 t nl
6471 :delim
6473 s/\(.\{148\}\)..*/\1/
6474 t more2
6475 s/["\\]/\\&/g; s/^/"/; s/$/"/
6478 :more2
6479 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6482 s/.\{148\}//
6483 t delim
6484 ' <conf$$subs.awk | sed '
6485 /^[^""]/{
6487 s/\n//
6489 ' >>$CONFIG_STATUS || ac_write_fail=1
6490 rm -f conf$$subs.awk
6491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6492 _ACAWK
6493 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6494 for (key in S) S_is_set[key] = 1
6495 FS = "\a"
6499 line = $ 0
6500 nfields = split(line, field, "@")
6501 substed = 0
6502 len = length(field[1])
6503 for (i = 2; i < nfields; i++) {
6504 key = field[i]
6505 keylen = length(key)
6506 if (S_is_set[key]) {
6507 value = S[key]
6508 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6509 len += length(value) + length(field[++i])
6510 substed = 1
6511 } else
6512 len += 1 + keylen
6515 print line
6518 _ACAWK
6519 _ACEOF
6520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6521 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6522 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6523 else
6525 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6526 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6527 _ACEOF
6529 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6530 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6531 # trailing colons and then remove the whole line if VPATH becomes empty
6532 # (actually we leave an empty line to preserve line numbers).
6533 if test "x$srcdir" = x.; then
6534 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6536 s///
6537 s/^/:/
6538 s/[ ]*$/:/
6539 s/:\$(srcdir):/:/g
6540 s/:\${srcdir}:/:/g
6541 s/:@srcdir@:/:/g
6542 s/^:*//
6543 s/:*$//
6545 s/\(=[ ]*\).*/\1/
6547 s/\n//
6548 s/^[^=]*=[ ]*$//
6552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6553 fi # test -n "$CONFIG_FILES"
6556 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
6557 shift
6558 for ac_tag
6560 case $ac_tag in
6561 :[FHLC]) ac_mode=$ac_tag; continue;;
6562 esac
6563 case $ac_mode$ac_tag in
6564 :[FHL]*:*);;
6565 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6566 :[FH]-) ac_tag=-:-;;
6567 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6568 esac
6569 ac_save_IFS=$IFS
6570 IFS=:
6571 set x $ac_tag
6572 IFS=$ac_save_IFS
6573 shift
6574 ac_file=$1
6575 shift
6577 case $ac_mode in
6578 :L) ac_source=$1;;
6579 :[FH])
6580 ac_file_inputs=
6581 for ac_f
6583 case $ac_f in
6584 -) ac_f="$ac_tmp/stdin";;
6585 *) # Look for the file first in the build tree, then in the source tree
6586 # (if the path is not absolute). The absolute path cannot be DOS-style,
6587 # because $ac_f cannot contain `:'.
6588 test -f "$ac_f" ||
6589 case $ac_f in
6590 [\\/$]*) false;;
6591 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6592 esac ||
6593 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6594 esac
6595 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6596 as_fn_append ac_file_inputs " '$ac_f'"
6597 done
6599 # Let's still pretend it is `configure' which instantiates (i.e., don't
6600 # use $as_me), people would be surprised to read:
6601 # /* config.h. Generated by config.status. */
6602 configure_input='Generated from '`
6603 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6604 `' by configure.'
6605 if test x"$ac_file" != x-; then
6606 configure_input="$ac_file. $configure_input"
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6608 $as_echo "$as_me: creating $ac_file" >&6;}
6610 # Neutralize special characters interpreted by sed in replacement strings.
6611 case $configure_input in #(
6612 *\&* | *\|* | *\\* )
6613 ac_sed_conf_input=`$as_echo "$configure_input" |
6614 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6615 *) ac_sed_conf_input=$configure_input;;
6616 esac
6618 case $ac_tag in
6619 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6620 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6621 esac
6623 esac
6625 ac_dir=`$as_dirname -- "$ac_file" ||
6626 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6627 X"$ac_file" : 'X\(//\)[^/]' \| \
6628 X"$ac_file" : 'X\(//\)$' \| \
6629 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6630 $as_echo X"$ac_file" |
6631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6632 s//\1/
6635 /^X\(\/\/\)[^/].*/{
6636 s//\1/
6639 /^X\(\/\/\)$/{
6640 s//\1/
6643 /^X\(\/\).*/{
6644 s//\1/
6647 s/.*/./; q'`
6648 as_dir="$ac_dir"; as_fn_mkdir_p
6649 ac_builddir=.
6651 case "$ac_dir" in
6652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6654 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6655 # A ".." for each directory in $ac_dir_suffix.
6656 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6657 case $ac_top_builddir_sub in
6658 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6659 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6660 esac ;;
6661 esac
6662 ac_abs_top_builddir=$ac_pwd
6663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6664 # for backward compatibility:
6665 ac_top_builddir=$ac_top_build_prefix
6667 case $srcdir in
6668 .) # We are building in place.
6669 ac_srcdir=.
6670 ac_top_srcdir=$ac_top_builddir_sub
6671 ac_abs_top_srcdir=$ac_pwd ;;
6672 [\\/]* | ?:[\\/]* ) # Absolute name.
6673 ac_srcdir=$srcdir$ac_dir_suffix;
6674 ac_top_srcdir=$srcdir
6675 ac_abs_top_srcdir=$srcdir ;;
6676 *) # Relative name.
6677 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6678 ac_top_srcdir=$ac_top_build_prefix$srcdir
6679 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6680 esac
6681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6684 case $ac_mode in
6687 # CONFIG_FILE
6690 case $INSTALL in
6691 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6692 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6693 esac
6694 ac_MKDIR_P=$MKDIR_P
6695 case $MKDIR_P in
6696 [\\/$]* | ?:[\\/]* ) ;;
6697 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6698 esac
6699 _ACEOF
6701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6702 # If the template does not know about datarootdir, expand it.
6703 # FIXME: This hack should be removed a few years after 2.60.
6704 ac_datarootdir_hack=; ac_datarootdir_seen=
6705 ac_sed_dataroot='
6706 /datarootdir/ {
6710 /@datadir@/p
6711 /@docdir@/p
6712 /@infodir@/p
6713 /@localedir@/p
6714 /@mandir@/p'
6715 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6716 *datarootdir*) ac_datarootdir_seen=yes;;
6717 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6719 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6720 _ACEOF
6721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6722 ac_datarootdir_hack='
6723 s&@datadir@&$datadir&g
6724 s&@docdir@&$docdir&g
6725 s&@infodir@&$infodir&g
6726 s&@localedir@&$localedir&g
6727 s&@mandir@&$mandir&g
6728 s&\\\${datarootdir}&$datarootdir&g' ;;
6729 esac
6730 _ACEOF
6732 # Neutralize VPATH when `$srcdir' = `.'.
6733 # Shell code in configure.ac might set extrasub.
6734 # FIXME: do we really want to maintain this feature?
6735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6736 ac_sed_extra="$ac_vpsub
6737 $extrasub
6738 _ACEOF
6739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6741 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6742 s|@configure_input@|$ac_sed_conf_input|;t t
6743 s&@top_builddir@&$ac_top_builddir_sub&;t t
6744 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6745 s&@srcdir@&$ac_srcdir&;t t
6746 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6747 s&@top_srcdir@&$ac_top_srcdir&;t t
6748 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6749 s&@builddir@&$ac_builddir&;t t
6750 s&@abs_builddir@&$ac_abs_builddir&;t t
6751 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6752 s&@INSTALL@&$ac_INSTALL&;t t
6753 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6754 $ac_datarootdir_hack
6756 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6757 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6759 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6760 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6761 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6762 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6764 which seems to be undefined. Please make sure it is defined" >&5
6765 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6766 which seems to be undefined. Please make sure it is defined" >&2;}
6768 rm -f "$ac_tmp/stdin"
6769 case $ac_file in
6770 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6771 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6772 esac \
6773 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6777 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6778 $as_echo "$as_me: executing $ac_file commands" >&6;}
6780 esac
6783 case $ac_file$ac_mode in
6784 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6785 # Older Autoconf quotes --file arguments for eval, but not when files
6786 # are listed without --file. Let's play safe and only enable the eval
6787 # if we detect the quoting.
6788 case $CONFIG_FILES in
6789 *\'*) eval set x "$CONFIG_FILES" ;;
6790 *) set x $CONFIG_FILES ;;
6791 esac
6792 shift
6793 for mf
6795 # Strip MF so we end up with the name of the file.
6796 mf=`echo "$mf" | sed -e 's/:.*$//'`
6797 # Check whether this is an Automake generated Makefile or not.
6798 # We used to match only the files named 'Makefile.in', but
6799 # some people rename them; so instead we look at the file content.
6800 # Grep'ing the first line is not enough: some people post-process
6801 # each Makefile.in and add a new line on top of each file to say so.
6802 # Grep'ing the whole file is not good either: AIX grep has a line
6803 # limit of 2048, but all sed's we know have understand at least 4000.
6804 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6805 dirpart=`$as_dirname -- "$mf" ||
6806 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6807 X"$mf" : 'X\(//\)[^/]' \| \
6808 X"$mf" : 'X\(//\)$' \| \
6809 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6810 $as_echo X"$mf" |
6811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6812 s//\1/
6815 /^X\(\/\/\)[^/].*/{
6816 s//\1/
6819 /^X\(\/\/\)$/{
6820 s//\1/
6823 /^X\(\/\).*/{
6824 s//\1/
6827 s/.*/./; q'`
6828 else
6829 continue
6831 # Extract the definition of DEPDIR, am__include, and am__quote
6832 # from the Makefile without running 'make'.
6833 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6834 test -z "$DEPDIR" && continue
6835 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6836 test -z "$am__include" && continue
6837 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6838 # Find all dependency output files, they are included files with
6839 # $(DEPDIR) in their names. We invoke sed twice because it is the
6840 # simplest approach to changing $(DEPDIR) to its actual value in the
6841 # expansion.
6842 for file in `sed -n "
6843 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6844 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6845 # Make sure the directory exists.
6846 test -f "$dirpart/$file" && continue
6847 fdir=`$as_dirname -- "$file" ||
6848 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6849 X"$file" : 'X\(//\)[^/]' \| \
6850 X"$file" : 'X\(//\)$' \| \
6851 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6852 $as_echo X"$file" |
6853 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6854 s//\1/
6857 /^X\(\/\/\)[^/].*/{
6858 s//\1/
6861 /^X\(\/\/\)$/{
6862 s//\1/
6865 /^X\(\/\).*/{
6866 s//\1/
6869 s/.*/./; q'`
6870 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6871 # echo "creating $dirpart/$file"
6872 echo '# dummy' > "$dirpart/$file"
6873 done
6874 done
6878 esac
6879 done # for ac_tag
6882 as_fn_exit 0
6883 _ACEOF
6884 ac_clean_files=$ac_clean_files_save
6886 test $ac_write_fail = 0 ||
6887 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6890 # configure is writing to config.log, and then calls config.status.
6891 # config.status does its own redirection, appending to config.log.
6892 # Unfortunately, on DOS this fails, as config.log is still kept open
6893 # by configure, so config.status won't be able to write to it; its
6894 # output is simply discarded. So we exec the FD to /dev/null,
6895 # effectively closing config.log, so it can be properly (re)opened and
6896 # appended to by config.status. When coming back to configure, we
6897 # need to make the FD available again.
6898 if test "$no_create" != yes; then
6899 ac_cs_success=:
6900 ac_config_status_args=
6901 test "$silent" = yes &&
6902 ac_config_status_args="$ac_config_status_args --quiet"
6903 exec 5>/dev/null
6904 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6905 exec 5>>config.log
6906 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6907 # would make configure fail if this is the last instruction.
6908 $ac_cs_success || as_fn_exit 1
6910 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6912 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6915 if test "x$enable_systemd" = "xyes"; then :
6916 ac_config_files="$ac_config_files dist/unix/systemd/qbittorrent-nox@.service"
6918 cat >confcache <<\_ACEOF
6919 # This file is a shell script that caches the results of configure
6920 # tests run on this system so they can be shared between configure
6921 # scripts and configure runs, see configure's option --config-cache.
6922 # It is not useful on other systems. If it contains results you don't
6923 # want to keep, you may remove or edit it.
6925 # config.status only pays attention to the cache file if you give it
6926 # the --recheck option to rerun configure.
6928 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6929 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6930 # following values.
6932 _ACEOF
6934 # The following way of writing the cache mishandles newlines in values,
6935 # but we know of no workaround that is simple, portable, and efficient.
6936 # So, we kill variables containing newlines.
6937 # Ultrix sh set writes to stderr and can't be redirected directly,
6938 # and sets the high bit in the cache file unless we assign to the vars.
6940 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6941 eval ac_val=\$$ac_var
6942 case $ac_val in #(
6943 *${as_nl}*)
6944 case $ac_var in #(
6945 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6946 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6947 esac
6948 case $ac_var in #(
6949 _ | IFS | as_nl) ;; #(
6950 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6951 *) { eval $ac_var=; unset $ac_var;} ;;
6952 esac ;;
6953 esac
6954 done
6956 (set) 2>&1 |
6957 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6958 *${as_nl}ac_space=\ *)
6959 # `set' does not quote correctly, so add quotes: double-quote
6960 # substitution turns \\\\ into \\, and sed turns \\ into \.
6961 sed -n \
6962 "s/'/'\\\\''/g;
6963 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6964 ;; #(
6966 # `set' quotes correctly as required by POSIX, so do not add quotes.
6967 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6969 esac |
6970 sort
6972 sed '
6973 /^ac_cv_env_/b end
6974 t clear
6975 :clear
6976 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6977 t end
6978 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6979 :end' >>confcache
6980 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6981 if test -w "$cache_file"; then
6982 if test "x$cache_file" != "x/dev/null"; then
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6984 $as_echo "$as_me: updating cache $cache_file" >&6;}
6985 if test ! -f "$cache_file" || test -h "$cache_file"; then
6986 cat confcache >"$cache_file"
6987 else
6988 case $cache_file in #(
6989 */* | ?:*)
6990 mv -f confcache "$cache_file"$$ &&
6991 mv -f "$cache_file"$$ "$cache_file" ;; #(
6993 mv -f confcache "$cache_file" ;;
6994 esac
6997 else
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6999 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7002 rm -f confcache
7004 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7005 # Let make expand exec_prefix.
7006 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7008 # Transform confdefs.h into DEFS.
7009 # Protect against shell expansion while executing Makefile rules.
7010 # Protect against Makefile macro expansion.
7012 # If the first sed substitution is executed (which looks for macros that
7013 # take arguments), then branch to the quote section. Otherwise,
7014 # look for a macro that doesn't take arguments.
7015 ac_script='
7016 :mline
7017 /\\$/{
7019 s,\\\n,,
7020 b mline
7022 t clear
7023 :clear
7024 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
7025 t quote
7026 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
7027 t quote
7028 b any
7029 :quote
7030 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7031 s/\[/\\&/g
7032 s/\]/\\&/g
7033 s/\$/$$/g
7035 :any
7038 s/^\n//
7039 s/\n/ /g
7043 DEFS=`sed -n "$ac_script" confdefs.h`
7046 ac_libobjs=
7047 ac_ltlibobjs=
7049 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7050 # 1. Remove the extension, and $U if already installed.
7051 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7052 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7053 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7054 # will be set to the directory where LIBOBJS objects are built.
7055 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7056 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7057 done
7058 LIBOBJS=$ac_libobjs
7060 LTLIBOBJS=$ac_ltlibobjs
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7064 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7065 if test -n "$am_sleep_pid"; then
7066 # Hide warnings about reused PIDs.
7067 wait $am_sleep_pid 2>/dev/null
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7070 $as_echo "done" >&6; }
7071 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7072 as_fn_error $? "conditional \"AMDEP\" was never defined.
7073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7075 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7076 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7079 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7080 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
7081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7083 if test -n "$EXEEXT"; then
7084 am__EXEEXT_TRUE=
7085 am__EXEEXT_FALSE='#'
7086 else
7087 am__EXEEXT_TRUE='#'
7088 am__EXEEXT_FALSE=
7091 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
7092 as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
7093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7096 : "${CONFIG_STATUS=./config.status}"
7097 ac_write_fail=0
7098 ac_clean_files_save=$ac_clean_files
7099 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7101 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7102 as_write_fail=0
7103 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7104 #! $SHELL
7105 # Generated by $as_me.
7106 # Run this file to recreate the current configuration.
7107 # Compiler output produced by configure, useful for debugging
7108 # configure, is in config.log if it exists.
7110 debug=false
7111 ac_cs_recheck=false
7112 ac_cs_silent=false
7114 SHELL=\${CONFIG_SHELL-$SHELL}
7115 export SHELL
7116 _ASEOF
7117 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7118 ## -------------------- ##
7119 ## M4sh Initialization. ##
7120 ## -------------------- ##
7122 # Be more Bourne compatible
7123 DUALCASE=1; export DUALCASE # for MKS sh
7124 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7125 emulate sh
7126 NULLCMD=:
7127 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7128 # is contrary to our usage. Disable this feature.
7129 alias -g '${1+"$@"}'='"$@"'
7130 setopt NO_GLOB_SUBST
7131 else
7132 case `(set -o) 2>/dev/null` in #(
7133 *posix*) :
7134 set -o posix ;; #(
7135 *) :
7137 esac
7141 as_nl='
7143 export as_nl
7144 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7145 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7146 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7147 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7148 # Prefer a ksh shell builtin over an external printf program on Solaris,
7149 # but without wasting forks for bash or zsh.
7150 if test -z "$BASH_VERSION$ZSH_VERSION" \
7151 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7152 as_echo='print -r --'
7153 as_echo_n='print -rn --'
7154 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7155 as_echo='printf %s\n'
7156 as_echo_n='printf %s'
7157 else
7158 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7159 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7160 as_echo_n='/usr/ucb/echo -n'
7161 else
7162 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7163 as_echo_n_body='eval
7164 arg=$1;
7165 case $arg in #(
7166 *"$as_nl"*)
7167 expr "X$arg" : "X\\(.*\\)$as_nl";
7168 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7169 esac;
7170 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7172 export as_echo_n_body
7173 as_echo_n='sh -c $as_echo_n_body as_echo'
7175 export as_echo_body
7176 as_echo='sh -c $as_echo_body as_echo'
7179 # The user is always right.
7180 if test "${PATH_SEPARATOR+set}" != set; then
7181 PATH_SEPARATOR=:
7182 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7183 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7184 PATH_SEPARATOR=';'
7189 # IFS
7190 # We need space, tab and new line, in precisely that order. Quoting is
7191 # there to prevent editors from complaining about space-tab.
7192 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7193 # splitting by setting IFS to empty value.)
7194 IFS=" "" $as_nl"
7196 # Find who we are. Look in the path if we contain no directory separator.
7197 as_myself=
7198 case $0 in #((
7199 *[\\/]* ) as_myself=$0 ;;
7200 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7201 for as_dir in $PATH
7203 IFS=$as_save_IFS
7204 test -z "$as_dir" && as_dir=.
7205 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7206 done
7207 IFS=$as_save_IFS
7210 esac
7211 # We did not find ourselves, most probably we were run as `sh COMMAND'
7212 # in which case we are not to be found in the path.
7213 if test "x$as_myself" = x; then
7214 as_myself=$0
7216 if test ! -f "$as_myself"; then
7217 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7218 exit 1
7221 # Unset variables that we do not need and which cause bugs (e.g. in
7222 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7223 # suppresses any "Segmentation fault" message there. '((' could
7224 # trigger a bug in pdksh 5.2.14.
7225 for as_var in BASH_ENV ENV MAIL MAILPATH
7226 do eval test x\${$as_var+set} = xset \
7227 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7228 done
7229 PS1='$ '
7230 PS2='> '
7231 PS4='+ '
7233 # NLS nuisances.
7234 LC_ALL=C
7235 export LC_ALL
7236 LANGUAGE=C
7237 export LANGUAGE
7239 # CDPATH.
7240 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7243 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7244 # ----------------------------------------
7245 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7246 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7247 # script with STATUS, using 1 if that was 0.
7248 as_fn_error ()
7250 as_status=$1; test $as_status -eq 0 && as_status=1
7251 if test "$4"; then
7252 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7253 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7255 $as_echo "$as_me: error: $2" >&2
7256 as_fn_exit $as_status
7257 } # as_fn_error
7260 # as_fn_set_status STATUS
7261 # -----------------------
7262 # Set $? to STATUS, without forking.
7263 as_fn_set_status ()
7265 return $1
7266 } # as_fn_set_status
7268 # as_fn_exit STATUS
7269 # -----------------
7270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7271 as_fn_exit ()
7273 set +e
7274 as_fn_set_status $1
7275 exit $1
7276 } # as_fn_exit
7278 # as_fn_unset VAR
7279 # ---------------
7280 # Portably unset VAR.
7281 as_fn_unset ()
7283 { eval $1=; unset $1;}
7285 as_unset=as_fn_unset
7286 # as_fn_append VAR VALUE
7287 # ----------------------
7288 # Append the text in VALUE to the end of the definition contained in VAR. Take
7289 # advantage of any shell optimizations that allow amortized linear growth over
7290 # repeated appends, instead of the typical quadratic growth present in naive
7291 # implementations.
7292 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7293 eval 'as_fn_append ()
7295 eval $1+=\$2
7297 else
7298 as_fn_append ()
7300 eval $1=\$$1\$2
7302 fi # as_fn_append
7304 # as_fn_arith ARG...
7305 # ------------------
7306 # Perform arithmetic evaluation on the ARGs, and store the result in the
7307 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7308 # must be portable across $(()) and expr.
7309 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7310 eval 'as_fn_arith ()
7312 as_val=$(( $* ))
7314 else
7315 as_fn_arith ()
7317 as_val=`expr "$@" || test $? -eq 1`
7319 fi # as_fn_arith
7322 if expr a : '\(a\)' >/dev/null 2>&1 &&
7323 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7324 as_expr=expr
7325 else
7326 as_expr=false
7329 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7330 as_basename=basename
7331 else
7332 as_basename=false
7335 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7336 as_dirname=dirname
7337 else
7338 as_dirname=false
7341 as_me=`$as_basename -- "$0" ||
7342 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7343 X"$0" : 'X\(//\)$' \| \
7344 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7345 $as_echo X/"$0" |
7346 sed '/^.*\/\([^/][^/]*\)\/*$/{
7347 s//\1/
7350 /^X\/\(\/\/\)$/{
7351 s//\1/
7354 /^X\/\(\/\).*/{
7355 s//\1/
7358 s/.*/./; q'`
7360 # Avoid depending upon Character Ranges.
7361 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7362 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7363 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7364 as_cr_digits='0123456789'
7365 as_cr_alnum=$as_cr_Letters$as_cr_digits
7367 ECHO_C= ECHO_N= ECHO_T=
7368 case `echo -n x` in #(((((
7369 -n*)
7370 case `echo 'xy\c'` in
7371 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7372 xy) ECHO_C='\c';;
7373 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7374 ECHO_T=' ';;
7375 esac;;
7377 ECHO_N='-n';;
7378 esac
7380 rm -f conf$$ conf$$.exe conf$$.file
7381 if test -d conf$$.dir; then
7382 rm -f conf$$.dir/conf$$.file
7383 else
7384 rm -f conf$$.dir
7385 mkdir conf$$.dir 2>/dev/null
7387 if (echo >conf$$.file) 2>/dev/null; then
7388 if ln -s conf$$.file conf$$ 2>/dev/null; then
7389 as_ln_s='ln -s'
7390 # ... but there are two gotchas:
7391 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7392 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7393 # In both cases, we have to default to `cp -pR'.
7394 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7395 as_ln_s='cp -pR'
7396 elif ln conf$$.file conf$$ 2>/dev/null; then
7397 as_ln_s=ln
7398 else
7399 as_ln_s='cp -pR'
7401 else
7402 as_ln_s='cp -pR'
7404 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7405 rmdir conf$$.dir 2>/dev/null
7408 # as_fn_mkdir_p
7409 # -------------
7410 # Create "$as_dir" as a directory, including parents if necessary.
7411 as_fn_mkdir_p ()
7414 case $as_dir in #(
7415 -*) as_dir=./$as_dir;;
7416 esac
7417 test -d "$as_dir" || eval $as_mkdir_p || {
7418 as_dirs=
7419 while :; do
7420 case $as_dir in #(
7421 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7422 *) as_qdir=$as_dir;;
7423 esac
7424 as_dirs="'$as_qdir' $as_dirs"
7425 as_dir=`$as_dirname -- "$as_dir" ||
7426 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7427 X"$as_dir" : 'X\(//\)[^/]' \| \
7428 X"$as_dir" : 'X\(//\)$' \| \
7429 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7430 $as_echo X"$as_dir" |
7431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7432 s//\1/
7435 /^X\(\/\/\)[^/].*/{
7436 s//\1/
7439 /^X\(\/\/\)$/{
7440 s//\1/
7443 /^X\(\/\).*/{
7444 s//\1/
7447 s/.*/./; q'`
7448 test -d "$as_dir" && break
7449 done
7450 test -z "$as_dirs" || eval "mkdir $as_dirs"
7451 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7454 } # as_fn_mkdir_p
7455 if mkdir -p . 2>/dev/null; then
7456 as_mkdir_p='mkdir -p "$as_dir"'
7457 else
7458 test -d ./-p && rmdir ./-p
7459 as_mkdir_p=false
7463 # as_fn_executable_p FILE
7464 # -----------------------
7465 # Test if FILE is an executable regular file.
7466 as_fn_executable_p ()
7468 test -f "$1" && test -x "$1"
7469 } # as_fn_executable_p
7470 as_test_x='test -x'
7471 as_executable_p=as_fn_executable_p
7473 # Sed expression to map a string onto a valid CPP name.
7474 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7476 # Sed expression to map a string onto a valid variable name.
7477 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7480 exec 6>&1
7481 ## ----------------------------------- ##
7482 ## Main body of $CONFIG_STATUS script. ##
7483 ## ----------------------------------- ##
7484 _ASEOF
7485 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7488 # Save the log message, to keep $0 and so on meaningful, and to
7489 # report actual input values of CONFIG_FILES etc. instead of their
7490 # values after options handling.
7491 ac_log="
7492 This file was extended by qbittorrent $as_me v4.2.0alpha, which was
7493 generated by GNU Autoconf 2.69. Invocation command line was
7495 CONFIG_FILES = $CONFIG_FILES
7496 CONFIG_HEADERS = $CONFIG_HEADERS
7497 CONFIG_LINKS = $CONFIG_LINKS
7498 CONFIG_COMMANDS = $CONFIG_COMMANDS
7499 $ $0 $@
7501 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7504 _ACEOF
7506 case $ac_config_files in *"
7507 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7508 esac
7512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7513 # Files that config.status was made for.
7514 config_files="$ac_config_files"
7515 config_commands="$ac_config_commands"
7517 _ACEOF
7519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7520 ac_cs_usage="\
7521 \`$as_me' instantiates files and other configuration actions
7522 from templates according to the current configuration. Unless the files
7523 and actions are specified as TAGs, all are instantiated by default.
7525 Usage: $0 [OPTION]... [TAG]...
7527 -h, --help print this help, then exit
7528 -V, --version print version number and configuration settings, then exit
7529 --config print configuration, then exit
7530 -q, --quiet, --silent
7531 do not print progress messages
7532 -d, --debug don't remove temporary files
7533 --recheck update $as_me by reconfiguring in the same conditions
7534 --file=FILE[:TEMPLATE]
7535 instantiate the configuration file FILE
7537 Configuration files:
7538 $config_files
7540 Configuration commands:
7541 $config_commands
7543 Report bugs to <bugs.qbittorrent.org>.
7544 qbittorrent home page: <https://www.qbittorrent.org/>."
7546 _ACEOF
7547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7548 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7549 ac_cs_version="\\
7550 qbittorrent config.status v4.2.0alpha
7551 configured by $0, generated by GNU Autoconf 2.69,
7552 with options \\"\$ac_cs_config\\"
7554 Copyright (C) 2012 Free Software Foundation, Inc.
7555 This config.status script is free software; the Free Software Foundation
7556 gives unlimited permission to copy, distribute and modify it."
7558 ac_pwd='$ac_pwd'
7559 srcdir='$srcdir'
7560 INSTALL='$INSTALL'
7561 MKDIR_P='$MKDIR_P'
7562 AWK='$AWK'
7563 test -n "\$AWK" || AWK=awk
7564 _ACEOF
7566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7567 # The default lists apply if the user does not specify any file.
7568 ac_need_defaults=:
7569 while test $# != 0
7571 case $1 in
7572 --*=?*)
7573 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7574 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7575 ac_shift=:
7577 --*=)
7578 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7579 ac_optarg=
7580 ac_shift=:
7583 ac_option=$1
7584 ac_optarg=$2
7585 ac_shift=shift
7587 esac
7589 case $ac_option in
7590 # Handling of the options.
7591 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7592 ac_cs_recheck=: ;;
7593 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7594 $as_echo "$ac_cs_version"; exit ;;
7595 --config | --confi | --conf | --con | --co | --c )
7596 $as_echo "$ac_cs_config"; exit ;;
7597 --debug | --debu | --deb | --de | --d | -d )
7598 debug=: ;;
7599 --file | --fil | --fi | --f )
7600 $ac_shift
7601 case $ac_optarg in
7602 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7603 '') as_fn_error $? "missing file argument" ;;
7604 esac
7605 as_fn_append CONFIG_FILES " '$ac_optarg'"
7606 ac_need_defaults=false;;
7607 --he | --h | --help | --hel | -h )
7608 $as_echo "$ac_cs_usage"; exit ;;
7609 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7610 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7611 ac_cs_silent=: ;;
7613 # This is an error.
7614 -*) as_fn_error $? "unrecognized option: \`$1'
7615 Try \`$0 --help' for more information." ;;
7617 *) as_fn_append ac_config_targets " $1"
7618 ac_need_defaults=false ;;
7620 esac
7621 shift
7622 done
7624 ac_configure_extra_args=
7626 if $ac_cs_silent; then
7627 exec 6>/dev/null
7628 ac_configure_extra_args="$ac_configure_extra_args --silent"
7631 _ACEOF
7632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7633 if \$ac_cs_recheck; then
7634 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7635 shift
7636 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7637 CONFIG_SHELL='$SHELL'
7638 export CONFIG_SHELL
7639 exec "\$@"
7642 _ACEOF
7643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7644 exec 5>>config.log
7646 echo
7647 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7648 ## Running $as_me. ##
7649 _ASBOX
7650 $as_echo "$ac_log"
7651 } >&5
7653 _ACEOF
7654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7656 # INIT-COMMANDS
7658 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7660 _ACEOF
7662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7664 # Handling of arguments.
7665 for ac_config_target in $ac_config_targets
7667 case $ac_config_target in
7668 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7669 "conf.pri") CONFIG_FILES="$CONFIG_FILES conf.pri" ;;
7670 "dist/unix/systemd/qbittorrent-nox@.service") CONFIG_FILES="$CONFIG_FILES dist/unix/systemd/qbittorrent-nox@.service" ;;
7672 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7673 esac
7674 done
7677 # If the user did not use the arguments to specify the items to instantiate,
7678 # then the envvar interface is used. Set only those that are not.
7679 # We use the long form for the default assignment because of an extremely
7680 # bizarre bug on SunOS 4.1.3.
7681 if $ac_need_defaults; then
7682 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7683 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7686 # Have a temporary directory for convenience. Make it in the build tree
7687 # simply because there is no reason against having it here, and in addition,
7688 # creating and moving files from /tmp can sometimes cause problems.
7689 # Hook for its removal unless debugging.
7690 # Note that there is a small window in which the directory will not be cleaned:
7691 # after its creation but before its name has been assigned to `$tmp'.
7692 $debug ||
7694 tmp= ac_tmp=
7695 trap 'exit_status=$?
7696 : "${ac_tmp:=$tmp}"
7697 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7699 trap 'as_fn_exit 1' 1 2 13 15
7701 # Create a (secure) tmp directory for tmp files.
7704 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7705 test -d "$tmp"
7706 } ||
7708 tmp=./conf$$-$RANDOM
7709 (umask 077 && mkdir "$tmp")
7710 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7711 ac_tmp=$tmp
7713 # Set up the scripts for CONFIG_FILES section.
7714 # No need to generate them if there are no CONFIG_FILES.
7715 # This happens for instance with `./config.status config.h'.
7716 if test -n "$CONFIG_FILES"; then
7719 ac_cr=`echo X | tr X '\015'`
7720 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7721 # But we know of no other shell where ac_cr would be empty at this
7722 # point, so we can use a bashism as a fallback.
7723 if test "x$ac_cr" = x; then
7724 eval ac_cr=\$\'\\r\'
7726 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7727 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7728 ac_cs_awk_cr='\\r'
7729 else
7730 ac_cs_awk_cr=$ac_cr
7733 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7734 _ACEOF
7738 echo "cat >conf$$subs.awk <<_ACEOF" &&
7739 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7740 echo "_ACEOF"
7741 } >conf$$subs.sh ||
7742 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7743 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7744 ac_delim='%!_!# '
7745 for ac_last_try in false false false false false :; do
7746 . ./conf$$subs.sh ||
7747 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7749 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7750 if test $ac_delim_n = $ac_delim_num; then
7751 break
7752 elif $ac_last_try; then
7753 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7754 else
7755 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7757 done
7758 rm -f conf$$subs.sh
7760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7761 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7762 _ACEOF
7763 sed -n '
7765 s/^/S["/; s/!.*/"]=/
7768 s/^[^!]*!//
7769 :repl
7770 t repl
7771 s/'"$ac_delim"'$//
7772 t delim
7775 s/\(.\{148\}\)..*/\1/
7776 t more1
7777 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7780 b repl
7781 :more1
7782 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7785 s/.\{148\}//
7786 t nl
7787 :delim
7789 s/\(.\{148\}\)..*/\1/
7790 t more2
7791 s/["\\]/\\&/g; s/^/"/; s/$/"/
7794 :more2
7795 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7798 s/.\{148\}//
7799 t delim
7800 ' <conf$$subs.awk | sed '
7801 /^[^""]/{
7803 s/\n//
7805 ' >>$CONFIG_STATUS || ac_write_fail=1
7806 rm -f conf$$subs.awk
7807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7808 _ACAWK
7809 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7810 for (key in S) S_is_set[key] = 1
7811 FS = "\a"
7815 line = $ 0
7816 nfields = split(line, field, "@")
7817 substed = 0
7818 len = length(field[1])
7819 for (i = 2; i < nfields; i++) {
7820 key = field[i]
7821 keylen = length(key)
7822 if (S_is_set[key]) {
7823 value = S[key]
7824 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7825 len += length(value) + length(field[++i])
7826 substed = 1
7827 } else
7828 len += 1 + keylen
7831 print line
7834 _ACAWK
7835 _ACEOF
7836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7837 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7838 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7839 else
7841 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7842 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7843 _ACEOF
7845 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7846 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7847 # trailing colons and then remove the whole line if VPATH becomes empty
7848 # (actually we leave an empty line to preserve line numbers).
7849 if test "x$srcdir" = x.; then
7850 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7852 s///
7853 s/^/:/
7854 s/[ ]*$/:/
7855 s/:\$(srcdir):/:/g
7856 s/:\${srcdir}:/:/g
7857 s/:@srcdir@:/:/g
7858 s/^:*//
7859 s/:*$//
7861 s/\(=[ ]*\).*/\1/
7863 s/\n//
7864 s/^[^=]*=[ ]*$//
7868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7869 fi # test -n "$CONFIG_FILES"
7872 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
7873 shift
7874 for ac_tag
7876 case $ac_tag in
7877 :[FHLC]) ac_mode=$ac_tag; continue;;
7878 esac
7879 case $ac_mode$ac_tag in
7880 :[FHL]*:*);;
7881 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7882 :[FH]-) ac_tag=-:-;;
7883 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7884 esac
7885 ac_save_IFS=$IFS
7886 IFS=:
7887 set x $ac_tag
7888 IFS=$ac_save_IFS
7889 shift
7890 ac_file=$1
7891 shift
7893 case $ac_mode in
7894 :L) ac_source=$1;;
7895 :[FH])
7896 ac_file_inputs=
7897 for ac_f
7899 case $ac_f in
7900 -) ac_f="$ac_tmp/stdin";;
7901 *) # Look for the file first in the build tree, then in the source tree
7902 # (if the path is not absolute). The absolute path cannot be DOS-style,
7903 # because $ac_f cannot contain `:'.
7904 test -f "$ac_f" ||
7905 case $ac_f in
7906 [\\/$]*) false;;
7907 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7908 esac ||
7909 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7910 esac
7911 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7912 as_fn_append ac_file_inputs " '$ac_f'"
7913 done
7915 # Let's still pretend it is `configure' which instantiates (i.e., don't
7916 # use $as_me), people would be surprised to read:
7917 # /* config.h. Generated by config.status. */
7918 configure_input='Generated from '`
7919 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7920 `' by configure.'
7921 if test x"$ac_file" != x-; then
7922 configure_input="$ac_file. $configure_input"
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7924 $as_echo "$as_me: creating $ac_file" >&6;}
7926 # Neutralize special characters interpreted by sed in replacement strings.
7927 case $configure_input in #(
7928 *\&* | *\|* | *\\* )
7929 ac_sed_conf_input=`$as_echo "$configure_input" |
7930 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7931 *) ac_sed_conf_input=$configure_input;;
7932 esac
7934 case $ac_tag in
7935 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7936 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7937 esac
7939 esac
7941 ac_dir=`$as_dirname -- "$ac_file" ||
7942 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7943 X"$ac_file" : 'X\(//\)[^/]' \| \
7944 X"$ac_file" : 'X\(//\)$' \| \
7945 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7946 $as_echo X"$ac_file" |
7947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7948 s//\1/
7951 /^X\(\/\/\)[^/].*/{
7952 s//\1/
7955 /^X\(\/\/\)$/{
7956 s//\1/
7959 /^X\(\/\).*/{
7960 s//\1/
7963 s/.*/./; q'`
7964 as_dir="$ac_dir"; as_fn_mkdir_p
7965 ac_builddir=.
7967 case "$ac_dir" in
7968 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7970 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7971 # A ".." for each directory in $ac_dir_suffix.
7972 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7973 case $ac_top_builddir_sub in
7974 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7975 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7976 esac ;;
7977 esac
7978 ac_abs_top_builddir=$ac_pwd
7979 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7980 # for backward compatibility:
7981 ac_top_builddir=$ac_top_build_prefix
7983 case $srcdir in
7984 .) # We are building in place.
7985 ac_srcdir=.
7986 ac_top_srcdir=$ac_top_builddir_sub
7987 ac_abs_top_srcdir=$ac_pwd ;;
7988 [\\/]* | ?:[\\/]* ) # Absolute name.
7989 ac_srcdir=$srcdir$ac_dir_suffix;
7990 ac_top_srcdir=$srcdir
7991 ac_abs_top_srcdir=$srcdir ;;
7992 *) # Relative name.
7993 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7994 ac_top_srcdir=$ac_top_build_prefix$srcdir
7995 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7996 esac
7997 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8000 case $ac_mode in
8003 # CONFIG_FILE
8006 case $INSTALL in
8007 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8008 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8009 esac
8010 ac_MKDIR_P=$MKDIR_P
8011 case $MKDIR_P in
8012 [\\/$]* | ?:[\\/]* ) ;;
8013 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8014 esac
8015 _ACEOF
8017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8018 # If the template does not know about datarootdir, expand it.
8019 # FIXME: This hack should be removed a few years after 2.60.
8020 ac_datarootdir_hack=; ac_datarootdir_seen=
8021 ac_sed_dataroot='
8022 /datarootdir/ {
8026 /@datadir@/p
8027 /@docdir@/p
8028 /@infodir@/p
8029 /@localedir@/p
8030 /@mandir@/p'
8031 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8032 *datarootdir*) ac_datarootdir_seen=yes;;
8033 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8035 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8036 _ACEOF
8037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8038 ac_datarootdir_hack='
8039 s&@datadir@&$datadir&g
8040 s&@docdir@&$docdir&g
8041 s&@infodir@&$infodir&g
8042 s&@localedir@&$localedir&g
8043 s&@mandir@&$mandir&g
8044 s&\\\${datarootdir}&$datarootdir&g' ;;
8045 esac
8046 _ACEOF
8048 # Neutralize VPATH when `$srcdir' = `.'.
8049 # Shell code in configure.ac might set extrasub.
8050 # FIXME: do we really want to maintain this feature?
8051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8052 ac_sed_extra="$ac_vpsub
8053 $extrasub
8054 _ACEOF
8055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8057 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8058 s|@configure_input@|$ac_sed_conf_input|;t t
8059 s&@top_builddir@&$ac_top_builddir_sub&;t t
8060 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8061 s&@srcdir@&$ac_srcdir&;t t
8062 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8063 s&@top_srcdir@&$ac_top_srcdir&;t t
8064 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8065 s&@builddir@&$ac_builddir&;t t
8066 s&@abs_builddir@&$ac_abs_builddir&;t t
8067 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8068 s&@INSTALL@&$ac_INSTALL&;t t
8069 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8070 $ac_datarootdir_hack
8072 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8073 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8075 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8076 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8077 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8078 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8080 which seems to be undefined. Please make sure it is defined" >&5
8081 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8082 which seems to be undefined. Please make sure it is defined" >&2;}
8084 rm -f "$ac_tmp/stdin"
8085 case $ac_file in
8086 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8087 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8088 esac \
8089 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8093 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8094 $as_echo "$as_me: executing $ac_file commands" >&6;}
8096 esac
8099 case $ac_file$ac_mode in
8100 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8101 # Older Autoconf quotes --file arguments for eval, but not when files
8102 # are listed without --file. Let's play safe and only enable the eval
8103 # if we detect the quoting.
8104 case $CONFIG_FILES in
8105 *\'*) eval set x "$CONFIG_FILES" ;;
8106 *) set x $CONFIG_FILES ;;
8107 esac
8108 shift
8109 for mf
8111 # Strip MF so we end up with the name of the file.
8112 mf=`echo "$mf" | sed -e 's/:.*$//'`
8113 # Check whether this is an Automake generated Makefile or not.
8114 # We used to match only the files named 'Makefile.in', but
8115 # some people rename them; so instead we look at the file content.
8116 # Grep'ing the first line is not enough: some people post-process
8117 # each Makefile.in and add a new line on top of each file to say so.
8118 # Grep'ing the whole file is not good either: AIX grep has a line
8119 # limit of 2048, but all sed's we know have understand at least 4000.
8120 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8121 dirpart=`$as_dirname -- "$mf" ||
8122 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8123 X"$mf" : 'X\(//\)[^/]' \| \
8124 X"$mf" : 'X\(//\)$' \| \
8125 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8126 $as_echo X"$mf" |
8127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8128 s//\1/
8131 /^X\(\/\/\)[^/].*/{
8132 s//\1/
8135 /^X\(\/\/\)$/{
8136 s//\1/
8139 /^X\(\/\).*/{
8140 s//\1/
8143 s/.*/./; q'`
8144 else
8145 continue
8147 # Extract the definition of DEPDIR, am__include, and am__quote
8148 # from the Makefile without running 'make'.
8149 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8150 test -z "$DEPDIR" && continue
8151 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8152 test -z "$am__include" && continue
8153 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8154 # Find all dependency output files, they are included files with
8155 # $(DEPDIR) in their names. We invoke sed twice because it is the
8156 # simplest approach to changing $(DEPDIR) to its actual value in the
8157 # expansion.
8158 for file in `sed -n "
8159 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8160 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8161 # Make sure the directory exists.
8162 test -f "$dirpart/$file" && continue
8163 fdir=`$as_dirname -- "$file" ||
8164 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8165 X"$file" : 'X\(//\)[^/]' \| \
8166 X"$file" : 'X\(//\)$' \| \
8167 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8168 $as_echo X"$file" |
8169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8170 s//\1/
8173 /^X\(\/\/\)[^/].*/{
8174 s//\1/
8177 /^X\(\/\/\)$/{
8178 s//\1/
8181 /^X\(\/\).*/{
8182 s//\1/
8185 s/.*/./; q'`
8186 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8187 # echo "creating $dirpart/$file"
8188 echo '# dummy' > "$dirpart/$file"
8189 done
8190 done
8194 esac
8195 done # for ac_tag
8198 as_fn_exit 0
8199 _ACEOF
8200 ac_clean_files=$ac_clean_files_save
8202 test $ac_write_fail = 0 ||
8203 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8206 # configure is writing to config.log, and then calls config.status.
8207 # config.status does its own redirection, appending to config.log.
8208 # Unfortunately, on DOS this fails, as config.log is still kept open
8209 # by configure, so config.status won't be able to write to it; its
8210 # output is simply discarded. So we exec the FD to /dev/null,
8211 # effectively closing config.log, so it can be properly (re)opened and
8212 # appended to by config.status. When coming back to configure, we
8213 # need to make the FD available again.
8214 if test "$no_create" != yes; then
8215 ac_cs_success=:
8216 ac_config_status_args=
8217 test "$silent" = yes &&
8218 ac_config_status_args="$ac_config_status_args --quiet"
8219 exec 5>/dev/null
8220 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8221 exec 5>>config.log
8222 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8223 # would make configure fail if this is the last instruction.
8224 $ac_cs_success || as_fn_exit 1
8226 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8228 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: Running qmake to generate the makefile..." >&5
8236 $as_echo "$as_me: Running qmake to generate the makefile..." >&6;}
8237 CONFDIR="$( cd "$( dirname "$0" )" && pwd )"
8239 $QT_QMAKE -r $CONFDIR/qbittorrent.pro "QMAKE_LRELEASE=$QMAKE_LRELEASE"
8241 ret="$?"
8243 $as_echo
8244 if test "x$ret" = "x0"; then :
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: Good, your configure finished." >&5
8246 $as_echo "$as_me: Good, your configure finished." >&6;}
8247 else
8248 as_fn_error $? "Failed running $QT_QMAKE to generate the makefile" "$LINENO" 5
8250 $as_echo