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
640 INSTALL_STRIP_PROGRAM
702 program_transform_name
715 enable_option_checking
716 enable_dependency_tracking
718 with_qtsingleapplication
729 ac_precious_vars
='build_alias
752 # Initialize some variables set by options.
754 ac_init_version
=false
755 ac_unrecognized_opts
=
757 # The variables have the same names as the options, with
758 # dashes changed to underlines.
766 program_transform_name
=s
,x
,x
,
774 # Installation directory options.
775 # These are left unexpanded so users can "make install exec_prefix=/foo"
776 # and all the variables that are supposed to be based on exec_prefix
777 # by default will actually change.
778 # Use braces instead of parens because sh, perl, etc. also accept them.
779 # (The list follows the same order as the GNU Coding Standards.)
780 bindir
='${exec_prefix}/bin'
781 sbindir
='${exec_prefix}/sbin'
782 libexecdir
='${exec_prefix}/libexec'
783 datarootdir
='${prefix}/share'
784 datadir
='${datarootdir}'
785 sysconfdir
='${prefix}/etc'
786 sharedstatedir
='${prefix}/com'
787 localstatedir
='${prefix}/var'
788 runstatedir
='${localstatedir}/run'
789 includedir
='${prefix}/include'
790 oldincludedir
='/usr/include'
791 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
792 infodir
='${datarootdir}/info'
797 libdir
='${exec_prefix}/lib'
798 localedir
='${datarootdir}/locale'
799 mandir
='${datarootdir}/man'
805 # If the previous option needs an argument, assign it.
806 if test -n "$ac_prev"; then
807 eval $ac_prev=\
$ac_option
813 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
818 # Accept the important Cygnus configure options, so we can diagnose typos.
820 case $ac_dashdash$ac_option in
824 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
826 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
829 -build |
--build |
--buil |
--bui |
--bu)
830 ac_prev
=build_alias
;;
831 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
832 build_alias
=$ac_optarg ;;
834 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
835 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
836 ac_prev
=cache_file
;;
837 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
838 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
839 cache_file
=$ac_optarg ;;
842 cache_file
=config.cache
;;
844 -datadir |
--datadir |
--datadi |
--datad)
846 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
847 datadir
=$ac_optarg ;;
849 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
850 |
--dataroo |
--dataro |
--datar)
851 ac_prev
=datarootdir
;;
852 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
853 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
854 datarootdir
=$ac_optarg ;;
856 -disable-* |
--disable-*)
857 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
858 # Reject names that are not valid shell variable names.
859 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
860 as_fn_error $?
"invalid feature name: $ac_useropt"
861 ac_useropt_orig
=$ac_useropt
862 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
863 case $ac_user_opts in
867 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
868 ac_unrecognized_sep
=', ';;
870 eval enable_
$ac_useropt=no
;;
872 -docdir |
--docdir |
--docdi |
--doc |
--do)
874 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
877 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
879 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
882 -enable-* |
--enable-*)
883 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
886 as_fn_error $?
"invalid feature name: $ac_useropt"
887 ac_useropt_orig
=$ac_useropt
888 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
893 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
894 ac_unrecognized_sep
=', ';;
896 eval enable_
$ac_useropt=\
$ac_optarg ;;
898 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
899 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
900 |
--exec |
--exe |
--ex)
901 ac_prev
=exec_prefix
;;
902 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
903 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
904 |
--exec=* |
--exe=* |
--ex=*)
905 exec_prefix
=$ac_optarg ;;
907 -gas |
--gas |
--ga |
--g)
908 # Obsolete; use --with-gas.
911 -help |
--help |
--hel |
--he |
-h)
913 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
914 ac_init_help
=recursive
;;
915 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
916 ac_init_help
=short
;;
918 -host |
--host |
--hos |
--ho)
919 ac_prev
=host_alias
;;
920 -host=* |
--host=* |
--hos=* |
--ho=*)
921 host_alias
=$ac_optarg ;;
923 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
925 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
927 htmldir
=$ac_optarg ;;
929 -includedir |
--includedir |
--includedi |
--included |
--include \
930 |
--includ |
--inclu |
--incl |
--inc)
931 ac_prev
=includedir
;;
932 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
933 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
934 includedir
=$ac_optarg ;;
936 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
938 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
939 infodir
=$ac_optarg ;;
941 -libdir |
--libdir |
--libdi |
--libd)
943 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
946 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
947 |
--libexe |
--libex |
--libe)
948 ac_prev
=libexecdir
;;
949 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
950 |
--libexe=* |
--libex=* |
--libe=*)
951 libexecdir
=$ac_optarg ;;
953 -localedir |
--localedir |
--localedi |
--localed |
--locale)
955 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
956 localedir
=$ac_optarg ;;
958 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
959 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
960 ac_prev
=localstatedir
;;
961 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
962 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
963 localstatedir
=$ac_optarg ;;
965 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
967 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
971 # Obsolete; use --without-fp.
974 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
975 |
--no-cr |
--no-c |
-n)
978 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
979 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
982 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
983 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
984 |
--oldin |
--oldi |
--old |
--ol |
--o)
985 ac_prev
=oldincludedir
;;
986 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
987 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
988 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
989 oldincludedir
=$ac_optarg ;;
991 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
993 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
996 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
997 |
--program-pre |
--program-pr |
--program-p)
998 ac_prev
=program_prefix
;;
999 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1000 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1001 program_prefix
=$ac_optarg ;;
1003 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1004 |
--program-suf |
--program-su |
--program-s)
1005 ac_prev
=program_suffix
;;
1006 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1007 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1008 program_suffix
=$ac_optarg ;;
1010 -program-transform-name |
--program-transform-name \
1011 |
--program-transform-nam |
--program-transform-na \
1012 |
--program-transform-n |
--program-transform- \
1013 |
--program-transform |
--program-transfor \
1014 |
--program-transfo |
--program-transf \
1015 |
--program-trans |
--program-tran \
1016 |
--progr-tra |
--program-tr |
--program-t)
1017 ac_prev
=program_transform_name
;;
1018 -program-transform-name=* |
--program-transform-name=* \
1019 |
--program-transform-nam=* |
--program-transform-na=* \
1020 |
--program-transform-n=* |
--program-transform-=* \
1021 |
--program-transform=* |
--program-transfor=* \
1022 |
--program-transfo=* |
--program-transf=* \
1023 |
--program-trans=* |
--program-tran=* \
1024 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1025 program_transform_name
=$ac_optarg ;;
1027 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1029 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1030 pdfdir
=$ac_optarg ;;
1032 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1034 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1037 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1038 |
-silent |
--silent |
--silen |
--sile |
--sil)
1041 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1042 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1043 |
--run |
--ru |
--r)
1044 ac_prev
=runstatedir
;;
1045 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1046 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1047 |
--run=* |
--ru=* |
--r=*)
1048 runstatedir
=$ac_optarg ;;
1050 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1052 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1054 sbindir
=$ac_optarg ;;
1056 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1057 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1058 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1060 ac_prev
=sharedstatedir
;;
1061 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1062 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1063 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1065 sharedstatedir
=$ac_optarg ;;
1067 -site |
--site |
--sit)
1069 -site=* |
--site=* |
--sit=*)
1072 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1074 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1075 srcdir
=$ac_optarg ;;
1077 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1078 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1079 ac_prev
=sysconfdir
;;
1080 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1081 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1082 sysconfdir
=$ac_optarg ;;
1084 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1085 ac_prev
=target_alias
;;
1086 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1087 target_alias
=$ac_optarg ;;
1089 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1092 -version |
--version |
--versio |
--versi |
--vers |
-V)
1093 ac_init_version
=: ;;
1096 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1099 as_fn_error $?
"invalid package name: $ac_useropt"
1100 ac_useropt_orig
=$ac_useropt
1101 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1106 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107 ac_unrecognized_sep
=', ';;
1109 eval with_
$ac_useropt=\
$ac_optarg ;;
1111 -without-* |
--without-*)
1112 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1115 as_fn_error $?
"invalid package name: $ac_useropt"
1116 ac_useropt_orig
=$ac_useropt
1117 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1122 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123 ac_unrecognized_sep
=', ';;
1125 eval with_
$ac_useropt=no
;;
1128 # Obsolete; use --with-x.
1131 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1132 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1133 ac_prev
=x_includes
;;
1134 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1135 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1136 x_includes
=$ac_optarg ;;
1138 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1139 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1140 ac_prev
=x_libraries
;;
1141 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1142 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1143 x_libraries
=$ac_optarg ;;
1145 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information"
1150 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 case $ac_envvar in #(
1153 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1154 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1156 eval $ac_envvar=\
$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1163 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1170 if test -n "$ac_prev"; then
1171 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1172 as_fn_error $?
"missing argument to $ac_option"
1175 if test -n "$ac_unrecognized_opts"; then
1176 case $enable_option_checking in
1178 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1179 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183 # Check all directory arguments for consistency.
1184 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185 datadir sysconfdir sharedstatedir localstatedir includedir \
1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187 libdir localedir mandir runstatedir
1189 eval ac_val
=\$
$ac_var
1190 # Remove trailing slashes.
1193 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194 eval $ac_var=\
$ac_val;;
1196 # Be sure to have absolute directory names.
1198 [\\/$
]* | ?
:[\\/]* ) continue;;
1199 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1201 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1209 target
=$target_alias
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x
; then
1213 if test "x$build_alias" = x
; then
1214 cross_compiling
=maybe
1215 elif test "x$build_alias" != "x$host_alias"; then
1221 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1223 test "$silent" = yes && exec 6>/dev
/null
1226 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1227 ac_ls_di
=`ls -di .` &&
1228 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1229 as_fn_error $?
"working directory cannot be determined"
1230 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1231 as_fn_error $?
"pwd does not report name of working directory"
1234 # Find the source files, if location was not specified.
1235 if test -z "$srcdir"; then
1236 ac_srcdir_defaulted
=yes
1237 # Try the directory containing this script, then the parent directory.
1238 ac_confdir
=`$as_dirname -- "$as_myself" ||
1239 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1240 X"$as_myself" : 'X\(//\)[^/]' \| \
1241 X"$as_myself" : 'X\(//\)$' \| \
1242 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1243 $as_echo X"$as_myself" |
1244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1266 ac_srcdir_defaulted
=no
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1269 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1270 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1272 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1274 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1276 # When building in place, set srcdir=.
1277 if test "$ac_abs_confdir" = "$ac_pwd"; then
1280 # Remove unnecessary trailing slashes from srcdir.
1281 # Double slashes in file names in object file debugging info
1282 # mess up M-x gdb in Emacs.
1284 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1286 for ac_var
in $ac_precious_vars; do
1287 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1288 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1289 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1290 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1294 # Report the --help message.
1296 if test "$ac_init_help" = "long"; then
1297 # Omit some internal or obsolete options to make the list less imposing.
1298 # This message is too long to be a string in the A/UX 3.1 sh.
1300 \`configure' configures qbittorrent v4.2.0alpha to adapt to many kinds of systems.
1302 Usage: $0 [OPTION]... [VAR=VALUE]...
1304 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1305 VAR=VALUE. See below for descriptions of some of the useful variables.
1307 Defaults for the options are specified in brackets.
1310 -h, --help display this help and exit
1311 --help=short display options specific to this package
1312 --help=recursive display the short help of all the included packages
1313 -V, --version display version information and exit
1314 -q, --quiet, --silent do not print \`checking ...' messages
1315 --cache-file=FILE cache test results in FILE [disabled]
1316 -C, --config-cache alias for \`--cache-file=config.cache'
1317 -n, --no-create do not create output files
1318 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1320 Installation directories:
1321 --prefix=PREFIX install architecture-independent files in PREFIX
1322 [$ac_default_prefix]
1323 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1326 By default, \`make install' will install all the files in
1327 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1328 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1329 for instance \`--prefix=\$HOME'.
1331 For better control, use the options below.
1333 Fine tuning of the installation directories:
1334 --bindir=DIR user executables [EPREFIX/bin]
1335 --sbindir=DIR system admin executables [EPREFIX/sbin]
1336 --libexecdir=DIR program executables [EPREFIX/libexec]
1337 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1338 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1339 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1340 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1341 --libdir=DIR object code libraries [EPREFIX/lib]
1342 --includedir=DIR C header files [PREFIX/include]
1343 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1344 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1345 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1346 --infodir=DIR info documentation [DATAROOTDIR/info]
1347 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1348 --mandir=DIR man documentation [DATAROOTDIR/man]
1349 --docdir=DIR documentation root [DATAROOTDIR/doc/qbittorrent]
1350 --htmldir=DIR html documentation [DOCDIR]
1351 --dvidir=DIR dvi documentation [DOCDIR]
1352 --pdfdir=DIR pdf documentation [DOCDIR]
1353 --psdir=DIR ps documentation [DOCDIR]
1359 --program-prefix=PREFIX prepend PREFIX to installed program names
1360 --program-suffix=SUFFIX append SUFFIX to installed program names
1361 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1364 --build=BUILD configure
for building on BUILD
[guessed
]
1365 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1369 if test -n "$ac_init_help"; then
1370 case $ac_init_help in
1371 short | recursive
) echo "Configuration of qbittorrent v4.2.0alpha:";;
1376 --disable-option-checking ignore unrecognized
--enable/--with options
1377 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1378 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1379 --enable-dependency-tracking
1380 do not reject slow dependency extractors
1381 --disable-dependency-tracking
1382 speeds up one-time build
1383 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1384 --disable-silent-rules verbose build output
(undo
: "make V=0")
1385 --enable-debug Enable debug build
1386 --enable-stacktrace Enable stacktrace feature
(default
=auto
)
1387 --disable-gui Disable the GUI
for headless running. Disables
1388 QtDBus and the GeoIP Database.
1389 --enable-systemd Install the systemd service
file (headless only
).
1390 --disable-webui Disable the WebUI.
1391 --disable-qt-dbus Disable use of QtDBus
(GUI only
)
1394 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1395 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1396 --with-qtsingleapplication=[system|shipped
]
1397 Use the shipped qtsingleapplication library or the
1398 system one
(default
=shipped
)
1399 --with-boost[=ARG
] use Boost library from a standard location
1400 (ARG
=yes), from the specified location
(ARG
=<path
>),
1401 or disable it
(ARG
=no
) [ARG
=yes]
1402 --with-boost-libdir=LIB_DIR
1403 Force given directory
for boost libraries. Note that
1404 this will override library path detection
, so use
1405 this parameter only
if default library detection
1406 fails and you know exactly where your boost
1407 libraries are located.
1408 --with-boost-system[=special-lib
]
1409 use the System library from boost
- it is possible
1410 to specify a certain library
for the linker e.g.
1411 --with-boost-system=boost_system-gcc-mt
1413 Some influential environment variables
:
1414 CC C compiler
command
1415 CFLAGS C compiler flags
1416 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1417 nonstandard directory
<lib dir
>
1418 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1419 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1420 you have headers
in a nonstandard directory
<include dir
>
1421 CXX C
++ compiler
command
1422 CXXFLAGS C
++ compiler flags
1423 PKG_CONFIG path to pkg-config utility
1425 directories to add to pkg-config
's search path
1427 path overriding pkg-config's built-in search path
1428 QT_QMAKE value of host_bins
for Qt5Core
>= 5.5.1, overriding pkg-config
1430 C compiler flags
for Qt5Svg
, overriding pkg-config
1431 Qt5Svg_LIBS linker flags
for Qt5Svg
, overriding pkg-config
1433 C compiler flags
for libtorrent
, overriding pkg-config
1435 linker flags
for libtorrent
, overriding pkg-config
1436 zlib_CFLAGS C compiler flags
for zlib
, overriding pkg-config
1437 zlib_LIBS linker flags
for zlib
, overriding pkg-config
1439 Use these variables to override the choices made by
`configure' or to help
1440 it to find libraries and programs with nonstandard names/locations.
1442 Report bugs to <bugs.qbittorrent.org>.
1443 qbittorrent home page: <https://www.qbittorrent.org/>.
1448 if test "$ac_init_help" = "recursive"; then
1449 # If there are subdirs, report their specific --help.
1450 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1451 test -d "$ac_dir" ||
1452 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1457 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1460 # A ".." for each directory in $ac_dir_suffix.
1461 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1462 case $ac_top_builddir_sub in
1463 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1464 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1467 ac_abs_top_builddir=$ac_pwd
1468 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1469 # for backward compatibility:
1470 ac_top_builddir=$ac_top_build_prefix
1473 .) # We are building in place.
1475 ac_top_srcdir=$ac_top_builddir_sub
1476 ac_abs_top_srcdir=$ac_pwd ;;
1477 [\\/]* | ?:[\\/]* ) # Absolute name.
1478 ac_srcdir=$srcdir$ac_dir_suffix;
1479 ac_top_srcdir=$srcdir
1480 ac_abs_top_srcdir=$srcdir ;;
1482 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1483 ac_top_srcdir=$ac_top_build_prefix$srcdir
1484 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1486 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1488 cd "$ac_dir" || { ac_status=$?; continue; }
1489 # Check for guested configure.
1490 if test -f "$ac_srcdir/configure.gnu"; then
1492 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1493 elif test -f "$ac_srcdir/configure"; then
1495 $SHELL "$ac_srcdir/configure" --help=recursive
1497 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1499 cd "$ac_pwd" || { ac_status=$?; break; }
1503 test -n "$ac_init_help" && exit $ac_status
1504 if $ac_init_version; then
1506 qbittorrent configure v4.2.0alpha
1507 generated by GNU Autoconf 2.69
1509 Copyright (C) 2012 Free Software Foundation, Inc.
1510 This configure script is free software; the Free Software Foundation
1511 gives unlimited permission to copy, distribute and modify it.
1516 ## ------------------------ ##
1517 ## Autoconf initialization. ##
1518 ## ------------------------ ##
1520 # ac_fn_c_try_compile LINENO
1521 # --------------------------
1522 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1523 ac_fn_c_try_compile ()
1525 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1526 rm -f conftest.$ac_objext
1527 if { { ac_try="$ac_compile"
1529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1530 *) ac_try_echo
=$ac_try;;
1532 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533 $as_echo "$ac_try_echo"; } >&5
1534 (eval "$ac_compile") 2>conftest.err
1536 if test -s conftest.err
; then
1537 grep -v '^ *+' conftest.err
>conftest.er1
1538 cat conftest.er1
>&5
1539 mv -f conftest.er1 conftest.err
1541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542 test $ac_status = 0; } && {
1543 test -z "$ac_c_werror_flag" ||
1544 test ! -s conftest.err
1545 } && test -s conftest.
$ac_objext; then :
1548 $as_echo "$as_me: failed program was:" >&5
1549 sed 's/^/| /' conftest.
$ac_ext >&5
1553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1554 as_fn_set_status
$ac_retval
1556 } # ac_fn_c_try_compile
1558 # ac_fn_cxx_try_compile LINENO
1559 # ----------------------------
1560 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1561 ac_fn_cxx_try_compile
()
1563 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1564 rm -f conftest.
$ac_objext
1565 if { { ac_try
="$ac_compile"
1567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1568 *) ac_try_echo=$ac_try;;
1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572 (eval "$ac_compile") 2>conftest.err
1574 if test -s conftest.err; then
1575 grep -v '^ *+' conftest.err >conftest.er1
1576 cat conftest.er1 >&5
1577 mv -f conftest.er1 conftest.err
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; } && {
1581 test -z "$ac_cxx_werror_flag" ||
1582 test ! -s conftest.err
1583 } && test -s conftest.$ac_objext; then :
1586 $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.$ac_ext >&5
1591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592 as_fn_set_status $ac_retval
1594 } # ac_fn_cxx_try_compile
1596 # ac_fn_cxx_try_link LINENO
1597 # -------------------------
1598 # Try to link conftest.$ac_ext, and return whether this succeeded.
1599 ac_fn_cxx_try_link ()
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 rm -f conftest.$ac_objext conftest$ac_exeext
1603 if { { ac_try="$ac_link"
1605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1606 *) ac_try_echo
=$ac_try;;
1608 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609 $as_echo "$ac_try_echo"; } >&5
1610 (eval "$ac_link") 2>conftest.err
1612 if test -s conftest.err
; then
1613 grep -v '^ *+' conftest.err
>conftest.er1
1614 cat conftest.er1
>&5
1615 mv -f conftest.er1 conftest.err
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } && {
1619 test -z "$ac_cxx_werror_flag" ||
1620 test ! -s conftest.err
1621 } && test -s conftest
$ac_exeext && {
1622 test "$cross_compiling" = yes ||
1623 test -x conftest
$ac_exeext
1627 $as_echo "$as_me: failed program was:" >&5
1628 sed 's/^/| /' conftest.
$ac_ext >&5
1632 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1633 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1634 # interfere with the next link command; also delete a directory that is
1635 # left behind by Apple's compiler. We do this before executing the actions.
1636 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638 as_fn_set_status
$ac_retval
1640 } # ac_fn_cxx_try_link
1641 cat >config.log
<<_ACEOF
1642 This file contains any messages produced by compilers while
1643 running configure, to aid debugging if configure makes a mistake.
1645 It was created by qbittorrent $as_me v4.2.0alpha, which was
1646 generated by GNU Autoconf 2.69. Invocation command line was
1658 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1659 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1660 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1661 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1662 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1664 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1665 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1667 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1668 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1669 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1670 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1671 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1672 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1673 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1681 test -z "$as_dir" && as_dir
=.
1682 $as_echo "PATH: $as_dir"
1698 # Keep a trace of the command line.
1699 # Strip out --no-create and --no-recursion so they do not pile up.
1700 # Strip out --silent because we don't want to record it for future runs.
1701 # Also quote any args containing shell meta-characters.
1702 # Make two passes to allow for proper duplicate-argument suppression.
1706 ac_must_keep_next
=false
1712 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1713 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1714 |
-silent |
--silent |
--silen |
--sile |
--sil)
1717 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1720 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1722 as_fn_append ac_configure_args1
" '$ac_arg'"
1723 if test $ac_must_keep_next = true
; then
1724 ac_must_keep_next
=false
# Got value, back to normal.
1727 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1728 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1729 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1730 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1731 case "$ac_configure_args0 " in
1732 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1735 -* ) ac_must_keep_next
=true
;;
1738 as_fn_append ac_configure_args
" '$ac_arg'"
1743 { ac_configure_args0
=; unset ac_configure_args0
;}
1744 { ac_configure_args1
=; unset ac_configure_args1
;}
1746 # When interrupted or exit'd, cleanup temporary files, and complete
1747 # config.log. We remove comments because anyway the quotes in there
1748 # would cause problems or look ugly.
1749 # WARNING: Use '\'' to represent an apostrophe within the trap.
1750 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1751 trap 'exit_status=$?
1752 # Save into config.log some information that might help in debugging.
1756 $as_echo "## ---------------- ##
1757 ## Cache variables. ##
1758 ## ---------------- ##"
1760 # The following way of writing the cache mishandles newlines in values,
1762 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1763 eval ac_val=\$$ac_var
1767 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1768 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1771 _ | IFS | as_nl) ;; #(
1772 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1773 *) { eval $ac_var=; unset $ac_var;} ;;
1778 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1779 *${as_nl}ac_space=\ *)
1781 "s/'\''/'\''\\\\'\'''\''/g;
1782 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1785 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1792 $as_echo "## ----------------- ##
1793 ## Output variables. ##
1794 ## ----------------- ##"
1796 for ac_var in $ac_subst_vars
1798 eval ac_val=\$$ac_var
1800 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1802 $as_echo "$ac_var='\''$ac_val'\''"
1806 if test -n "$ac_subst_files"; then
1807 $as_echo "## ------------------- ##
1808 ## File substitutions. ##
1809 ## ------------------- ##"
1811 for ac_var
in $ac_subst_files
1813 eval ac_val
=\$
$ac_var
1815 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1817 $as_echo "$ac_var='\''$ac_val'\''"
1822 if test -s confdefs.h; then
1823 $as_echo "## ----------- ##
1830 test "$ac_signal" != 0 &&
1831 $as_echo "$as_me: caught signal $ac_signal"
1832 $as_echo "$as_me: exit $exit_status"
1834 rm -f core *.core core.conftest.* &&
1835 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1838 for ac_signal
in 1 2 13 15; do
1839 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1843 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1844 rm -f -r conftest
* confdefs.h
1846 $as_echo "/* confdefs.h */" > confdefs.h
1848 # Predefined preprocessor variables.
1850 cat >>confdefs.h
<<_ACEOF
1851 #define PACKAGE_NAME "$PACKAGE_NAME"
1854 cat >>confdefs.h
<<_ACEOF
1855 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1858 cat >>confdefs.h
<<_ACEOF
1859 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1862 cat >>confdefs.h
<<_ACEOF
1863 #define PACKAGE_STRING "$PACKAGE_STRING"
1866 cat >>confdefs.h
<<_ACEOF
1867 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1870 cat >>confdefs.h
<<_ACEOF
1871 #define PACKAGE_URL "$PACKAGE_URL"
1875 # Let the site file select an alternate cache file if it wants to.
1876 # Prefer an explicitly selected file to automatically selected ones.
1879 if test -n "$CONFIG_SITE"; then
1880 # We do not want a PATH search for config.site.
1881 case $CONFIG_SITE in #((
1882 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1883 */*) ac_site_file1
=$CONFIG_SITE;;
1884 *) ac_site_file1
=.
/$CONFIG_SITE;;
1886 elif test "x$prefix" != xNONE
; then
1887 ac_site_file1
=$prefix/share
/config.site
1888 ac_site_file2
=$prefix/etc
/config.site
1890 ac_site_file1
=$ac_default_prefix/share
/config.site
1891 ac_site_file2
=$ac_default_prefix/etc
/config.site
1893 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1895 test "x$ac_site_file" = xNONE
&& continue
1896 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1898 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1899 sed 's/^/| /' "$ac_site_file" >&5
1901 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1903 as_fn_error $?
"failed to load site script $ac_site_file
1904 See \`config.log' for more details" "$LINENO" 5; }
1908 if test -r "$cache_file"; then
1909 # Some versions of bash will fail to source /dev/null (special files
1910 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1911 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1913 $as_echo "$as_me: loading cache $cache_file" >&6;}
1915 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1916 *) .
"./$cache_file";;
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1921 $as_echo "$as_me: creating cache $cache_file" >&6;}
1925 # Check that the precious variables saved in the cache have kept the same
1927 ac_cache_corrupted
=false
1928 for ac_var
in $ac_precious_vars; do
1929 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1930 eval ac_new_set
=\
$ac_env_${ac_var}_set
1931 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1932 eval ac_new_val
=\
$ac_env_${ac_var}_value
1933 case $ac_old_set,$ac_new_set in
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1936 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1937 ac_cache_corrupted
=: ;;
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1940 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1941 ac_cache_corrupted
=: ;;
1944 if test "x$ac_old_val" != "x$ac_new_val"; then
1945 # differences in whitespace do not lead to failure.
1946 ac_old_val_w
=`echo x $ac_old_val`
1947 ac_new_val_w
=`echo x $ac_new_val`
1948 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1950 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1951 ac_cache_corrupted
=:
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1954 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1955 eval $ac_var=\
$ac_old_val
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1958 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1960 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1963 # Pass precious variables to config.status.
1964 if test "$ac_new_set" = set; then
1966 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1967 *) ac_arg
=$ac_var=$ac_new_val ;;
1969 case " $ac_configure_args " in
1970 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1971 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1975 if $ac_cache_corrupted; then
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1979 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1980 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1982 ## -------------------- ##
1983 ## Main body of script. ##
1984 ## -------------------- ##
1987 ac_cpp
='$CPP $CPPFLAGS'
1988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1994 for ac_dir
in build-aux
"$srcdir"/build-aux
; do
1995 if test -f "$ac_dir/install-sh"; then
1997 ac_install_sh
="$ac_aux_dir/install-sh -c"
1999 elif test -f "$ac_dir/install.sh"; then
2001 ac_install_sh
="$ac_aux_dir/install.sh -c"
2003 elif test -f "$ac_dir/shtool"; then
2005 ac_install_sh
="$ac_aux_dir/shtool install -c"
2009 if test -z "$ac_aux_dir"; then
2010 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2013 # These three variables are undocumented and unsupported,
2014 # and are intended to be withdrawn in a future Autoconf release.
2015 # They can cause serious problems if a builder's source tree is in a directory
2016 # whose full name contains unusual characters.
2017 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2018 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2019 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2024 ac_cpp
='$CPP $CPPFLAGS'
2025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2028 if test -n "$ac_tool_prefix"; then
2029 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2030 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2032 $as_echo_n "checking for $ac_word... " >&6; }
2033 if ${ac_cv_prog_CC+:} false
; then :
2034 $as_echo_n "(cached) " >&6
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC
="$CC" # Let the user override the test.
2039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2043 test -z "$as_dir" && as_dir
=.
2044 for ac_exec_ext
in '' $ac_executable_extensions; do
2045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2046 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 if test -n "$CC"; then
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2059 $as_echo "$CC" >&6; }
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2062 $as_echo "no" >&6; }
2067 if test -z "$ac_cv_prog_CC"; then
2069 # Extract the first word of "gcc", so it can be a program name with args.
2070 set dummy gcc
; ac_word
=$2
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2072 $as_echo_n "checking for $ac_word... " >&6; }
2073 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2074 $as_echo_n "(cached) " >&6
2076 if test -n "$ac_ct_CC"; then
2077 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2083 test -z "$as_dir" && as_dir
=.
2084 for ac_exec_ext
in '' $ac_executable_extensions; do
2085 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2086 ac_cv_prog_ac_ct_CC
="gcc"
2087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2096 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2097 if test -n "$ac_ct_CC"; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2099 $as_echo "$ac_ct_CC" >&6; }
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2102 $as_echo "no" >&6; }
2105 if test "x$ac_ct_CC" = x
; then
2108 case $cross_compiling:$ac_tool_warned in
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2112 ac_tool_warned
=yes ;;
2120 if test -z "$CC"; then
2121 if test -n "$ac_tool_prefix"; then
2122 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2123 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2125 $as_echo_n "checking for $ac_word... " >&6; }
2126 if ${ac_cv_prog_CC+:} false
; then :
2127 $as_echo_n "(cached) " >&6
2129 if test -n "$CC"; then
2130 ac_cv_prog_CC
="$CC" # Let the user override the test.
2132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2136 test -z "$as_dir" && as_dir
=.
2137 for ac_exec_ext
in '' $ac_executable_extensions; do
2138 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2139 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2150 if test -n "$CC"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2152 $as_echo "$CC" >&6; }
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2155 $as_echo "no" >&6; }
2161 if test -z "$CC"; then
2162 # Extract the first word of "cc", so it can be a program name with args.
2163 set dummy cc
; ac_word
=$2
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2165 $as_echo_n "checking for $ac_word... " >&6; }
2166 if ${ac_cv_prog_CC+:} false
; then :
2167 $as_echo_n "(cached) " >&6
2169 if test -n "$CC"; then
2170 ac_cv_prog_CC
="$CC" # Let the user override the test.
2173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2177 test -z "$as_dir" && as_dir
=.
2178 for ac_exec_ext
in '' $ac_executable_extensions; do
2179 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2180 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2181 ac_prog_rejected
=yes
2185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 if test $ac_prog_rejected = yes; then
2193 # We found a bogon in the path, so make sure we never use it.
2194 set dummy
$ac_cv_prog_CC
2196 if test $# != 0; then
2197 # We chose a different compiler from the bogus one.
2198 # However, it has the same basename, so the bogon will be chosen
2199 # first if we set CC to just the basename; use the full file name.
2201 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2207 if test -n "$CC"; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2209 $as_echo "$CC" >&6; }
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2212 $as_echo "no" >&6; }
2217 if test -z "$CC"; then
2218 if test -n "$ac_tool_prefix"; then
2219 for ac_prog
in cl.exe
2221 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2222 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2224 $as_echo_n "checking for $ac_word... " >&6; }
2225 if ${ac_cv_prog_CC+:} false
; then :
2226 $as_echo_n "(cached) " >&6
2228 if test -n "$CC"; then
2229 ac_cv_prog_CC
="$CC" # Let the user override the test.
2231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2235 test -z "$as_dir" && as_dir
=.
2236 for ac_exec_ext
in '' $ac_executable_extensions; do
2237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2238 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2249 if test -n "$CC"; then
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2251 $as_echo "$CC" >&6; }
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2254 $as_echo "no" >&6; }
2258 test -n "$CC" && break
2261 if test -z "$CC"; then
2263 for ac_prog
in cl.exe
2265 # Extract the first word of "$ac_prog", so it can be a program name with args.
2266 set dummy
$ac_prog; ac_word
=$2
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2268 $as_echo_n "checking for $ac_word... " >&6; }
2269 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2270 $as_echo_n "(cached) " >&6
2272 if test -n "$ac_ct_CC"; then
2273 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2279 test -z "$as_dir" && as_dir
=.
2280 for ac_exec_ext
in '' $ac_executable_extensions; do
2281 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2282 ac_cv_prog_ac_ct_CC
="$ac_prog"
2283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2292 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2293 if test -n "$ac_ct_CC"; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2295 $as_echo "$ac_ct_CC" >&6; }
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2298 $as_echo "no" >&6; }
2302 test -n "$ac_ct_CC" && break
2305 if test "x$ac_ct_CC" = x
; then
2308 case $cross_compiling:$ac_tool_warned in
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2312 ac_tool_warned
=yes ;;
2321 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2323 as_fn_error $?
"no acceptable C compiler found in \$PATH
2324 See \`config.log' for more details" "$LINENO" 5; }
2326 # Provide some information about the compiler.
2327 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2330 for ac_option
in --version -v -V -qversion; do
2331 { { ac_try
="$ac_compiler $ac_option >&5"
2333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2334 *) ac_try_echo=$ac_try;;
2336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2337 $as_echo "$ac_try_echo"; } >&5
2338 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2340 if test -s conftest.err; then
2342 ... rest of stderr output deleted ...
2343 10q' conftest.err >conftest.er1
2344 cat conftest.er1 >&5
2346 rm -f conftest.er1 conftest.err
2347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2348 test $ac_status = 0; }
2351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2352 /* end confdefs.h. */
2362 ac_clean_files_save=$ac_clean_files
2363 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2364 # Try to create an executable without -o first, disregard a.out.
2365 # It will help us diagnose broken compilers, and finding out an intuition
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2368 $as_echo_n "checking whether the C compiler works... " >&6; }
2369 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2371 # The possible output files:
2372 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2375 for ac_file in $ac_files
2378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2379 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2384 if { { ac_try="$ac_link_default"
2386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2387 *) ac_try_echo
=$ac_try;;
2389 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2390 $as_echo "$ac_try_echo"; } >&5
2391 (eval "$ac_link_default") 2>&5
2393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2394 test $ac_status = 0; }; then :
2395 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2396 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2397 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2398 # so that the user can short-circuit this test for compilers unknown to
2400 for ac_file
in $ac_files ''
2402 test -f "$ac_file" ||
continue
2404 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2407 # We found the default executable, but exeext='' is most
2411 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2413 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2415 # We set ac_cv_exeext here because the later test for it is not
2416 # safe: cross compilers may not add the suffix if given an `-o'
2417 # argument, so we may need to know it at that point already.
2418 # Even if this section looks crufty: it has the advantage of
2425 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2430 if test -z "$ac_file"; then :
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2432 $as_echo "no" >&6; }
2433 $as_echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.
$ac_ext >&5
2436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2438 as_fn_error
77 "C compiler cannot create executables
2439 See \`config.log' for more details" "$LINENO" 5; }
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2442 $as_echo "yes" >&6; }
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2445 $as_echo_n "checking for C compiler default output file name... " >&6; }
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2447 $as_echo "$ac_file" >&6; }
2448 ac_exeext
=$ac_cv_exeext
2450 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2451 ac_clean_files
=$ac_clean_files_save
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2453 $as_echo_n "checking for suffix of executables... " >&6; }
2454 if { { ac_try
="$ac_link"
2456 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2457 *) ac_try_echo=$ac_try;;
2459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2460 $as_echo "$ac_try_echo"; } >&5
2461 (eval "$ac_link") 2>&5
2463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2464 test $ac_status = 0; }; then :
2465 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2466 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2467 # work properly (i.e., refer to `conftest.exe'), while it won't with
2469 for ac_file
in conftest.exe conftest conftest.
*; do
2470 test -f "$ac_file" ||
continue
2472 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2473 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2481 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2482 See \`config.log' for more details" "$LINENO" 5; }
2484 rm -f conftest conftest
$ac_cv_exeext
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2486 $as_echo "$ac_cv_exeext" >&6; }
2488 rm -f conftest.
$ac_ext
2489 EXEEXT
=$ac_cv_exeext
2491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2492 /* end confdefs.h. */
2497 FILE *f = fopen ("conftest.out", "w");
2498 return ferror (f) || fclose (f) != 0;
2504 ac_clean_files
="$ac_clean_files conftest.out"
2505 # Check that the compiler produces executables we can run. If not, either
2506 # the compiler is broken, or we cross compile.
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2508 $as_echo_n "checking whether we are cross compiling... " >&6; }
2509 if test "$cross_compiling" != yes; then
2510 { { ac_try
="$ac_link"
2512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2516 $as_echo "$ac_try_echo"; } >&5
2517 (eval "$ac_link") 2>&5
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; }
2521 if { ac_try='./conftest$ac_cv_exeext'
2522 { { case "(($ac_try" in
2523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2524 *) ac_try_echo
=$ac_try;;
2526 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2527 $as_echo "$ac_try_echo"; } >&5
2528 (eval "$ac_try") 2>&5
2530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2531 test $ac_status = 0; }; }; then
2534 if test "$cross_compiling" = maybe
; then
2537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2539 as_fn_error $?
"cannot run C compiled programs.
2540 If you meant to cross compile, use \`--host'.
2541 See \`config.log' for more details" "$LINENO" 5; }
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2546 $as_echo "$cross_compiling" >&6; }
2548 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2549 ac_clean_files
=$ac_clean_files_save
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2551 $as_echo_n "checking for suffix of object files... " >&6; }
2552 if ${ac_cv_objext+:} false
; then :
2553 $as_echo_n "(cached) " >&6
2555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2556 /* end confdefs.h. */
2566 rm -f conftest.o conftest.obj
2567 if { { ac_try
="$ac_compile"
2569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_compile") 2>&5
2576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577 test $ac_status = 0; }; then :
2578 for ac_file in conftest.o conftest.obj conftest.*; do
2579 test -f "$ac_file" || continue;
2581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2582 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2587 $as_echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.$ac_ext >&5
2590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2592 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2593 See \
`config.log' for more details" "$LINENO" 5; }
2595 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2598 $as_echo "$ac_cv_objext" >&6; }
2599 OBJEXT=$ac_cv_objext
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2602 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2603 if ${ac_cv_c_compiler_gnu+:} false; then :
2604 $as_echo_n "(cached) " >&6
2606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2607 /* end confdefs.h. */
2620 if ac_fn_c_try_compile "$LINENO"; then :
2625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2626 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2630 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2631 if test $ac_compiler_gnu = yes; then
2636 ac_test_CFLAGS=${CFLAGS+set}
2637 ac_save_CFLAGS=$CFLAGS
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2639 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2640 if ${ac_cv_prog_cc_g+:} false; then :
2641 $as_echo_n "(cached) " >&6
2643 ac_save_c_werror_flag=$ac_c_werror_flag
2644 ac_c_werror_flag=yes
2647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2648 /* end confdefs.h. */
2658 if ac_fn_c_try_compile "$LINENO"; then :
2662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2663 /* end confdefs.h. */
2673 if ac_fn_c_try_compile "$LINENO"; then :
2676 ac_c_werror_flag=$ac_save_c_werror_flag
2678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2679 /* end confdefs.h. */
2689 if ac_fn_c_try_compile "$LINENO"; then :
2692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 ac_c_werror_flag=$ac_save_c_werror_flag
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2700 $as_echo "$ac_cv_prog_cc_g" >&6; }
2701 if test "$ac_test_CFLAGS" = set; then
2702 CFLAGS=$ac_save_CFLAGS
2703 elif test $ac_cv_prog_cc_g = yes; then
2704 if test "$GCC" = yes; then
2710 if test "$GCC" = yes; then
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2717 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2718 if ${ac_cv_prog_cc_c89+:} false; then :
2719 $as_echo_n "(cached) " >&6
2721 ac_cv_prog_cc_c89=no
2723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2728 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2729 struct buf { int x; };
2730 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2731 static char *e (p, i)
2737 static char *f (char * (*g) (char **, int), char **p, ...)
2742 s = g (p, va_arg (v,int));
2747 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2748 function prototypes and stuff, but not '\xHH' hex character constants.
2749 These don't provoke an error unfortunately, instead are silently treated
2750 as 'x'. The following induces an error, until -std is added to get
2751 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2752 array size at least. It's necessary to write '\x00'==0 to get something
2753 that's true only with -std. */
2754 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2756 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2757 inside strings and character constants. */
2759 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2761 int test (int i, double x);
2762 struct s1 {int (*f) (int a);};
2763 struct s2 {int (*f) (double a);};
2764 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2770 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2775 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2776 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2778 CC="$ac_save_CC $ac_arg"
2779 if ac_fn_c_try_compile "$LINENO"; then :
2780 ac_cv_prog_cc_c89=$ac_arg
2782 rm -f core conftest.err conftest.$ac_objext
2783 test "x$ac_cv_prog_cc_c89" != "xno" && break
2785 rm -f conftest.$ac_ext
2790 case "x$ac_cv_prog_cc_c89" in
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2793 $as_echo "none needed" >&6; } ;;
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2796 $as_echo "unsupported" >&6; } ;;
2798 CC="$CC $ac_cv_prog_cc_c89"
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2800 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2802 if test "x$ac_cv_prog_cc_c89" != xno; then :
2807 ac_cpp='$CPP $CPPFLAGS'
2808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2812 # Expand $ac_aux_dir to an absolute path.
2813 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2816 ac_cpp='$CPP $CPPFLAGS'
2817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
2821 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
2822 if ${am_cv_prog_cc_c_o+:} false; then :
2823 $as_echo_n "(cached) " >&6
2825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2826 /* end confdefs.h. */
2836 # Make sure it works both with $CC and with simple cc.
2837 # Following AC_PROG_CC_C_O, we do the test twice because some
2838 # compilers refuse to overwrite an existing .o file with -o,
2839 # though they will create one.
2840 am_cv_prog_cc_c_o=yes
2842 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
2843 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); } \
2847 && test -f conftest2.$ac_objext; then
2850 am_cv_prog_cc_c_o=no
2854 rm -f core conftest*
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
2858 $as_echo "$am_cv_prog_cc_c_o" >&6; }
2859 if test "$am_cv_prog_cc_c_o" != yes; then
2860 # Losing compiler, so override with the script.
2861 # FIXME: It is wrong to rewrite CC.
2862 # But if we don't then we get into trouble of one sort or another.
2863 # A longer-term fix would be to have automake use am__CC in this case,
2864 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
2865 CC="$am_aux_dir/compile $CC"
2868 ac_cpp='$CPP $CPPFLAGS'
2869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2875 ac_cpp='$CXXCPP $CPPFLAGS'
2876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2879 if test -z "$CXX"; then
2880 if test -n "$CCC"; then
2883 if test -n "$ac_tool_prefix"; then
2884 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2886 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2887 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2889 $as_echo_n "checking for $ac_word... " >&6; }
2890 if ${ac_cv_prog_CXX+:} false; then :
2891 $as_echo_n "(cached) " >&6
2893 if test -n "$CXX"; then
2894 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900 test -z "$as_dir" && as_dir=.
2901 for ac_exec_ext in '' $ac_executable_extensions; do
2902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2903 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2914 if test -n "$CXX"; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2916 $as_echo "$CXX" >&6; }
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2923 test -n "$CXX" && break
2926 if test -z "$CXX"; then
2928 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2930 # Extract the first word of "$ac_prog", so it can be a program name with args.
2931 set dummy $ac_prog; ac_word=$2
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933 $as_echo_n "checking for $ac_word... " >&6; }
2934 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2935 $as_echo_n "(cached) " >&6
2937 if test -n "$ac_ct_CXX"; then
2938 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir=.
2945 for ac_exec_ext in '' $ac_executable_extensions; do
2946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2947 ac_cv_prog_ac_ct_CXX="$ac_prog"
2948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2957 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2958 if test -n "$ac_ct_CXX"; then
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2960 $as_echo "$ac_ct_CXX" >&6; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2967 test -n "$ac_ct_CXX" && break
2970 if test "x$ac_ct_CXX" = x; then
2973 case $cross_compiling:$ac_tool_warned in
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2977 ac_tool_warned=yes ;;
2985 # Provide some information about the compiler.
2986 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2989 for ac_option in --version -v -V -qversion; do
2990 { { ac_try="$ac_compiler $ac_option >&5"
2992 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2993 *) ac_try_echo
=$ac_try;;
2995 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 $as_echo "$ac_try_echo"; } >&5
2997 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2999 if test -s conftest.err
; then
3001 ... rest of stderr output deleted ...
3002 10q' conftest.err
>conftest.er1
3003 cat conftest.er1
>&5
3005 rm -f conftest.er1 conftest.err
3006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007 test $ac_status = 0; }
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3011 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3012 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3013 $as_echo_n "(cached) " >&6
3015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3016 /* end confdefs.h. */
3029 if ac_fn_cxx_try_compile
"$LINENO"; then :
3034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3035 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3039 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3040 if test $ac_compiler_gnu = yes; then
3045 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3046 ac_save_CXXFLAGS
=$CXXFLAGS
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3048 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3049 if ${ac_cv_prog_cxx_g+:} false
; then :
3050 $as_echo_n "(cached) " >&6
3052 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3053 ac_cxx_werror_flag
=yes
3056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h. */
3067 if ac_fn_cxx_try_compile
"$LINENO"; then :
3068 ac_cv_prog_cxx_g
=yes
3071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3072 /* end confdefs.h. */
3082 if ac_fn_cxx_try_compile
"$LINENO"; then :
3085 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3098 if ac_fn_cxx_try_compile
"$LINENO"; then :
3099 ac_cv_prog_cxx_g
=yes
3101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3106 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3109 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3110 if test "$ac_test_CXXFLAGS" = set; then
3111 CXXFLAGS
=$ac_save_CXXFLAGS
3112 elif test $ac_cv_prog_cxx_g = yes; then
3113 if test "$GXX" = yes; then
3119 if test "$GXX" = yes; then
3126 ac_cpp
='$CPP $CPPFLAGS'
3127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3132 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3133 if ${ac_cv_path_SED+:} false
; then :
3134 $as_echo_n "(cached) " >&6
3136 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3137 for ac_i
in 1 2 3 4 5 6 7; do
3138 ac_script
="$ac_script$as_nl$ac_script"
3140 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3141 { ac_script
=; unset ac_script
;}
3142 if test -z "$SED"; then
3143 ac_path_SED_found
=false
3144 # Loop through the user's path and test for each of PROGNAME-LIST
3145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3149 test -z "$as_dir" && as_dir
=.
3150 for ac_prog
in sed gsed
; do
3151 for ac_exec_ext
in '' $ac_executable_extensions; do
3152 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3153 as_fn_executable_p
"$ac_path_SED" ||
continue
3154 # Check for GNU ac_path_SED and select it if it is found.
3155 # Check for GNU $ac_path_SED
3156 case `"$ac_path_SED" --version 2>&1` in
3158 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3161 $as_echo_n 0123456789 >"conftest.in"
3164 cat "conftest.in" "conftest.in" >"conftest.tmp"
3165 mv "conftest.tmp" "conftest.in"
3166 cp "conftest.in" "conftest.nl"
3167 $as_echo '' >> "conftest.nl"
3168 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3169 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3170 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3171 if test $ac_count -gt ${ac_path_SED_max-0}; then
3172 # Best one so far, save it but keep looking for a better one
3173 ac_cv_path_SED
="$ac_path_SED"
3174 ac_path_SED_max
=$ac_count
3176 # 10*(2^10) chars as input seems more than enough
3177 test $ac_count -gt 10 && break
3179 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3182 $ac_path_SED_found && break 3
3187 if test -z "$ac_cv_path_SED"; then
3188 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3196 $as_echo "$ac_cv_path_SED" >&6; }
3197 SED
="$ac_cv_path_SED"
3201 ac_cpp
='$CXXCPP $CPPFLAGS'
3202 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3203 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3204 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3206 # Make sure we can run config.sub.
3207 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3208 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3211 $as_echo_n "checking build system type... " >&6; }
3212 if ${ac_cv_build+:} false
; then :
3213 $as_echo_n "(cached) " >&6
3215 ac_build_alias
=$build_alias
3216 test "x$ac_build_alias" = x
&&
3217 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3218 test "x$ac_build_alias" = x
&&
3219 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3220 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3221 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3225 $as_echo "$ac_cv_build" >&6; }
3226 case $ac_cv_build in
3228 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3231 ac_save_IFS
=$IFS; IFS
='-'
3237 # Remember, the first character of IFS is used to create $*,
3238 # except with old shells:
3241 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3245 $as_echo_n "checking host system type... " >&6; }
3246 if ${ac_cv_host+:} false
; then :
3247 $as_echo_n "(cached) " >&6
3249 if test "x$host_alias" = x
; then
3250 ac_cv_host
=$ac_cv_build
3252 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3253 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3258 $as_echo "$ac_cv_host" >&6; }
3261 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3264 ac_save_IFS
=$IFS; IFS
='-'
3270 # Remember, the first character of IFS is used to create $*,
3271 # except with old shells:
3274 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3277 am__api_version
='1.15'
3279 # Find a good install program. We prefer a C program (faster),
3280 # so one script is as good as another. But avoid the broken or
3281 # incompatible versions:
3282 # SysV /etc/install, /usr/sbin/install
3283 # SunOS /usr/etc/install
3284 # IRIX /sbin/install
3286 # AmigaOS /C/install, which installs bootblocks on floppy discs
3287 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3288 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3289 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3290 # OS/2's system install, which has a completely different semantic
3291 # ./install, which can be erroneously created by make from ./install.sh.
3292 # Reject install programs that cannot install multiple files.
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3294 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3295 if test -z "$INSTALL"; then
3296 if ${ac_cv_path_install+:} false
; then :
3297 $as_echo_n "(cached) " >&6
3299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3303 test -z "$as_dir" && as_dir
=.
3304 # Account for people who put trailing slashes in PATH elements.
3305 case $as_dir/ in #((
3306 .
/ | .
// |
/[cC
]/* | \
3307 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3308 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3311 # OSF1 and SCO ODT 3.0 have their own names for install.
3312 # Don't use installbsd from OSF since it installs stuff as root
3314 for ac_prog
in ginstall scoinst
install; do
3315 for ac_exec_ext
in '' $ac_executable_extensions; do
3316 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3317 if test $ac_prog = install &&
3318 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3319 # AIX install. It has an incompatible calling convention.
3321 elif test $ac_prog = install &&
3322 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3323 # program-specific install script used by HP pwplus--don't use.
3326 rm -rf conftest.one conftest.two conftest.dir
3327 echo one
> conftest.one
3328 echo two
> conftest.two
3330 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3331 test -s conftest.one
&& test -s conftest.two
&&
3332 test -s conftest.dir
/conftest.one
&&
3333 test -s conftest.dir
/conftest.two
3335 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3348 rm -rf conftest.one conftest.two conftest.dir
3351 if test "${ac_cv_path_install+set}" = set; then
3352 INSTALL
=$ac_cv_path_install
3354 # As a last resort, use the slow shell script. Don't cache a
3355 # value for INSTALL within a source directory, because that will
3356 # break other packages using the cache if that directory is
3357 # removed, or if the value is a relative name.
3358 INSTALL
=$ac_install_sh
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3362 $as_echo "$INSTALL" >&6; }
3364 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3365 # It thinks the first close brace ends the variable substitution.
3366 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3368 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3370 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3373 $as_echo_n "checking whether build environment is sane... " >&6; }
3374 # Reject unsafe characters in $srcdir or the absolute working directory
3375 # name. Accept space and tab only in the latter.
3379 *[\\\"\
#\$\&\'\`$am_lf]*)
3380 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3383 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3384 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3387 # Do 'set' in a subshell so we don't clobber the current shell's
3388 # arguments. Must try -L first in case configure is actually a
3389 # symlink; some systems play weird games with the mod time of symlinks
3390 # (eg FreeBSD returns the mod time of the symlink's containing
3394 for am_try
in 1 2; do
3395 echo "timestamp, slept: $am_has_slept" > conftest.
file
3396 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3397 if test "$*" = "X"; then
3399 set X
`ls -t "$srcdir/configure" conftest.file`
3401 if test "$*" != "X $srcdir/configure conftest.file" \
3402 && test "$*" != "X conftest.file $srcdir/configure"; then
3404 # If neither matched, then we have a broken ls. This can happen
3405 # if, for instance, CONFIG_SHELL is bash and it inherits a
3406 # broken ls alias from the environment. This has actually
3407 # happened. Such a system could not be considered "sane".
3408 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3409 alias in your environment" "$LINENO" 5
3411 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3418 test "$2" = conftest.
file
3424 as_fn_error $?
"newly created file is older than distributed files!
3425 Check your system clock" "$LINENO" 5
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3428 $as_echo "yes" >&6; }
3429 # If we didn't sleep, we still need to ensure time stamps of config.status and
3430 # generated files are strictly newer.
3432 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3439 test "$program_prefix" != NONE
&&
3440 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3441 # Use a double $ so make ignores it.
3442 test "$program_suffix" != NONE
&&
3443 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3444 # Double any \ or $.
3445 # By default was `s,x,x', remove it if useless.
3446 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3447 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3449 if test x
"${MISSING+set}" != xset
; then
3452 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3454 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3457 # Use eval to expand $SHELL
3458 if eval "$MISSING --is-lightweight"; then
3459 am_missing_run
="$MISSING "
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3463 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3466 if test x
"${install_sh+set}" != xset
; then
3469 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3471 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3475 # Installed binaries are usually stripped using 'strip' when the user
3476 # run "make install-strip". However 'strip' might not be the right
3477 # tool to use in cross-compilation environments, therefore Automake
3478 # will honor the 'STRIP' environment variable to overrule this program.
3479 if test "$cross_compiling" != no
; then
3480 if test -n "$ac_tool_prefix"; then
3481 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3482 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484 $as_echo_n "checking for $ac_word... " >&6; }
3485 if ${ac_cv_prog_STRIP+:} false
; then :
3486 $as_echo_n "(cached) " >&6
3488 if test -n "$STRIP"; then
3489 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3495 test -z "$as_dir" && as_dir
=.
3496 for ac_exec_ext
in '' $ac_executable_extensions; do
3497 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3498 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3508 STRIP
=$ac_cv_prog_STRIP
3509 if test -n "$STRIP"; then
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3511 $as_echo "$STRIP" >&6; }
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514 $as_echo "no" >&6; }
3519 if test -z "$ac_cv_prog_STRIP"; then
3521 # Extract the first word of "strip", so it can be a program name with args.
3522 set dummy strip
; ac_word
=$2
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524 $as_echo_n "checking for $ac_word... " >&6; }
3525 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3526 $as_echo_n "(cached) " >&6
3528 if test -n "$ac_ct_STRIP"; then
3529 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3535 test -z "$as_dir" && as_dir
=.
3536 for ac_exec_ext
in '' $ac_executable_extensions; do
3537 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3538 ac_cv_prog_ac_ct_STRIP
="strip"
3539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3548 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3549 if test -n "$ac_ct_STRIP"; then
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3551 $as_echo "$ac_ct_STRIP" >&6; }
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 $as_echo "no" >&6; }
3557 if test "x$ac_ct_STRIP" = x
; then
3560 case $cross_compiling:$ac_tool_warned in
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3564 ac_tool_warned
=yes ;;
3569 STRIP
="$ac_cv_prog_STRIP"
3573 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3576 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3577 if test -z "$MKDIR_P"; then
3578 if ${ac_cv_path_mkdir+:} false
; then :
3579 $as_echo_n "(cached) " >&6
3581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3582 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3585 test -z "$as_dir" && as_dir
=.
3586 for ac_prog
in mkdir gmkdir
; do
3587 for ac_exec_ext
in '' $ac_executable_extensions; do
3588 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3589 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3590 'mkdir (GNU coreutils) '* | \
3591 'mkdir (coreutils) '* | \
3592 'mkdir (fileutils) '4.1*)
3593 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3603 test -d .
/--version && rmdir .
/--version
3604 if test "${ac_cv_path_mkdir+set}" = set; then
3605 MKDIR_P
="$ac_cv_path_mkdir -p"
3607 # As a last resort, use the slow shell script. Don't cache a
3608 # value for MKDIR_P within a source directory, because that will
3609 # break other packages using the cache if that directory is
3610 # removed, or if the value is a relative name.
3611 MKDIR_P
="$ac_install_sh -d"
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3615 $as_echo "$MKDIR_P" >&6; }
3617 for ac_prog
in gawk mawk nawk
awk
3619 # Extract the first word of "$ac_prog", so it can be a program name with args.
3620 set dummy
$ac_prog; ac_word
=$2
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3622 $as_echo_n "checking for $ac_word... " >&6; }
3623 if ${ac_cv_prog_AWK+:} false
; then :
3624 $as_echo_n "(cached) " >&6
3626 if test -n "$AWK"; then
3627 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3633 test -z "$as_dir" && as_dir
=.
3634 for ac_exec_ext
in '' $ac_executable_extensions; do
3635 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3636 ac_cv_prog_AWK
="$ac_prog"
3637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3647 if test -n "$AWK"; then
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3649 $as_echo "$AWK" >&6; }
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3652 $as_echo "no" >&6; }
3656 test -n "$AWK" && break
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3660 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3662 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3663 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3664 $as_echo_n "(cached) " >&6
3666 cat >conftest.
make <<\_ACEOF
3669 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3671 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3672 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3674 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3676 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3680 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3682 $as_echo "yes" >&6; }
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3686 $as_echo "no" >&6; }
3687 SET_MAKE
="MAKE=${MAKE-make}"
3690 rm -rf .tst
2>/dev
/null
3691 mkdir .tst
2>/dev
/null
3692 if test -d .tst
; then
3697 rmdir .tst
2>/dev
/null
3699 DEPDIR
="${am__leading_dot}deps"
3701 ac_config_commands
="$ac_config_commands depfiles"
3704 am_make
=${MAKE-make}
3705 cat > confinc
<< 'END'
3707 @
echo this is the am__doit target
3710 # If we don't find an include directive, just comment out the code.
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3712 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3716 # First try GNU make style include.
3717 echo "include confinc" > confmf
3718 # Ignore all kinds of additional output from 'make'.
3719 case `$am_make -s -f confmf 2> /dev/null` in #(
3720 *the\ am__doit\ target
*)
3726 # Now try BSD make style include.
3727 if test "$am__include" = "#"; then
3728 echo '.include "confinc"' > confmf
3729 case `$am_make -s -f confmf 2> /dev/null` in #(
3730 *the\ am__doit\ target
*)
3731 am__include
=.include
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3740 $as_echo "$_am_result" >&6; }
3741 rm -f confinc confmf
3743 # Check whether --enable-dependency-tracking was given.
3744 if test "${enable_dependency_tracking+set}" = set; then :
3745 enableval
=$enable_dependency_tracking;
3748 if test "x$enable_dependency_tracking" != xno
; then
3749 am_depcomp
="$ac_aux_dir/depcomp"
3753 if test "x$enable_dependency_tracking" != xno; then
3762 # Check whether --enable-silent-rules was given.
3763 if test "${enable_silent_rules+set}" = set; then :
3764 enableval
=$enable_silent_rules;
3767 case $enable_silent_rules in # (((
3768 yes) AM_DEFAULT_VERBOSITY
=0;;
3769 no
) AM_DEFAULT_VERBOSITY
=1;;
3770 *) AM_DEFAULT_VERBOSITY
=1;;
3772 am_make
=${MAKE-make}
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3774 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3775 if ${am_cv_make_support_nested_variables+:} false
; then :
3776 $as_echo_n "(cached) " >&6
3778 if $as_echo 'TRUE=$(BAR$(V))
3784 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3785 am_cv_make_support_nested_variables
=yes
3787 am_cv_make_support_nested_variables
=no
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3791 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3792 if test $am_cv_make_support_nested_variables = yes; then
3794 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3796 AM_V
=$AM_DEFAULT_VERBOSITY
3797 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3801 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3802 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3803 # is not polluted with repeated "-I."
3804 am__isrc
=' -I$(srcdir)'
3805 # test to see if srcdir already configured
3806 if test -f $srcdir/config.status
; then
3807 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3811 # test whether we have cygpath
3812 if test -z "$CYGPATH_W"; then
3813 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3814 CYGPATH_W
='cygpath -w'
3821 # Define the identity of the package.
3822 PACKAGE
='qbittorrent'
3823 VERSION
='v4.2.0alpha'
3826 cat >>confdefs.h
<<_ACEOF
3827 #define PACKAGE "$PACKAGE"
3831 cat >>confdefs.h
<<_ACEOF
3832 #define VERSION "$VERSION"
3835 # Some tools Automake needs.
3837 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3840 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3843 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3846 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3849 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3851 # For better backward compatibility. To be removed once Automake 1.9.x
3852 # dies out for good. For more background, see:
3853 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3854 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3855 mkdir_p
='$(MKDIR_P)'
3857 # We need awk for the "check" target (and possibly the TAP driver). The
3858 # system "awk" is bad on some platforms.
3859 # Always define AMTAR for backward compatibility. Yes, it's still used
3860 # in the wild :-( We should find a proper way to deprecate it ...
3864 # We'll loop over all known methods to create a tar archive until one works.
3865 _am_tools
='gnutar pax cpio none'
3867 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3873 depcc
="$CC" am_compiler_list
=
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3876 $as_echo_n "checking dependency style of $depcc... " >&6; }
3877 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
3878 $as_echo_n "(cached) " >&6
3880 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3881 # We make a subdir and do the tests there. Otherwise we can end up
3882 # making bogus files that we don't know about and never remove. For
3883 # instance it was reported that on HP-UX the gcc test will end up
3884 # making a dummy file named 'D' -- because '-MD' means "put the output
3888 # Copy depcomp to subdir because otherwise we won't find it if we're
3889 # using a relative directory.
3890 cp "$am_depcomp" conftest.dir
3892 # We will build objects and dependencies in a subdirectory because
3893 # it helps to detect inapplicable dependency modes. For instance
3894 # both Tru64's cc and ICC support -MD to output dependencies as a
3895 # side effect of compilation, but ICC will put the dependencies in
3896 # the current directory while Tru64 will put them in the object
3900 am_cv_CC_dependencies_compiler_type
=none
3901 if test "$am_compiler_list" = ""; then
3902 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3905 case " $depcc " in #(
3906 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3909 for depmode
in $am_compiler_list; do
3910 # Setup a source with many dependencies, because some compilers
3911 # like to wrap large dependency lists on column 80 (with \), and
3912 # we should not choose a depcomp mode which is confused by this.
3914 # We need to recreate these files for each test, as the compiler may
3915 # overwrite some of them when testing with obscure command lines.
3916 # This happens at least with the AIX C compiler.
3918 for i
in 1 2 3 4 5 6; do
3919 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3920 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3921 # Solaris 10 /bin/sh.
3922 echo '/* dummy */' > sub
/conftst
$i.h
3924 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3926 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3927 # mode. It turns out that the SunPro C++ compiler does not properly
3928 # handle '-M -o', and we need to detect this. Also, some Intel
3929 # versions had trouble with output in subdirs.
3930 am__obj
=sub
/conftest.
${OBJEXT-o}
3931 am__minus_obj
="-o $am__obj"
3934 # This depmode causes a compiler race in universal mode.
3935 test "$am__universal" = false ||
continue
3938 # After this tag, mechanisms are not by side-effect, so they'll
3939 # only be used when explicitly requested.
3940 if test "x$enable_dependency_tracking" = xyes
; then
3946 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3947 # This compiler won't grok '-c -o', but also, the minuso test has
3948 # not run yet. These depmodes are late enough in the game, and
3949 # so weak that their functioning should not be impacted.
3950 am__obj
=conftest.
${OBJEXT-o}
3955 if depmode
=$depmode \
3956 source=sub
/conftest.c object
=$am__obj \
3957 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3958 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3959 >/dev
/null
2>conftest.err
&&
3960 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3961 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3962 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3963 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3964 # icc doesn't choke on unknown options, it will just issue warnings
3965 # or remarks (even with -Werror). So we grep stderr for any message
3966 # that says an option was ignored or not supported.
3967 # When given -MP, icc 7.0 and 7.1 complain thusly:
3968 # icc: Command line warning: ignoring option '-M'; no argument required
3969 # The diagnosis changed in icc 8.0:
3970 # icc: Command line remark: option '-MP' not supported
3971 if (grep 'ignoring option' conftest.err ||
3972 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3973 am_cv_CC_dependencies_compiler_type
=$depmode
3982 am_cv_CC_dependencies_compiler_type
=none
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3987 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3988 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3991 test "x$enable_dependency_tracking" != xno \
3992 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3994 am__fastdepCC_FALSE
='#'
3996 am__fastdepCC_TRUE
='#'
3997 am__fastdepCC_FALSE
=
4001 depcc
="$CXX" am_compiler_list
=
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4004 $as_echo_n "checking dependency style of $depcc... " >&6; }
4005 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4006 $as_echo_n "(cached) " >&6
4008 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4009 # We make a subdir and do the tests there. Otherwise we can end up
4010 # making bogus files that we don't know about and never remove. For
4011 # instance it was reported that on HP-UX the gcc test will end up
4012 # making a dummy file named 'D' -- because '-MD' means "put the output
4016 # Copy depcomp to subdir because otherwise we won't find it if we're
4017 # using a relative directory.
4018 cp "$am_depcomp" conftest.dir
4020 # We will build objects and dependencies in a subdirectory because
4021 # it helps to detect inapplicable dependency modes. For instance
4022 # both Tru64's cc and ICC support -MD to output dependencies as a
4023 # side effect of compilation, but ICC will put the dependencies in
4024 # the current directory while Tru64 will put them in the object
4028 am_cv_CXX_dependencies_compiler_type
=none
4029 if test "$am_compiler_list" = ""; then
4030 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4033 case " $depcc " in #(
4034 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4037 for depmode
in $am_compiler_list; do
4038 # Setup a source with many dependencies, because some compilers
4039 # like to wrap large dependency lists on column 80 (with \), and
4040 # we should not choose a depcomp mode which is confused by this.
4042 # We need to recreate these files for each test, as the compiler may
4043 # overwrite some of them when testing with obscure command lines.
4044 # This happens at least with the AIX C compiler.
4046 for i
in 1 2 3 4 5 6; do
4047 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4048 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4049 # Solaris 10 /bin/sh.
4050 echo '/* dummy */' > sub
/conftst
$i.h
4052 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4054 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4055 # mode. It turns out that the SunPro C++ compiler does not properly
4056 # handle '-M -o', and we need to detect this. Also, some Intel
4057 # versions had trouble with output in subdirs.
4058 am__obj
=sub
/conftest.
${OBJEXT-o}
4059 am__minus_obj
="-o $am__obj"
4062 # This depmode causes a compiler race in universal mode.
4063 test "$am__universal" = false ||
continue
4066 # After this tag, mechanisms are not by side-effect, so they'll
4067 # only be used when explicitly requested.
4068 if test "x$enable_dependency_tracking" = xyes
; then
4074 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4075 # This compiler won't grok '-c -o', but also, the minuso test has
4076 # not run yet. These depmodes are late enough in the game, and
4077 # so weak that their functioning should not be impacted.
4078 am__obj
=conftest.
${OBJEXT-o}
4083 if depmode
=$depmode \
4084 source=sub
/conftest.c object
=$am__obj \
4085 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4086 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4087 >/dev
/null
2>conftest.err
&&
4088 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4089 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4090 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4091 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4092 # icc doesn't choke on unknown options, it will just issue warnings
4093 # or remarks (even with -Werror). So we grep stderr for any message
4094 # that says an option was ignored or not supported.
4095 # When given -MP, icc 7.0 and 7.1 complain thusly:
4096 # icc: Command line warning: ignoring option '-M'; no argument required
4097 # The diagnosis changed in icc 8.0:
4098 # icc: Command line remark: option '-MP' not supported
4099 if (grep 'ignoring option' conftest.err ||
4100 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4101 am_cv_CXX_dependencies_compiler_type
=$depmode
4110 am_cv_CXX_dependencies_compiler_type
=none
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4115 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4116 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4119 test "x$enable_dependency_tracking" != xno \
4120 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4121 am__fastdepCXX_TRUE
=
4122 am__fastdepCXX_FALSE
='#'
4124 am__fastdepCXX_TRUE
='#'
4125 am__fastdepCXX_FALSE
=
4130 # POSIX will say in a future version that running "rm -f" with no argument
4131 # is OK; and we want to be able to make that assumption in our Makefile
4132 # recipes. So use an aggressive probe to check that the usage we want is
4133 # actually supported "in the wild" to an acceptable degree.
4134 # See automake bug#10828.
4135 # To make any issue more visible, cause the running configure to be aborted
4136 # by default if the 'rm' program in use doesn't match our expectations; the
4137 # user can still override this though.
4138 if rm -f && rm -fr && rm -rf; then : OK
; else
4142 Your 'rm' program seems unable to run without file operands specified
4143 on the command line, even when the '-f' option is present. This is contrary
4144 to the behaviour of most rm programs out there, and not conforming with
4145 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4147 Please tell bug-automake@gnu.org about your system, including the value
4148 of your $PATH and any error possibly output before this message. This
4149 can help us improve future automake versions.
4152 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4153 echo 'Configuration will proceed anyway, since you have set the' >&2
4154 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4158 Aborting the configuration process, to ensure you take notice of the issue.
4160 You can download and install GNU coreutils to get an 'rm' implementation
4161 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4163 If you want to complete the configuration process using your problematic
4164 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4165 to "yes", and re-run configure.
4168 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4175 # Define --wth-* and --enable-* arguments
4178 # Check whether --with-qtsingleapplication was given.
4179 if test "${with_qtsingleapplication+set}" = set; then :
4180 withval
=$with_qtsingleapplication;
4182 with_qtsingleapplication
=shipped
4186 # Check whether --enable-debug was given.
4187 if test "${enable_debug+set}" = set; then :
4188 enableval
=$enable_debug;
4194 # Check whether --enable-stacktrace was given.
4195 if test "${enable_stacktrace+set}" = set; then :
4196 enableval
=$enable_stacktrace;
4198 enable_stacktrace
=auto
4202 # Check whether --enable-gui was given.
4203 if test "${enable_gui+set}" = set; then :
4204 enableval
=$enable_gui;
4210 # Check whether --enable-systemd was given.
4211 if test "${enable_systemd+set}" = set; then :
4212 enableval
=$enable_systemd;
4218 # Check whether --enable-webui was given.
4219 if test "${enable_webui+set}" = set; then :
4220 enableval
=$enable_webui;
4226 # Check whether --enable-qt-dbus was given.
4227 if test "${enable_qt_dbus+set}" = set; then :
4228 enableval
=$enable_qt_dbus;
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OS is FreeBSD" >&5
4236 $as_echo_n "checking whether OS is FreeBSD... " >&6; }
4237 if expr "$host_os" : ".*freebsd.*" > /dev
/null
; then :
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4239 $as_echo "yes" >&6; }
4240 LIBS
="-lexecinfo $LIBS"
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4243 $as_echo "no" >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OS is macOS" >&5
4247 $as_echo_n "checking whether OS is macOS... " >&6; }
4248 if expr "$host_os" : ".*darwin.*" > /dev
/null
; then :
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4250 $as_echo "yes" >&6; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254 $as_echo "no" >&6; }
4257 # Require 0.23 pkg-config
4265 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4266 if test -n "$ac_tool_prefix"; then
4267 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4268 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4270 $as_echo_n "checking for $ac_word... " >&6; }
4271 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
4272 $as_echo_n "(cached) " >&6
4276 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4283 test -z "$as_dir" && as_dir
=.
4284 for ac_exec_ext
in '' $ac_executable_extensions; do
4285 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4286 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4297 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4298 if test -n "$PKG_CONFIG"; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4300 $as_echo "$PKG_CONFIG" >&6; }
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4303 $as_echo "no" >&6; }
4308 if test -z "$ac_cv_path_PKG_CONFIG"; then
4309 ac_pt_PKG_CONFIG
=$PKG_CONFIG
4310 # Extract the first word of "pkg-config", so it can be a program name with args.
4311 set dummy pkg-config
; ac_word
=$2
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
4315 $as_echo_n "(cached) " >&6
4317 case $ac_pt_PKG_CONFIG in
4319 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4326 test -z "$as_dir" && as_dir
=.
4327 for ac_exec_ext
in '' $ac_executable_extensions; do
4328 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4329 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4340 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
4341 if test -n "$ac_pt_PKG_CONFIG"; then
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4343 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4346 $as_echo "no" >&6; }
4349 if test "x$ac_pt_PKG_CONFIG" = x
; then
4352 case $cross_compiling:$ac_tool_warned in
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4356 ac_tool_warned
=yes ;;
4358 PKG_CONFIG
=$ac_pt_PKG_CONFIG
4361 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
4365 if test -n "$PKG_CONFIG"; then
4366 _pkg_min_version
=0.23
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4368 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4369 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4371 $as_echo "yes" >&6; }
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4374 $as_echo "no" >&6; }
4378 if test "x$PKG_CONFIG" = "x"; then :
4379 as_fn_error $?
"Could not find pkg-config" "$LINENO" 5
4382 # Check which arguments were set and act accordingly
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the Debug build" >&5
4384 $as_echo_n "checking whether to enable the Debug build... " >&6; }
4385 case "x$enable_debug" in #(
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4389 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG release"
4390 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG debug" ;; #(
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4393 $as_echo "yes" >&6; }
4394 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG debug"
4395 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG release" ;; #(
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
4398 $as_echo "$enable_debug" >&6; }
4399 as_fn_error $?
"Unknown option \"$enable_debug\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the stacktrace feature" >&5
4403 $as_echo_n "checking whether to enable the stacktrace feature... " >&6; }
4405 case "x$enable_stacktrace" in #(
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4408 $as_echo "no" >&6; }
4409 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG stacktrace" ;; #(
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4412 $as_echo "yes" >&6; }
4413 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG stacktrace" ;; #(
4415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4417 #include <execinfo.h>
4419 if ac_fn_cxx_try_compile
"$LINENO"; then :
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4421 $as_echo "yes" >&6; }
4422 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG stacktrace"
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4425 $as_echo "no" >&6; }
4426 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG stacktrace"
4428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext ;; #(
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_stacktrace" >&5
4431 $as_echo "$enable_stacktrace" >&6; }
4432 as_fn_error $?
"Unknown option \"$enable_stacktrace\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the GUI" >&5
4436 $as_echo_n "checking whether to enable the GUI... " >&6; }
4437 case "x$enable_gui" in #(
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4440 $as_echo "yes" >&6; }
4442 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG nogui" ;; #(
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4447 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG nogui" ;; #(
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gui" >&5
4450 $as_echo "$enable_gui" >&6; }
4451 as_fn_error $?
"Unknown option \"$enable_gui\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install the systemd service file" >&5
4455 $as_echo_n "checking whether to install the systemd service file... " >&6; }
4456 case "x$enable_systemd" in #(
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4459 $as_echo "yes" >&6; }
4460 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG systemd" ;; #(
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4463 $as_echo "no" >&6; }
4464 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG systemd" ;; #(
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_systemd" >&5
4467 $as_echo "$enable_systemd" >&6; }
4468 as_fn_error $?
"Unknown option \"$enable_systemd\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the WebUI" >&5
4472 $as_echo_n "checking whether to enable the WebUI... " >&6; }
4473 case "x$enable_webui" in #(
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4476 $as_echo "yes" >&6; }
4477 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG nowebui" ;; #(
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4481 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG nowebui" ;; #(
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_webui" >&5
4484 $as_echo "$enable_webui" >&6; }
4485 as_fn_error $?
"Unknown option \"$enable_webui\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4488 if test -n "$PKG_CONFIG" && \
4489 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.5.1\""; } >&5
4490 ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.5.1") 2>&5
4492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4493 test $ac_status = 0; }; then
4495 if test -n "$QT_QMAKE"; then
4496 pkg_cv_QT_QMAKE
="$QT_QMAKE"
4497 elif test -n "$PKG_CONFIG"; then
4498 if test -n "$PKG_CONFIG" && \
4499 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.5.1\""; } >&5
4500 ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.5.1") 2>&5
4502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4503 test $ac_status = 0; }; then
4504 pkg_cv_QT_QMAKE
=`$PKG_CONFIG --variable="host_bins" "Qt5Core >= 5.5.1" 2>/dev/null`
4505 test "x$?" != "x0" && pkg_failed
=yes
4512 QT_QMAKE
=$pkg_cv_QT_QMAKE
4514 if test "x$QT_QMAKE" = x
""; then :
4520 if test -f "$QT_QMAKE/qmake"; then :
4521 QT_QMAKE
="$QT_QMAKE/qmake"
4523 if test -f "$QT_QMAKE/qmake-qt5"; then :
4524 QT_QMAKE
="$QT_QMAKE/qmake-qt5"
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5 qmake >= 5.5.1" >&5
4532 $as_echo_n "checking for Qt5 qmake >= 5.5.1... " >&6; }
4533 if test "x$QT_QMAKE" != "x"; then :
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_QMAKE" >&5
4535 $as_echo "$QT_QMAKE" >&6; }
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4538 $as_echo "not found" >&6; }
4542 if test "x$QT_QMAKE" = "x"; then :
4543 as_fn_error $?
"Could not find qmake" "$LINENO" 5
4546 if test "x$enable_gui" = "xyes"; then :
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5Svg" >&5
4550 $as_echo_n "checking for Qt5Svg... " >&6; }
4552 if test -n "$Qt5Svg_CFLAGS"; then
4553 pkg_cv_Qt5Svg_CFLAGS
="$Qt5Svg_CFLAGS"
4554 elif test -n "$PKG_CONFIG"; then
4555 if test -n "$PKG_CONFIG" && \
4556 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Svg >= 5.5.1\""; } >&5
4557 ($PKG_CONFIG --exists --print-errors "Qt5Svg >= 5.5.1") 2>&5
4559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4560 test $ac_status = 0; }; then
4561 pkg_cv_Qt5Svg_CFLAGS
=`$PKG_CONFIG --cflags "Qt5Svg >= 5.5.1" 2>/dev/null`
4562 test "x$?" != "x0" && pkg_failed
=yes
4569 if test -n "$Qt5Svg_LIBS"; then
4570 pkg_cv_Qt5Svg_LIBS
="$Qt5Svg_LIBS"
4571 elif test -n "$PKG_CONFIG"; then
4572 if test -n "$PKG_CONFIG" && \
4573 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Svg >= 5.5.1\""; } >&5
4574 ($PKG_CONFIG --exists --print-errors "Qt5Svg >= 5.5.1") 2>&5
4576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4577 test $ac_status = 0; }; then
4578 pkg_cv_Qt5Svg_LIBS
=`$PKG_CONFIG --libs "Qt5Svg >= 5.5.1" 2>/dev/null`
4579 test "x$?" != "x0" && pkg_failed
=yes
4589 if test $pkg_failed = yes; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4593 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4594 _pkg_short_errors_supported
=yes
4596 _pkg_short_errors_supported
=no
4598 if test $_pkg_short_errors_supported = yes; then
4599 Qt5Svg_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "Qt5Svg >= 5.5.1" 2>&1`
4601 Qt5Svg_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "Qt5Svg >= 5.5.1" 2>&1`
4603 # Put the nasty error message in config.log where it belongs
4604 echo "$Qt5Svg_PKG_ERRORS" >&5
4606 as_fn_error $?
"Package requirements (Qt5Svg >= 5.5.1) were not met:
4610 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4611 installed software in a non-standard prefix.
4613 Alternatively, you may set the environment variables Qt5Svg_CFLAGS
4614 and Qt5Svg_LIBS to avoid the need to call pkg-config.
4615 See the pkg-config man page for more details." "$LINENO" 5
4616 elif test $pkg_failed = untried
; then
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4618 $as_echo "no" >&6; }
4619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4621 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
4622 is in your PATH or set the PKG_CONFIG environment variable to the full
4625 Alternatively, you may set the environment variables Qt5Svg_CFLAGS
4626 and Qt5Svg_LIBS to avoid the need to call pkg-config.
4627 See the pkg-config man page for more details.
4629 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4630 See \`config.log' for more details" "$LINENO" 5; }
4632 Qt5Svg_CFLAGS
=$pkg_cv_Qt5Svg_CFLAGS
4633 Qt5Svg_LIBS
=$pkg_cv_Qt5Svg_LIBS
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4635 $as_echo "yes" >&6; }
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether QtDBus should be enabled" >&5
4641 $as_echo_n "checking whether QtDBus should be enabled... " >&6; }
4642 case "x$enable_qt_dbus" in #(
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4645 $as_echo "yes" >&6; }
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5DBus >= 5.5.1" >&5
4647 $as_echo_n "checking for Qt5DBus >= 5.5.1... " >&6; }
4648 if test -n "$PKG_CONFIG" && \
4649 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5DBus >= 5.5.1\""; } >&5
4650 ($PKG_CONFIG --exists --print-errors "Qt5DBus >= 5.5.1") 2>&5
4652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4653 test $ac_status = 0; }; then
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4655 $as_echo "found" >&6; }
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4659 $as_echo "not found" >&6; }
4663 if test "x$HAVE_QTDBUS" = "xfalse"; then :
4664 as_fn_error $?
"Could not find QtDBus" "$LINENO" 5
4666 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG dbus"
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4672 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG dbus" ;; #(
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_qt_dbus" >&5
4675 $as_echo "$enable_qt_dbus" >&6; }
4676 as_fn_error $?
"Unknown option \"$enable_qt_dbus\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4682 # Check whether --with-boost was given.
4683 if test "${with_boost+set}" = set; then :
4684 withval
=$with_boost;
4687 want_boost
="no";_AX_BOOST_BASE_boost_path
="" ;; #(
4689 want_boost
="yes";_AX_BOOST_BASE_boost_path
="" ;; #(
4691 want_boost
="yes";_AX_BOOST_BASE_boost_path
="$withval" ;;
4701 # Check whether --with-boost-libdir was given.
4702 if test "${with_boost_libdir+set}" = set; then :
4703 withval
=$with_boost_libdir;
4704 if test -d "$withval"; then :
4705 _AX_BOOST_BASE_boost_lib_path
="$withval"
4707 as_fn_error $?
"--with-boost-libdir expected directory name" "$LINENO" 5
4711 _AX_BOOST_BASE_boost_lib_path
=""
4717 if test "x$want_boost" = "xyes"; then :
4720 if test "x1.35" = "x"; then :
4721 _AX_BOOST_BASE_TONUMERICVERSION_req
="1.20.0"
4723 _AX_BOOST_BASE_TONUMERICVERSION_req
="1.35"
4725 _AX_BOOST_BASE_TONUMERICVERSION_req_shorten
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([0-9]*\.[0-9]*\)'`
4726 _AX_BOOST_BASE_TONUMERICVERSION_req_major
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([0-9]*\)'`
4727 if test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_major" = "x"; then :
4728 as_fn_error $?
"You should at least specify libboost major version" "$LINENO" 5
4730 _AX_BOOST_BASE_TONUMERICVERSION_req_minor
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[0-9]*\.\([0-9]*\)'`
4731 if test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_minor" = "x"; then :
4732 _AX_BOOST_BASE_TONUMERICVERSION_req_minor
="0"
4734 _AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
4735 if test "X$_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor" = "X"; then :
4736 _AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor
="0"
4738 _AX_BOOST_BASE_TONUMERICVERSION_RET
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req_major \* 100000 \+ $_AX_BOOST_BASE_TONUMERICVERSION_req_minor \* 100 \+ $_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor`
4739 WANT_BOOST_VERSION
=$_AX_BOOST_BASE_TONUMERICVERSION_RET
4745 case ${host_cpu} in #(
4747 libsubdirs
="lib64 libx32 lib lib64" ;; #(
4748 ppc64|s390x|sparc64|aarch64|ppc64le
) :
4749 libsubdirs
="lib64 lib lib64" ;; #(
4755 case ${host_cpu} in #(
4757 multiarch_libsubdir
="lib/i386-${host_os}" ;; #(
4759 multiarch_libsubdir
="lib/${host_cpu}-${host_os}"
4763 if test "x$_AX_BOOST_BASE_boost_path" != "x"; then :
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= 1.35 ($WANT_BOOST_VERSION) includes in \"$_AX_BOOST_BASE_boost_path/include\"" >&5
4766 $as_echo_n "checking for boostlib >= 1.35 ($WANT_BOOST_VERSION) includes in \"$_AX_BOOST_BASE_boost_path/include\"... " >&6; }
4767 if test -d "$_AX_BOOST_BASE_boost_path/include" && test -r "$_AX_BOOST_BASE_boost_path/include"; then :
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4770 $as_echo "yes" >&6; }
4771 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path/include"
4772 for _AX_BOOST_BASE_boost_path_tmp
in $multiarch_libsubdir $libsubdirs; do
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= 1.35 ($WANT_BOOST_VERSION) lib path in \"$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp\"" >&5
4774 $as_echo_n "checking for boostlib >= 1.35 ($WANT_BOOST_VERSION) lib path in \"$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp\"... " >&6; }
4775 if test -d "$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp" && test -r "$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp" ; then :
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4778 $as_echo "yes" >&6; }
4779 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp";
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 $as_echo "no" >&6; }
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4795 if test X
"$cross_compiling" = Xyes
; then
4796 search_libsubdirs
=$multiarch_libsubdir
4798 search_libsubdirs
="$multiarch_libsubdir $libsubdirs"
4800 for _AX_BOOST_BASE_boost_path_tmp
in /usr
/usr
/local /opt
/opt
/local ; do
4801 if test -d "$_AX_BOOST_BASE_boost_path_tmp/include/boost" && test -r "$_AX_BOOST_BASE_boost_path_tmp/include/boost" ; then
4802 for libsubdir
in $search_libsubdirs ; do
4803 if ls "$_AX_BOOST_BASE_boost_path_tmp/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
4805 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_path_tmp/$libsubdir"
4806 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path_tmp/include"
4813 if test "x$_AX_BOOST_BASE_boost_lib_path" != "x"; then :
4814 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_lib_path"
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= 1.35 ($WANT_BOOST_VERSION)" >&5
4818 $as_echo_n "checking for boostlib >= 1.35 ($WANT_BOOST_VERSION)... " >&6; }
4819 CPPFLAGS_SAVED
="$CPPFLAGS"
4820 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
4823 LDFLAGS_SAVED
="$LDFLAGS"
4824 LDFLAGS
="$LDFLAGS $BOOST_LDFLAGS"
4829 ac_cpp
='$CXXCPP $CPPFLAGS'
4830 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4831 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4832 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4835 /* end confdefs.h. */
4837 #include <boost/version.hpp>
4843 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < ($WANT_BOOST_VERSION))]));
4849 if ac_fn_cxx_try_compile
"$LINENO"; then :
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4852 $as_echo "yes" >&6; }
4857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4859 ac_cpp
='$CXXCPP $CPPFLAGS'
4860 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4861 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4862 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4867 if test "x$succeeded" != "xyes" ; then
4868 CPPFLAGS
="$CPPFLAGS_SAVED"
4869 LDFLAGS
="$LDFLAGS_SAVED"
4871 if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
4875 if test -n "$_AX_BOOST_BASE_boost_path" ; then
4876 if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path"; then
4877 for i
in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
4878 _version_tmp
=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
4879 V_CHECK
=`expr $_version_tmp \> $_version`
4880 if test "x$V_CHECK" = "x1" ; then
4881 _version
=$_version_tmp
4883 VERSION_UNDERSCORE
=`echo $_version | sed 's/\./_/'`
4884 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path/include/boost-$VERSION_UNDERSCORE"
4886 if test -z "$BOOST_CPPFLAGS"; then
4887 if test -d "$_AX_BOOST_BASE_boost_path/boost" && test -r "$_AX_BOOST_BASE_boost_path/boost"; then
4888 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path"
4891 if test -n "$BOOST_CPPFLAGS" && test -z "$BOOST_LDFLAGS"; then
4892 for libsubdir
in $libsubdirs ; do
4893 if ls "$_AX_BOOST_BASE_boost_path/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
4895 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_path/$libsubdir"
4899 if test "x$cross_compiling" != "xyes" ; then
4900 for _AX_BOOST_BASE_boost_path
in /usr
/usr
/local /opt
/opt
/local ; do
4901 if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path" ; then
4902 for i
in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
4903 _version_tmp
=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
4904 V_CHECK
=`expr $_version_tmp \> $_version`
4905 if test "x$V_CHECK" = "x1" ; then
4906 _version
=$_version_tmp
4907 best_path
=$_AX_BOOST_BASE_boost_path
4913 VERSION_UNDERSCORE
=`echo $_version | sed 's/\./_/'`
4914 BOOST_CPPFLAGS
="-I$best_path/include/boost-$VERSION_UNDERSCORE"
4915 if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
4916 for libsubdir
in $libsubdirs ; do
4917 if ls "$best_path/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
4919 BOOST_LDFLAGS
="-L$best_path/$libsubdir"
4923 if test -n "$BOOST_ROOT" ; then
4924 for libsubdir
in $libsubdirs ; do
4925 if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
4927 if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; then
4928 version_dir
=`expr //$BOOST_ROOT : '.*/\(.*\)'`
4929 stage_version
=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
4930 stage_version_shorten
=`expr $stage_version : '\([0-9]*\.[0-9]*\)'`
4931 V_CHECK
=`expr $stage_version_shorten \>\= $_version`
4932 if test "x$V_CHECK" = "x1" && test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5
4934 $as_echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;}
4935 BOOST_CPPFLAGS
="-I$BOOST_ROOT"
4936 BOOST_LDFLAGS
="-L$BOOST_ROOT/stage/$libsubdir"
4942 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
4944 LDFLAGS
="$LDFLAGS $BOOST_LDFLAGS"
4948 ac_cpp
='$CXXCPP $CPPFLAGS'
4949 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4950 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4951 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4954 /* end confdefs.h. */
4956 #include <boost/version.hpp>
4962 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < ($WANT_BOOST_VERSION))]));
4968 if ac_fn_cxx_try_compile
"$LINENO"; then :
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4971 $as_echo "yes" >&6; }
4976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4978 ac_cpp
='$CXXCPP $CPPFLAGS'
4979 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4980 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4981 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4985 if test "x$succeeded" != "xyes" ; then
4986 if test "x$_version" = "x0" ; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: We could not detect the boost libraries (version 1.35 or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&5
4988 $as_echo "$as_me: We could not detect the boost libraries (version 1.35 or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&6;}
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5
4991 $as_echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
4993 # execute ACTION-IF-NOT-FOUND (if present):
4994 as_fn_error $?
"Could not find Boost" "$LINENO" 5
4997 $as_echo "#define HAVE_BOOST /**/" >>confdefs.h
4999 # execute ACTION-IF-FOUND (if present):
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost CPPFLAGS: \"$BOOST_CPPFLAGS\"
5001 Boost LDFLAGS: \"$BOOST_LDFLAGS\"" >&5
5002 $as_echo "$as_me: Boost CPPFLAGS: \"$BOOST_CPPFLAGS\"
5003 Boost LDFLAGS: \"$BOOST_LDFLAGS\"" >&6;}
5006 CPPFLAGS
="$CPPFLAGS_SAVED"
5007 LDFLAGS
="$LDFLAGS_SAVED"
5014 CPPFLAGS
="$BOOST_CPPFLAGS $CPPFLAGS"
5015 LDFLAGS
="$BOOST_LDFLAGS $LDFLAGS"
5017 # add workaround for problematic boost version
5019 ac_cpp
='$CXXCPP $CPPFLAGS'
5020 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5021 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5022 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5024 # taken from ax_boost_base.m4
5027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5029 #include <boost/version.hpp>
5033 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < (106000))]));
5038 if ac_fn_cxx_try_compile
"$LINENO"; then :
5041 QBT_ADD_DEFINES
="$QBT_ADD_DEFINES BOOST_NO_CXX11_RVALUE_REFERENCES"
5043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5045 ac_cpp
='$CXXCPP $CPPFLAGS'
5046 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5047 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5048 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5053 # Check whether --with-boost-system was given.
5054 if test "${with_boost_system+set}" = set; then :
5055 withval
=$with_boost_system;
5056 if test "$withval" = "no"; then
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.0.6\""; } >&5
5324 ($PKG_CONFIG --exists --print-errors "libtorrent-rasterbar >= 1.0.6") 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.0.6" 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.0.6\""; } >&5
5341 ($PKG_CONFIG --exists --print-errors "libtorrent-rasterbar >= 1.0.6") 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.0.6" 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.0.6" 2>&1`
5368 libtorrent_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libtorrent-rasterbar >= 1.0.6" 2>&1`
5370 # Put the nasty error message in config.log where it belongs
5371 echo "$libtorrent_PKG_ERRORS" >&5
5373 as_fn_error $?
"Package requirements (libtorrent-rasterbar >= 1.0.6) were not met:
5375 $libtorrent_PKG_ERRORS
5377 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5378 installed software in a non-standard prefix.
5380 Alternatively, you may set the environment variables libtorrent_CFLAGS
5381 and libtorrent_LIBS to avoid the need to call pkg-config.
5382 See the pkg-config man page for more details." "$LINENO" 5
5383 elif test $pkg_failed = untried
; then
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5387 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5388 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
5389 is in your PATH or set the PKG_CONFIG environment variable to the full
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 CPPFLAGS
="$libtorrent_CFLAGS $CPPFLAGS"
5404 LIBS
="$libtorrent_LIBS $LIBS"
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
5410 $as_echo_n "checking for zlib... " >&6; }
5412 if test -n "$zlib_CFLAGS"; then
5413 pkg_cv_zlib_CFLAGS
="$zlib_CFLAGS"
5414 elif test -n "$PKG_CONFIG"; then
5415 if test -n "$PKG_CONFIG" && \
5416 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.5.2\""; } >&5
5417 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.5.2") 2>&5
5419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5420 test $ac_status = 0; }; then
5421 pkg_cv_zlib_CFLAGS
=`$PKG_CONFIG --cflags "zlib >= 1.2.5.2" 2>/dev/null`
5422 test "x$?" != "x0" && pkg_failed
=yes
5429 if test -n "$zlib_LIBS"; then
5430 pkg_cv_zlib_LIBS
="$zlib_LIBS"
5431 elif test -n "$PKG_CONFIG"; then
5432 if test -n "$PKG_CONFIG" && \
5433 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.5.2\""; } >&5
5434 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.5.2") 2>&5
5436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5437 test $ac_status = 0; }; then
5438 pkg_cv_zlib_LIBS
=`$PKG_CONFIG --libs "zlib >= 1.2.5.2" 2>/dev/null`
5439 test "x$?" != "x0" && pkg_failed
=yes
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 zlib_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.2.5.2" 2>&1`
5461 zlib_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.2.5.2" 2>&1`
5463 # Put the nasty error message in config.log where it belongs
5464 echo "$zlib_PKG_ERRORS" >&5
5466 as_fn_error $?
"Package requirements (zlib >= 1.2.5.2) were not met:
5470 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5471 installed software in a non-standard prefix.
5473 Alternatively, you may set the environment variables zlib_CFLAGS
5474 and zlib_LIBS to avoid the need to call pkg-config.
5475 See the pkg-config man page for more details." "$LINENO" 5
5476 elif test $pkg_failed = untried
; then
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5481 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
5482 is in your PATH or set the PKG_CONFIG environment variable to the full
5485 Alternatively, you may set the environment variables zlib_CFLAGS
5486 and zlib_LIBS to avoid the need to call pkg-config.
5487 See the pkg-config man page for more details.
5489 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5490 See \`config.log' for more details" "$LINENO" 5; }
5492 zlib_CFLAGS
=$pkg_cv_zlib_CFLAGS
5493 zlib_LIBS
=$pkg_cv_zlib_LIBS
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5495 $as_echo "yes" >&6; }
5496 CPPFLAGS
="$zlib_CFLAGS $CPPFLAGS"
5497 LIBS
="$zlib_LIBS $LIBS"
5500 # These are required because autoconf doesn't expand these **particular**
5501 # vars automatically. And qmake cannot autoexpand them.
5505 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
5506 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
5507 eval ax_define_dir
="\"$prefix\""
5508 eval ax_define_dir
="\"$ax_define_dir\""
5509 EXPAND_PREFIX
="$ax_define_dir"
5511 cat >>confdefs.h
<<_ACEOF
5512 #define EXPAND_PREFIX "$ax_define_dir"
5515 test "$prefix_NONE" && prefix
=NONE
5516 test "$exec_prefix_NONE" && exec_prefix
=NONE
5521 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
5522 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
5523 eval ax_define_dir
="\"$bindir\""
5524 eval ax_define_dir
="\"$ax_define_dir\""
5525 EXPAND_BINDIR
="$ax_define_dir"
5527 cat >>confdefs.h
<<_ACEOF
5528 #define EXPAND_BINDIR "$ax_define_dir"
5531 test "$prefix_NONE" && prefix
=NONE
5532 test "$exec_prefix_NONE" && exec_prefix
=NONE
5537 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
5538 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
5539 eval ax_define_dir
="\"$datadir\""
5540 eval ax_define_dir
="\"$ax_define_dir\""
5541 EXPAND_DATADIR
="$ax_define_dir"
5543 cat >>confdefs.h
<<_ACEOF
5544 #define EXPAND_DATADIR "$ax_define_dir"
5547 test "$prefix_NONE" && prefix
=NONE
5548 test "$exec_prefix_NONE" && exec_prefix
=NONE
5553 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
5554 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
5555 eval ax_define_dir
="\"$mandir\""
5556 eval ax_define_dir
="\"$ax_define_dir\""
5557 EXPAND_MANDIR
="$ax_define_dir"
5559 cat >>confdefs.h
<<_ACEOF
5560 #define EXPAND_MANDIR "$ax_define_dir"
5563 test "$prefix_NONE" && prefix
=NONE
5564 test "$exec_prefix_NONE" && exec_prefix
=NONE
5567 # Original extract() function contributed by pmzqla
5568 # $*: Strings to parse
5569 # Set $QBT_CONF_DEFINES, $QBT_CONF_INCLUDES, $QBT_CONF_EXTRA_CFLAGS
5571 if [ -z "$*" ]; then
5572 echo "Input string required"
5576 # BSD sed needs an actual newline character in the substitute command
5579 # Convert " -" to "\n" if not between quotes and remove possible leading white spaces
5580 string
=$
(echo " $*" |
$SED -e "s: -:\\${new_line}:g" -e 's:"\(.*\)\n\(.*\)":\"\1 -\2":g' -e "s:'\(.*\)\n\(.*\)':\'\1 -\2':g" -e 's/^[[:space:]]*//')
5582 IFS
=$
(printf "\n\b")
5583 for i
in $string; do
5584 case "$(echo "$i" | cut -c1)" in
5586 D
) QBT_CONF_DEFINES
="$(echo $i | cut -c2-) $QBT_CONF_DEFINES";;
5587 I
) QBT_CONF_INCLUDES
="$(echo $i | cut -c2-) $QBT_CONF_INCLUDES";;
5588 *) QBT_CONF_EXTRA_CFLAGS
="-$i $QBT_CONF_EXTRA_CFLAGS";;
5594 extract
"$CFLAGS $CPPFLAGS $CXXFLAGS"
5595 QBT_ADD_DEFINES
="$QBT_ADD_DEFINES $QBT_CONF_DEFINES"
5597 # Substitute the values of these vars in conf.pri.in
5605 ac_config_files
="$ac_config_files conf.pri"
5607 cat >confcache
<<\_ACEOF
5608 # This file is a shell script that caches the results of configure
5609 # tests run on this system so they can be shared between configure
5610 # scripts and configure runs, see configure's option --config-cache.
5611 # It is not useful on other systems. If it contains results you don't
5612 # want to keep, you may remove or edit it.
5614 # config.status only pays attention to the cache file if you give it
5615 # the --recheck option to rerun configure.
5617 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5618 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5623 # The following way of writing the cache mishandles newlines in values,
5624 # but we know of no workaround that is simple, portable, and efficient.
5625 # So, we kill variables containing newlines.
5626 # Ultrix sh set writes to stderr and can't be redirected directly,
5627 # and sets the high bit in the cache file unless we assign to the vars.
5629 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5630 eval ac_val
=\$
$ac_var
5634 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5635 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5638 _ | IFS | as_nl
) ;; #(
5639 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5640 *) { eval $ac_var=; unset $ac_var;} ;;
5646 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5647 *${as_nl}ac_space
=\
*)
5648 # `set' does not quote correctly, so add quotes: double-quote
5649 # substitution turns \\\\ into \\, and sed turns \\ into \.
5652 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5655 # `set' quotes correctly as required by POSIX, so do not add quotes.
5656 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5665 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5667 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5669 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5670 if test -w "$cache_file"; then
5671 if test "x$cache_file" != "x/dev/null"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5673 $as_echo "$as_me: updating cache $cache_file" >&6;}
5674 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5675 cat confcache
>"$cache_file"
5677 case $cache_file in #(
5679 mv -f confcache
"$cache_file"$$
&&
5680 mv -f "$cache_file"$$
"$cache_file" ;; #(
5682 mv -f confcache
"$cache_file" ;;
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5688 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5693 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5694 # Let make expand exec_prefix.
5695 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5697 # Transform confdefs.h into DEFS.
5698 # Protect against shell expansion while executing Makefile rules.
5699 # Protect against Makefile macro expansion.
5701 # If the first sed substitution is executed (which looks for macros that
5702 # take arguments), then branch to the quote section. Otherwise,
5703 # look for a macro that doesn't take arguments.
5713 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5715 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5719 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5732 DEFS
=`sed -n "$ac_script" confdefs.h`
5738 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5739 # 1. Remove the extension, and $U if already installed.
5740 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5741 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5742 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5743 # will be set to the directory where LIBOBJS objects are built.
5744 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5745 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5749 LTLIBOBJS
=$ac_ltlibobjs
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5753 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5754 if test -n "$am_sleep_pid"; then
5755 # Hide warnings about reused PIDs.
5756 wait $am_sleep_pid 2>/dev
/null
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5759 $as_echo "done" >&6; }
5760 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5761 as_fn_error $?
"conditional \"AMDEP\" was never defined.
5762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5764 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5765 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5768 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5769 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
5770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5772 if test -n "$EXEEXT"; then
5774 am__EXEEXT_FALSE
='#'
5781 : "${CONFIG_STATUS=./config.status}"
5783 ac_clean_files_save
=$ac_clean_files
5784 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5786 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5788 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5790 # Generated by $as_me.
5791 # Run this file to recreate the current configuration.
5792 # Compiler output produced by configure, useful for debugging
5793 # configure, is in config.log if it exists.
5799 SHELL=\${CONFIG_SHELL-$SHELL}
5802 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5803 ## -------------------- ##
5804 ## M4sh Initialization. ##
5805 ## -------------------- ##
5807 # Be more Bourne compatible
5808 DUALCASE
=1; export DUALCASE
# for MKS sh
5809 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5812 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5813 # is contrary to our usage. Disable this feature.
5814 alias -g '${1+"$@"}'='"$@"'
5815 setopt NO_GLOB_SUBST
5817 case `(set -o) 2>/dev/null` in #(
5829 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5830 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5831 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5832 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5833 # Prefer a ksh shell builtin over an external printf program on Solaris,
5834 # but without wasting forks for bash or zsh.
5835 if test -z "$BASH_VERSION$ZSH_VERSION" \
5836 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5837 as_echo='print
-r --'
5838 as_echo_n='print
-rn --'
5839 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5840 as_echo='printf %s
\n'
5841 as_echo_n='printf %s
'
5843 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5844 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
5845 as_echo_n='/usr
/ucb
/echo -n'
5847 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5848 as_echo_n_body='eval
5852 expr "X$arg" : "X\\(.*\\)$as_nl";
5853 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5855 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
5857 export as_echo_n_body
5858 as_echo_n='sh
-c $as_echo_n_body as_echo
'
5861 as_echo='sh
-c $as_echo_body as_echo
'
5864 # The user is always right.
5865 if test "${PATH_SEPARATOR+set}" != set; then
5867 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5868 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5875 # We need space, tab and new line, in precisely that order. Quoting is
5876 # there to prevent editors from complaining about space-tab.
5877 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5878 # splitting by setting IFS to empty value.)
5881 # Find who we are. Look in the path if we contain no directory separator.
5884 *[\\/]* ) as_myself=$0 ;;
5885 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5889 test -z "$as_dir" && as_dir=.
5890 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5896 # We did not find ourselves, most probably we were run as `sh COMMAND'
5897 # in which case we are not to be found in the path.
5898 if test "x$as_myself" = x
; then
5901 if test ! -f "$as_myself"; then
5902 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5906 # Unset variables that we do not need and which cause bugs (e.g. in
5907 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5908 # suppresses any "Segmentation fault" message there. '((' could
5909 # trigger a bug in pdksh 5.2.14.
5910 for as_var
in BASH_ENV ENV MAIL MAILPATH
5911 do eval test x\
${$as_var+set} = xset \
5912 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5925 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5928 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5929 # ----------------------------------------
5930 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5931 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5932 # script with STATUS, using 1 if that was 0.
5935 as_status
=$1; test $as_status -eq 0 && as_status
=1
5937 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5938 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5940 $as_echo "$as_me: error: $2" >&2
5941 as_fn_exit
$as_status
5945 # as_fn_set_status STATUS
5946 # -----------------------
5947 # Set $? to STATUS, without forking.
5951 } # as_fn_set_status
5955 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5965 # Portably unset VAR.
5968 { eval $1=; unset $1;}
5970 as_unset
=as_fn_unset
5971 # as_fn_append VAR VALUE
5972 # ----------------------
5973 # Append the text in VALUE to the end of the definition contained in VAR. Take
5974 # advantage of any shell optimizations that allow amortized linear growth over
5975 # repeated appends, instead of the typical quadratic growth present in naive
5977 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5978 eval 'as_fn_append ()
5989 # as_fn_arith ARG...
5990 # ------------------
5991 # Perform arithmetic evaluation on the ARGs, and store the result in the
5992 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5993 # must be portable across $(()) and expr.
5994 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5995 eval 'as_fn_arith ()
6002 as_val
=`expr "$@" || test $? -eq 1`
6007 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6008 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6014 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6015 as_basename
=basename
6020 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6026 as_me
=`$as_basename -- "$0" ||
6027 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6028 X"$0" : 'X\(//\)$' \| \
6029 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6031 sed '/^.*\/\([^/][^/]*\)\/*$/{
6045 # Avoid depending upon Character Ranges.
6046 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6047 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6048 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6049 as_cr_digits
='0123456789'
6050 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6052 ECHO_C
= ECHO_N
= ECHO_T
=
6053 case `echo -n x` in #(((((
6055 case `echo 'xy\c'` in
6056 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6058 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6065 rm -f conf$$ conf$$.exe conf$$.
file
6066 if test -d conf$$.dir
; then
6067 rm -f conf$$.dir
/conf$$.
file
6070 mkdir conf$$.dir
2>/dev
/null
6072 if (echo >conf$$.
file) 2>/dev
/null
; then
6073 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6075 # ... but there are two gotchas:
6076 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6077 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6078 # In both cases, we have to default to `cp -pR'.
6079 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6081 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6089 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6090 rmdir conf$$.dir
2>/dev
/null
6095 # Create "$as_dir" as a directory, including parents if necessary.
6100 -*) as_dir
=.
/$as_dir;;
6102 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6106 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6107 *) as_qdir
=$as_dir;;
6109 as_dirs
="'$as_qdir' $as_dirs"
6110 as_dir
=`$as_dirname -- "$as_dir" ||
6111 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6112 X"$as_dir" : 'X\(//\)[^/]' \| \
6113 X"$as_dir" : 'X\(//\)$' \| \
6114 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6115 $as_echo X"$as_dir" |
6116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6133 test -d "$as_dir" && break
6135 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6136 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6140 if mkdir
-p .
2>/dev
/null
; then
6141 as_mkdir_p
='mkdir -p "$as_dir"'
6143 test -d .
/-p && rmdir .
/-p
6148 # as_fn_executable_p FILE
6149 # -----------------------
6150 # Test if FILE is an executable regular file.
6151 as_fn_executable_p
()
6153 test -f "$1" && test -x "$1"
6154 } # as_fn_executable_p
6156 as_executable_p
=as_fn_executable_p
6158 # Sed expression to map a string onto a valid CPP name.
6159 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6161 # Sed expression to map a string onto a valid variable name.
6162 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6166 ## ----------------------------------- ##
6167 ## Main body of $CONFIG_STATUS script. ##
6168 ## ----------------------------------- ##
6170 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6173 # Save the log message, to keep $0 and so on meaningful, and to
6174 # report actual input values of CONFIG_FILES etc. instead of their
6175 # values after options handling.
6177 This file was extended by qbittorrent $as_me v4.2.0alpha, which was
6178 generated by GNU Autoconf 2.69. Invocation command line was
6180 CONFIG_FILES = $CONFIG_FILES
6181 CONFIG_HEADERS = $CONFIG_HEADERS
6182 CONFIG_LINKS = $CONFIG_LINKS
6183 CONFIG_COMMANDS = $CONFIG_COMMANDS
6186 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6191 case $ac_config_files in *"
6192 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6198 # Files that config.status was made for.
6199 config_files="$ac_config_files"
6200 config_commands="$ac_config_commands"
6204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6206 \`$as_me' instantiates files and other configuration actions
6207 from templates according to the current configuration. Unless the files
6208 and actions are specified as TAGs, all are instantiated by default.
6210 Usage: $0 [OPTION]... [TAG]...
6212 -h, --help print this help, then exit
6213 -V, --version print version number and configuration settings, then exit
6214 --config print configuration, then exit
6215 -q, --quiet, --silent
6216 do not print progress messages
6217 -d, --debug don't remove temporary files
6218 --recheck update $as_me by reconfiguring in the same conditions
6219 --file=FILE[:TEMPLATE]
6220 instantiate the configuration file FILE
6222 Configuration files:
6225 Configuration commands:
6228 Report bugs to <bugs.qbittorrent.org>.
6229 qbittorrent home page: <https://www.qbittorrent.org/>."
6232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6233 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6235 qbittorrent config.status v4.2.0alpha
6236 configured by $0, generated by GNU Autoconf 2.69,
6237 with options \\"\$ac_cs_config\\"
6239 Copyright (C) 2012 Free Software Foundation, Inc.
6240 This config.status script is free software; the Free Software Foundation
6241 gives unlimited permission to copy, distribute and modify it."
6248 test -n "\$AWK" || AWK=awk
6251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6252 # The default lists apply if the user does not specify any file.
6258 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6259 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6263 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6275 # Handling of the options.
6276 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6278 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6279 $as_echo "$ac_cs_version"; exit ;;
6280 --config |
--confi |
--conf |
--con |
--co |
--c )
6281 $as_echo "$ac_cs_config"; exit ;;
6282 --debug |
--debu |
--deb |
--de |
--d |
-d )
6284 --file |
--fil |
--fi |
--f )
6287 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6288 '') as_fn_error $?
"missing file argument" ;;
6290 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6291 ac_need_defaults
=false
;;
6292 --he |
--h |
--help |
--hel |
-h )
6293 $as_echo "$ac_cs_usage"; exit ;;
6294 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6295 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6299 -*) as_fn_error $?
"unrecognized option: \`$1'
6300 Try \`$0 --help' for more information." ;;
6302 *) as_fn_append ac_config_targets
" $1"
6303 ac_need_defaults
=false
;;
6309 ac_configure_extra_args
=
6311 if $ac_cs_silent; then
6313 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6318 if \$ac_cs_recheck; then
6319 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6321 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6322 CONFIG_SHELL='$SHELL'
6328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6332 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6333 ## Running $as_me. ##
6339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6343 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6349 # Handling of arguments.
6350 for ac_config_target
in $ac_config_targets
6352 case $ac_config_target in
6353 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6354 "conf.pri") CONFIG_FILES
="$CONFIG_FILES conf.pri" ;;
6356 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6361 # If the user did not use the arguments to specify the items to instantiate,
6362 # then the envvar interface is used. Set only those that are not.
6363 # We use the long form for the default assignment because of an extremely
6364 # bizarre bug on SunOS 4.1.3.
6365 if $ac_need_defaults; then
6366 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6367 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6370 # Have a temporary directory for convenience. Make it in the build tree
6371 # simply because there is no reason against having it here, and in addition,
6372 # creating and moving files from /tmp can sometimes cause problems.
6373 # Hook for its removal unless debugging.
6374 # Note that there is a small window in which the directory will not be cleaned:
6375 # after its creation but before its name has been assigned to `$tmp'.
6379 trap 'exit_status=$?
6381 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6383 trap 'as_fn_exit 1' 1 2 13 15
6385 # Create a (secure) tmp directory for tmp files.
6388 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6392 tmp
=.
/conf$$
-$RANDOM
6393 (umask 077 && mkdir
"$tmp")
6394 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6397 # Set up the scripts for CONFIG_FILES section.
6398 # No need to generate them if there are no CONFIG_FILES.
6399 # This happens for instance with `./config.status config.h'.
6400 if test -n "$CONFIG_FILES"; then
6403 ac_cr
=`echo X | tr X '\015'`
6404 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6405 # But we know of no other shell where ac_cr would be empty at this
6406 # point, so we can use a bashism as a fallback.
6407 if test "x$ac_cr" = x
; then
6408 eval ac_cr
=\$
\'\\r
\'
6410 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6411 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6417 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6422 echo "cat >conf$$subs.awk <<_ACEOF" &&
6423 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6426 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6427 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6429 for ac_last_try in false false false false false :; do
6430 . ./conf$$subs.sh ||
6431 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6433 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6434 if test $ac_delim_n = $ac_delim_num; then
6436 elif $ac_last_try; then
6437 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6439 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6445 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6449 s/^/S["/; s
/!.
*/"]=/
6459 s/\(.\{148\}\)..*/\1/
6461 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6466 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6473 s/\(.\{148\}\)..*/\1/
6475 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6479 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6484 ' <conf$$subs.awk | sed '
6489 ' >>$CONFIG_STATUS || ac_write_fail=1
6490 rm -f conf$$subs.awk
6491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6493 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6494 for (key in S) S_is_set[key] = 1
6500 nfields = split(line, field, "@
")
6502 len = length(field[1])
6503 for (i = 2; i < nfields; i++) {
6505 keylen = length(key)
6506 if (S_is_set[key]) {
6508 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6509 len += length(value) + length(field[++i])
6520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6521 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6522 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6525 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6526 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6529 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6530 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6531 # trailing colons and then remove the whole line if VPATH becomes empty
6532 # (actually we leave an empty line to preserve line numbers).
6533 if test "x
$srcdir" = x.; then
6534 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6553 fi # test -n "$CONFIG_FILES"
6556 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
6561 :[FHLC]) ac_mode=$ac_tag; continue;;
6563 case $ac_mode$ac_tag in
6565 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
6566 :[FH]-) ac_tag=-:-;;
6567 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6584 -) ac_f="$ac_tmp/stdin";;
6585 *) # Look for the file first in the build tree, then in the source tree
6586 # (if the path is not absolute). The absolute path cannot be DOS-style,
6587 # because $ac_f cannot contain `:'.
6591 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6593 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6595 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
6596 as_fn_append ac_file_inputs " '$ac_f'"
6599 # Let's still pretend it is `configure' which instantiates (i.e., don't
6600 # use $as_me), people would be surprised to read:
6601 # /* config.h. Generated by config.status. */
6602 configure_input='Generated from '`
6603 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6605 if test x"$ac_file" != x-; then
6606 configure_input="$ac_file.
$configure_input"
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
6608 $as_echo "$as_me: creating
$ac_file" >&6;}
6610 # Neutralize special characters interpreted by sed in replacement strings.
6611 case $configure_input in #(
6612 *\&* | *\|* | *\\* )
6613 ac_sed_conf_input=`$as_echo "$configure_input" |
6614 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6615 *) ac_sed_conf_input=$configure_input;;
6619 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
6620 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
6625 ac_dir=`$as_dirname -- "$ac_file" ||
6626 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6627 X"$ac_file" : 'X\(//\)[^/]' \| \
6628 X"$ac_file" : 'X\(//\)$' \| \
6629 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6630 $as_echo X"$ac_file" |
6631 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6648 as_dir="$ac_dir"; as_fn_mkdir_p
6652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6654 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6655 # A "..
" for each directory in $ac_dir_suffix.
6656 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6657 case $ac_top_builddir_sub in
6658 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6659 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6662 ac_abs_top_builddir=$ac_pwd
6663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6664 # for backward compatibility:
6665 ac_top_builddir=$ac_top_build_prefix
6668 .) # We are building in place.
6670 ac_top_srcdir=$ac_top_builddir_sub
6671 ac_abs_top_srcdir=$ac_pwd ;;
6672 [\\/]* | ?:[\\/]* ) # Absolute name.
6673 ac_srcdir=$srcdir$ac_dir_suffix;
6674 ac_top_srcdir=$srcdir
6675 ac_abs_top_srcdir=$srcdir ;;
6677 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6678 ac_top_srcdir=$ac_top_build_prefix$srcdir
6679 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6691 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6692 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6696 [\\/$]* | ?:[\\/]* ) ;;
6697 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6702 # If the template does not know about datarootdir, expand it.
6703 # FIXME: This hack should be removed a few years after 2.60.
6704 ac_datarootdir_hack=; ac_datarootdir_seen=
6715 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
6716 *datarootdir*) ac_datarootdir_seen=yes;;
6717 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
6719 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
6721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6722 ac_datarootdir_hack='
6723 s&@datadir@&$datadir&g
6724 s&@docdir@&$docdir&g
6725 s&@infodir@&$infodir&g
6726 s&@localedir@&$localedir&g
6727 s&@mandir@&$mandir&g
6728 s&\\\${datarootdir}&$datarootdir&g' ;;
6732 # Neutralize VPATH when `$srcdir' = `.'.
6733 # Shell code in configure.ac might set extrasub.
6734 # FIXME: do we really want to maintain this feature?
6735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6736 ac_sed_extra="$ac_vpsub
6739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6741 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6742 s|@configure_input@|
$ac_sed_conf_input|
;t t
6743 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6744 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6745 s
&@srcdir@
&$ac_srcdir&;t t
6746 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6747 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6748 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6749 s
&@builddir@
&$ac_builddir&;t t
6750 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6751 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6752 s
&@INSTALL@
&$ac_INSTALL&;t t
6753 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
6754 $ac_datarootdir_hack
6756 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6757 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6759 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6760 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6761 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6762 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6764 which seems to be undefined. Please make sure it is defined" >&5
6765 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6766 which seems to be undefined. Please make sure it is defined" >&2;}
6768 rm -f "$ac_tmp/stdin"
6770 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6771 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6773 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6777 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6778 $as_echo "$as_me: executing $ac_file commands" >&6;}
6783 case $ac_file$ac_mode in
6784 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6785 # Older Autoconf quotes --file arguments for eval, but not when files
6786 # are listed without --file. Let's play safe and only
enable the
eval
6787 # if we detect the quoting.
6788 case $CONFIG_FILES in
6789 *\'*) eval set x
"$CONFIG_FILES" ;;
6790 *) set x
$CONFIG_FILES ;;
6795 # Strip MF so we end up with the name of the file.
6796 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6797 # Check whether this is an Automake generated Makefile or not.
6798 # We used to match only the files named 'Makefile.in', but
6799 # some people rename them; so instead we look at the file content.
6800 # Grep'ing the first line is not enough: some people post-process
6801 # each Makefile.in and add a new line on top of each file to say so.
6802 # Grep'ing the whole file is not good either: AIX grep has a line
6803 # limit of 2048, but all sed's we know have understand at least 4000.
6804 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
6805 dirpart
=`$as_dirname -- "$mf" ||
6806 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6807 X"$mf" : 'X\(//\)[^/]' \| \
6808 X"$mf" : 'X\(//\)$' \| \
6809 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6831 # Extract the definition of DEPDIR, am__include, and am__quote
6832 # from the Makefile without running 'make'.
6833 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6834 test -z "$DEPDIR" && continue
6835 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
6836 test -z "$am__include" && continue
6837 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
6838 # Find all dependency output files, they are included files with
6839 # $(DEPDIR) in their names. We invoke sed twice because it is the
6840 # simplest approach to changing $(DEPDIR) to its actual value in the
6842 for file in `sed -n "
6843 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6844 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6845 # Make sure the directory exists.
6846 test -f "$dirpart/$file" && continue
6847 fdir
=`$as_dirname -- "$file" ||
6848 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6849 X"$file" : 'X\(//\)[^/]' \| \
6850 X"$file" : 'X\(//\)$' \| \
6851 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6853 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6870 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
6871 # echo "creating $dirpart/$file"
6872 echo '# dummy' > "$dirpart/$file"
6884 ac_clean_files
=$ac_clean_files_save
6886 test $ac_write_fail = 0 ||
6887 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
6890 # configure is writing to config.log, and then calls config.status.
6891 # config.status does its own redirection, appending to config.log.
6892 # Unfortunately, on DOS this fails, as config.log is still kept open
6893 # by configure, so config.status won't be able to write to it; its
6894 # output is simply discarded. So we exec the FD to /dev/null,
6895 # effectively closing config.log, so it can be properly (re)opened and
6896 # appended to by config.status. When coming back to configure, we
6897 # need to make the FD available again.
6898 if test "$no_create" != yes; then
6900 ac_config_status_args
=
6901 test "$silent" = yes &&
6902 ac_config_status_args
="$ac_config_status_args --quiet"
6904 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6906 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6907 # would make configure fail if this is the last instruction.
6908 $ac_cs_success || as_fn_exit
1
6910 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6912 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6915 if test "x$enable_systemd" = "xyes"; then :
6916 ac_config_files
="$ac_config_files dist/unix/systemd/qbittorrent-nox@.service"
6918 cat >confcache
<<\_ACEOF
6919 # This file is a shell script that caches the results of configure
6920 # tests run on this system so they can be shared between configure
6921 # scripts and configure runs, see configure's option --config-cache.
6922 # It is not useful on other systems. If it contains results you don't
6923 # want to keep, you may remove or edit it.
6925 # config.status only pays attention to the cache file if you give it
6926 # the --recheck option to rerun configure.
6928 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6929 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6934 # The following way of writing the cache mishandles newlines in values,
6935 # but we know of no workaround that is simple, portable, and efficient.
6936 # So, we kill variables containing newlines.
6937 # Ultrix sh set writes to stderr and can't be redirected directly,
6938 # and sets the high bit in the cache file unless we assign to the vars.
6940 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6941 eval ac_val
=\$
$ac_var
6945 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6946 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6949 _ | IFS | as_nl
) ;; #(
6950 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6951 *) { eval $ac_var=; unset $ac_var;} ;;
6957 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6958 *${as_nl}ac_space
=\
*)
6959 # `set' does not quote correctly, so add quotes: double-quote
6960 # substitution turns \\\\ into \\, and sed turns \\ into \.
6963 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6966 # `set' quotes correctly as required by POSIX, so do not add quotes.
6967 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6976 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6978 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6980 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6981 if test -w "$cache_file"; then
6982 if test "x$cache_file" != "x/dev/null"; then
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6984 $as_echo "$as_me: updating cache $cache_file" >&6;}
6985 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6986 cat confcache
>"$cache_file"
6988 case $cache_file in #(
6990 mv -f confcache
"$cache_file"$$
&&
6991 mv -f "$cache_file"$$
"$cache_file" ;; #(
6993 mv -f confcache
"$cache_file" ;;
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6999 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7004 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7005 # Let make expand exec_prefix.
7006 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7008 # Transform confdefs.h into DEFS.
7009 # Protect against shell expansion while executing Makefile rules.
7010 # Protect against Makefile macro expansion.
7012 # If the first sed substitution is executed (which looks for macros that
7013 # take arguments), then branch to the quote section. Otherwise,
7014 # look for a macro that doesn't take arguments.
7024 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
7026 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
7030 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7043 DEFS
=`sed -n "$ac_script" confdefs.h`
7049 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7050 # 1. Remove the extension, and $U if already installed.
7051 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7052 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7053 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7054 # will be set to the directory where LIBOBJS objects are built.
7055 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7056 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7060 LTLIBOBJS
=$ac_ltlibobjs
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7064 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7065 if test -n "$am_sleep_pid"; then
7066 # Hide warnings about reused PIDs.
7067 wait $am_sleep_pid 2>/dev
/null
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7070 $as_echo "done" >&6; }
7071 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7072 as_fn_error $?
"conditional \"AMDEP\" was never defined.
7073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7075 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7076 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
7077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7079 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7080 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
7081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7083 if test -n "$EXEEXT"; then
7085 am__EXEEXT_FALSE
='#'
7091 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
7092 as_fn_error $?
"conditional \"am__EXEEXT\" was never defined.
7093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7096 : "${CONFIG_STATUS=./config.status}"
7098 ac_clean_files_save
=$ac_clean_files
7099 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7101 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7103 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7105 # Generated by $as_me.
7106 # Run this file to recreate the current configuration.
7107 # Compiler output produced by configure, useful for debugging
7108 # configure, is in config.log if it exists.
7114 SHELL=\${CONFIG_SHELL-$SHELL}
7117 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7118 ## -------------------- ##
7119 ## M4sh Initialization. ##
7120 ## -------------------- ##
7122 # Be more Bourne compatible
7123 DUALCASE
=1; export DUALCASE
# for MKS sh
7124 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7127 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7128 # is contrary to our usage. Disable this feature.
7129 alias -g '${1+"$@"}'='"$@"'
7130 setopt NO_GLOB_SUBST
7132 case `(set -o) 2>/dev/null` in #(
7144 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7145 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7146 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7147 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7148 # Prefer a ksh shell builtin over an external printf program on Solaris,
7149 # but without wasting forks for bash or zsh.
7150 if test -z "$BASH_VERSION$ZSH_VERSION" \
7151 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7152 as_echo='print
-r --'
7153 as_echo_n='print
-rn --'
7154 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7155 as_echo='printf %s
\n'
7156 as_echo_n='printf %s
'
7158 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7159 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7160 as_echo_n='/usr
/ucb
/echo -n'
7162 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7163 as_echo_n_body='eval
7167 expr "X$arg" : "X\\(.*\\)$as_nl";
7168 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7170 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7172 export as_echo_n_body
7173 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7176 as_echo='sh
-c $as_echo_body as_echo
'
7179 # The user is always right.
7180 if test "${PATH_SEPARATOR+set}" != set; then
7182 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7183 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7190 # We need space, tab and new line, in precisely that order. Quoting is
7191 # there to prevent editors from complaining about space-tab.
7192 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7193 # splitting by setting IFS to empty value.)
7196 # Find who we are. Look in the path if we contain no directory separator.
7199 *[\\/]* ) as_myself=$0 ;;
7200 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7204 test -z "$as_dir" && as_dir=.
7205 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7211 # We did not find ourselves, most probably we were run as `sh COMMAND'
7212 # in which case we are not to be found in the path.
7213 if test "x$as_myself" = x
; then
7216 if test ! -f "$as_myself"; then
7217 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7221 # Unset variables that we do not need and which cause bugs (e.g. in
7222 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7223 # suppresses any "Segmentation fault" message there. '((' could
7224 # trigger a bug in pdksh 5.2.14.
7225 for as_var
in BASH_ENV ENV MAIL MAILPATH
7226 do eval test x\
${$as_var+set} = xset \
7227 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7240 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7243 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7244 # ----------------------------------------
7245 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7246 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7247 # script with STATUS, using 1 if that was 0.
7250 as_status
=$1; test $as_status -eq 0 && as_status
=1
7252 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7253 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7255 $as_echo "$as_me: error: $2" >&2
7256 as_fn_exit
$as_status
7260 # as_fn_set_status STATUS
7261 # -----------------------
7262 # Set $? to STATUS, without forking.
7266 } # as_fn_set_status
7270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7280 # Portably unset VAR.
7283 { eval $1=; unset $1;}
7285 as_unset
=as_fn_unset
7286 # as_fn_append VAR VALUE
7287 # ----------------------
7288 # Append the text in VALUE to the end of the definition contained in VAR. Take
7289 # advantage of any shell optimizations that allow amortized linear growth over
7290 # repeated appends, instead of the typical quadratic growth present in naive
7292 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7293 eval 'as_fn_append ()
7304 # as_fn_arith ARG...
7305 # ------------------
7306 # Perform arithmetic evaluation on the ARGs, and store the result in the
7307 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7308 # must be portable across $(()) and expr.
7309 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7310 eval 'as_fn_arith ()
7317 as_val
=`expr "$@" || test $? -eq 1`
7322 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7323 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7329 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7330 as_basename
=basename
7335 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7341 as_me
=`$as_basename -- "$0" ||
7342 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7343 X"$0" : 'X\(//\)$' \| \
7344 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7346 sed '/^.*\/\([^/][^/]*\)\/*$/{
7360 # Avoid depending upon Character Ranges.
7361 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7362 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7363 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7364 as_cr_digits
='0123456789'
7365 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7367 ECHO_C
= ECHO_N
= ECHO_T
=
7368 case `echo -n x` in #(((((
7370 case `echo 'xy\c'` in
7371 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7373 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7380 rm -f conf$$ conf$$.exe conf$$.
file
7381 if test -d conf$$.dir
; then
7382 rm -f conf$$.dir
/conf$$.
file
7385 mkdir conf$$.dir
2>/dev
/null
7387 if (echo >conf$$.
file) 2>/dev
/null
; then
7388 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7390 # ... but there are two gotchas:
7391 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7392 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7393 # In both cases, we have to default to `cp -pR'.
7394 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7396 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7404 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7405 rmdir conf$$.dir
2>/dev
/null
7410 # Create "$as_dir" as a directory, including parents if necessary.
7415 -*) as_dir
=.
/$as_dir;;
7417 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7421 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7422 *) as_qdir
=$as_dir;;
7424 as_dirs
="'$as_qdir' $as_dirs"
7425 as_dir
=`$as_dirname -- "$as_dir" ||
7426 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7427 X"$as_dir" : 'X\(//\)[^/]' \| \
7428 X"$as_dir" : 'X\(//\)$' \| \
7429 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7430 $as_echo X"$as_dir" |
7431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7448 test -d "$as_dir" && break
7450 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7451 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7455 if mkdir
-p .
2>/dev
/null
; then
7456 as_mkdir_p
='mkdir -p "$as_dir"'
7458 test -d .
/-p && rmdir .
/-p
7463 # as_fn_executable_p FILE
7464 # -----------------------
7465 # Test if FILE is an executable regular file.
7466 as_fn_executable_p
()
7468 test -f "$1" && test -x "$1"
7469 } # as_fn_executable_p
7471 as_executable_p
=as_fn_executable_p
7473 # Sed expression to map a string onto a valid CPP name.
7474 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7476 # Sed expression to map a string onto a valid variable name.
7477 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7481 ## ----------------------------------- ##
7482 ## Main body of $CONFIG_STATUS script. ##
7483 ## ----------------------------------- ##
7485 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7488 # Save the log message, to keep $0 and so on meaningful, and to
7489 # report actual input values of CONFIG_FILES etc. instead of their
7490 # values after options handling.
7492 This file was extended by qbittorrent $as_me v4.2.0alpha, which was
7493 generated by GNU Autoconf 2.69. Invocation command line was
7495 CONFIG_FILES = $CONFIG_FILES
7496 CONFIG_HEADERS = $CONFIG_HEADERS
7497 CONFIG_LINKS = $CONFIG_LINKS
7498 CONFIG_COMMANDS = $CONFIG_COMMANDS
7501 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7506 case $ac_config_files in *"
7507 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7513 # Files that config.status was made for.
7514 config_files="$ac_config_files"
7515 config_commands="$ac_config_commands"
7519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7521 \`$as_me' instantiates files and other configuration actions
7522 from templates according to the current configuration. Unless the files
7523 and actions are specified as TAGs, all are instantiated by default.
7525 Usage: $0 [OPTION]... [TAG]...
7527 -h, --help print this help, then exit
7528 -V, --version print version number and configuration settings, then exit
7529 --config print configuration, then exit
7530 -q, --quiet, --silent
7531 do not print progress messages
7532 -d, --debug don't remove temporary files
7533 --recheck update $as_me by reconfiguring in the same conditions
7534 --file=FILE[:TEMPLATE]
7535 instantiate the configuration file FILE
7537 Configuration files:
7540 Configuration commands:
7543 Report bugs to <bugs.qbittorrent.org>.
7544 qbittorrent home page: <https://www.qbittorrent.org/>."
7547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7548 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7550 qbittorrent config.status v4.2.0alpha
7551 configured by $0, generated by GNU Autoconf 2.69,
7552 with options \\"\$ac_cs_config\\"
7554 Copyright (C) 2012 Free Software Foundation, Inc.
7555 This config.status script is free software; the Free Software Foundation
7556 gives unlimited permission to copy, distribute and modify it."
7563 test -n "\$AWK" || AWK=awk
7566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7567 # The default lists apply if the user does not specify any file.
7573 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7574 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7578 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7590 # Handling of the options.
7591 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7593 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7594 $as_echo "$ac_cs_version"; exit ;;
7595 --config |
--confi |
--conf |
--con |
--co |
--c )
7596 $as_echo "$ac_cs_config"; exit ;;
7597 --debug |
--debu |
--deb |
--de |
--d |
-d )
7599 --file |
--fil |
--fi |
--f )
7602 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7603 '') as_fn_error $?
"missing file argument" ;;
7605 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7606 ac_need_defaults
=false
;;
7607 --he |
--h |
--help |
--hel |
-h )
7608 $as_echo "$ac_cs_usage"; exit ;;
7609 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7610 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7614 -*) as_fn_error $?
"unrecognized option: \`$1'
7615 Try \`$0 --help' for more information." ;;
7617 *) as_fn_append ac_config_targets
" $1"
7618 ac_need_defaults
=false
;;
7624 ac_configure_extra_args
=
7626 if $ac_cs_silent; then
7628 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7633 if \$ac_cs_recheck; then
7634 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7636 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7637 CONFIG_SHELL='$SHELL'
7643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7647 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7648 ## Running $as_me. ##
7654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7658 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7664 # Handling of arguments.
7665 for ac_config_target
in $ac_config_targets
7667 case $ac_config_target in
7668 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7669 "conf.pri") CONFIG_FILES
="$CONFIG_FILES conf.pri" ;;
7670 "dist/unix/systemd/qbittorrent-nox@.service") CONFIG_FILES
="$CONFIG_FILES dist/unix/systemd/qbittorrent-nox@.service" ;;
7672 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7677 # If the user did not use the arguments to specify the items to instantiate,
7678 # then the envvar interface is used. Set only those that are not.
7679 # We use the long form for the default assignment because of an extremely
7680 # bizarre bug on SunOS 4.1.3.
7681 if $ac_need_defaults; then
7682 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7683 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7686 # Have a temporary directory for convenience. Make it in the build tree
7687 # simply because there is no reason against having it here, and in addition,
7688 # creating and moving files from /tmp can sometimes cause problems.
7689 # Hook for its removal unless debugging.
7690 # Note that there is a small window in which the directory will not be cleaned:
7691 # after its creation but before its name has been assigned to `$tmp'.
7695 trap 'exit_status=$?
7697 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7699 trap 'as_fn_exit 1' 1 2 13 15
7701 # Create a (secure) tmp directory for tmp files.
7704 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7708 tmp
=.
/conf$$
-$RANDOM
7709 (umask 077 && mkdir
"$tmp")
7710 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7713 # Set up the scripts for CONFIG_FILES section.
7714 # No need to generate them if there are no CONFIG_FILES.
7715 # This happens for instance with `./config.status config.h'.
7716 if test -n "$CONFIG_FILES"; then
7719 ac_cr
=`echo X | tr X '\015'`
7720 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7721 # But we know of no other shell where ac_cr would be empty at this
7722 # point, so we can use a bashism as a fallback.
7723 if test "x$ac_cr" = x
; then
7724 eval ac_cr
=\$
\'\\r
\'
7726 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7727 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7733 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7738 echo "cat >conf$$subs.awk <<_ACEOF" &&
7739 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7742 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7743 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7745 for ac_last_try in false false false false false :; do
7746 . ./conf$$subs.sh ||
7747 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7749 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7750 if test $ac_delim_n = $ac_delim_num; then
7752 elif $ac_last_try; then
7753 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7755 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7761 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7765 s/^/S["/; s
/!.
*/"]=/
7775 s/\(.\{148\}\)..*/\1/
7777 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7782 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7789 s/\(.\{148\}\)..*/\1/
7791 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7795 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7800 ' <conf$$subs.awk | sed '
7805 ' >>$CONFIG_STATUS || ac_write_fail=1
7806 rm -f conf$$subs.awk
7807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7809 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7810 for (key in S) S_is_set[key] = 1
7816 nfields = split(line, field, "@
")
7818 len = length(field[1])
7819 for (i = 2; i < nfields; i++) {
7821 keylen = length(key)
7822 if (S_is_set[key]) {
7824 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7825 len += length(value) + length(field[++i])
7836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7837 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7838 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7841 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7842 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7845 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7846 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7847 # trailing colons and then remove the whole line if VPATH becomes empty
7848 # (actually we leave an empty line to preserve line numbers).
7849 if test "x
$srcdir" = x.; then
7850 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7869 fi # test -n "$CONFIG_FILES"
7872 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
7877 :[FHLC]) ac_mode=$ac_tag; continue;;
7879 case $ac_mode$ac_tag in
7881 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
7882 :[FH]-) ac_tag=-:-;;
7883 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7900 -) ac_f="$ac_tmp/stdin";;
7901 *) # Look for the file first in the build tree, then in the source tree
7902 # (if the path is not absolute). The absolute path cannot be DOS-style,
7903 # because $ac_f cannot contain `:'.
7907 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7909 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7911 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
7912 as_fn_append ac_file_inputs " '$ac_f'"
7915 # Let's still pretend it is `configure' which instantiates (i.e., don't
7916 # use $as_me), people would be surprised to read:
7917 # /* config.h. Generated by config.status. */
7918 configure_input='Generated from '`
7919 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7921 if test x"$ac_file" != x-; then
7922 configure_input="$ac_file.
$configure_input"
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
7924 $as_echo "$as_me: creating
$ac_file" >&6;}
7926 # Neutralize special characters interpreted by sed in replacement strings.
7927 case $configure_input in #(
7928 *\&* | *\|* | *\\* )
7929 ac_sed_conf_input=`$as_echo "$configure_input" |
7930 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7931 *) ac_sed_conf_input=$configure_input;;
7935 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
7936 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
7941 ac_dir=`$as_dirname -- "$ac_file" ||
7942 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7943 X"$ac_file" : 'X\(//\)[^/]' \| \
7944 X"$ac_file" : 'X\(//\)$' \| \
7945 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7946 $as_echo X"$ac_file" |
7947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7964 as_dir="$ac_dir"; as_fn_mkdir_p
7968 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7970 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7971 # A "..
" for each directory in $ac_dir_suffix.
7972 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7973 case $ac_top_builddir_sub in
7974 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7975 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7978 ac_abs_top_builddir=$ac_pwd
7979 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7980 # for backward compatibility:
7981 ac_top_builddir=$ac_top_build_prefix
7984 .) # We are building in place.
7986 ac_top_srcdir=$ac_top_builddir_sub
7987 ac_abs_top_srcdir=$ac_pwd ;;
7988 [\\/]* | ?:[\\/]* ) # Absolute name.
7989 ac_srcdir=$srcdir$ac_dir_suffix;
7990 ac_top_srcdir=$srcdir
7991 ac_abs_top_srcdir=$srcdir ;;
7993 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7994 ac_top_srcdir=$ac_top_build_prefix$srcdir
7995 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7997 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8007 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8008 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8012 [\\/$]* | ?:[\\/]* ) ;;
8013 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8018 # If the template does not know about datarootdir, expand it.
8019 # FIXME: This hack should be removed a few years after 2.60.
8020 ac_datarootdir_hack=; ac_datarootdir_seen=
8031 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
8032 *datarootdir*) ac_datarootdir_seen=yes;;
8033 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
8035 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
8037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8038 ac_datarootdir_hack='
8039 s&@datadir@&$datadir&g
8040 s&@docdir@&$docdir&g
8041 s&@infodir@&$infodir&g
8042 s&@localedir@&$localedir&g
8043 s&@mandir@&$mandir&g
8044 s&\\\${datarootdir}&$datarootdir&g' ;;
8048 # Neutralize VPATH when `$srcdir' = `.'.
8049 # Shell code in configure.ac might set extrasub.
8050 # FIXME: do we really want to maintain this feature?
8051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8052 ac_sed_extra="$ac_vpsub
8055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8057 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8058 s|@configure_input@|
$ac_sed_conf_input|
;t t
8059 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8060 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8061 s
&@srcdir@
&$ac_srcdir&;t t
8062 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8063 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8064 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8065 s
&@builddir@
&$ac_builddir&;t t
8066 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8067 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8068 s
&@INSTALL@
&$ac_INSTALL&;t t
8069 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8070 $ac_datarootdir_hack
8072 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8073 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8075 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8076 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8077 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8078 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8080 which seems to be undefined. Please make sure it is defined" >&5
8081 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8082 which seems to be undefined. Please make sure it is defined" >&2;}
8084 rm -f "$ac_tmp/stdin"
8086 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8087 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8089 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8093 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8094 $as_echo "$as_me: executing $ac_file commands" >&6;}
8099 case $ac_file$ac_mode in
8100 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8101 # Older Autoconf quotes --file arguments for eval, but not when files
8102 # are listed without --file. Let's play safe and only
enable the
eval
8103 # if we detect the quoting.
8104 case $CONFIG_FILES in
8105 *\'*) eval set x
"$CONFIG_FILES" ;;
8106 *) set x
$CONFIG_FILES ;;
8111 # Strip MF so we end up with the name of the file.
8112 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8113 # Check whether this is an Automake generated Makefile or not.
8114 # We used to match only the files named 'Makefile.in', but
8115 # some people rename them; so instead we look at the file content.
8116 # Grep'ing the first line is not enough: some people post-process
8117 # each Makefile.in and add a new line on top of each file to say so.
8118 # Grep'ing the whole file is not good either: AIX grep has a line
8119 # limit of 2048, but all sed's we know have understand at least 4000.
8120 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
8121 dirpart
=`$as_dirname -- "$mf" ||
8122 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8123 X"$mf" : 'X\(//\)[^/]' \| \
8124 X"$mf" : 'X\(//\)$' \| \
8125 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8147 # Extract the definition of DEPDIR, am__include, and am__quote
8148 # from the Makefile without running 'make'.
8149 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8150 test -z "$DEPDIR" && continue
8151 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8152 test -z "$am__include" && continue
8153 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8154 # Find all dependency output files, they are included files with
8155 # $(DEPDIR) in their names. We invoke sed twice because it is the
8156 # simplest approach to changing $(DEPDIR) to its actual value in the
8158 for file in `sed -n "
8159 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8160 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8161 # Make sure the directory exists.
8162 test -f "$dirpart/$file" && continue
8163 fdir
=`$as_dirname -- "$file" ||
8164 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8165 X"$file" : 'X\(//\)[^/]' \| \
8166 X"$file" : 'X\(//\)$' \| \
8167 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8186 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
8187 # echo "creating $dirpart/$file"
8188 echo '# dummy' > "$dirpart/$file"
8200 ac_clean_files
=$ac_clean_files_save
8202 test $ac_write_fail = 0 ||
8203 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8206 # configure is writing to config.log, and then calls config.status.
8207 # config.status does its own redirection, appending to config.log.
8208 # Unfortunately, on DOS this fails, as config.log is still kept open
8209 # by configure, so config.status won't be able to write to it; its
8210 # output is simply discarded. So we exec the FD to /dev/null,
8211 # effectively closing config.log, so it can be properly (re)opened and
8212 # appended to by config.status. When coming back to configure, we
8213 # need to make the FD available again.
8214 if test "$no_create" != yes; then
8216 ac_config_status_args
=
8217 test "$silent" = yes &&
8218 ac_config_status_args
="$ac_config_status_args --quiet"
8220 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8222 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8223 # would make configure fail if this is the last instruction.
8224 $ac_cs_success || as_fn_exit
1
8226 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8228 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: Running qmake to generate the makefile..." >&5
8236 $as_echo "$as_me: Running qmake to generate the makefile..." >&6;}
8237 CONFDIR
="$( cd "$
( dirname "$0" )" && pwd )"
8239 $QT_QMAKE -r $CONFDIR/qbittorrent.pro
"QMAKE_LRELEASE=$QMAKE_LRELEASE"
8244 if test "x$ret" = "x0"; then :
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: Good, your configure finished." >&5
8246 $as_echo "$as_me: Good, your configure finished." >&6;}
8248 as_fn_error $?
"Failed running $QT_QMAKE to generate the makefile" "$LINENO" 5