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 :
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+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
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
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 ||
:
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.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
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
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 :
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+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
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; }
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 :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || 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 :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
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 :
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
240 if test "x$CONFIG_SHELL" != x
; then :
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.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
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
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."
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."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
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 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
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
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
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 :
401 as_val
=`expr "$@" || test $? -eq 1`
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.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
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
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
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. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
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
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 ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
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"'
546 test -d .
/-p && rmdir .
/-p
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
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`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
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
596 QBT_CONF_EXTRA_CFLAGS
643 INSTALL_STRIP_PROGRAM
705 program_transform_name
719 enable_option_checking
720 enable_dependency_tracking
722 with_qtsingleapplication
733 ac_precious_vars
='build_alias
758 # Initialize some variables set by options.
760 ac_init_version
=false
761 ac_unrecognized_opts
=
763 # The variables have the same names as the options, with
764 # dashes changed to underlines.
772 program_transform_name
=s
,x
,x
,
780 # Installation directory options.
781 # These are left unexpanded so users can "make install exec_prefix=/foo"
782 # and all the variables that are supposed to be based on exec_prefix
783 # by default will actually change.
784 # Use braces instead of parens because sh, perl, etc. also accept them.
785 # (The list follows the same order as the GNU Coding Standards.)
786 bindir
='${exec_prefix}/bin'
787 sbindir
='${exec_prefix}/sbin'
788 libexecdir
='${exec_prefix}/libexec'
789 datarootdir
='${prefix}/share'
790 datadir
='${datarootdir}'
791 sysconfdir
='${prefix}/etc'
792 sharedstatedir
='${prefix}/com'
793 localstatedir
='${prefix}/var'
794 runstatedir
='${localstatedir}/run'
795 includedir
='${prefix}/include'
796 oldincludedir
='/usr/include'
797 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
798 infodir
='${datarootdir}/info'
803 libdir
='${exec_prefix}/lib'
804 localedir
='${datarootdir}/locale'
805 mandir
='${datarootdir}/man'
811 # If the previous option needs an argument, assign it.
812 if test -n "$ac_prev"; then
813 eval $ac_prev=\
$ac_option
819 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
824 # Accept the important Cygnus configure options, so we can diagnose typos.
826 case $ac_dashdash$ac_option in
830 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
832 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
835 -build |
--build |
--buil |
--bui |
--bu)
836 ac_prev
=build_alias
;;
837 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
838 build_alias
=$ac_optarg ;;
840 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
841 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
842 ac_prev
=cache_file
;;
843 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
844 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
845 cache_file
=$ac_optarg ;;
848 cache_file
=config.cache
;;
850 -datadir |
--datadir |
--datadi |
--datad)
852 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
853 datadir
=$ac_optarg ;;
855 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
856 |
--dataroo |
--dataro |
--datar)
857 ac_prev
=datarootdir
;;
858 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
859 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
860 datarootdir
=$ac_optarg ;;
862 -disable-* |
--disable-*)
863 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
864 # Reject names that are not valid shell variable names.
865 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
866 as_fn_error $?
"invalid feature name: $ac_useropt"
867 ac_useropt_orig
=$ac_useropt
868 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
869 case $ac_user_opts in
873 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
874 ac_unrecognized_sep
=', ';;
876 eval enable_
$ac_useropt=no
;;
878 -docdir |
--docdir |
--docdi |
--doc |
--do)
880 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
883 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
885 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
888 -enable-* |
--enable-*)
889 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
890 # Reject names that are not valid shell variable names.
891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
892 as_fn_error $?
"invalid feature name: $ac_useropt"
893 ac_useropt_orig
=$ac_useropt
894 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
895 case $ac_user_opts in
899 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
900 ac_unrecognized_sep
=', ';;
902 eval enable_
$ac_useropt=\
$ac_optarg ;;
904 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
905 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
906 |
--exec |
--exe |
--ex)
907 ac_prev
=exec_prefix
;;
908 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
909 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
910 |
--exec=* |
--exe=* |
--ex=*)
911 exec_prefix
=$ac_optarg ;;
913 -gas |
--gas |
--ga |
--g)
914 # Obsolete; use --with-gas.
917 -help |
--help |
--hel |
--he |
-h)
919 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
920 ac_init_help
=recursive
;;
921 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
922 ac_init_help
=short
;;
924 -host |
--host |
--hos |
--ho)
925 ac_prev
=host_alias
;;
926 -host=* |
--host=* |
--hos=* |
--ho=*)
927 host_alias
=$ac_optarg ;;
929 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
931 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
933 htmldir
=$ac_optarg ;;
935 -includedir |
--includedir |
--includedi |
--included |
--include \
936 |
--includ |
--inclu |
--incl |
--inc)
937 ac_prev
=includedir
;;
938 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
939 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
940 includedir
=$ac_optarg ;;
942 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
944 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
945 infodir
=$ac_optarg ;;
947 -libdir |
--libdir |
--libdi |
--libd)
949 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
952 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
953 |
--libexe |
--libex |
--libe)
954 ac_prev
=libexecdir
;;
955 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
956 |
--libexe=* |
--libex=* |
--libe=*)
957 libexecdir
=$ac_optarg ;;
959 -localedir |
--localedir |
--localedi |
--localed |
--locale)
961 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
962 localedir
=$ac_optarg ;;
964 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
965 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
966 ac_prev
=localstatedir
;;
967 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
968 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
969 localstatedir
=$ac_optarg ;;
971 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
973 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
977 # Obsolete; use --without-fp.
980 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
981 |
--no-cr |
--no-c |
-n)
984 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
985 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
988 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
989 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
990 |
--oldin |
--oldi |
--old |
--ol |
--o)
991 ac_prev
=oldincludedir
;;
992 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
993 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
994 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
995 oldincludedir
=$ac_optarg ;;
997 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
999 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1000 prefix
=$ac_optarg ;;
1002 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1003 |
--program-pre |
--program-pr |
--program-p)
1004 ac_prev
=program_prefix
;;
1005 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1006 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1007 program_prefix
=$ac_optarg ;;
1009 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1010 |
--program-suf |
--program-su |
--program-s)
1011 ac_prev
=program_suffix
;;
1012 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1013 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1014 program_suffix
=$ac_optarg ;;
1016 -program-transform-name |
--program-transform-name \
1017 |
--program-transform-nam |
--program-transform-na \
1018 |
--program-transform-n |
--program-transform- \
1019 |
--program-transform |
--program-transfor \
1020 |
--program-transfo |
--program-transf \
1021 |
--program-trans |
--program-tran \
1022 |
--progr-tra |
--program-tr |
--program-t)
1023 ac_prev
=program_transform_name
;;
1024 -program-transform-name=* |
--program-transform-name=* \
1025 |
--program-transform-nam=* |
--program-transform-na=* \
1026 |
--program-transform-n=* |
--program-transform-=* \
1027 |
--program-transform=* |
--program-transfor=* \
1028 |
--program-transfo=* |
--program-transf=* \
1029 |
--program-trans=* |
--program-tran=* \
1030 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1031 program_transform_name
=$ac_optarg ;;
1033 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1035 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1036 pdfdir
=$ac_optarg ;;
1038 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1040 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1043 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1044 |
-silent |
--silent |
--silen |
--sile |
--sil)
1047 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1048 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1049 |
--run |
--ru |
--r)
1050 ac_prev
=runstatedir
;;
1051 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1052 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1053 |
--run=* |
--ru=* |
--r=*)
1054 runstatedir
=$ac_optarg ;;
1056 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1058 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1060 sbindir
=$ac_optarg ;;
1062 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1063 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1064 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1066 ac_prev
=sharedstatedir
;;
1067 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1068 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1069 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1071 sharedstatedir
=$ac_optarg ;;
1073 -site |
--site |
--sit)
1075 -site=* |
--site=* |
--sit=*)
1078 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1080 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1081 srcdir
=$ac_optarg ;;
1083 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1084 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1085 ac_prev
=sysconfdir
;;
1086 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1087 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1088 sysconfdir
=$ac_optarg ;;
1090 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1091 ac_prev
=target_alias
;;
1092 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1093 target_alias
=$ac_optarg ;;
1095 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1098 -version |
--version |
--versio |
--versi |
--vers |
-V)
1099 ac_init_version
=: ;;
1102 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1105 as_fn_error $?
"invalid package name: $ac_useropt"
1106 ac_useropt_orig
=$ac_useropt
1107 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108 case $ac_user_opts in
1112 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1113 ac_unrecognized_sep
=', ';;
1115 eval with_
$ac_useropt=\
$ac_optarg ;;
1117 -without-* |
--without-*)
1118 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1121 as_fn_error $?
"invalid package name: $ac_useropt"
1122 ac_useropt_orig
=$ac_useropt
1123 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1128 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1129 ac_unrecognized_sep
=', ';;
1131 eval with_
$ac_useropt=no
;;
1134 # Obsolete; use --with-x.
1137 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1138 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1139 ac_prev
=x_includes
;;
1140 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1141 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1142 x_includes
=$ac_optarg ;;
1144 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1145 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1146 ac_prev
=x_libraries
;;
1147 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1148 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1149 x_libraries
=$ac_optarg ;;
1151 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1152 Try \`$0 --help' for more information"
1156 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1157 # Reject names that are not valid shell variable names.
1158 case $ac_envvar in #(
1159 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1160 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1162 eval $ac_envvar=\
$ac_optarg
1163 export $ac_envvar ;;
1166 # FIXME: should be removed in autoconf 3.0.
1167 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1168 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1169 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1170 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1176 if test -n "$ac_prev"; then
1177 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1178 as_fn_error $?
"missing argument to $ac_option"
1181 if test -n "$ac_unrecognized_opts"; then
1182 case $enable_option_checking in
1184 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1185 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1189 # Check all directory arguments for consistency.
1190 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1191 datadir sysconfdir sharedstatedir localstatedir includedir \
1192 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1193 libdir localedir mandir runstatedir
1195 eval ac_val
=\$
$ac_var
1196 # Remove trailing slashes.
1199 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1200 eval $ac_var=\
$ac_val;;
1202 # Be sure to have absolute directory names.
1204 [\\/$
]* | ?
:[\\/]* ) continue;;
1205 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1207 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1210 # There might be people who depend on the old broken behavior: `$host'
1211 # used to hold the argument of --host etc.
1212 # FIXME: To remove some day.
1215 target
=$target_alias
1217 # FIXME: To remove some day.
1218 if test "x$host_alias" != x
; then
1219 if test "x$build_alias" = x
; then
1220 cross_compiling
=maybe
1221 elif test "x$build_alias" != "x$host_alias"; then
1227 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1229 test "$silent" = yes && exec 6>/dev
/null
1232 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1233 ac_ls_di
=`ls -di .` &&
1234 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1235 as_fn_error $?
"working directory cannot be determined"
1236 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1237 as_fn_error $?
"pwd does not report name of working directory"
1240 # Find the source files, if location was not specified.
1241 if test -z "$srcdir"; then
1242 ac_srcdir_defaulted
=yes
1243 # Try the directory containing this script, then the parent directory.
1244 ac_confdir
=`$as_dirname -- "$as_myself" ||
1245 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1246 X"$as_myself" : 'X\(//\)[^/]' \| \
1247 X"$as_myself" : 'X\(//\)$' \| \
1248 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1249 $as_echo X"$as_myself" |
1250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1272 ac_srcdir_defaulted
=no
1274 if test ! -r "$srcdir/$ac_unique_file"; then
1275 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1276 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1278 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1280 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1282 # When building in place, set srcdir=.
1283 if test "$ac_abs_confdir" = "$ac_pwd"; then
1286 # Remove unnecessary trailing slashes from srcdir.
1287 # Double slashes in file names in object file debugging info
1288 # mess up M-x gdb in Emacs.
1290 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1292 for ac_var
in $ac_precious_vars; do
1293 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1294 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1295 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1296 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1300 # Report the --help message.
1302 if test "$ac_init_help" = "long"; then
1303 # Omit some internal or obsolete options to make the list less imposing.
1304 # This message is too long to be a string in the A/UX 3.1 sh.
1306 \`configure' configures qbittorrent v4.2.0alpha to adapt to many kinds of systems.
1308 Usage: $0 [OPTION]... [VAR=VALUE]...
1310 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1311 VAR=VALUE. See below for descriptions of some of the useful variables.
1313 Defaults for the options are specified in brackets.
1316 -h, --help display this help and exit
1317 --help=short display options specific to this package
1318 --help=recursive display the short help of all the included packages
1319 -V, --version display version information and exit
1320 -q, --quiet, --silent do not print \`checking ...' messages
1321 --cache-file=FILE cache test results in FILE [disabled]
1322 -C, --config-cache alias for \`--cache-file=config.cache'
1323 -n, --no-create do not create output files
1324 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1326 Installation directories:
1327 --prefix=PREFIX install architecture-independent files in PREFIX
1328 [$ac_default_prefix]
1329 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1332 By default, \`make install' will install all the files in
1333 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1334 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1335 for instance \`--prefix=\$HOME'.
1337 For better control, use the options below.
1339 Fine tuning of the installation directories:
1340 --bindir=DIR user executables [EPREFIX/bin]
1341 --sbindir=DIR system admin executables [EPREFIX/sbin]
1342 --libexecdir=DIR program executables [EPREFIX/libexec]
1343 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1344 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1345 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1346 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1347 --libdir=DIR object code libraries [EPREFIX/lib]
1348 --includedir=DIR C header files [PREFIX/include]
1349 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1350 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1351 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1352 --infodir=DIR info documentation [DATAROOTDIR/info]
1353 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1354 --mandir=DIR man documentation [DATAROOTDIR/man]
1355 --docdir=DIR documentation root [DATAROOTDIR/doc/qbittorrent]
1356 --htmldir=DIR html documentation [DOCDIR]
1357 --dvidir=DIR dvi documentation [DOCDIR]
1358 --pdfdir=DIR pdf documentation [DOCDIR]
1359 --psdir=DIR ps documentation [DOCDIR]
1365 --program-prefix=PREFIX prepend PREFIX to installed program names
1366 --program-suffix=SUFFIX append SUFFIX to installed program names
1367 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1370 --build=BUILD configure
for building on BUILD
[guessed
]
1371 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1375 if test -n "$ac_init_help"; then
1376 case $ac_init_help in
1377 short | recursive
) echo "Configuration of qbittorrent v4.2.0alpha:";;
1382 --disable-option-checking ignore unrecognized
--enable/--with options
1383 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1384 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1385 --enable-dependency-tracking
1386 do not reject slow dependency extractors
1387 --disable-dependency-tracking
1388 speeds up one-time build
1389 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1390 --disable-silent-rules verbose build output
(undo
: "make V=0")
1391 --enable-debug Enable debug build
1392 --enable-stacktrace Enable stacktrace feature
(default
=auto
)
1393 --disable-gui Disable the GUI
for headless running. Disables
1394 QtDBus and the GeoIP Database.
1395 --enable-systemd Install the systemd service
file (headless only
).
1396 --disable-webui Disable the WebUI.
1397 --disable-qt-dbus Disable use of QtDBus
(GUI only
)
1400 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1401 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1402 --with-qtsingleapplication=[system|shipped
]
1403 Use the shipped qtsingleapplication library or the
1404 system one
(default
=shipped
)
1405 --with-boost[=ARG
] use Boost library from a standard location
1406 (ARG
=yes), from the specified location
(ARG
=<path
>),
1407 or disable it
(ARG
=no
) [ARG
=yes]
1408 --with-boost-libdir=LIB_DIR
1409 Force given directory
for boost libraries. Note that
1410 this will override library path detection
, so use
1411 this parameter only
if default library detection
1412 fails and you know exactly where your boost
1413 libraries are located.
1414 --with-boost-system[=special-lib
]
1415 use the System library from boost
- it is possible
1416 to specify a certain library
for the linker e.g.
1417 --with-boost-system=boost_system-gcc-mt
1419 Some influential environment variables
:
1420 CC C compiler
command
1421 CFLAGS C compiler flags
1422 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1423 nonstandard directory
<lib dir
>
1424 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1425 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1426 you have headers
in a nonstandard directory
<include dir
>
1427 CXX C
++ compiler
command
1428 CXXFLAGS C
++ compiler flags
1429 PKG_CONFIG path to pkg-config utility
1431 directories to add to pkg-config
's search path
1433 path overriding pkg-config's built-in search path
1434 QT_QMAKE value of host_bins
for Qt5Core
>= 5.5.1, overriding pkg-config
1436 C compiler flags
for Qt5Svg
, overriding pkg-config
1437 Qt5Svg_LIBS linker flags
for Qt5Svg
, overriding pkg-config
1439 C compiler flags
for libtorrent
, overriding pkg-config
1441 linker flags
for libtorrent
, overriding pkg-config
1443 C compiler flags
for openssl
, overriding pkg-config
1445 linker flags
for openssl
, overriding pkg-config
1446 zlib_CFLAGS C compiler flags
for zlib
, overriding pkg-config
1447 zlib_LIBS linker flags
for zlib
, overriding pkg-config
1449 Use these variables to override the choices made by
`configure' or to help
1450 it to find libraries and programs with nonstandard names/locations.
1452 Report bugs to <bugs.qbittorrent.org>.
1453 qbittorrent home page: <https://www.qbittorrent.org/>.
1458 if test "$ac_init_help" = "recursive"; then
1459 # If there are subdirs, report their specific --help.
1460 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1461 test -d "$ac_dir" ||
1462 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1467 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1469 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1470 # A ".." for each directory in $ac_dir_suffix.
1471 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1472 case $ac_top_builddir_sub in
1473 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1474 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1477 ac_abs_top_builddir=$ac_pwd
1478 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1479 # for backward compatibility:
1480 ac_top_builddir=$ac_top_build_prefix
1483 .) # We are building in place.
1485 ac_top_srcdir=$ac_top_builddir_sub
1486 ac_abs_top_srcdir=$ac_pwd ;;
1487 [\\/]* | ?:[\\/]* ) # Absolute name.
1488 ac_srcdir=$srcdir$ac_dir_suffix;
1489 ac_top_srcdir=$srcdir
1490 ac_abs_top_srcdir=$srcdir ;;
1492 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1493 ac_top_srcdir=$ac_top_build_prefix$srcdir
1494 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1496 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1498 cd "$ac_dir" || { ac_status=$?; continue; }
1499 # Check for guested configure.
1500 if test -f "$ac_srcdir/configure.gnu"; then
1502 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1503 elif test -f "$ac_srcdir/configure"; then
1505 $SHELL "$ac_srcdir/configure" --help=recursive
1507 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1509 cd "$ac_pwd" || { ac_status=$?; break; }
1513 test -n "$ac_init_help" && exit $ac_status
1514 if $ac_init_version; then
1516 qbittorrent configure v4.2.0alpha
1517 generated by GNU Autoconf 2.69
1519 Copyright (C) 2012 Free Software Foundation, Inc.
1520 This configure script is free software; the Free Software Foundation
1521 gives unlimited permission to copy, distribute and modify it.
1526 ## ------------------------ ##
1527 ## Autoconf initialization. ##
1528 ## ------------------------ ##
1530 # ac_fn_c_try_compile LINENO
1531 # --------------------------
1532 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1533 ac_fn_c_try_compile ()
1535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1536 rm -f conftest.$ac_objext
1537 if { { ac_try="$ac_compile"
1539 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1540 *) ac_try_echo
=$ac_try;;
1542 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1543 $as_echo "$ac_try_echo"; } >&5
1544 (eval "$ac_compile") 2>conftest.err
1546 if test -s conftest.err
; then
1547 grep -v '^ *+' conftest.err
>conftest.er1
1548 cat conftest.er1
>&5
1549 mv -f conftest.er1 conftest.err
1551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1552 test $ac_status = 0; } && {
1553 test -z "$ac_c_werror_flag" ||
1554 test ! -s conftest.err
1555 } && test -s conftest.
$ac_objext; then :
1558 $as_echo "$as_me: failed program was:" >&5
1559 sed 's/^/| /' conftest.
$ac_ext >&5
1563 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1564 as_fn_set_status
$ac_retval
1566 } # ac_fn_c_try_compile
1568 # ac_fn_cxx_try_compile LINENO
1569 # ----------------------------
1570 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1571 ac_fn_cxx_try_compile
()
1573 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1574 rm -f conftest.
$ac_objext
1575 if { { ac_try
="$ac_compile"
1577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1578 *) ac_try_echo=$ac_try;;
1580 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1581 $as_echo "$ac_try_echo"; } >&5
1582 (eval "$ac_compile") 2>conftest.err
1584 if test -s conftest.err; then
1585 grep -v '^ *+' conftest.err >conftest.er1
1586 cat conftest.er1 >&5
1587 mv -f conftest.er1 conftest.err
1589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1590 test $ac_status = 0; } && {
1591 test -z "$ac_cxx_werror_flag" ||
1592 test ! -s conftest.err
1593 } && test -s conftest.$ac_objext; then :
1596 $as_echo "$as_me: failed program was:" >&5
1597 sed 's/^/| /' conftest.$ac_ext >&5
1601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1602 as_fn_set_status $ac_retval
1604 } # ac_fn_cxx_try_compile
1606 # ac_fn_cxx_try_link LINENO
1607 # -------------------------
1608 # Try to link conftest.$ac_ext, and return whether this succeeded.
1609 ac_fn_cxx_try_link ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 rm -f conftest.$ac_objext conftest$ac_exeext
1613 if { { ac_try="$ac_link"
1615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1616 *) ac_try_echo
=$ac_try;;
1618 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1619 $as_echo "$ac_try_echo"; } >&5
1620 (eval "$ac_link") 2>conftest.err
1622 if test -s conftest.err
; then
1623 grep -v '^ *+' conftest.err
>conftest.er1
1624 cat conftest.er1
>&5
1625 mv -f conftest.er1 conftest.err
1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628 test $ac_status = 0; } && {
1629 test -z "$ac_cxx_werror_flag" ||
1630 test ! -s conftest.err
1631 } && test -s conftest
$ac_exeext && {
1632 test "$cross_compiling" = yes ||
1633 test -x conftest
$ac_exeext
1637 $as_echo "$as_me: failed program was:" >&5
1638 sed 's/^/| /' conftest.
$ac_ext >&5
1642 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1643 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1644 # interfere with the next link command; also delete a directory that is
1645 # left behind by Apple's compiler. We do this before executing the actions.
1646 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648 as_fn_set_status
$ac_retval
1650 } # ac_fn_cxx_try_link
1651 cat >config.log
<<_ACEOF
1652 This file contains any messages produced by compilers while
1653 running configure, to aid debugging if configure makes a mistake.
1655 It was created by qbittorrent $as_me v4.2.0alpha, which was
1656 generated by GNU Autoconf 2.69. Invocation command line was
1668 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1669 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1670 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1671 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1672 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1674 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1675 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1677 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1678 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1679 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1680 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1681 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1682 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1683 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir
=.
1692 $as_echo "PATH: $as_dir"
1708 # Keep a trace of the command line.
1709 # Strip out --no-create and --no-recursion so they do not pile up.
1710 # Strip out --silent because we don't want to record it for future runs.
1711 # Also quote any args containing shell meta-characters.
1712 # Make two passes to allow for proper duplicate-argument suppression.
1716 ac_must_keep_next
=false
1722 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1723 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1724 |
-silent |
--silent |
--silen |
--sile |
--sil)
1727 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1730 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1732 as_fn_append ac_configure_args1
" '$ac_arg'"
1733 if test $ac_must_keep_next = true
; then
1734 ac_must_keep_next
=false
# Got value, back to normal.
1737 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1738 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1739 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1740 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1741 case "$ac_configure_args0 " in
1742 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1745 -* ) ac_must_keep_next
=true
;;
1748 as_fn_append ac_configure_args
" '$ac_arg'"
1753 { ac_configure_args0
=; unset ac_configure_args0
;}
1754 { ac_configure_args1
=; unset ac_configure_args1
;}
1756 # When interrupted or exit'd, cleanup temporary files, and complete
1757 # config.log. We remove comments because anyway the quotes in there
1758 # would cause problems or look ugly.
1759 # WARNING: Use '\'' to represent an apostrophe within the trap.
1760 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1761 trap 'exit_status=$?
1762 # Save into config.log some information that might help in debugging.
1766 $as_echo "## ---------------- ##
1767 ## Cache variables. ##
1768 ## ---------------- ##"
1770 # The following way of writing the cache mishandles newlines in values,
1772 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1773 eval ac_val=\$$ac_var
1777 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1778 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1781 _ | IFS | as_nl) ;; #(
1782 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1783 *) { eval $ac_var=; unset $ac_var;} ;;
1788 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1789 *${as_nl}ac_space=\ *)
1791 "s/'\''/'\''\\\\'\'''\''/g;
1792 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1795 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1802 $as_echo "## ----------------- ##
1803 ## Output variables. ##
1804 ## ----------------- ##"
1806 for ac_var in $ac_subst_vars
1808 eval ac_val=\$$ac_var
1810 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1812 $as_echo "$ac_var='\''$ac_val'\''"
1816 if test -n "$ac_subst_files"; then
1817 $as_echo "## ------------------- ##
1818 ## File substitutions. ##
1819 ## ------------------- ##"
1821 for ac_var
in $ac_subst_files
1823 eval ac_val
=\$
$ac_var
1825 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1827 $as_echo "$ac_var='\''$ac_val'\''"
1832 if test -s confdefs.h; then
1833 $as_echo "## ----------- ##
1840 test "$ac_signal" != 0 &&
1841 $as_echo "$as_me: caught signal $ac_signal"
1842 $as_echo "$as_me: exit $exit_status"
1844 rm -f core *.core core.conftest.* &&
1845 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1848 for ac_signal
in 1 2 13 15; do
1849 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1853 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1854 rm -f -r conftest
* confdefs.h
1856 $as_echo "/* confdefs.h */" > confdefs.h
1858 # Predefined preprocessor variables.
1860 cat >>confdefs.h
<<_ACEOF
1861 #define PACKAGE_NAME "$PACKAGE_NAME"
1864 cat >>confdefs.h
<<_ACEOF
1865 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1868 cat >>confdefs.h
<<_ACEOF
1869 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1872 cat >>confdefs.h
<<_ACEOF
1873 #define PACKAGE_STRING "$PACKAGE_STRING"
1876 cat >>confdefs.h
<<_ACEOF
1877 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1880 cat >>confdefs.h
<<_ACEOF
1881 #define PACKAGE_URL "$PACKAGE_URL"
1885 # Let the site file select an alternate cache file if it wants to.
1886 # Prefer an explicitly selected file to automatically selected ones.
1889 if test -n "$CONFIG_SITE"; then
1890 # We do not want a PATH search for config.site.
1891 case $CONFIG_SITE in #((
1892 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1893 */*) ac_site_file1
=$CONFIG_SITE;;
1894 *) ac_site_file1
=.
/$CONFIG_SITE;;
1896 elif test "x$prefix" != xNONE
; then
1897 ac_site_file1
=$prefix/share
/config.site
1898 ac_site_file2
=$prefix/etc
/config.site
1900 ac_site_file1
=$ac_default_prefix/share
/config.site
1901 ac_site_file2
=$ac_default_prefix/etc
/config.site
1903 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1905 test "x$ac_site_file" = xNONE
&& continue
1906 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1908 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1909 sed 's/^/| /' "$ac_site_file" >&5
1911 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1913 as_fn_error $?
"failed to load site script $ac_site_file
1914 See \`config.log' for more details" "$LINENO" 5; }
1918 if test -r "$cache_file"; then
1919 # Some versions of bash will fail to source /dev/null (special files
1920 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1921 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1923 $as_echo "$as_me: loading cache $cache_file" >&6;}
1925 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1926 *) .
"./$cache_file";;
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1931 $as_echo "$as_me: creating cache $cache_file" >&6;}
1935 # Check that the precious variables saved in the cache have kept the same
1937 ac_cache_corrupted
=false
1938 for ac_var
in $ac_precious_vars; do
1939 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1940 eval ac_new_set
=\
$ac_env_${ac_var}_set
1941 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1942 eval ac_new_val
=\
$ac_env_${ac_var}_value
1943 case $ac_old_set,$ac_new_set in
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1946 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1947 ac_cache_corrupted
=: ;;
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1950 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1951 ac_cache_corrupted
=: ;;
1954 if test "x$ac_old_val" != "x$ac_new_val"; then
1955 # differences in whitespace do not lead to failure.
1956 ac_old_val_w
=`echo x $ac_old_val`
1957 ac_new_val_w
=`echo x $ac_new_val`
1958 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1960 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1961 ac_cache_corrupted
=:
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1964 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1965 eval $ac_var=\
$ac_old_val
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1968 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1970 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1973 # Pass precious variables to config.status.
1974 if test "$ac_new_set" = set; then
1976 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1977 *) ac_arg
=$ac_var=$ac_new_val ;;
1979 case " $ac_configure_args " in
1980 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1981 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1985 if $ac_cache_corrupted; then
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1989 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1990 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1992 ## -------------------- ##
1993 ## Main body of script. ##
1994 ## -------------------- ##
1997 ac_cpp
='$CPP $CPPFLAGS'
1998 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1999 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2000 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2004 for ac_dir
in build-aux
"$srcdir"/build-aux
; do
2005 if test -f "$ac_dir/install-sh"; then
2007 ac_install_sh
="$ac_aux_dir/install-sh -c"
2009 elif test -f "$ac_dir/install.sh"; then
2011 ac_install_sh
="$ac_aux_dir/install.sh -c"
2013 elif test -f "$ac_dir/shtool"; then
2015 ac_install_sh
="$ac_aux_dir/shtool install -c"
2019 if test -z "$ac_aux_dir"; then
2020 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2023 # These three variables are undocumented and unsupported,
2024 # and are intended to be withdrawn in a future Autoconf release.
2025 # They can cause serious problems if a builder's source tree is in a directory
2026 # whose full name contains unusual characters.
2027 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2028 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2029 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2034 ac_cpp
='$CPP $CPPFLAGS'
2035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2038 if test -n "$ac_tool_prefix"; then
2039 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2040 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2042 $as_echo_n "checking for $ac_word... " >&6; }
2043 if ${ac_cv_prog_CC+:} false
; then :
2044 $as_echo_n "(cached) " >&6
2046 if test -n "$CC"; then
2047 ac_cv_prog_CC
="$CC" # Let the user override the test.
2049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2053 test -z "$as_dir" && as_dir
=.
2054 for ac_exec_ext
in '' $ac_executable_extensions; do
2055 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2056 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 if test -n "$CC"; then
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2069 $as_echo "$CC" >&6; }
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2072 $as_echo "no" >&6; }
2077 if test -z "$ac_cv_prog_CC"; then
2079 # Extract the first word of "gcc", so it can be a program name with args.
2080 set dummy gcc
; ac_word
=$2
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2082 $as_echo_n "checking for $ac_word... " >&6; }
2083 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2084 $as_echo_n "(cached) " >&6
2086 if test -n "$ac_ct_CC"; then
2087 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2093 test -z "$as_dir" && as_dir
=.
2094 for ac_exec_ext
in '' $ac_executable_extensions; do
2095 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2096 ac_cv_prog_ac_ct_CC
="gcc"
2097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2106 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2107 if test -n "$ac_ct_CC"; then
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2109 $as_echo "$ac_ct_CC" >&6; }
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2112 $as_echo "no" >&6; }
2115 if test "x$ac_ct_CC" = x
; then
2118 case $cross_compiling:$ac_tool_warned in
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2122 ac_tool_warned
=yes ;;
2130 if test -z "$CC"; then
2131 if test -n "$ac_tool_prefix"; then
2132 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2133 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2135 $as_echo_n "checking for $ac_word... " >&6; }
2136 if ${ac_cv_prog_CC+:} false
; then :
2137 $as_echo_n "(cached) " >&6
2139 if test -n "$CC"; then
2140 ac_cv_prog_CC
="$CC" # Let the user override the test.
2142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2146 test -z "$as_dir" && as_dir
=.
2147 for ac_exec_ext
in '' $ac_executable_extensions; do
2148 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2149 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 if test -n "$CC"; then
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2162 $as_echo "$CC" >&6; }
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2165 $as_echo "no" >&6; }
2171 if test -z "$CC"; then
2172 # Extract the first word of "cc", so it can be a program name with args.
2173 set dummy cc
; ac_word
=$2
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2175 $as_echo_n "checking for $ac_word... " >&6; }
2176 if ${ac_cv_prog_CC+:} false
; then :
2177 $as_echo_n "(cached) " >&6
2179 if test -n "$CC"; then
2180 ac_cv_prog_CC
="$CC" # Let the user override the test.
2183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2187 test -z "$as_dir" && as_dir
=.
2188 for ac_exec_ext
in '' $ac_executable_extensions; do
2189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2190 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2191 ac_prog_rejected
=yes
2195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2202 if test $ac_prog_rejected = yes; then
2203 # We found a bogon in the path, so make sure we never use it.
2204 set dummy
$ac_cv_prog_CC
2206 if test $# != 0; then
2207 # We chose a different compiler from the bogus one.
2208 # However, it has the same basename, so the bogon will be chosen
2209 # first if we set CC to just the basename; use the full file name.
2211 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2217 if test -n "$CC"; then
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2219 $as_echo "$CC" >&6; }
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2222 $as_echo "no" >&6; }
2227 if test -z "$CC"; then
2228 if test -n "$ac_tool_prefix"; then
2229 for ac_prog
in cl.exe
2231 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2232 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2234 $as_echo_n "checking for $ac_word... " >&6; }
2235 if ${ac_cv_prog_CC+:} false
; then :
2236 $as_echo_n "(cached) " >&6
2238 if test -n "$CC"; then
2239 ac_cv_prog_CC
="$CC" # Let the user override the test.
2241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2245 test -z "$as_dir" && as_dir
=.
2246 for ac_exec_ext
in '' $ac_executable_extensions; do
2247 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2248 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 if test -n "$CC"; then
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2261 $as_echo "$CC" >&6; }
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2264 $as_echo "no" >&6; }
2268 test -n "$CC" && break
2271 if test -z "$CC"; then
2273 for ac_prog
in cl.exe
2275 # Extract the first word of "$ac_prog", so it can be a program name with args.
2276 set dummy
$ac_prog; ac_word
=$2
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2278 $as_echo_n "checking for $ac_word... " >&6; }
2279 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2280 $as_echo_n "(cached) " >&6
2282 if test -n "$ac_ct_CC"; then
2283 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2289 test -z "$as_dir" && as_dir
=.
2290 for ac_exec_ext
in '' $ac_executable_extensions; do
2291 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2292 ac_cv_prog_ac_ct_CC
="$ac_prog"
2293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2302 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2303 if test -n "$ac_ct_CC"; then
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2305 $as_echo "$ac_ct_CC" >&6; }
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2308 $as_echo "no" >&6; }
2312 test -n "$ac_ct_CC" && break
2315 if test "x$ac_ct_CC" = x
; then
2318 case $cross_compiling:$ac_tool_warned in
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2322 ac_tool_warned
=yes ;;
2331 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2333 as_fn_error $?
"no acceptable C compiler found in \$PATH
2334 See \`config.log' for more details" "$LINENO" 5; }
2336 # Provide some information about the compiler.
2337 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2340 for ac_option
in --version -v -V -qversion; do
2341 { { ac_try
="$ac_compiler $ac_option >&5"
2343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2344 *) ac_try_echo=$ac_try;;
2346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2347 $as_echo "$ac_try_echo"; } >&5
2348 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2350 if test -s conftest.err; then
2352 ... rest of stderr output deleted ...
2353 10q' conftest.err >conftest.er1
2354 cat conftest.er1 >&5
2356 rm -f conftest.er1 conftest.err
2357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2358 test $ac_status = 0; }
2361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2362 /* end confdefs.h. */
2372 ac_clean_files_save=$ac_clean_files
2373 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2374 # Try to create an executable without -o first, disregard a.out.
2375 # It will help us diagnose broken compilers, and finding out an intuition
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2378 $as_echo_n "checking whether the C compiler works... " >&6; }
2379 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2381 # The possible output files:
2382 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2385 for ac_file in $ac_files
2388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2389 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2394 if { { ac_try="$ac_link_default"
2396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2397 *) ac_try_echo
=$ac_try;;
2399 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2400 $as_echo "$ac_try_echo"; } >&5
2401 (eval "$ac_link_default") 2>&5
2403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2404 test $ac_status = 0; }; then :
2405 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2406 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2407 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2408 # so that the user can short-circuit this test for compilers unknown to
2410 for ac_file
in $ac_files ''
2412 test -f "$ac_file" ||
continue
2414 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2417 # We found the default executable, but exeext='' is most
2421 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2423 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2425 # We set ac_cv_exeext here because the later test for it is not
2426 # safe: cross compilers may not add the suffix if given an `-o'
2427 # argument, so we may need to know it at that point already.
2428 # Even if this section looks crufty: it has the advantage of
2435 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2440 if test -z "$ac_file"; then :
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2442 $as_echo "no" >&6; }
2443 $as_echo "$as_me: failed program was:" >&5
2444 sed 's/^/| /' conftest.
$ac_ext >&5
2446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2448 as_fn_error
77 "C compiler cannot create executables
2449 See \`config.log' for more details" "$LINENO" 5; }
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2452 $as_echo "yes" >&6; }
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2455 $as_echo_n "checking for C compiler default output file name... " >&6; }
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2457 $as_echo "$ac_file" >&6; }
2458 ac_exeext
=$ac_cv_exeext
2460 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2461 ac_clean_files
=$ac_clean_files_save
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2463 $as_echo_n "checking for suffix of executables... " >&6; }
2464 if { { ac_try
="$ac_link"
2466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2467 *) ac_try_echo=$ac_try;;
2469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2470 $as_echo "$ac_try_echo"; } >&5
2471 (eval "$ac_link") 2>&5
2473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2474 test $ac_status = 0; }; then :
2475 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2476 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2477 # work properly (i.e., refer to `conftest.exe'), while it won't with
2479 for ac_file
in conftest.exe conftest conftest.
*; do
2480 test -f "$ac_file" ||
continue
2482 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2483 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2491 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2492 See \`config.log' for more details" "$LINENO" 5; }
2494 rm -f conftest conftest
$ac_cv_exeext
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2496 $as_echo "$ac_cv_exeext" >&6; }
2498 rm -f conftest.
$ac_ext
2499 EXEEXT
=$ac_cv_exeext
2501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2502 /* end confdefs.h. */
2507 FILE *f = fopen ("conftest.out", "w");
2508 return ferror (f) || fclose (f) != 0;
2514 ac_clean_files
="$ac_clean_files conftest.out"
2515 # Check that the compiler produces executables we can run. If not, either
2516 # the compiler is broken, or we cross compile.
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2518 $as_echo_n "checking whether we are cross compiling... " >&6; }
2519 if test "$cross_compiling" != yes; then
2520 { { ac_try
="$ac_link"
2522 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2523 *) ac_try_echo=$ac_try;;
2525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2526 $as_echo "$ac_try_echo"; } >&5
2527 (eval "$ac_link") 2>&5
2529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2530 test $ac_status = 0; }
2531 if { ac_try='./conftest$ac_cv_exeext'
2532 { { case "(($ac_try" in
2533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2534 *) ac_try_echo
=$ac_try;;
2536 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2537 $as_echo "$ac_try_echo"; } >&5
2538 (eval "$ac_try") 2>&5
2540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2541 test $ac_status = 0; }; }; then
2544 if test "$cross_compiling" = maybe
; then
2547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2549 as_fn_error $?
"cannot run C compiled programs.
2550 If you meant to cross compile, use \`--host'.
2551 See \`config.log' for more details" "$LINENO" 5; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2556 $as_echo "$cross_compiling" >&6; }
2558 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2559 ac_clean_files
=$ac_clean_files_save
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2561 $as_echo_n "checking for suffix of object files... " >&6; }
2562 if ${ac_cv_objext+:} false
; then :
2563 $as_echo_n "(cached) " >&6
2565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2566 /* end confdefs.h. */
2576 rm -f conftest.o conftest.obj
2577 if { { ac_try
="$ac_compile"
2579 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2583 $as_echo "$ac_try_echo"; } >&5
2584 (eval "$ac_compile") 2>&5
2586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2587 test $ac_status = 0; }; then :
2588 for ac_file in conftest.o conftest.obj conftest.*; do
2589 test -f "$ac_file" || continue;
2591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2592 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2597 $as_echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2602 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2603 See \
`config.log' for more details" "$LINENO" 5; }
2605 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2608 $as_echo "$ac_cv_objext" >&6; }
2609 OBJEXT=$ac_cv_objext
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2612 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2613 if ${ac_cv_c_compiler_gnu+:} false; then :
2614 $as_echo_n "(cached) " >&6
2616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2617 /* end confdefs.h. */
2630 if ac_fn_c_try_compile "$LINENO"; then :
2635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2636 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2640 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2641 if test $ac_compiler_gnu = yes; then
2646 ac_test_CFLAGS=${CFLAGS+set}
2647 ac_save_CFLAGS=$CFLAGS
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2649 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2650 if ${ac_cv_prog_cc_g+:} false; then :
2651 $as_echo_n "(cached) " >&6
2653 ac_save_c_werror_flag=$ac_c_werror_flag
2654 ac_c_werror_flag=yes
2657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2658 /* end confdefs.h. */
2668 if ac_fn_c_try_compile "$LINENO"; then :
2672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2673 /* end confdefs.h. */
2683 if ac_fn_c_try_compile "$LINENO"; then :
2686 ac_c_werror_flag=$ac_save_c_werror_flag
2688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2689 /* end confdefs.h. */
2699 if ac_fn_c_try_compile "$LINENO"; then :
2702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2707 ac_c_werror_flag=$ac_save_c_werror_flag
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2710 $as_echo "$ac_cv_prog_cc_g" >&6; }
2711 if test "$ac_test_CFLAGS" = set; then
2712 CFLAGS=$ac_save_CFLAGS
2713 elif test $ac_cv_prog_cc_g = yes; then
2714 if test "$GCC" = yes; then
2720 if test "$GCC" = yes; then
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2727 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2728 if ${ac_cv_prog_cc_c89+:} false; then :
2729 $as_echo_n "(cached) " >&6
2731 ac_cv_prog_cc_c89=no
2733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2734 /* end confdefs.h. */
2738 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2739 struct buf { int x; };
2740 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2741 static char *e (p, i)
2747 static char *f (char * (*g) (char **, int), char **p, ...)
2752 s = g (p, va_arg (v,int));
2757 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2758 function prototypes and stuff, but not '\xHH' hex character constants.
2759 These don't provoke an error unfortunately, instead are silently treated
2760 as 'x'. The following induces an error, until -std is added to get
2761 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2762 array size at least. It's necessary to write '\x00'==0 to get something
2763 that's true only with -std. */
2764 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2766 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2767 inside strings and character constants. */
2769 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2771 int test (int i, double x);
2772 struct s1 {int (*f) (int a);};
2773 struct s2 {int (*f) (double a);};
2774 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2780 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2785 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2786 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2788 CC="$ac_save_CC $ac_arg"
2789 if ac_fn_c_try_compile "$LINENO"; then :
2790 ac_cv_prog_cc_c89=$ac_arg
2792 rm -f core conftest.err conftest.$ac_objext
2793 test "x$ac_cv_prog_cc_c89" != "xno" && break
2795 rm -f conftest.$ac_ext
2800 case "x$ac_cv_prog_cc_c89" in
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2803 $as_echo "none needed" >&6; } ;;
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2806 $as_echo "unsupported" >&6; } ;;
2808 CC="$CC $ac_cv_prog_cc_c89"
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2810 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2812 if test "x$ac_cv_prog_cc_c89" != xno; then :
2817 ac_cpp='$CPP $CPPFLAGS'
2818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2822 # Expand $ac_aux_dir to an absolute path.
2823 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2826 ac_cpp='$CPP $CPPFLAGS'
2827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
2831 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
2832 if ${am_cv_prog_cc_c_o+:} false; then :
2833 $as_echo_n "(cached) " >&6
2835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836 /* end confdefs.h. */
2846 # Make sure it works both with $CC and with simple cc.
2847 # Following AC_PROG_CC_C_O, we do the test twice because some
2848 # compilers refuse to overwrite an existing .o file with -o,
2849 # though they will create one.
2850 am_cv_prog_cc_c_o=yes
2852 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
2853 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); } \
2857 && test -f conftest2.$ac_objext; then
2860 am_cv_prog_cc_c_o=no
2864 rm -f core conftest*
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
2868 $as_echo "$am_cv_prog_cc_c_o" >&6; }
2869 if test "$am_cv_prog_cc_c_o" != yes; then
2870 # Losing compiler, so override with the script.
2871 # FIXME: It is wrong to rewrite CC.
2872 # But if we don't then we get into trouble of one sort or another.
2873 # A longer-term fix would be to have automake use am__CC in this case,
2874 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
2875 CC="$am_aux_dir/compile $CC"
2878 ac_cpp='$CPP $CPPFLAGS'
2879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2885 ac_cpp='$CXXCPP $CPPFLAGS'
2886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2889 if test -z "$CXX"; then
2890 if test -n "$CCC"; then
2893 if test -n "$ac_tool_prefix"; then
2894 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2897 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2899 $as_echo_n "checking for $ac_word... " >&6; }
2900 if ${ac_cv_prog_CXX+:} false; then :
2901 $as_echo_n "(cached) " >&6
2903 if test -n "$CXX"; then
2904 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2910 test -z "$as_dir" && as_dir=.
2911 for ac_exec_ext in '' $ac_executable_extensions; do
2912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2913 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2924 if test -n "$CXX"; then
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2926 $as_echo "$CXX" >&6; }
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2929 $as_echo "no" >&6; }
2933 test -n "$CXX" && break
2936 if test -z "$CXX"; then
2938 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2940 # Extract the first word of "$ac_prog", so it can be a program name with args.
2941 set dummy $ac_prog; ac_word=$2
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2943 $as_echo_n "checking for $ac_word... " >&6; }
2944 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2945 $as_echo_n "(cached) " >&6
2947 if test -n "$ac_ct_CXX"; then
2948 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2954 test -z "$as_dir" && as_dir=.
2955 for ac_exec_ext in '' $ac_executable_extensions; do
2956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2957 ac_cv_prog_ac_ct_CXX="$ac_prog"
2958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2967 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2968 if test -n "$ac_ct_CXX"; then
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2970 $as_echo "$ac_ct_CXX" >&6; }
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2973 $as_echo "no" >&6; }
2977 test -n "$ac_ct_CXX" && break
2980 if test "x$ac_ct_CXX" = x; then
2983 case $cross_compiling:$ac_tool_warned in
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2987 ac_tool_warned=yes ;;
2995 # Provide some information about the compiler.
2996 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2999 for ac_option in --version -v -V -qversion; do
3000 { { ac_try="$ac_compiler $ac_option >&5"
3002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3003 *) ac_try_echo
=$ac_try;;
3005 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3006 $as_echo "$ac_try_echo"; } >&5
3007 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3009 if test -s conftest.err
; then
3011 ... rest of stderr output deleted ...
3012 10q' conftest.err
>conftest.er1
3013 cat conftest.er1
>&5
3015 rm -f conftest.er1 conftest.err
3016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3017 test $ac_status = 0; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3021 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3022 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3023 $as_echo_n "(cached) " >&6
3025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3026 /* end confdefs.h. */
3039 if ac_fn_cxx_try_compile
"$LINENO"; then :
3044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3045 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3049 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3050 if test $ac_compiler_gnu = yes; then
3055 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3056 ac_save_CXXFLAGS
=$CXXFLAGS
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3058 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3059 if ${ac_cv_prog_cxx_g+:} false
; then :
3060 $as_echo_n "(cached) " >&6
3062 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3063 ac_cxx_werror_flag
=yes
3066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3067 /* end confdefs.h. */
3077 if ac_fn_cxx_try_compile
"$LINENO"; then :
3078 ac_cv_prog_cxx_g
=yes
3081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3082 /* end confdefs.h. */
3092 if ac_fn_cxx_try_compile
"$LINENO"; then :
3095 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3108 if ac_fn_cxx_try_compile
"$LINENO"; then :
3109 ac_cv_prog_cxx_g
=yes
3111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3116 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3119 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3120 if test "$ac_test_CXXFLAGS" = set; then
3121 CXXFLAGS
=$ac_save_CXXFLAGS
3122 elif test $ac_cv_prog_cxx_g = yes; then
3123 if test "$GXX" = yes; then
3129 if test "$GXX" = yes; then
3136 ac_cpp
='$CPP $CPPFLAGS'
3137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3142 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3143 if ${ac_cv_path_SED+:} false
; then :
3144 $as_echo_n "(cached) " >&6
3146 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3147 for ac_i
in 1 2 3 4 5 6 7; do
3148 ac_script
="$ac_script$as_nl$ac_script"
3150 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3151 { ac_script
=; unset ac_script
;}
3152 if test -z "$SED"; then
3153 ac_path_SED_found
=false
3154 # Loop through the user's path and test for each of PROGNAME-LIST
3155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3159 test -z "$as_dir" && as_dir
=.
3160 for ac_prog
in sed gsed
; do
3161 for ac_exec_ext
in '' $ac_executable_extensions; do
3162 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3163 as_fn_executable_p
"$ac_path_SED" ||
continue
3164 # Check for GNU ac_path_SED and select it if it is found.
3165 # Check for GNU $ac_path_SED
3166 case `"$ac_path_SED" --version 2>&1` in
3168 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3171 $as_echo_n 0123456789 >"conftest.in"
3174 cat "conftest.in" "conftest.in" >"conftest.tmp"
3175 mv "conftest.tmp" "conftest.in"
3176 cp "conftest.in" "conftest.nl"
3177 $as_echo '' >> "conftest.nl"
3178 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3179 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3180 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3181 if test $ac_count -gt ${ac_path_SED_max-0}; then
3182 # Best one so far, save it but keep looking for a better one
3183 ac_cv_path_SED
="$ac_path_SED"
3184 ac_path_SED_max
=$ac_count
3186 # 10*(2^10) chars as input seems more than enough
3187 test $ac_count -gt 10 && break
3189 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3192 $ac_path_SED_found && break 3
3197 if test -z "$ac_cv_path_SED"; then
3198 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3206 $as_echo "$ac_cv_path_SED" >&6; }
3207 SED
="$ac_cv_path_SED"
3211 ac_cpp
='$CXXCPP $CPPFLAGS'
3212 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3213 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3214 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3216 # Make sure we can run config.sub.
3217 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3218 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3221 $as_echo_n "checking build system type... " >&6; }
3222 if ${ac_cv_build+:} false
; then :
3223 $as_echo_n "(cached) " >&6
3225 ac_build_alias
=$build_alias
3226 test "x$ac_build_alias" = x
&&
3227 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3228 test "x$ac_build_alias" = x
&&
3229 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3230 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3231 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3235 $as_echo "$ac_cv_build" >&6; }
3236 case $ac_cv_build in
3238 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3241 ac_save_IFS
=$IFS; IFS
='-'
3247 # Remember, the first character of IFS is used to create $*,
3248 # except with old shells:
3251 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3255 $as_echo_n "checking host system type... " >&6; }
3256 if ${ac_cv_host+:} false
; then :
3257 $as_echo_n "(cached) " >&6
3259 if test "x$host_alias" = x
; then
3260 ac_cv_host
=$ac_cv_build
3262 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3263 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3268 $as_echo "$ac_cv_host" >&6; }
3271 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3274 ac_save_IFS
=$IFS; IFS
='-'
3280 # Remember, the first character of IFS is used to create $*,
3281 # except with old shells:
3284 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3287 am__api_version
='1.16'
3289 # Find a good install program. We prefer a C program (faster),
3290 # so one script is as good as another. But avoid the broken or
3291 # incompatible versions:
3292 # SysV /etc/install, /usr/sbin/install
3293 # SunOS /usr/etc/install
3294 # IRIX /sbin/install
3296 # AmigaOS /C/install, which installs bootblocks on floppy discs
3297 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3298 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3299 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3300 # OS/2's system install, which has a completely different semantic
3301 # ./install, which can be erroneously created by make from ./install.sh.
3302 # Reject install programs that cannot install multiple files.
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3304 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3305 if test -z "$INSTALL"; then
3306 if ${ac_cv_path_install+:} false
; then :
3307 $as_echo_n "(cached) " >&6
3309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3313 test -z "$as_dir" && as_dir
=.
3314 # Account for people who put trailing slashes in PATH elements.
3315 case $as_dir/ in #((
3316 .
/ | .
// |
/[cC
]/* | \
3317 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3318 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3321 # OSF1 and SCO ODT 3.0 have their own names for install.
3322 # Don't use installbsd from OSF since it installs stuff as root
3324 for ac_prog
in ginstall scoinst
install; do
3325 for ac_exec_ext
in '' $ac_executable_extensions; do
3326 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3327 if test $ac_prog = install &&
3328 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3329 # AIX install. It has an incompatible calling convention.
3331 elif test $ac_prog = install &&
3332 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3333 # program-specific install script used by HP pwplus--don't use.
3336 rm -rf conftest.one conftest.two conftest.dir
3337 echo one
> conftest.one
3338 echo two
> conftest.two
3340 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3341 test -s conftest.one
&& test -s conftest.two
&&
3342 test -s conftest.dir
/conftest.one
&&
3343 test -s conftest.dir
/conftest.two
3345 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3358 rm -rf conftest.one conftest.two conftest.dir
3361 if test "${ac_cv_path_install+set}" = set; then
3362 INSTALL
=$ac_cv_path_install
3364 # As a last resort, use the slow shell script. Don't cache a
3365 # value for INSTALL within a source directory, because that will
3366 # break other packages using the cache if that directory is
3367 # removed, or if the value is a relative name.
3368 INSTALL
=$ac_install_sh
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3372 $as_echo "$INSTALL" >&6; }
3374 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3375 # It thinks the first close brace ends the variable substitution.
3376 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3378 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3380 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3383 $as_echo_n "checking whether build environment is sane... " >&6; }
3384 # Reject unsafe characters in $srcdir or the absolute working directory
3385 # name. Accept space and tab only in the latter.
3389 *[\\\"\
#\$\&\'\`$am_lf]*)
3390 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3393 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3394 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3397 # Do 'set' in a subshell so we don't clobber the current shell's
3398 # arguments. Must try -L first in case configure is actually a
3399 # symlink; some systems play weird games with the mod time of symlinks
3400 # (eg FreeBSD returns the mod time of the symlink's containing
3404 for am_try
in 1 2; do
3405 echo "timestamp, slept: $am_has_slept" > conftest.
file
3406 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3407 if test "$*" = "X"; then
3409 set X
`ls -t "$srcdir/configure" conftest.file`
3411 if test "$*" != "X $srcdir/configure conftest.file" \
3412 && test "$*" != "X conftest.file $srcdir/configure"; then
3414 # If neither matched, then we have a broken ls. This can happen
3415 # if, for instance, CONFIG_SHELL is bash and it inherits a
3416 # broken ls alias from the environment. This has actually
3417 # happened. Such a system could not be considered "sane".
3418 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3419 alias in your environment" "$LINENO" 5
3421 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3428 test "$2" = conftest.
file
3434 as_fn_error $?
"newly created file is older than distributed files!
3435 Check your system clock" "$LINENO" 5
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3438 $as_echo "yes" >&6; }
3439 # If we didn't sleep, we still need to ensure time stamps of config.status and
3440 # generated files are strictly newer.
3442 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3449 test "$program_prefix" != NONE
&&
3450 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3451 # Use a double $ so make ignores it.
3452 test "$program_suffix" != NONE
&&
3453 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3454 # Double any \ or $.
3455 # By default was `s,x,x', remove it if useless.
3456 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3457 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3459 if test x
"${MISSING+set}" != xset
; then
3462 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3464 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3467 # Use eval to expand $SHELL
3468 if eval "$MISSING --is-lightweight"; then
3469 am_missing_run
="$MISSING "
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3473 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3476 if test x
"${install_sh+set}" != xset
; then
3479 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3481 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3485 # Installed binaries are usually stripped using 'strip' when the user
3486 # run "make install-strip". However 'strip' might not be the right
3487 # tool to use in cross-compilation environments, therefore Automake
3488 # will honor the 'STRIP' environment variable to overrule this program.
3489 if test "$cross_compiling" != no
; then
3490 if test -n "$ac_tool_prefix"; then
3491 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3492 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3494 $as_echo_n "checking for $ac_word... " >&6; }
3495 if ${ac_cv_prog_STRIP+:} false
; then :
3496 $as_echo_n "(cached) " >&6
3498 if test -n "$STRIP"; then
3499 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3505 test -z "$as_dir" && as_dir
=.
3506 for ac_exec_ext
in '' $ac_executable_extensions; do
3507 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3508 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 STRIP
=$ac_cv_prog_STRIP
3519 if test -n "$STRIP"; then
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3521 $as_echo "$STRIP" >&6; }
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3524 $as_echo "no" >&6; }
3529 if test -z "$ac_cv_prog_STRIP"; then
3531 # Extract the first word of "strip", so it can be a program name with args.
3532 set dummy strip
; ac_word
=$2
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3534 $as_echo_n "checking for $ac_word... " >&6; }
3535 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3536 $as_echo_n "(cached) " >&6
3538 if test -n "$ac_ct_STRIP"; then
3539 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3545 test -z "$as_dir" && as_dir
=.
3546 for ac_exec_ext
in '' $ac_executable_extensions; do
3547 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3548 ac_cv_prog_ac_ct_STRIP
="strip"
3549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3558 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3559 if test -n "$ac_ct_STRIP"; then
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3561 $as_echo "$ac_ct_STRIP" >&6; }
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3567 if test "x$ac_ct_STRIP" = x
; then
3570 case $cross_compiling:$ac_tool_warned in
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3574 ac_tool_warned
=yes ;;
3579 STRIP
="$ac_cv_prog_STRIP"
3583 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3586 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3587 if test -z "$MKDIR_P"; then
3588 if ${ac_cv_path_mkdir+:} false
; then :
3589 $as_echo_n "(cached) " >&6
3591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3592 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3595 test -z "$as_dir" && as_dir
=.
3596 for ac_prog
in mkdir gmkdir
; do
3597 for ac_exec_ext
in '' $ac_executable_extensions; do
3598 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3599 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3600 'mkdir (GNU coreutils) '* | \
3601 'mkdir (coreutils) '* | \
3602 'mkdir (fileutils) '4.1*)
3603 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3613 test -d .
/--version && rmdir .
/--version
3614 if test "${ac_cv_path_mkdir+set}" = set; then
3615 MKDIR_P
="$ac_cv_path_mkdir -p"
3617 # As a last resort, use the slow shell script. Don't cache a
3618 # value for MKDIR_P within a source directory, because that will
3619 # break other packages using the cache if that directory is
3620 # removed, or if the value is a relative name.
3621 MKDIR_P
="$ac_install_sh -d"
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3625 $as_echo "$MKDIR_P" >&6; }
3627 for ac_prog
in gawk mawk nawk
awk
3629 # Extract the first word of "$ac_prog", so it can be a program name with args.
3630 set dummy
$ac_prog; ac_word
=$2
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3632 $as_echo_n "checking for $ac_word... " >&6; }
3633 if ${ac_cv_prog_AWK+:} false
; then :
3634 $as_echo_n "(cached) " >&6
3636 if test -n "$AWK"; then
3637 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3643 test -z "$as_dir" && as_dir
=.
3644 for ac_exec_ext
in '' $ac_executable_extensions; do
3645 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3646 ac_cv_prog_AWK
="$ac_prog"
3647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3657 if test -n "$AWK"; then
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3659 $as_echo "$AWK" >&6; }
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 $as_echo "no" >&6; }
3666 test -n "$AWK" && break
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3670 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3672 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3673 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3674 $as_echo_n "(cached) " >&6
3676 cat >conftest.
make <<\_ACEOF
3679 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3681 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3682 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3684 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3686 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3690 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3692 $as_echo "yes" >&6; }
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3696 $as_echo "no" >&6; }
3697 SET_MAKE
="MAKE=${MAKE-make}"
3700 rm -rf .tst
2>/dev
/null
3701 mkdir .tst
2>/dev
/null
3702 if test -d .tst
; then
3707 rmdir .tst
2>/dev
/null
3709 DEPDIR
="${am__leading_dot}deps"
3711 ac_config_commands
="$ac_config_commands depfiles"
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3714 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3715 cat > confinc.mk
<< 'END'
3717 @
echo this is the am__doit target
>confinc.out
3722 # BSD make does it like this.
3723 echo '.include "confinc.mk" # ignored' > confmf.BSD
3724 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3725 echo 'include confinc.mk # ignored' > confmf.GNU
3727 for s
in GNU BSD
; do
3728 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3729 (${MAKE-make} -f confmf.
$s && cat confinc.out
) >&5 2>&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); }
3733 case $?
:`cat confinc.out 2>/dev/null` in #(
3734 '0:this is the am__doit target') :
3737 am__include
='.include' am__quote
='"' ;; #(
3739 am__include
='include' am__quote
='' ;;
3744 if test "$am__include" != "#"; then
3745 _am_result
="yes ($s style)"
3749 rm -f confinc.
* confmf.
*
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3751 $as_echo "${_am_result}" >&6; }
3753 # Check whether --enable-dependency-tracking was given.
3754 if test "${enable_dependency_tracking+set}" = set; then :
3755 enableval
=$enable_dependency_tracking;
3758 if test "x$enable_dependency_tracking" != xno
; then
3759 am_depcomp
="$ac_aux_dir/depcomp"
3763 if test "x$enable_dependency_tracking" != xno; then
3772 # Check whether --enable-silent-rules was given.
3773 if test "${enable_silent_rules+set}" = set; then :
3774 enableval
=$enable_silent_rules;
3777 case $enable_silent_rules in # (((
3778 yes) AM_DEFAULT_VERBOSITY
=0;;
3779 no
) AM_DEFAULT_VERBOSITY
=1;;
3780 *) AM_DEFAULT_VERBOSITY
=1;;
3782 am_make
=${MAKE-make}
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3784 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3785 if ${am_cv_make_support_nested_variables+:} false
; then :
3786 $as_echo_n "(cached) " >&6
3788 if $as_echo 'TRUE=$(BAR$(V))
3794 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3795 am_cv_make_support_nested_variables
=yes
3797 am_cv_make_support_nested_variables
=no
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3801 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3802 if test $am_cv_make_support_nested_variables = yes; then
3804 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3806 AM_V
=$AM_DEFAULT_VERBOSITY
3807 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3811 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3812 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3813 # is not polluted with repeated "-I."
3814 am__isrc
=' -I$(srcdir)'
3815 # test to see if srcdir already configured
3816 if test -f $srcdir/config.status
; then
3817 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3821 # test whether we have cygpath
3822 if test -z "$CYGPATH_W"; then
3823 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3824 CYGPATH_W
='cygpath -w'
3831 # Define the identity of the package.
3832 PACKAGE
='qbittorrent'
3833 VERSION
='v4.2.0alpha'
3836 cat >>confdefs.h
<<_ACEOF
3837 #define PACKAGE "$PACKAGE"
3841 cat >>confdefs.h
<<_ACEOF
3842 #define VERSION "$VERSION"
3845 # Some tools Automake needs.
3847 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3850 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3853 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3856 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3859 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3861 # For better backward compatibility. To be removed once Automake 1.9.x
3862 # dies out for good. For more background, see:
3863 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3864 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3865 mkdir_p
='$(MKDIR_P)'
3867 # We need awk for the "check" target (and possibly the TAP driver). The
3868 # system "awk" is bad on some platforms.
3869 # Always define AMTAR for backward compatibility. Yes, it's still used
3870 # in the wild :-( We should find a proper way to deprecate it ...
3874 # We'll loop over all known methods to create a tar archive until one works.
3875 _am_tools
='gnutar pax cpio none'
3877 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3883 depcc
="$CC" am_compiler_list
=
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3886 $as_echo_n "checking dependency style of $depcc... " >&6; }
3887 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
3888 $as_echo_n "(cached) " >&6
3890 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3891 # We make a subdir and do the tests there. Otherwise we can end up
3892 # making bogus files that we don't know about and never remove. For
3893 # instance it was reported that on HP-UX the gcc test will end up
3894 # making a dummy file named 'D' -- because '-MD' means "put the output
3898 # Copy depcomp to subdir because otherwise we won't find it if we're
3899 # using a relative directory.
3900 cp "$am_depcomp" conftest.dir
3902 # We will build objects and dependencies in a subdirectory because
3903 # it helps to detect inapplicable dependency modes. For instance
3904 # both Tru64's cc and ICC support -MD to output dependencies as a
3905 # side effect of compilation, but ICC will put the dependencies in
3906 # the current directory while Tru64 will put them in the object
3910 am_cv_CC_dependencies_compiler_type
=none
3911 if test "$am_compiler_list" = ""; then
3912 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3915 case " $depcc " in #(
3916 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3919 for depmode
in $am_compiler_list; do
3920 # Setup a source with many dependencies, because some compilers
3921 # like to wrap large dependency lists on column 80 (with \), and
3922 # we should not choose a depcomp mode which is confused by this.
3924 # We need to recreate these files for each test, as the compiler may
3925 # overwrite some of them when testing with obscure command lines.
3926 # This happens at least with the AIX C compiler.
3928 for i
in 1 2 3 4 5 6; do
3929 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3930 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3931 # Solaris 10 /bin/sh.
3932 echo '/* dummy */' > sub
/conftst
$i.h
3934 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3936 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3937 # mode. It turns out that the SunPro C++ compiler does not properly
3938 # handle '-M -o', and we need to detect this. Also, some Intel
3939 # versions had trouble with output in subdirs.
3940 am__obj
=sub
/conftest.
${OBJEXT-o}
3941 am__minus_obj
="-o $am__obj"
3944 # This depmode causes a compiler race in universal mode.
3945 test "$am__universal" = false ||
continue
3948 # After this tag, mechanisms are not by side-effect, so they'll
3949 # only be used when explicitly requested.
3950 if test "x$enable_dependency_tracking" = xyes
; then
3956 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3957 # This compiler won't grok '-c -o', but also, the minuso test has
3958 # not run yet. These depmodes are late enough in the game, and
3959 # so weak that their functioning should not be impacted.
3960 am__obj
=conftest.
${OBJEXT-o}
3965 if depmode
=$depmode \
3966 source=sub
/conftest.c object
=$am__obj \
3967 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3968 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3969 >/dev
/null
2>conftest.err
&&
3970 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3971 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3972 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3973 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3974 # icc doesn't choke on unknown options, it will just issue warnings
3975 # or remarks (even with -Werror). So we grep stderr for any message
3976 # that says an option was ignored or not supported.
3977 # When given -MP, icc 7.0 and 7.1 complain thusly:
3978 # icc: Command line warning: ignoring option '-M'; no argument required
3979 # The diagnosis changed in icc 8.0:
3980 # icc: Command line remark: option '-MP' not supported
3981 if (grep 'ignoring option' conftest.err ||
3982 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3983 am_cv_CC_dependencies_compiler_type
=$depmode
3992 am_cv_CC_dependencies_compiler_type
=none
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3997 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3998 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4001 test "x$enable_dependency_tracking" != xno \
4002 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4004 am__fastdepCC_FALSE
='#'
4006 am__fastdepCC_TRUE
='#'
4007 am__fastdepCC_FALSE
=
4011 depcc
="$CXX" am_compiler_list
=
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4014 $as_echo_n "checking dependency style of $depcc... " >&6; }
4015 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4016 $as_echo_n "(cached) " >&6
4018 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4019 # We make a subdir and do the tests there. Otherwise we can end up
4020 # making bogus files that we don't know about and never remove. For
4021 # instance it was reported that on HP-UX the gcc test will end up
4022 # making a dummy file named 'D' -- because '-MD' means "put the output
4026 # Copy depcomp to subdir because otherwise we won't find it if we're
4027 # using a relative directory.
4028 cp "$am_depcomp" conftest.dir
4030 # We will build objects and dependencies in a subdirectory because
4031 # it helps to detect inapplicable dependency modes. For instance
4032 # both Tru64's cc and ICC support -MD to output dependencies as a
4033 # side effect of compilation, but ICC will put the dependencies in
4034 # the current directory while Tru64 will put them in the object
4038 am_cv_CXX_dependencies_compiler_type
=none
4039 if test "$am_compiler_list" = ""; then
4040 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4043 case " $depcc " in #(
4044 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4047 for depmode
in $am_compiler_list; do
4048 # Setup a source with many dependencies, because some compilers
4049 # like to wrap large dependency lists on column 80 (with \), and
4050 # we should not choose a depcomp mode which is confused by this.
4052 # We need to recreate these files for each test, as the compiler may
4053 # overwrite some of them when testing with obscure command lines.
4054 # This happens at least with the AIX C compiler.
4056 for i
in 1 2 3 4 5 6; do
4057 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4058 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4059 # Solaris 10 /bin/sh.
4060 echo '/* dummy */' > sub
/conftst
$i.h
4062 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4064 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4065 # mode. It turns out that the SunPro C++ compiler does not properly
4066 # handle '-M -o', and we need to detect this. Also, some Intel
4067 # versions had trouble with output in subdirs.
4068 am__obj
=sub
/conftest.
${OBJEXT-o}
4069 am__minus_obj
="-o $am__obj"
4072 # This depmode causes a compiler race in universal mode.
4073 test "$am__universal" = false ||
continue
4076 # After this tag, mechanisms are not by side-effect, so they'll
4077 # only be used when explicitly requested.
4078 if test "x$enable_dependency_tracking" = xyes
; then
4084 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4085 # This compiler won't grok '-c -o', but also, the minuso test has
4086 # not run yet. These depmodes are late enough in the game, and
4087 # so weak that their functioning should not be impacted.
4088 am__obj
=conftest.
${OBJEXT-o}
4093 if depmode
=$depmode \
4094 source=sub
/conftest.c object
=$am__obj \
4095 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4096 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4097 >/dev
/null
2>conftest.err
&&
4098 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4099 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4100 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4101 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4102 # icc doesn't choke on unknown options, it will just issue warnings
4103 # or remarks (even with -Werror). So we grep stderr for any message
4104 # that says an option was ignored or not supported.
4105 # When given -MP, icc 7.0 and 7.1 complain thusly:
4106 # icc: Command line warning: ignoring option '-M'; no argument required
4107 # The diagnosis changed in icc 8.0:
4108 # icc: Command line remark: option '-MP' not supported
4109 if (grep 'ignoring option' conftest.err ||
4110 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4111 am_cv_CXX_dependencies_compiler_type
=$depmode
4120 am_cv_CXX_dependencies_compiler_type
=none
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4125 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4126 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4129 test "x$enable_dependency_tracking" != xno \
4130 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4131 am__fastdepCXX_TRUE
=
4132 am__fastdepCXX_FALSE
='#'
4134 am__fastdepCXX_TRUE
='#'
4135 am__fastdepCXX_FALSE
=
4140 # POSIX will say in a future version that running "rm -f" with no argument
4141 # is OK; and we want to be able to make that assumption in our Makefile
4142 # recipes. So use an aggressive probe to check that the usage we want is
4143 # actually supported "in the wild" to an acceptable degree.
4144 # See automake bug#10828.
4145 # To make any issue more visible, cause the running configure to be aborted
4146 # by default if the 'rm' program in use doesn't match our expectations; the
4147 # user can still override this though.
4148 if rm -f && rm -fr && rm -rf; then : OK
; else
4152 Your 'rm' program seems unable to run without file operands specified
4153 on the command line, even when the '-f' option is present. This is contrary
4154 to the behaviour of most rm programs out there, and not conforming with
4155 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4157 Please tell bug-automake@gnu.org about your system, including the value
4158 of your $PATH and any error possibly output before this message. This
4159 can help us improve future automake versions.
4162 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4163 echo 'Configuration will proceed anyway, since you have set the' >&2
4164 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4168 Aborting the configuration process, to ensure you take notice of the issue.
4170 You can download and install GNU coreutils to get an 'rm' implementation
4171 that behaves properly: <https://www.gnu.org/software/coreutils/>.
4173 If you want to complete the configuration process using your problematic
4174 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4175 to "yes", and re-run configure.
4178 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4183 # use compiler from env variables if available
4187 # Define --wth-* and --enable-* arguments
4190 # Check whether --with-qtsingleapplication was given.
4191 if test "${with_qtsingleapplication+set}" = set; then :
4192 withval
=$with_qtsingleapplication;
4194 with_qtsingleapplication
=shipped
4198 # Check whether --enable-debug was given.
4199 if test "${enable_debug+set}" = set; then :
4200 enableval
=$enable_debug;
4206 # Check whether --enable-stacktrace was given.
4207 if test "${enable_stacktrace+set}" = set; then :
4208 enableval
=$enable_stacktrace;
4210 enable_stacktrace
=auto
4214 # Check whether --enable-gui was given.
4215 if test "${enable_gui+set}" = set; then :
4216 enableval
=$enable_gui;
4222 # Check whether --enable-systemd was given.
4223 if test "${enable_systemd+set}" = set; then :
4224 enableval
=$enable_systemd;
4230 # Check whether --enable-webui was given.
4231 if test "${enable_webui+set}" = set; then :
4232 enableval
=$enable_webui;
4238 # Check whether --enable-qt-dbus was given.
4239 if test "${enable_qt_dbus+set}" = set; then :
4240 enableval
=$enable_qt_dbus;
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OS is FreeBSD" >&5
4248 $as_echo_n "checking whether OS is FreeBSD... " >&6; }
4249 if expr "$host_os" : ".*freebsd.*" > /dev
/null
; then :
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4251 $as_echo "yes" >&6; }
4252 LIBS
="-lexecinfo $LIBS"
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4255 $as_echo "no" >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OS is macOS" >&5
4259 $as_echo_n "checking whether OS is macOS... " >&6; }
4260 if expr "$host_os" : ".*darwin.*" > /dev
/null
; then :
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4262 $as_echo "yes" >&6; }
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4266 $as_echo "no" >&6; }
4269 # Require 0.23 pkg-config
4277 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4278 if test -n "$ac_tool_prefix"; then
4279 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4280 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4282 $as_echo_n "checking for $ac_word... " >&6; }
4283 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
4284 $as_echo_n "(cached) " >&6
4288 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4295 test -z "$as_dir" && as_dir
=.
4296 for ac_exec_ext
in '' $ac_executable_extensions; do
4297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4309 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4310 if test -n "$PKG_CONFIG"; then
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4312 $as_echo "$PKG_CONFIG" >&6; }
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4315 $as_echo "no" >&6; }
4320 if test -z "$ac_cv_path_PKG_CONFIG"; then
4321 ac_pt_PKG_CONFIG
=$PKG_CONFIG
4322 # Extract the first word of "pkg-config", so it can be a program name with args.
4323 set dummy pkg-config
; ac_word
=$2
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4325 $as_echo_n "checking for $ac_word... " >&6; }
4326 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
4327 $as_echo_n "(cached) " >&6
4329 case $ac_pt_PKG_CONFIG in
4331 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4338 test -z "$as_dir" && as_dir
=.
4339 for ac_exec_ext
in '' $ac_executable_extensions; do
4340 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4341 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4352 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
4353 if test -n "$ac_pt_PKG_CONFIG"; then
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4355 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4358 $as_echo "no" >&6; }
4361 if test "x$ac_pt_PKG_CONFIG" = x
; then
4364 case $cross_compiling:$ac_tool_warned in
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4368 ac_tool_warned
=yes ;;
4370 PKG_CONFIG
=$ac_pt_PKG_CONFIG
4373 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
4377 if test -n "$PKG_CONFIG"; then
4378 _pkg_min_version
=0.23
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4380 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4381 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4383 $as_echo "yes" >&6; }
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4386 $as_echo "no" >&6; }
4390 if test "x$PKG_CONFIG" = "x"; then :
4391 as_fn_error $?
"Could not find pkg-config" "$LINENO" 5
4394 # Check which arguments were set and act accordingly
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the Debug build" >&5
4396 $as_echo_n "checking whether to enable the Debug build... " >&6; }
4397 case "x$enable_debug" in #(
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4400 $as_echo "no" >&6; }
4401 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG release"
4402 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG debug" ;; #(
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4405 $as_echo "yes" >&6; }
4406 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG debug"
4407 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG release" ;; #(
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
4410 $as_echo "$enable_debug" >&6; }
4411 as_fn_error $?
"Unknown option \"$enable_debug\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the stacktrace feature" >&5
4415 $as_echo_n "checking whether to enable the stacktrace feature... " >&6; }
4417 case "x$enable_stacktrace" in #(
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4420 $as_echo "no" >&6; }
4421 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG stacktrace" ;; #(
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4424 $as_echo "yes" >&6; }
4425 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG stacktrace" ;; #(
4427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h. */
4429 #include <execinfo.h>
4431 if ac_fn_cxx_try_compile
"$LINENO"; then :
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4433 $as_echo "yes" >&6; }
4434 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG stacktrace"
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4437 $as_echo "no" >&6; }
4438 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG stacktrace"
4440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext ;; #(
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_stacktrace" >&5
4443 $as_echo "$enable_stacktrace" >&6; }
4444 as_fn_error $?
"Unknown option \"$enable_stacktrace\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the GUI" >&5
4448 $as_echo_n "checking whether to enable the GUI... " >&6; }
4449 case "x$enable_gui" in #(
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4452 $as_echo "yes" >&6; }
4454 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG nogui" ;; #(
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4457 $as_echo "no" >&6; }
4459 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG nogui" ;; #(
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gui" >&5
4462 $as_echo "$enable_gui" >&6; }
4463 as_fn_error $?
"Unknown option \"$enable_gui\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install the systemd service file" >&5
4467 $as_echo_n "checking whether to install the systemd service file... " >&6; }
4468 case "x$enable_systemd" in #(
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4471 $as_echo "yes" >&6; }
4472 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG systemd" ;; #(
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475 $as_echo "no" >&6; }
4476 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG systemd" ;; #(
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_systemd" >&5
4479 $as_echo "$enable_systemd" >&6; }
4480 as_fn_error $?
"Unknown option \"$enable_systemd\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the WebUI" >&5
4484 $as_echo_n "checking whether to enable the WebUI... " >&6; }
4485 case "x$enable_webui" in #(
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4488 $as_echo "yes" >&6; }
4489 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG nowebui" ;; #(
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4492 $as_echo "no" >&6; }
4493 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG nowebui" ;; #(
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_webui" >&5
4496 $as_echo "$enable_webui" >&6; }
4497 as_fn_error $?
"Unknown option \"$enable_webui\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4500 if test -n "$PKG_CONFIG" && \
4501 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.5.1\""; } >&5
4502 ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.5.1") 2>&5
4504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4505 test $ac_status = 0; }; then
4507 if test -n "$QT_QMAKE"; then
4508 pkg_cv_QT_QMAKE
="$QT_QMAKE"
4509 elif test -n "$PKG_CONFIG"; then
4510 if test -n "$PKG_CONFIG" && \
4511 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.5.1\""; } >&5
4512 ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.5.1") 2>&5
4514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4515 test $ac_status = 0; }; then
4516 pkg_cv_QT_QMAKE
=`$PKG_CONFIG --variable="host_bins" "Qt5Core >= 5.5.1" 2>/dev/null`
4517 test "x$?" != "x0" && pkg_failed
=yes
4524 QT_QMAKE
=$pkg_cv_QT_QMAKE
4526 if test "x$QT_QMAKE" = x
""; then :
4532 if test -f "$QT_QMAKE/qmake"; then :
4533 QT_QMAKE
="$QT_QMAKE/qmake"
4535 if test -f "$QT_QMAKE/qmake-qt5"; then :
4536 QT_QMAKE
="$QT_QMAKE/qmake-qt5"
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5 qmake >= 5.5.1" >&5
4544 $as_echo_n "checking for Qt5 qmake >= 5.5.1... " >&6; }
4545 if test "x$QT_QMAKE" != "x"; then :
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_QMAKE" >&5
4547 $as_echo "$QT_QMAKE" >&6; }
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4550 $as_echo "not found" >&6; }
4554 if test "x$QT_QMAKE" = "x"; then :
4555 as_fn_error $?
"Could not find qmake" "$LINENO" 5
4558 if test "x$enable_gui" = "xyes"; then :
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5Svg" >&5
4562 $as_echo_n "checking for Qt5Svg... " >&6; }
4564 if test -n "$Qt5Svg_CFLAGS"; then
4565 pkg_cv_Qt5Svg_CFLAGS
="$Qt5Svg_CFLAGS"
4566 elif test -n "$PKG_CONFIG"; then
4567 if test -n "$PKG_CONFIG" && \
4568 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Svg >= 5.5.1\""; } >&5
4569 ($PKG_CONFIG --exists --print-errors "Qt5Svg >= 5.5.1") 2>&5
4571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4572 test $ac_status = 0; }; then
4573 pkg_cv_Qt5Svg_CFLAGS
=`$PKG_CONFIG --cflags "Qt5Svg >= 5.5.1" 2>/dev/null`
4574 test "x$?" != "x0" && pkg_failed
=yes
4581 if test -n "$Qt5Svg_LIBS"; then
4582 pkg_cv_Qt5Svg_LIBS
="$Qt5Svg_LIBS"
4583 elif test -n "$PKG_CONFIG"; then
4584 if test -n "$PKG_CONFIG" && \
4585 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Svg >= 5.5.1\""; } >&5
4586 ($PKG_CONFIG --exists --print-errors "Qt5Svg >= 5.5.1") 2>&5
4588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4589 test $ac_status = 0; }; then
4590 pkg_cv_Qt5Svg_LIBS
=`$PKG_CONFIG --libs "Qt5Svg >= 5.5.1" 2>/dev/null`
4591 test "x$?" != "x0" && pkg_failed
=yes
4601 if test $pkg_failed = yes; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 $as_echo "no" >&6; }
4605 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4606 _pkg_short_errors_supported
=yes
4608 _pkg_short_errors_supported
=no
4610 if test $_pkg_short_errors_supported = yes; then
4611 Qt5Svg_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "Qt5Svg >= 5.5.1" 2>&1`
4613 Qt5Svg_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "Qt5Svg >= 5.5.1" 2>&1`
4615 # Put the nasty error message in config.log where it belongs
4616 echo "$Qt5Svg_PKG_ERRORS" >&5
4618 as_fn_error $?
"Package requirements (Qt5Svg >= 5.5.1) were not met:
4622 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4623 installed software in a non-standard prefix.
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." "$LINENO" 5
4628 elif test $pkg_failed = untried
; then
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630 $as_echo "no" >&6; }
4631 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4633 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
4634 is in your PATH or set the PKG_CONFIG environment variable to the full
4637 Alternatively, you may set the environment variables Qt5Svg_CFLAGS
4638 and Qt5Svg_LIBS to avoid the need to call pkg-config.
4639 See the pkg-config man page for more details.
4641 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4642 See \`config.log' for more details" "$LINENO" 5; }
4644 Qt5Svg_CFLAGS
=$pkg_cv_Qt5Svg_CFLAGS
4645 Qt5Svg_LIBS
=$pkg_cv_Qt5Svg_LIBS
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4647 $as_echo "yes" >&6; }
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether QtDBus should be enabled" >&5
4653 $as_echo_n "checking whether QtDBus should be enabled... " >&6; }
4654 case "x$enable_qt_dbus" in #(
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4657 $as_echo "yes" >&6; }
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5DBus >= 5.5.1" >&5
4659 $as_echo_n "checking for Qt5DBus >= 5.5.1... " >&6; }
4660 if test -n "$PKG_CONFIG" && \
4661 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5DBus >= 5.5.1\""; } >&5
4662 ($PKG_CONFIG --exists --print-errors "Qt5DBus >= 5.5.1") 2>&5
4664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4665 test $ac_status = 0; }; then
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4667 $as_echo "found" >&6; }
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4671 $as_echo "not found" >&6; }
4675 if test "x$HAVE_QTDBUS" = "xfalse"; then :
4676 as_fn_error $?
"Could not find QtDBus" "$LINENO" 5
4678 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG dbus"
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683 $as_echo "no" >&6; }
4684 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG dbus" ;; #(
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_qt_dbus" >&5
4687 $as_echo "$enable_qt_dbus" >&6; }
4688 as_fn_error $?
"Unknown option \"$enable_qt_dbus\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4694 # Check whether --with-boost was given.
4695 if test "${with_boost+set}" = set; then :
4696 withval
=$with_boost;
4699 want_boost
="no";_AX_BOOST_BASE_boost_path
="" ;; #(
4701 want_boost
="yes";_AX_BOOST_BASE_boost_path
="" ;; #(
4703 want_boost
="yes";_AX_BOOST_BASE_boost_path
="$withval" ;;
4713 # Check whether --with-boost-libdir was given.
4714 if test "${with_boost_libdir+set}" = set; then :
4715 withval
=$with_boost_libdir;
4716 if test -d "$withval"; then :
4717 _AX_BOOST_BASE_boost_lib_path
="$withval"
4719 as_fn_error $?
"--with-boost-libdir expected directory name" "$LINENO" 5
4723 _AX_BOOST_BASE_boost_lib_path
=""
4729 if test "x$want_boost" = "xyes"; then :
4732 if test "x1.35" = "x"; then :
4733 _AX_BOOST_BASE_TONUMERICVERSION_req
="1.20.0"
4735 _AX_BOOST_BASE_TONUMERICVERSION_req
="1.35"
4737 _AX_BOOST_BASE_TONUMERICVERSION_req_shorten
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([0-9]*\.[0-9]*\)'`
4738 _AX_BOOST_BASE_TONUMERICVERSION_req_major
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([0-9]*\)'`
4739 if test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_major" = "x"; then :
4740 as_fn_error $?
"You should at least specify libboost major version" "$LINENO" 5
4742 _AX_BOOST_BASE_TONUMERICVERSION_req_minor
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[0-9]*\.\([0-9]*\)'`
4743 if test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_minor" = "x"; then :
4744 _AX_BOOST_BASE_TONUMERICVERSION_req_minor
="0"
4746 _AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
4747 if test "X$_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor" = "X"; then :
4748 _AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor
="0"
4750 _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`
4751 WANT_BOOST_VERSION
=$_AX_BOOST_BASE_TONUMERICVERSION_RET
4757 case ${host_cpu} in #(
4759 libsubdirs
="lib64 libx32 lib lib64" ;; #(
4760 ppc64|s390x|sparc64|aarch64|ppc64le
) :
4761 libsubdirs
="lib64 lib lib64" ;; #(
4767 case ${host_cpu} in #(
4769 multiarch_libsubdir
="lib/i386-${host_os}" ;; #(
4771 multiarch_libsubdir
="lib/${host_cpu}-${host_os}"
4775 if test "x$_AX_BOOST_BASE_boost_path" != "x"; then :
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= 1.35 ($WANT_BOOST_VERSION) includes in \"$_AX_BOOST_BASE_boost_path/include\"" >&5
4778 $as_echo_n "checking for boostlib >= 1.35 ($WANT_BOOST_VERSION) includes in \"$_AX_BOOST_BASE_boost_path/include\"... " >&6; }
4779 if test -d "$_AX_BOOST_BASE_boost_path/include" && test -r "$_AX_BOOST_BASE_boost_path/include"; then :
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4782 $as_echo "yes" >&6; }
4783 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path/include"
4784 for _AX_BOOST_BASE_boost_path_tmp
in $multiarch_libsubdir $libsubdirs; do
4785 { $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
4786 $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; }
4787 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 :
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4790 $as_echo "yes" >&6; }
4791 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp";
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796 $as_echo "no" >&6; }
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4807 if test X
"$cross_compiling" = Xyes
; then
4808 search_libsubdirs
=$multiarch_libsubdir
4810 search_libsubdirs
="$multiarch_libsubdir $libsubdirs"
4812 for _AX_BOOST_BASE_boost_path_tmp
in /usr
/usr
/local /opt
/opt
/local ; do
4813 if test -d "$_AX_BOOST_BASE_boost_path_tmp/include/boost" && test -r "$_AX_BOOST_BASE_boost_path_tmp/include/boost" ; then
4814 for libsubdir
in $search_libsubdirs ; do
4815 if ls "$_AX_BOOST_BASE_boost_path_tmp/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
4817 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_path_tmp/$libsubdir"
4818 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path_tmp/include"
4825 if test "x$_AX_BOOST_BASE_boost_lib_path" != "x"; then :
4826 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_lib_path"
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= 1.35 ($WANT_BOOST_VERSION)" >&5
4830 $as_echo_n "checking for boostlib >= 1.35 ($WANT_BOOST_VERSION)... " >&6; }
4831 CPPFLAGS_SAVED
="$CPPFLAGS"
4832 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
4835 LDFLAGS_SAVED
="$LDFLAGS"
4836 LDFLAGS
="$LDFLAGS $BOOST_LDFLAGS"
4841 ac_cpp
='$CXXCPP $CPPFLAGS'
4842 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4843 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4844 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4847 /* end confdefs.h. */
4849 #include <boost/version.hpp>
4855 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < ($WANT_BOOST_VERSION))]));
4861 if ac_fn_cxx_try_compile
"$LINENO"; then :
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4864 $as_echo "yes" >&6; }
4869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4871 ac_cpp
='$CXXCPP $CPPFLAGS'
4872 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4873 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4874 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4879 if test "x$succeeded" != "xyes" ; then
4880 CPPFLAGS
="$CPPFLAGS_SAVED"
4881 LDFLAGS
="$LDFLAGS_SAVED"
4883 if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
4887 if test -n "$_AX_BOOST_BASE_boost_path" ; then
4888 if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path"; then
4889 for i
in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
4890 _version_tmp
=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
4891 V_CHECK
=`expr $_version_tmp \> $_version`
4892 if test "x$V_CHECK" = "x1" ; then
4893 _version
=$_version_tmp
4895 VERSION_UNDERSCORE
=`echo $_version | sed 's/\./_/'`
4896 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path/include/boost-$VERSION_UNDERSCORE"
4898 if test -z "$BOOST_CPPFLAGS"; then
4899 if test -d "$_AX_BOOST_BASE_boost_path/boost" && test -r "$_AX_BOOST_BASE_boost_path/boost"; then
4900 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path"
4903 if test -n "$BOOST_CPPFLAGS" && test -z "$BOOST_LDFLAGS"; then
4904 for libsubdir
in $libsubdirs ; do
4905 if ls "$_AX_BOOST_BASE_boost_path/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
4907 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_path/$libsubdir"
4911 if test "x$cross_compiling" != "xyes" ; then
4912 for _AX_BOOST_BASE_boost_path
in /usr
/usr
/local /opt
/opt
/local ; do
4913 if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path" ; then
4914 for i
in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
4915 _version_tmp
=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
4916 V_CHECK
=`expr $_version_tmp \> $_version`
4917 if test "x$V_CHECK" = "x1" ; then
4918 _version
=$_version_tmp
4919 best_path
=$_AX_BOOST_BASE_boost_path
4925 VERSION_UNDERSCORE
=`echo $_version | sed 's/\./_/'`
4926 BOOST_CPPFLAGS
="-I$best_path/include/boost-$VERSION_UNDERSCORE"
4927 if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
4928 for libsubdir
in $libsubdirs ; do
4929 if ls "$best_path/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
4931 BOOST_LDFLAGS
="-L$best_path/$libsubdir"
4935 if test -n "$BOOST_ROOT" ; then
4936 for libsubdir
in $libsubdirs ; do
4937 if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
4939 if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; then
4940 version_dir
=`expr //$BOOST_ROOT : '.*/\(.*\)'`
4941 stage_version
=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
4942 stage_version_shorten
=`expr $stage_version : '\([0-9]*\.[0-9]*\)'`
4943 V_CHECK
=`expr $stage_version_shorten \>\= $_version`
4944 if test "x$V_CHECK" = "x1" && test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5
4946 $as_echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;}
4947 BOOST_CPPFLAGS
="-I$BOOST_ROOT"
4948 BOOST_LDFLAGS
="-L$BOOST_ROOT/stage/$libsubdir"
4954 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
4956 LDFLAGS
="$LDFLAGS $BOOST_LDFLAGS"
4960 ac_cpp
='$CXXCPP $CPPFLAGS'
4961 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4962 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4963 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4966 /* end confdefs.h. */
4968 #include <boost/version.hpp>
4974 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < ($WANT_BOOST_VERSION))]));
4980 if ac_fn_cxx_try_compile
"$LINENO"; then :
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4983 $as_echo "yes" >&6; }
4988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4990 ac_cpp
='$CXXCPP $CPPFLAGS'
4991 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4992 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4993 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4997 if test "x$succeeded" != "xyes" ; then
4998 if test "x$_version" = "x0" ; then
4999 { $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
5000 $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;}
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5
5003 $as_echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
5005 # execute ACTION-IF-NOT-FOUND (if present):
5006 as_fn_error $?
"Could not find Boost" "$LINENO" 5
5009 $as_echo "#define HAVE_BOOST /**/" >>confdefs.h
5011 # execute ACTION-IF-FOUND (if present):
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost CXXFLAGS: \"$BOOST_CPPFLAGS\"" >&5
5013 $as_echo "$as_me: Boost CXXFLAGS: \"$BOOST_CPPFLAGS\"" >&6;}
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost LDFLAGS: \"$BOOST_LDFLAGS\"" >&5
5015 $as_echo "$as_me: Boost LDFLAGS: \"$BOOST_LDFLAGS\"" >&6;}
5018 CPPFLAGS
="$CPPFLAGS_SAVED"
5019 LDFLAGS
="$LDFLAGS_SAVED"
5026 CXXFLAGS
="$BOOST_CPPFLAGS $CXXFLAGS"
5027 LDFLAGS
="$BOOST_LDFLAGS $LDFLAGS"
5029 # add workaround for problematic boost version
5030 # taken from ax_boost_base.m4
5033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5034 /* end confdefs.h. */
5035 #include <boost/version.hpp>
5039 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < (106000))]));
5044 if ac_fn_cxx_try_compile
"$LINENO"; then :
5047 QBT_ADD_DEFINES
="$QBT_ADD_DEFINES BOOST_NO_CXX11_RVALUE_REFERENCES"
5049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
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
5058 elif test "$withval" = "yes"; then
5060 ax_boost_user_system_lib
=""
5063 ax_boost_user_system_lib
="$withval"
5072 if test "x$want_boost" = "xyes"; then
5075 CPPFLAGS_SAVED
="$CPPFLAGS"
5076 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
5079 LDFLAGS_SAVED
="$LDFLAGS"
5080 LDFLAGS
="$LDFLAGS $BOOST_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
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
5097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5098 /* end confdefs.h. */
5099 #include <boost/system/error_code.hpp>
5103 boost::system::error_category *a = 0;
5108 if ac_fn_cxx_try_compile
"$LINENO"; then :
5109 ax_cv_boost_system
=yes
5111 ax_cv_boost_system
=no
5113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5114 CXXFLAGS
=$CXXFLAGS_SAVE
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
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. */
5163 if ac_fn_cxx_try_link
"$LINENO"; then :
5164 eval "$as_ac_Lib=yes"
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
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
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. */
5211 if ac_fn_cxx_try_link
"$LINENO"; then :
5212 eval "$as_ac_Lib=yes"
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
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
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. */
5260 if ac_fn_cxx_try_link
"$LINENO"; then :
5261 eval "$as_ac_Lib=yes"
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
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 #(
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shipped" >&5
5302 $as_echo "shipped" >&6; }
5303 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG usesystemqtsingleapplication" ;; #(
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system" >&5
5306 $as_echo "system" >&6; }
5307 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG usesystemqtsingleapplication" ;; #(
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 ;;
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.1.10\""; } >&5
5324 ($PKG_CONFIG --exists --print-errors "libtorrent-rasterbar >= 1.1.10") 2>&5
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.1.10" 2>/dev/null`
5329 test "x$?" != "x0" && pkg_failed
=yes
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.1.10\""; } >&5
5341 ($PKG_CONFIG --exists --print-errors "libtorrent-rasterbar >= 1.1.10") 2>&5
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.1.10" 2>/dev/null`
5346 test "x$?" != "x0" && pkg_failed
=yes
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
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.1.10" 2>&1`
5368 libtorrent_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libtorrent-rasterbar >= 1.1.10" 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.1.10) 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
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; }
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 CXXFLAGS
="$libtorrent_CFLAGS $CXXFLAGS"
5404 LIBS
="$libtorrent_LIBS $LIBS"
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
5410 $as_echo_n "checking for openssl... " >&6; }
5412 if test -n "$openssl_CFLAGS"; then
5413 pkg_cv_openssl_CFLAGS
="$openssl_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 \"openssl >= 1.0\""; } >&5
5417 ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
5419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5420 test $ac_status = 0; }; then
5421 pkg_cv_openssl_CFLAGS
=`$PKG_CONFIG --cflags "openssl >= 1.0" 2>/dev/null`
5422 test "x$?" != "x0" && pkg_failed
=yes
5429 if test -n "$openssl_LIBS"; then
5430 pkg_cv_openssl_LIBS
="$openssl_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 \"openssl >= 1.0\""; } >&5
5434 ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
5436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5437 test $ac_status = 0; }; then
5438 pkg_cv_openssl_LIBS
=`$PKG_CONFIG --libs "openssl >= 1.0" 2>/dev/null`
5439 test "x$?" != "x0" && pkg_failed
=yes
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
5456 _pkg_short_errors_supported
=no
5458 if test $_pkg_short_errors_supported = yes; then
5459 openssl_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
5461 openssl_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
5463 # Put the nasty error message in config.log where it belongs
5464 echo "$openssl_PKG_ERRORS" >&5
5466 as_fn_error $?
"Package requirements (openssl >= 1.0) were not met:
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 openssl_CFLAGS
5474 and openssl_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
5485 Alternatively, you may set the environment variables openssl_CFLAGS
5486 and openssl_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; }
5492 openssl_CFLAGS
=$pkg_cv_openssl_CFLAGS
5493 openssl_LIBS
=$pkg_cv_openssl_LIBS
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5495 $as_echo "yes" >&6; }
5496 CXXFLAGS
="$openssl_CFLAGS $CXXFLAGS"
5497 LIBS
="$openssl_LIBS $LIBS"
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
5503 $as_echo_n "checking for zlib... " >&6; }
5505 if test -n "$zlib_CFLAGS"; then
5506 pkg_cv_zlib_CFLAGS
="$zlib_CFLAGS"
5507 elif test -n "$PKG_CONFIG"; then
5508 if test -n "$PKG_CONFIG" && \
5509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.5.2\""; } >&5
5510 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.5.2") 2>&5
5512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5513 test $ac_status = 0; }; then
5514 pkg_cv_zlib_CFLAGS
=`$PKG_CONFIG --cflags "zlib >= 1.2.5.2" 2>/dev/null`
5515 test "x$?" != "x0" && pkg_failed
=yes
5522 if test -n "$zlib_LIBS"; then
5523 pkg_cv_zlib_LIBS
="$zlib_LIBS"
5524 elif test -n "$PKG_CONFIG"; then
5525 if test -n "$PKG_CONFIG" && \
5526 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.5.2\""; } >&5
5527 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.5.2") 2>&5
5529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5530 test $ac_status = 0; }; then
5531 pkg_cv_zlib_LIBS
=`$PKG_CONFIG --libs "zlib >= 1.2.5.2" 2>/dev/null`
5532 test "x$?" != "x0" && pkg_failed
=yes
5542 if test $pkg_failed = yes; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5546 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5547 _pkg_short_errors_supported
=yes
5549 _pkg_short_errors_supported
=no
5551 if test $_pkg_short_errors_supported = yes; then
5552 zlib_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.2.5.2" 2>&1`
5554 zlib_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.2.5.2" 2>&1`
5556 # Put the nasty error message in config.log where it belongs
5557 echo "$zlib_PKG_ERRORS" >&5
5559 as_fn_error $?
"Package requirements (zlib >= 1.2.5.2) were not met:
5563 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5564 installed software in a non-standard prefix.
5566 Alternatively, you may set the environment variables zlib_CFLAGS
5567 and zlib_LIBS to avoid the need to call pkg-config.
5568 See the pkg-config man page for more details." "$LINENO" 5
5569 elif test $pkg_failed = untried
; then
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571 $as_echo "no" >&6; }
5572 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5574 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
5575 is in your PATH or set the PKG_CONFIG environment variable to the full
5578 Alternatively, you may set the environment variables zlib_CFLAGS
5579 and zlib_LIBS to avoid the need to call pkg-config.
5580 See the pkg-config man page for more details.
5582 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5583 See \`config.log' for more details" "$LINENO" 5; }
5585 zlib_CFLAGS
=$pkg_cv_zlib_CFLAGS
5586 zlib_LIBS
=$pkg_cv_zlib_LIBS
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5588 $as_echo "yes" >&6; }
5589 CXXFLAGS
="$zlib_CFLAGS $CXXFLAGS"
5590 LIBS
="$zlib_LIBS $LIBS"
5593 # Check if already in >= C++14 mode because of the flags returned by one of the above packages
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler is using C++14 or later mode" >&5
5595 $as_echo_n "checking if compiler is using C++14 or later mode... " >&6; }
5596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5597 /* end confdefs.h. */
5600 #error "This is not a C++ compiler"
5601 #elif __cplusplus < 201402L
5602 #error "This is not a C++14 compiler"
5613 if ac_fn_cxx_try_compile
"$LINENO"; then :
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5615 $as_echo "yes" >&6; }
5616 QBT_CXX14_FOUND
="yes"
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5619 $as_echo "no" >&6; }
5620 QBT_CXX14_FOUND
="no"
5622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5624 # In case of no, check if the compiler can support at least C++14
5625 # and if yes, enable it leaving a warning to the user
5626 if test "x$QBT_CXX14_FOUND" = "xno"; then :
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports C++14" >&5
5628 $as_echo_n "checking if compiler supports C++14... " >&6; }
5629 TMP_CXXFLAGS
="$CXXFLAGS"
5630 CXXFLAGS
="$CXXFLAGS -std=c++14"
5631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5635 #error "This is not a C++ compiler"
5636 #elif __cplusplus < 201402L
5637 #error "This is not a C++14 compiler"
5648 if ac_fn_cxx_try_compile
"$LINENO"; then :
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5650 $as_echo "yes" >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++14 is disabled by the set compiler flags" >&5
5652 $as_echo_n "checking if C++14 is disabled by the set compiler flags... " >&6; }
5653 # prepend the flag so it won't override conflicting user defined flags
5654 CXXFLAGS
="-std=c++14 $TMP_CXXFLAGS"
5655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5656 /* end confdefs.h. */
5659 #error "This is not a C++ compiler"
5660 #elif __cplusplus < 201402L
5661 #error "This is not a C++14 compiler"
5672 if ac_fn_cxx_try_compile
"$LINENO"; then :
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5675 CXXFLAGS
="$TMP_CXXFLAGS -std=c++14"
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C++14 mode is now force enabled.
5677 Make sure you use the same C++ mode for qBittorrent and its dependencies.
5678 To explicitly set qBittorrent to a later mode use CXXFLAGS.
5679 Example: \`CXXFLAGS=\"\$CXXFLAGS -std=c++14\" ./configure\`" >&5
5680 $as_echo "$as_me: WARNING: C++14 mode is now force enabled.
5681 Make sure you use the same C++ mode for qBittorrent and its dependencies.
5682 To explicitly set qBittorrent to a later mode use CXXFLAGS.
5683 Example: \`CXXFLAGS=\"\$CXXFLAGS -std=c++14\" ./configure\`" >&2;}
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5686 $as_echo "yes" >&6; }
5687 as_fn_error $?
"The compiler supports C++14 but the user or a dependency has explicitly enabled a lower mode." "$LINENO" 5
5689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5692 $as_echo "no" >&6; }
5693 as_fn_error $?
"A compiler supporting C++14 is required." "$LINENO" 5
5695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5699 # These are required because autoconf doesn't expand these **particular**
5700 # vars automatically. And qmake cannot autoexpand them.
5704 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
5705 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
5706 eval ax_define_dir
="\"$prefix\""
5707 eval ax_define_dir
="\"$ax_define_dir\""
5708 EXPAND_PREFIX
="$ax_define_dir"
5710 cat >>confdefs.h
<<_ACEOF
5711 #define EXPAND_PREFIX "$ax_define_dir"
5714 test "$prefix_NONE" && prefix
=NONE
5715 test "$exec_prefix_NONE" && exec_prefix
=NONE
5720 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
5721 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
5722 eval ax_define_dir
="\"$bindir\""
5723 eval ax_define_dir
="\"$ax_define_dir\""
5724 EXPAND_BINDIR
="$ax_define_dir"
5726 cat >>confdefs.h
<<_ACEOF
5727 #define EXPAND_BINDIR "$ax_define_dir"
5730 test "$prefix_NONE" && prefix
=NONE
5731 test "$exec_prefix_NONE" && exec_prefix
=NONE
5736 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
5737 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
5738 eval ax_define_dir
="\"$datadir\""
5739 eval ax_define_dir
="\"$ax_define_dir\""
5740 EXPAND_DATADIR
="$ax_define_dir"
5742 cat >>confdefs.h
<<_ACEOF
5743 #define EXPAND_DATADIR "$ax_define_dir"
5746 test "$prefix_NONE" && prefix
=NONE
5747 test "$exec_prefix_NONE" && exec_prefix
=NONE
5752 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
5753 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
5754 eval ax_define_dir
="\"$mandir\""
5755 eval ax_define_dir
="\"$ax_define_dir\""
5756 EXPAND_MANDIR
="$ax_define_dir"
5758 cat >>confdefs.h
<<_ACEOF
5759 #define EXPAND_MANDIR "$ax_define_dir"
5762 test "$prefix_NONE" && prefix
=NONE
5763 test "$exec_prefix_NONE" && exec_prefix
=NONE
5766 # Original extract() function contributed by pmzqla
5767 # $*: Strings to parse
5768 # Set $QBT_CONF_DEFINES, $QBT_CONF_INCLUDES, $QBT_CONF_EXTRA_CFLAGS
5770 if [ -z "$*" ]; then
5771 echo "Input string required"
5775 # BSD sed needs an actual newline character in the substitute command
5778 # Convert " -" to "\n" if not between quotes and remove possible leading white spaces
5779 string
=$
(echo " $*" |
$SED -e "s: -:\\${new_line}:g" -e 's:"\(.*\)\n\(.*\)":\"\1 -\2":g' -e "s:'\(.*\)\n\(.*\)':\'\1 -\2':g" -e 's/^[[:space:]]*//')
5781 IFS
=$
(printf "\n\b")
5782 for i
in $string; do
5783 case "$(echo "$i" | cut -c1)" in
5785 D
) QBT_CONF_DEFINES
="$QBT_CONF_DEFINES $(echo $i | cut -c2-)";;
5786 I
) QBT_CONF_INCLUDES
="$QBT_CONF_INCLUDES $(echo $i | cut -c2-)";;
5787 *) QBT_CONF_EXTRA_CFLAGS
="$QBT_CONF_EXTRA_CFLAGS -$i";;
5793 extract
"$CFLAGS $CXXFLAGS"
5794 QBT_ADD_DEFINES
="$QBT_ADD_DEFINES $QBT_CONF_DEFINES"
5796 # Substitute the values of these vars in conf.pri.in
5806 ac_config_files
="$ac_config_files conf.pri"
5808 cat >confcache
<<\_ACEOF
5809 # This file is a shell script that caches the results of configure
5810 # tests run on this system so they can be shared between configure
5811 # scripts and configure runs, see configure's option --config-cache.
5812 # It is not useful on other systems. If it contains results you don't
5813 # want to keep, you may remove or edit it.
5815 # config.status only pays attention to the cache file if you give it
5816 # the --recheck option to rerun configure.
5818 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5819 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5824 # The following way of writing the cache mishandles newlines in values,
5825 # but we know of no workaround that is simple, portable, and efficient.
5826 # So, we kill variables containing newlines.
5827 # Ultrix sh set writes to stderr and can't be redirected directly,
5828 # and sets the high bit in the cache file unless we assign to the vars.
5830 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5831 eval ac_val
=\$
$ac_var
5835 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5836 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5839 _ | IFS | as_nl
) ;; #(
5840 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5841 *) { eval $ac_var=; unset $ac_var;} ;;
5847 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5848 *${as_nl}ac_space
=\
*)
5849 # `set' does not quote correctly, so add quotes: double-quote
5850 # substitution turns \\\\ into \\, and sed turns \\ into \.
5853 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5856 # `set' quotes correctly as required by POSIX, so do not add quotes.
5857 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5866 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5868 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5870 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5871 if test -w "$cache_file"; then
5872 if test "x$cache_file" != "x/dev/null"; then
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5874 $as_echo "$as_me: updating cache $cache_file" >&6;}
5875 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5876 cat confcache
>"$cache_file"
5878 case $cache_file in #(
5880 mv -f confcache
"$cache_file"$$
&&
5881 mv -f "$cache_file"$$
"$cache_file" ;; #(
5883 mv -f confcache
"$cache_file" ;;
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5889 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5894 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5895 # Let make expand exec_prefix.
5896 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5898 # Transform confdefs.h into DEFS.
5899 # Protect against shell expansion while executing Makefile rules.
5900 # Protect against Makefile macro expansion.
5902 # If the first sed substitution is executed (which looks for macros that
5903 # take arguments), then branch to the quote section. Otherwise,
5904 # look for a macro that doesn't take arguments.
5914 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5916 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5920 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5933 DEFS
=`sed -n "$ac_script" confdefs.h`
5939 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5940 # 1. Remove the extension, and $U if already installed.
5941 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5942 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5943 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5944 # will be set to the directory where LIBOBJS objects are built.
5945 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5946 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5950 LTLIBOBJS
=$ac_ltlibobjs
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5954 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5955 if test -n "$am_sleep_pid"; then
5956 # Hide warnings about reused PIDs.
5957 wait $am_sleep_pid 2>/dev
/null
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5960 $as_echo "done" >&6; }
5961 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5962 as_fn_error $?
"conditional \"AMDEP\" was never defined.
5963 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5965 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5966 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5967 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5969 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5970 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
5971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5973 if test -n "$EXEEXT"; then
5975 am__EXEEXT_FALSE
='#'
5982 : "${CONFIG_STATUS=./config.status}"
5984 ac_clean_files_save
=$ac_clean_files
5985 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5987 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5989 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5991 # Generated by $as_me.
5992 # Run this file to recreate the current configuration.
5993 # Compiler output produced by configure, useful for debugging
5994 # configure, is in config.log if it exists.
6000 SHELL=\${CONFIG_SHELL-$SHELL}
6003 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6004 ## -------------------- ##
6005 ## M4sh Initialization. ##
6006 ## -------------------- ##
6008 # Be more Bourne compatible
6009 DUALCASE
=1; export DUALCASE
# for MKS sh
6010 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6013 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6014 # is contrary to our usage. Disable this feature.
6015 alias -g '${1+"$@"}'='"$@"'
6016 setopt NO_GLOB_SUBST
6018 case `(set -o) 2>/dev/null` in #(
6030 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6031 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6032 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6033 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6034 # Prefer a ksh shell builtin over an external printf program on Solaris,
6035 # but without wasting forks for bash or zsh.
6036 if test -z "$BASH_VERSION$ZSH_VERSION" \
6037 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6038 as_echo='print
-r --'
6039 as_echo_n='print
-rn --'
6040 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6041 as_echo='printf %s
\n'
6042 as_echo_n='printf %s
'
6044 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6045 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6046 as_echo_n='/usr
/ucb
/echo -n'
6048 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6049 as_echo_n_body='eval
6053 expr "X$arg" : "X\\(.*\\)$as_nl";
6054 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6056 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6058 export as_echo_n_body
6059 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6062 as_echo='sh
-c $as_echo_body as_echo
'
6065 # The user is always right.
6066 if test "${PATH_SEPARATOR+set}" != set; then
6068 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6069 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6076 # We need space, tab and new line, in precisely that order. Quoting is
6077 # there to prevent editors from complaining about space-tab.
6078 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6079 # splitting by setting IFS to empty value.)
6082 # Find who we are. Look in the path if we contain no directory separator.
6085 *[\\/]* ) as_myself=$0 ;;
6086 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 test -z "$as_dir" && as_dir=.
6091 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6097 # We did not find ourselves, most probably we were run as `sh COMMAND'
6098 # in which case we are not to be found in the path.
6099 if test "x$as_myself" = x
; then
6102 if test ! -f "$as_myself"; then
6103 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6107 # Unset variables that we do not need and which cause bugs (e.g. in
6108 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6109 # suppresses any "Segmentation fault" message there. '((' could
6110 # trigger a bug in pdksh 5.2.14.
6111 for as_var
in BASH_ENV ENV MAIL MAILPATH
6112 do eval test x\
${$as_var+set} = xset \
6113 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6126 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6129 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6130 # ----------------------------------------
6131 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6132 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6133 # script with STATUS, using 1 if that was 0.
6136 as_status
=$1; test $as_status -eq 0 && as_status
=1
6138 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6139 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6141 $as_echo "$as_me: error: $2" >&2
6142 as_fn_exit
$as_status
6146 # as_fn_set_status STATUS
6147 # -----------------------
6148 # Set $? to STATUS, without forking.
6152 } # as_fn_set_status
6156 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6166 # Portably unset VAR.
6169 { eval $1=; unset $1;}
6171 as_unset
=as_fn_unset
6172 # as_fn_append VAR VALUE
6173 # ----------------------
6174 # Append the text in VALUE to the end of the definition contained in VAR. Take
6175 # advantage of any shell optimizations that allow amortized linear growth over
6176 # repeated appends, instead of the typical quadratic growth present in naive
6178 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6179 eval 'as_fn_append ()
6190 # as_fn_arith ARG...
6191 # ------------------
6192 # Perform arithmetic evaluation on the ARGs, and store the result in the
6193 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6194 # must be portable across $(()) and expr.
6195 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6196 eval 'as_fn_arith ()
6203 as_val
=`expr "$@" || test $? -eq 1`
6208 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6209 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6215 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6216 as_basename
=basename
6221 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6227 as_me
=`$as_basename -- "$0" ||
6228 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6229 X"$0" : 'X\(//\)$' \| \
6230 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6232 sed '/^.*\/\([^/][^/]*\)\/*$/{
6246 # Avoid depending upon Character Ranges.
6247 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6248 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6249 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6250 as_cr_digits
='0123456789'
6251 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6253 ECHO_C
= ECHO_N
= ECHO_T
=
6254 case `echo -n x` in #(((((
6256 case `echo 'xy\c'` in
6257 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6259 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6266 rm -f conf$$ conf$$.exe conf$$.
file
6267 if test -d conf$$.dir
; then
6268 rm -f conf$$.dir
/conf$$.
file
6271 mkdir conf$$.dir
2>/dev
/null
6273 if (echo >conf$$.
file) 2>/dev
/null
; then
6274 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6276 # ... but there are two gotchas:
6277 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6278 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6279 # In both cases, we have to default to `cp -pR'.
6280 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6282 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6290 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6291 rmdir conf$$.dir
2>/dev
/null
6296 # Create "$as_dir" as a directory, including parents if necessary.
6301 -*) as_dir
=.
/$as_dir;;
6303 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6307 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6308 *) as_qdir
=$as_dir;;
6310 as_dirs
="'$as_qdir' $as_dirs"
6311 as_dir
=`$as_dirname -- "$as_dir" ||
6312 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6313 X"$as_dir" : 'X\(//\)[^/]' \| \
6314 X"$as_dir" : 'X\(//\)$' \| \
6315 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6316 $as_echo X"$as_dir" |
6317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6334 test -d "$as_dir" && break
6336 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6337 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6341 if mkdir
-p .
2>/dev
/null
; then
6342 as_mkdir_p
='mkdir -p "$as_dir"'
6344 test -d .
/-p && rmdir .
/-p
6349 # as_fn_executable_p FILE
6350 # -----------------------
6351 # Test if FILE is an executable regular file.
6352 as_fn_executable_p
()
6354 test -f "$1" && test -x "$1"
6355 } # as_fn_executable_p
6357 as_executable_p
=as_fn_executable_p
6359 # Sed expression to map a string onto a valid CPP name.
6360 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6362 # Sed expression to map a string onto a valid variable name.
6363 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6367 ## ----------------------------------- ##
6368 ## Main body of $CONFIG_STATUS script. ##
6369 ## ----------------------------------- ##
6371 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6374 # Save the log message, to keep $0 and so on meaningful, and to
6375 # report actual input values of CONFIG_FILES etc. instead of their
6376 # values after options handling.
6378 This file was extended by qbittorrent $as_me v4.2.0alpha, which was
6379 generated by GNU Autoconf 2.69. Invocation command line was
6381 CONFIG_FILES = $CONFIG_FILES
6382 CONFIG_HEADERS = $CONFIG_HEADERS
6383 CONFIG_LINKS = $CONFIG_LINKS
6384 CONFIG_COMMANDS = $CONFIG_COMMANDS
6387 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6392 case $ac_config_files in *"
6393 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6399 # Files that config.status was made for.
6400 config_files="$ac_config_files"
6401 config_commands="$ac_config_commands"
6405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6407 \`$as_me' instantiates files and other configuration actions
6408 from templates according to the current configuration. Unless the files
6409 and actions are specified as TAGs, all are instantiated by default.
6411 Usage: $0 [OPTION]... [TAG]...
6413 -h, --help print this help, then exit
6414 -V, --version print version number and configuration settings, then exit
6415 --config print configuration, then exit
6416 -q, --quiet, --silent
6417 do not print progress messages
6418 -d, --debug don't remove temporary files
6419 --recheck update $as_me by reconfiguring in the same conditions
6420 --file=FILE[:TEMPLATE]
6421 instantiate the configuration file FILE
6423 Configuration files:
6426 Configuration commands:
6429 Report bugs to <bugs.qbittorrent.org>.
6430 qbittorrent home page: <https://www.qbittorrent.org/>."
6433 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6434 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6436 qbittorrent config.status v4.2.0alpha
6437 configured by $0, generated by GNU Autoconf 2.69,
6438 with options \\"\$ac_cs_config\\"
6440 Copyright (C) 2012 Free Software Foundation, Inc.
6441 This config.status script is free software; the Free Software Foundation
6442 gives unlimited permission to copy, distribute and modify it."
6449 test -n "\$AWK" || AWK=awk
6452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6453 # The default lists apply if the user does not specify any file.
6459 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6460 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6464 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6476 # Handling of the options.
6477 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6479 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6480 $as_echo "$ac_cs_version"; exit ;;
6481 --config |
--confi |
--conf |
--con |
--co |
--c )
6482 $as_echo "$ac_cs_config"; exit ;;
6483 --debug |
--debu |
--deb |
--de |
--d |
-d )
6485 --file |
--fil |
--fi |
--f )
6488 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6489 '') as_fn_error $?
"missing file argument" ;;
6491 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6492 ac_need_defaults
=false
;;
6493 --he |
--h |
--help |
--hel |
-h )
6494 $as_echo "$ac_cs_usage"; exit ;;
6495 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6496 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6500 -*) as_fn_error $?
"unrecognized option: \`$1'
6501 Try \`$0 --help' for more information." ;;
6503 *) as_fn_append ac_config_targets
" $1"
6504 ac_need_defaults
=false
;;
6510 ac_configure_extra_args
=
6512 if $ac_cs_silent; then
6514 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6519 if \$ac_cs_recheck; then
6520 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6522 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6523 CONFIG_SHELL='$SHELL'
6529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6533 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6534 ## Running $as_me. ##
6540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6544 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
6548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6550 # Handling of arguments.
6551 for ac_config_target
in $ac_config_targets
6553 case $ac_config_target in
6554 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6555 "conf.pri") CONFIG_FILES
="$CONFIG_FILES conf.pri" ;;
6557 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6562 # If the user did not use the arguments to specify the items to instantiate,
6563 # then the envvar interface is used. Set only those that are not.
6564 # We use the long form for the default assignment because of an extremely
6565 # bizarre bug on SunOS 4.1.3.
6566 if $ac_need_defaults; then
6567 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6568 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6571 # Have a temporary directory for convenience. Make it in the build tree
6572 # simply because there is no reason against having it here, and in addition,
6573 # creating and moving files from /tmp can sometimes cause problems.
6574 # Hook for its removal unless debugging.
6575 # Note that there is a small window in which the directory will not be cleaned:
6576 # after its creation but before its name has been assigned to `$tmp'.
6580 trap 'exit_status=$?
6582 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6584 trap 'as_fn_exit 1' 1 2 13 15
6586 # Create a (secure) tmp directory for tmp files.
6589 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6593 tmp
=.
/conf$$
-$RANDOM
6594 (umask 077 && mkdir
"$tmp")
6595 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6598 # Set up the scripts for CONFIG_FILES section.
6599 # No need to generate them if there are no CONFIG_FILES.
6600 # This happens for instance with `./config.status config.h'.
6601 if test -n "$CONFIG_FILES"; then
6604 ac_cr
=`echo X | tr X '\015'`
6605 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6606 # But we know of no other shell where ac_cr would be empty at this
6607 # point, so we can use a bashism as a fallback.
6608 if test "x$ac_cr" = x
; then
6609 eval ac_cr
=\$
\'\\r
\'
6611 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6612 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6618 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6623 echo "cat >conf$$subs.awk <<_ACEOF" &&
6624 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6627 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6628 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6630 for ac_last_try in false false false false false :; do
6631 . ./conf$$subs.sh ||
6632 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6634 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6635 if test $ac_delim_n = $ac_delim_num; then
6637 elif $ac_last_try; then
6638 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6640 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6646 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6650 s/^/S["/; s
/!.
*/"]=/
6660 s/\(.\{148\}\)..*/\1/
6662 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6667 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6674 s/\(.\{148\}\)..*/\1/
6676 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6680 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6685 ' <conf$$subs.awk | sed '
6690 ' >>$CONFIG_STATUS || ac_write_fail=1
6691 rm -f conf$$subs.awk
6692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6694 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6695 for (key in S) S_is_set[key] = 1
6701 nfields = split(line, field, "@
")
6703 len = length(field[1])
6704 for (i = 2; i < nfields; i++) {
6706 keylen = length(key)
6707 if (S_is_set[key]) {
6709 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6710 len += length(value) + length(field[++i])
6721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6722 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6723 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6726 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6727 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6730 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6731 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6732 # trailing colons and then remove the whole line if VPATH becomes empty
6733 # (actually we leave an empty line to preserve line numbers).
6734 if test "x
$srcdir" = x.; then
6735 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6753 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6754 fi # test -n "$CONFIG_FILES"
6757 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
6762 :[FHLC]) ac_mode=$ac_tag; continue;;
6764 case $ac_mode$ac_tag in
6766 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
6767 :[FH]-) ac_tag=-:-;;
6768 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6785 -) ac_f="$ac_tmp/stdin";;
6786 *) # Look for the file first in the build tree, then in the source tree
6787 # (if the path is not absolute). The absolute path cannot be DOS-style,
6788 # because $ac_f cannot contain `:'.
6792 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6794 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6796 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
6797 as_fn_append ac_file_inputs " '$ac_f'"
6800 # Let's still pretend it is `configure' which instantiates (i.e., don't
6801 # use $as_me), people would be surprised to read:
6802 # /* config.h. Generated by config.status. */
6803 configure_input='Generated from '`
6804 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6806 if test x"$ac_file" != x-; then
6807 configure_input="$ac_file.
$configure_input"
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
6809 $as_echo "$as_me: creating
$ac_file" >&6;}
6811 # Neutralize special characters interpreted by sed in replacement strings.
6812 case $configure_input in #(
6813 *\&* | *\|* | *\\* )
6814 ac_sed_conf_input=`$as_echo "$configure_input" |
6815 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6816 *) ac_sed_conf_input=$configure_input;;
6820 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
6821 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
6826 ac_dir=`$as_dirname -- "$ac_file" ||
6827 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6828 X"$ac_file" : 'X\(//\)[^/]' \| \
6829 X"$ac_file" : 'X\(//\)$' \| \
6830 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6831 $as_echo X"$ac_file" |
6832 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6849 as_dir="$ac_dir"; as_fn_mkdir_p
6853 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6855 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6856 # A "..
" for each directory in $ac_dir_suffix.
6857 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6858 case $ac_top_builddir_sub in
6859 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6860 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6863 ac_abs_top_builddir=$ac_pwd
6864 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6865 # for backward compatibility:
6866 ac_top_builddir=$ac_top_build_prefix
6869 .) # We are building in place.
6871 ac_top_srcdir=$ac_top_builddir_sub
6872 ac_abs_top_srcdir=$ac_pwd ;;
6873 [\\/]* | ?:[\\/]* ) # Absolute name.
6874 ac_srcdir=$srcdir$ac_dir_suffix;
6875 ac_top_srcdir=$srcdir
6876 ac_abs_top_srcdir=$srcdir ;;
6878 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6879 ac_top_srcdir=$ac_top_build_prefix$srcdir
6880 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6882 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6892 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6893 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6897 [\\/$]* | ?:[\\/]* ) ;;
6898 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6903 # If the template does not know about datarootdir, expand it.
6904 # FIXME: This hack should be removed a few years after 2.60.
6905 ac_datarootdir_hack=; ac_datarootdir_seen=
6916 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
6917 *datarootdir*) ac_datarootdir_seen=yes;;
6918 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
6920 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
6922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6923 ac_datarootdir_hack='
6924 s&@datadir@&$datadir&g
6925 s&@docdir@&$docdir&g
6926 s&@infodir@&$infodir&g
6927 s&@localedir@&$localedir&g
6928 s&@mandir@&$mandir&g
6929 s&\\\${datarootdir}&$datarootdir&g' ;;
6933 # Neutralize VPATH when `$srcdir' = `.'.
6934 # Shell code in configure.ac might set extrasub.
6935 # FIXME: do we really want to maintain this feature?
6936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6937 ac_sed_extra="$ac_vpsub
6940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6942 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6943 s|@configure_input@|
$ac_sed_conf_input|
;t t
6944 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6945 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6946 s
&@srcdir@
&$ac_srcdir&;t t
6947 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6948 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6949 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6950 s
&@builddir@
&$ac_builddir&;t t
6951 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6952 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6953 s
&@INSTALL@
&$ac_INSTALL&;t t
6954 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
6955 $ac_datarootdir_hack
6957 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6958 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6960 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6961 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6962 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6963 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6965 which seems to be undefined. Please make sure it is defined" >&5
6966 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6967 which seems to be undefined. Please make sure it is defined" >&2;}
6969 rm -f "$ac_tmp/stdin"
6971 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6972 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6974 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6978 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6979 $as_echo "$as_me: executing $ac_file commands" >&6;}
6984 case $ac_file$ac_mode in
6985 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6986 # Older Autoconf quotes --file arguments for eval, but not when files
6987 # are listed without --file. Let's play safe and only
enable the
eval
6988 # if we detect the quoting.
6989 # TODO: see whether this extra hack can be removed once we start
6990 # requiring Autoconf 2.70 or later.
6991 case $CONFIG_FILES in #(
6993 eval set x
"$CONFIG_FILES" ;; #(
6995 set x
$CONFIG_FILES ;; #(
7000 # Used to flag and report bootstrapping failures.
7004 # Strip MF so we end up with the name of the file.
7005 am_mf
=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
7006 # Check whether this is an Automake generated Makefile which includes
7007 # dependency-tracking related rules and includes.
7008 # Grep'ing the whole file directly is not great: AIX grep has a line
7009 # limit of 2048, but all sed's we know have understand at least 4000.
7010 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" |
grep X
>/dev
/null
2>&1 \
7012 am_dirpart
=`$as_dirname -- "$am_mf" ||
7013 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7014 X"$am_mf" : 'X\(//\)[^/]' \| \
7015 X"$am_mf" : 'X\(//\)$' \| \
7016 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7017 $as_echo X"$am_mf" |
7018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7035 am_filepart
=`$as_basename -- "$am_mf" ||
7036 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
7037 X"$am_mf" : 'X\(//\)$' \| \
7038 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7039 $as_echo X/"$am_mf" |
7040 sed '/^.*\/\([^/][^/]*\)\/*$/{
7053 { echo "$as_me:$LINENO: cd "$am_dirpart" \
7054 && sed -e '/# am--include-marker/d' "$am_filepart" \
7055 | $MAKE -f - am--depfiles" >&5
7057 && sed -e '/# am--include-marker/d' "$am_filepart" \
7058 |
$MAKE -f - am--depfiles
) >&5 2>&5
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); } || am_rc
=$?
7063 if test $am_rc -ne 0; then
7064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7066 as_fn_error $?
"Something went wrong bootstrapping makefile fragments
7067 for automatic dependency tracking. Try re-running configure with the
7068 '--disable-dependency-tracking' option to at least be able to build
7069 the package (albeit without support for automatic dependency tracking).
7070 See \`config.log' for more details" "$LINENO" 5; }
7072 { am_dirpart
=; unset am_dirpart
;}
7073 { am_filepart
=; unset am_filepart
;}
7074 { am_mf
=; unset am_mf
;}
7075 { am_rc
=; unset am_rc
;}
7076 rm -f conftest-deps.mk
7086 ac_clean_files
=$ac_clean_files_save
7088 test $ac_write_fail = 0 ||
7089 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7092 # configure is writing to config.log, and then calls config.status.
7093 # config.status does its own redirection, appending to config.log.
7094 # Unfortunately, on DOS this fails, as config.log is still kept open
7095 # by configure, so config.status won't be able to write to it; its
7096 # output is simply discarded. So we exec the FD to /dev/null,
7097 # effectively closing config.log, so it can be properly (re)opened and
7098 # appended to by config.status. When coming back to configure, we
7099 # need to make the FD available again.
7100 if test "$no_create" != yes; then
7102 ac_config_status_args
=
7103 test "$silent" = yes &&
7104 ac_config_status_args
="$ac_config_status_args --quiet"
7106 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7108 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7109 # would make configure fail if this is the last instruction.
7110 $ac_cs_success || as_fn_exit
1
7112 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7114 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7117 if test "x$enable_systemd" = "xyes"; then :
7118 ac_config_files
="$ac_config_files dist/unix/systemd/qbittorrent-nox@.service"
7120 cat >confcache
<<\_ACEOF
7121 # This file is a shell script that caches the results of configure
7122 # tests run on this system so they can be shared between configure
7123 # scripts and configure runs, see configure's option --config-cache.
7124 # It is not useful on other systems. If it contains results you don't
7125 # want to keep, you may remove or edit it.
7127 # config.status only pays attention to the cache file if you give it
7128 # the --recheck option to rerun configure.
7130 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7131 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7136 # The following way of writing the cache mishandles newlines in values,
7137 # but we know of no workaround that is simple, portable, and efficient.
7138 # So, we kill variables containing newlines.
7139 # Ultrix sh set writes to stderr and can't be redirected directly,
7140 # and sets the high bit in the cache file unless we assign to the vars.
7142 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7143 eval ac_val
=\$
$ac_var
7147 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7148 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7151 _ | IFS | as_nl
) ;; #(
7152 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7153 *) { eval $ac_var=; unset $ac_var;} ;;
7159 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7160 *${as_nl}ac_space
=\
*)
7161 # `set' does not quote correctly, so add quotes: double-quote
7162 # substitution turns \\\\ into \\, and sed turns \\ into \.
7165 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7168 # `set' quotes correctly as required by POSIX, so do not add quotes.
7169 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7178 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7180 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7182 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7183 if test -w "$cache_file"; then
7184 if test "x$cache_file" != "x/dev/null"; then
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7186 $as_echo "$as_me: updating cache $cache_file" >&6;}
7187 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
7188 cat confcache
>"$cache_file"
7190 case $cache_file in #(
7192 mv -f confcache
"$cache_file"$$
&&
7193 mv -f "$cache_file"$$
"$cache_file" ;; #(
7195 mv -f confcache
"$cache_file" ;;
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7201 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7206 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7207 # Let make expand exec_prefix.
7208 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7210 # Transform confdefs.h into DEFS.
7211 # Protect against shell expansion while executing Makefile rules.
7212 # Protect against Makefile macro expansion.
7214 # If the first sed substitution is executed (which looks for macros that
7215 # take arguments), then branch to the quote section. Otherwise,
7216 # look for a macro that doesn't take arguments.
7226 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
7228 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
7232 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7245 DEFS
=`sed -n "$ac_script" confdefs.h`
7251 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7252 # 1. Remove the extension, and $U if already installed.
7253 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7254 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7255 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7256 # will be set to the directory where LIBOBJS objects are built.
7257 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7258 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7262 LTLIBOBJS
=$ac_ltlibobjs
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7266 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7267 if test -n "$am_sleep_pid"; then
7268 # Hide warnings about reused PIDs.
7269 wait $am_sleep_pid 2>/dev
/null
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7272 $as_echo "done" >&6; }
7273 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7274 as_fn_error $?
"conditional \"AMDEP\" was never defined.
7275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7277 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7278 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
7279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7281 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7282 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
7283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7285 if test -n "$EXEEXT"; then
7287 am__EXEEXT_FALSE
='#'
7293 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
7294 as_fn_error $?
"conditional \"am__EXEEXT\" was never defined.
7295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7298 : "${CONFIG_STATUS=./config.status}"
7300 ac_clean_files_save
=$ac_clean_files
7301 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7303 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7305 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7307 # Generated by $as_me.
7308 # Run this file to recreate the current configuration.
7309 # Compiler output produced by configure, useful for debugging
7310 # configure, is in config.log if it exists.
7316 SHELL=\${CONFIG_SHELL-$SHELL}
7319 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7320 ## -------------------- ##
7321 ## M4sh Initialization. ##
7322 ## -------------------- ##
7324 # Be more Bourne compatible
7325 DUALCASE
=1; export DUALCASE
# for MKS sh
7326 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7329 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7330 # is contrary to our usage. Disable this feature.
7331 alias -g '${1+"$@"}'='"$@"'
7332 setopt NO_GLOB_SUBST
7334 case `(set -o) 2>/dev/null` in #(
7346 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7347 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7348 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7349 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7350 # Prefer a ksh shell builtin over an external printf program on Solaris,
7351 # but without wasting forks for bash or zsh.
7352 if test -z "$BASH_VERSION$ZSH_VERSION" \
7353 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7354 as_echo='print
-r --'
7355 as_echo_n='print
-rn --'
7356 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7357 as_echo='printf %s
\n'
7358 as_echo_n='printf %s
'
7360 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7361 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7362 as_echo_n='/usr
/ucb
/echo -n'
7364 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7365 as_echo_n_body='eval
7369 expr "X$arg" : "X\\(.*\\)$as_nl";
7370 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7372 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7374 export as_echo_n_body
7375 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7378 as_echo='sh
-c $as_echo_body as_echo
'
7381 # The user is always right.
7382 if test "${PATH_SEPARATOR+set}" != set; then
7384 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7385 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7392 # We need space, tab and new line, in precisely that order. Quoting is
7393 # there to prevent editors from complaining about space-tab.
7394 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7395 # splitting by setting IFS to empty value.)
7398 # Find who we are. Look in the path if we contain no directory separator.
7401 *[\\/]* ) as_myself=$0 ;;
7402 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406 test -z "$as_dir" && as_dir=.
7407 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7413 # We did not find ourselves, most probably we were run as `sh COMMAND'
7414 # in which case we are not to be found in the path.
7415 if test "x$as_myself" = x
; then
7418 if test ! -f "$as_myself"; then
7419 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7423 # Unset variables that we do not need and which cause bugs (e.g. in
7424 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7425 # suppresses any "Segmentation fault" message there. '((' could
7426 # trigger a bug in pdksh 5.2.14.
7427 for as_var
in BASH_ENV ENV MAIL MAILPATH
7428 do eval test x\
${$as_var+set} = xset \
7429 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7442 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7445 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7446 # ----------------------------------------
7447 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7448 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7449 # script with STATUS, using 1 if that was 0.
7452 as_status
=$1; test $as_status -eq 0 && as_status
=1
7454 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7455 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7457 $as_echo "$as_me: error: $2" >&2
7458 as_fn_exit
$as_status
7462 # as_fn_set_status STATUS
7463 # -----------------------
7464 # Set $? to STATUS, without forking.
7468 } # as_fn_set_status
7472 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7482 # Portably unset VAR.
7485 { eval $1=; unset $1;}
7487 as_unset
=as_fn_unset
7488 # as_fn_append VAR VALUE
7489 # ----------------------
7490 # Append the text in VALUE to the end of the definition contained in VAR. Take
7491 # advantage of any shell optimizations that allow amortized linear growth over
7492 # repeated appends, instead of the typical quadratic growth present in naive
7494 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7495 eval 'as_fn_append ()
7506 # as_fn_arith ARG...
7507 # ------------------
7508 # Perform arithmetic evaluation on the ARGs, and store the result in the
7509 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7510 # must be portable across $(()) and expr.
7511 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7512 eval 'as_fn_arith ()
7519 as_val
=`expr "$@" || test $? -eq 1`
7524 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7525 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7531 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7532 as_basename
=basename
7537 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7543 as_me
=`$as_basename -- "$0" ||
7544 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7545 X"$0" : 'X\(//\)$' \| \
7546 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7548 sed '/^.*\/\([^/][^/]*\)\/*$/{
7562 # Avoid depending upon Character Ranges.
7563 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7564 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7565 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7566 as_cr_digits
='0123456789'
7567 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7569 ECHO_C
= ECHO_N
= ECHO_T
=
7570 case `echo -n x` in #(((((
7572 case `echo 'xy\c'` in
7573 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7575 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7582 rm -f conf$$ conf$$.exe conf$$.
file
7583 if test -d conf$$.dir
; then
7584 rm -f conf$$.dir
/conf$$.
file
7587 mkdir conf$$.dir
2>/dev
/null
7589 if (echo >conf$$.
file) 2>/dev
/null
; then
7590 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7592 # ... but there are two gotchas:
7593 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7594 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7595 # In both cases, we have to default to `cp -pR'.
7596 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7598 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7606 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7607 rmdir conf$$.dir
2>/dev
/null
7612 # Create "$as_dir" as a directory, including parents if necessary.
7617 -*) as_dir
=.
/$as_dir;;
7619 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7623 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7624 *) as_qdir
=$as_dir;;
7626 as_dirs
="'$as_qdir' $as_dirs"
7627 as_dir
=`$as_dirname -- "$as_dir" ||
7628 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7629 X"$as_dir" : 'X\(//\)[^/]' \| \
7630 X"$as_dir" : 'X\(//\)$' \| \
7631 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7632 $as_echo X"$as_dir" |
7633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7650 test -d "$as_dir" && break
7652 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7653 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7657 if mkdir
-p .
2>/dev
/null
; then
7658 as_mkdir_p
='mkdir -p "$as_dir"'
7660 test -d .
/-p && rmdir .
/-p
7665 # as_fn_executable_p FILE
7666 # -----------------------
7667 # Test if FILE is an executable regular file.
7668 as_fn_executable_p
()
7670 test -f "$1" && test -x "$1"
7671 } # as_fn_executable_p
7673 as_executable_p
=as_fn_executable_p
7675 # Sed expression to map a string onto a valid CPP name.
7676 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7678 # Sed expression to map a string onto a valid variable name.
7679 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7683 ## ----------------------------------- ##
7684 ## Main body of $CONFIG_STATUS script. ##
7685 ## ----------------------------------- ##
7687 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7690 # Save the log message, to keep $0 and so on meaningful, and to
7691 # report actual input values of CONFIG_FILES etc. instead of their
7692 # values after options handling.
7694 This file was extended by qbittorrent $as_me v4.2.0alpha, which was
7695 generated by GNU Autoconf 2.69. Invocation command line was
7697 CONFIG_FILES = $CONFIG_FILES
7698 CONFIG_HEADERS = $CONFIG_HEADERS
7699 CONFIG_LINKS = $CONFIG_LINKS
7700 CONFIG_COMMANDS = $CONFIG_COMMANDS
7703 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7708 case $ac_config_files in *"
7709 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7715 # Files that config.status was made for.
7716 config_files="$ac_config_files"
7717 config_commands="$ac_config_commands"
7721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7723 \`$as_me' instantiates files and other configuration actions
7724 from templates according to the current configuration. Unless the files
7725 and actions are specified as TAGs, all are instantiated by default.
7727 Usage: $0 [OPTION]... [TAG]...
7729 -h, --help print this help, then exit
7730 -V, --version print version number and configuration settings, then exit
7731 --config print configuration, then exit
7732 -q, --quiet, --silent
7733 do not print progress messages
7734 -d, --debug don't remove temporary files
7735 --recheck update $as_me by reconfiguring in the same conditions
7736 --file=FILE[:TEMPLATE]
7737 instantiate the configuration file FILE
7739 Configuration files:
7742 Configuration commands:
7745 Report bugs to <bugs.qbittorrent.org>.
7746 qbittorrent home page: <https://www.qbittorrent.org/>."
7749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7750 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7752 qbittorrent config.status v4.2.0alpha
7753 configured by $0, generated by GNU Autoconf 2.69,
7754 with options \\"\$ac_cs_config\\"
7756 Copyright (C) 2012 Free Software Foundation, Inc.
7757 This config.status script is free software; the Free Software Foundation
7758 gives unlimited permission to copy, distribute and modify it."
7765 test -n "\$AWK" || AWK=awk
7768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7769 # The default lists apply if the user does not specify any file.
7775 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7776 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7780 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7792 # Handling of the options.
7793 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7795 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7796 $as_echo "$ac_cs_version"; exit ;;
7797 --config |
--confi |
--conf |
--con |
--co |
--c )
7798 $as_echo "$ac_cs_config"; exit ;;
7799 --debug |
--debu |
--deb |
--de |
--d |
-d )
7801 --file |
--fil |
--fi |
--f )
7804 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7805 '') as_fn_error $?
"missing file argument" ;;
7807 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7808 ac_need_defaults
=false
;;
7809 --he |
--h |
--help |
--hel |
-h )
7810 $as_echo "$ac_cs_usage"; exit ;;
7811 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7812 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7816 -*) as_fn_error $?
"unrecognized option: \`$1'
7817 Try \`$0 --help' for more information." ;;
7819 *) as_fn_append ac_config_targets
" $1"
7820 ac_need_defaults
=false
;;
7826 ac_configure_extra_args
=
7828 if $ac_cs_silent; then
7830 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7835 if \$ac_cs_recheck; then
7836 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7838 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7839 CONFIG_SHELL='$SHELL'
7845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7849 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7850 ## Running $as_me. ##
7856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7860 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
7864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7866 # Handling of arguments.
7867 for ac_config_target
in $ac_config_targets
7869 case $ac_config_target in
7870 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7871 "conf.pri") CONFIG_FILES
="$CONFIG_FILES conf.pri" ;;
7872 "dist/unix/systemd/qbittorrent-nox@.service") CONFIG_FILES
="$CONFIG_FILES dist/unix/systemd/qbittorrent-nox@.service" ;;
7874 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7879 # If the user did not use the arguments to specify the items to instantiate,
7880 # then the envvar interface is used. Set only those that are not.
7881 # We use the long form for the default assignment because of an extremely
7882 # bizarre bug on SunOS 4.1.3.
7883 if $ac_need_defaults; then
7884 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7885 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7888 # Have a temporary directory for convenience. Make it in the build tree
7889 # simply because there is no reason against having it here, and in addition,
7890 # creating and moving files from /tmp can sometimes cause problems.
7891 # Hook for its removal unless debugging.
7892 # Note that there is a small window in which the directory will not be cleaned:
7893 # after its creation but before its name has been assigned to `$tmp'.
7897 trap 'exit_status=$?
7899 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7901 trap 'as_fn_exit 1' 1 2 13 15
7903 # Create a (secure) tmp directory for tmp files.
7906 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7910 tmp
=.
/conf$$
-$RANDOM
7911 (umask 077 && mkdir
"$tmp")
7912 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7915 # Set up the scripts for CONFIG_FILES section.
7916 # No need to generate them if there are no CONFIG_FILES.
7917 # This happens for instance with `./config.status config.h'.
7918 if test -n "$CONFIG_FILES"; then
7921 ac_cr
=`echo X | tr X '\015'`
7922 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7923 # But we know of no other shell where ac_cr would be empty at this
7924 # point, so we can use a bashism as a fallback.
7925 if test "x$ac_cr" = x
; then
7926 eval ac_cr
=\$
\'\\r
\'
7928 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7929 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7935 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7940 echo "cat >conf$$subs.awk <<_ACEOF" &&
7941 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7944 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7945 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7947 for ac_last_try in false false false false false :; do
7948 . ./conf$$subs.sh ||
7949 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7951 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7952 if test $ac_delim_n = $ac_delim_num; then
7954 elif $ac_last_try; then
7955 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7957 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7963 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7967 s/^/S["/; s
/!.
*/"]=/
7977 s/\(.\{148\}\)..*/\1/
7979 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7984 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7991 s/\(.\{148\}\)..*/\1/
7993 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7997 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8002 ' <conf$$subs.awk | sed '
8007 ' >>$CONFIG_STATUS || ac_write_fail=1
8008 rm -f conf$$subs.awk
8009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8011 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
8012 for (key in S) S_is_set[key] = 1
8018 nfields = split(line, field, "@
")
8020 len = length(field[1])
8021 for (i = 2; i < nfields; i++) {
8023 keylen = length(key)
8024 if (S_is_set[key]) {
8026 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8027 len += length(value) + length(field[++i])
8038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8039 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8040 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8043 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
8044 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8047 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8048 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8049 # trailing colons and then remove the whole line if VPATH becomes empty
8050 # (actually we leave an empty line to preserve line numbers).
8051 if test "x
$srcdir" = x.; then
8052 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8071 fi # test -n "$CONFIG_FILES"
8074 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
8079 :[FHLC]) ac_mode=$ac_tag; continue;;
8081 case $ac_mode$ac_tag in
8083 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
8084 :[FH]-) ac_tag=-:-;;
8085 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8102 -) ac_f="$ac_tmp/stdin";;
8103 *) # Look for the file first in the build tree, then in the source tree
8104 # (if the path is not absolute). The absolute path cannot be DOS-style,
8105 # because $ac_f cannot contain `:'.
8109 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8111 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8113 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
8114 as_fn_append ac_file_inputs " '$ac_f'"
8117 # Let's still pretend it is `configure' which instantiates (i.e., don't
8118 # use $as_me), people would be surprised to read:
8119 # /* config.h. Generated by config.status. */
8120 configure_input='Generated from '`
8121 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8123 if test x"$ac_file" != x-; then
8124 configure_input="$ac_file.
$configure_input"
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
8126 $as_echo "$as_me: creating
$ac_file" >&6;}
8128 # Neutralize special characters interpreted by sed in replacement strings.
8129 case $configure_input in #(
8130 *\&* | *\|* | *\\* )
8131 ac_sed_conf_input=`$as_echo "$configure_input" |
8132 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8133 *) ac_sed_conf_input=$configure_input;;
8137 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
8138 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
8143 ac_dir=`$as_dirname -- "$ac_file" ||
8144 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8145 X"$ac_file" : 'X\(//\)[^/]' \| \
8146 X"$ac_file" : 'X\(//\)$' \| \
8147 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8148 $as_echo X"$ac_file" |
8149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8166 as_dir="$ac_dir"; as_fn_mkdir_p
8170 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8172 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8173 # A "..
" for each directory in $ac_dir_suffix.
8174 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8175 case $ac_top_builddir_sub in
8176 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8177 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8180 ac_abs_top_builddir=$ac_pwd
8181 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8182 # for backward compatibility:
8183 ac_top_builddir=$ac_top_build_prefix
8186 .) # We are building in place.
8188 ac_top_srcdir=$ac_top_builddir_sub
8189 ac_abs_top_srcdir=$ac_pwd ;;
8190 [\\/]* | ?:[\\/]* ) # Absolute name.
8191 ac_srcdir=$srcdir$ac_dir_suffix;
8192 ac_top_srcdir=$srcdir
8193 ac_abs_top_srcdir=$srcdir ;;
8195 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8196 ac_top_srcdir=$ac_top_build_prefix$srcdir
8197 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8199 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8209 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8210 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8214 [\\/$]* | ?:[\\/]* ) ;;
8215 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8220 # If the template does not know about datarootdir, expand it.
8221 # FIXME: This hack should be removed a few years after 2.60.
8222 ac_datarootdir_hack=; ac_datarootdir_seen=
8233 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
8234 *datarootdir*) ac_datarootdir_seen=yes;;
8235 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
8237 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
8239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8240 ac_datarootdir_hack='
8241 s&@datadir@&$datadir&g
8242 s&@docdir@&$docdir&g
8243 s&@infodir@&$infodir&g
8244 s&@localedir@&$localedir&g
8245 s&@mandir@&$mandir&g
8246 s&\\\${datarootdir}&$datarootdir&g' ;;
8250 # Neutralize VPATH when `$srcdir' = `.'.
8251 # Shell code in configure.ac might set extrasub.
8252 # FIXME: do we really want to maintain this feature?
8253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8254 ac_sed_extra="$ac_vpsub
8257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8259 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8260 s|@configure_input@|
$ac_sed_conf_input|
;t t
8261 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8262 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8263 s
&@srcdir@
&$ac_srcdir&;t t
8264 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8265 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8266 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8267 s
&@builddir@
&$ac_builddir&;t t
8268 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8269 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8270 s
&@INSTALL@
&$ac_INSTALL&;t t
8271 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8272 $ac_datarootdir_hack
8274 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8275 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8277 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8278 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8279 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8280 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8282 which seems to be undefined. Please make sure it is defined" >&5
8283 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8284 which seems to be undefined. Please make sure it is defined" >&2;}
8286 rm -f "$ac_tmp/stdin"
8288 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8289 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8291 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8295 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8296 $as_echo "$as_me: executing $ac_file commands" >&6;}
8301 case $ac_file$ac_mode in
8302 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8303 # Older Autoconf quotes --file arguments for eval, but not when files
8304 # are listed without --file. Let's play safe and only
enable the
eval
8305 # if we detect the quoting.
8306 # TODO: see whether this extra hack can be removed once we start
8307 # requiring Autoconf 2.70 or later.
8308 case $CONFIG_FILES in #(
8310 eval set x
"$CONFIG_FILES" ;; #(
8312 set x
$CONFIG_FILES ;; #(
8317 # Used to flag and report bootstrapping failures.
8321 # Strip MF so we end up with the name of the file.
8322 am_mf
=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
8323 # Check whether this is an Automake generated Makefile which includes
8324 # dependency-tracking related rules and includes.
8325 # Grep'ing the whole file directly is not great: AIX grep has a line
8326 # limit of 2048, but all sed's we know have understand at least 4000.
8327 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" |
grep X
>/dev
/null
2>&1 \
8329 am_dirpart
=`$as_dirname -- "$am_mf" ||
8330 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8331 X"$am_mf" : 'X\(//\)[^/]' \| \
8332 X"$am_mf" : 'X\(//\)$' \| \
8333 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
8334 $as_echo X"$am_mf" |
8335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8352 am_filepart
=`$as_basename -- "$am_mf" ||
8353 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
8354 X"$am_mf" : 'X\(//\)$' \| \
8355 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
8356 $as_echo X/"$am_mf" |
8357 sed '/^.*\/\([^/][^/]*\)\/*$/{
8370 { echo "$as_me:$LINENO: cd "$am_dirpart" \
8371 && sed -e '/# am--include-marker/d' "$am_filepart" \
8372 | $MAKE -f - am--depfiles" >&5
8374 && sed -e '/# am--include-marker/d' "$am_filepart" \
8375 |
$MAKE -f - am--depfiles
) >&5 2>&5
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 (exit $ac_status); } || am_rc
=$?
8380 if test $am_rc -ne 0; then
8381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8383 as_fn_error $?
"Something went wrong bootstrapping makefile fragments
8384 for automatic dependency tracking. Try re-running configure with the
8385 '--disable-dependency-tracking' option to at least be able to build
8386 the package (albeit without support for automatic dependency tracking).
8387 See \`config.log' for more details" "$LINENO" 5; }
8389 { am_dirpart
=; unset am_dirpart
;}
8390 { am_filepart
=; unset am_filepart
;}
8391 { am_mf
=; unset am_mf
;}
8392 { am_rc
=; unset am_rc
;}
8393 rm -f conftest-deps.mk
8403 ac_clean_files
=$ac_clean_files_save
8405 test $ac_write_fail = 0 ||
8406 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8409 # configure is writing to config.log, and then calls config.status.
8410 # config.status does its own redirection, appending to config.log.
8411 # Unfortunately, on DOS this fails, as config.log is still kept open
8412 # by configure, so config.status won't be able to write to it; its
8413 # output is simply discarded. So we exec the FD to /dev/null,
8414 # effectively closing config.log, so it can be properly (re)opened and
8415 # appended to by config.status. When coming back to configure, we
8416 # need to make the FD available again.
8417 if test "$no_create" != yes; then
8419 ac_config_status_args
=
8420 test "$silent" = yes &&
8421 ac_config_status_args
="$ac_config_status_args --quiet"
8423 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8425 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8426 # would make configure fail if this is the last instruction.
8427 $ac_cs_success || as_fn_exit
1
8429 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8431 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: Running qmake to generate the makefile..." >&5
8437 $as_echo "$as_me: Running qmake to generate the makefile..." >&6;}
8438 TOPDIR
="$(cd "$
(dirname "$0")" && pwd)"
8439 $QT_QMAKE -r "$TOPDIR/qbittorrent.pro" "QMAKE_LRELEASE=$QMAKE_LRELEASE"
8443 if test "x$qmake_ret" != "x0"; then :
8444 as_fn_error $?
"$QT_QMAKE failed to generate the makefile" "$LINENO" 5
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: Good, the configure finished." >&5
8448 $as_echo "$as_me: Good, the configure finished." >&6;}