2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for qbittorrent v4.3.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.3.0alpha'
584 PACKAGE_STRING
='qbittorrent v4.3.0alpha'
585 PACKAGE_BUGREPORT
='bugs.qbittorrent.org'
586 PACKAGE_URL
='https://www.qbittorrent.org/'
588 ac_subst_vars
='am__EXEEXT_FALSE
596 QBT_CONF_EXTRA_CFLAGS
643 INSTALL_STRIP_PROGRAM
705 program_transform_name
719 enable_option_checking
720 enable_dependency_tracking
732 ac_precious_vars
='build_alias
757 # Initialize some variables set by options.
759 ac_init_version
=false
760 ac_unrecognized_opts
=
762 # The variables have the same names as the options, with
763 # dashes changed to underlines.
771 program_transform_name
=s
,x
,x
,
779 # Installation directory options.
780 # These are left unexpanded so users can "make install exec_prefix=/foo"
781 # and all the variables that are supposed to be based on exec_prefix
782 # by default will actually change.
783 # Use braces instead of parens because sh, perl, etc. also accept them.
784 # (The list follows the same order as the GNU Coding Standards.)
785 bindir
='${exec_prefix}/bin'
786 sbindir
='${exec_prefix}/sbin'
787 libexecdir
='${exec_prefix}/libexec'
788 datarootdir
='${prefix}/share'
789 datadir
='${datarootdir}'
790 sysconfdir
='${prefix}/etc'
791 sharedstatedir
='${prefix}/com'
792 localstatedir
='${prefix}/var'
793 runstatedir
='${localstatedir}/run'
794 includedir
='${prefix}/include'
795 oldincludedir
='/usr/include'
796 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
797 infodir
='${datarootdir}/info'
802 libdir
='${exec_prefix}/lib'
803 localedir
='${datarootdir}/locale'
804 mandir
='${datarootdir}/man'
810 # If the previous option needs an argument, assign it.
811 if test -n "$ac_prev"; then
812 eval $ac_prev=\
$ac_option
818 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
823 # Accept the important Cygnus configure options, so we can diagnose typos.
825 case $ac_dashdash$ac_option in
829 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
831 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
834 -build |
--build |
--buil |
--bui |
--bu)
835 ac_prev
=build_alias
;;
836 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
837 build_alias
=$ac_optarg ;;
839 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
840 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
841 ac_prev
=cache_file
;;
842 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
843 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
844 cache_file
=$ac_optarg ;;
847 cache_file
=config.cache
;;
849 -datadir |
--datadir |
--datadi |
--datad)
851 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
852 datadir
=$ac_optarg ;;
854 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
855 |
--dataroo |
--dataro |
--datar)
856 ac_prev
=datarootdir
;;
857 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
858 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
859 datarootdir
=$ac_optarg ;;
861 -disable-* |
--disable-*)
862 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
863 # Reject names that are not valid shell variable names.
864 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
865 as_fn_error $?
"invalid feature name: $ac_useropt"
866 ac_useropt_orig
=$ac_useropt
867 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
868 case $ac_user_opts in
872 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
873 ac_unrecognized_sep
=', ';;
875 eval enable_
$ac_useropt=no
;;
877 -docdir |
--docdir |
--docdi |
--doc |
--do)
879 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
882 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
884 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
887 -enable-* |
--enable-*)
888 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
889 # Reject names that are not valid shell variable names.
890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
891 as_fn_error $?
"invalid feature name: $ac_useropt"
892 ac_useropt_orig
=$ac_useropt
893 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
894 case $ac_user_opts in
898 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
899 ac_unrecognized_sep
=', ';;
901 eval enable_
$ac_useropt=\
$ac_optarg ;;
903 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
904 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
905 |
--exec |
--exe |
--ex)
906 ac_prev
=exec_prefix
;;
907 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
908 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
909 |
--exec=* |
--exe=* |
--ex=*)
910 exec_prefix
=$ac_optarg ;;
912 -gas |
--gas |
--ga |
--g)
913 # Obsolete; use --with-gas.
916 -help |
--help |
--hel |
--he |
-h)
918 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
919 ac_init_help
=recursive
;;
920 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
921 ac_init_help
=short
;;
923 -host |
--host |
--hos |
--ho)
924 ac_prev
=host_alias
;;
925 -host=* |
--host=* |
--hos=* |
--ho=*)
926 host_alias
=$ac_optarg ;;
928 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
930 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
932 htmldir
=$ac_optarg ;;
934 -includedir |
--includedir |
--includedi |
--included |
--include \
935 |
--includ |
--inclu |
--incl |
--inc)
936 ac_prev
=includedir
;;
937 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
938 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
939 includedir
=$ac_optarg ;;
941 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
943 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
944 infodir
=$ac_optarg ;;
946 -libdir |
--libdir |
--libdi |
--libd)
948 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
951 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
952 |
--libexe |
--libex |
--libe)
953 ac_prev
=libexecdir
;;
954 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
955 |
--libexe=* |
--libex=* |
--libe=*)
956 libexecdir
=$ac_optarg ;;
958 -localedir |
--localedir |
--localedi |
--localed |
--locale)
960 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
961 localedir
=$ac_optarg ;;
963 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
964 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
965 ac_prev
=localstatedir
;;
966 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
967 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
968 localstatedir
=$ac_optarg ;;
970 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
972 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
976 # Obsolete; use --without-fp.
979 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
980 |
--no-cr |
--no-c |
-n)
983 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
984 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
987 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
988 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
989 |
--oldin |
--oldi |
--old |
--ol |
--o)
990 ac_prev
=oldincludedir
;;
991 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
992 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
993 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
994 oldincludedir
=$ac_optarg ;;
996 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
998 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1001 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1002 |
--program-pre |
--program-pr |
--program-p)
1003 ac_prev
=program_prefix
;;
1004 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1005 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1006 program_prefix
=$ac_optarg ;;
1008 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1009 |
--program-suf |
--program-su |
--program-s)
1010 ac_prev
=program_suffix
;;
1011 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1012 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1013 program_suffix
=$ac_optarg ;;
1015 -program-transform-name |
--program-transform-name \
1016 |
--program-transform-nam |
--program-transform-na \
1017 |
--program-transform-n |
--program-transform- \
1018 |
--program-transform |
--program-transfor \
1019 |
--program-transfo |
--program-transf \
1020 |
--program-trans |
--program-tran \
1021 |
--progr-tra |
--program-tr |
--program-t)
1022 ac_prev
=program_transform_name
;;
1023 -program-transform-name=* |
--program-transform-name=* \
1024 |
--program-transform-nam=* |
--program-transform-na=* \
1025 |
--program-transform-n=* |
--program-transform-=* \
1026 |
--program-transform=* |
--program-transfor=* \
1027 |
--program-transfo=* |
--program-transf=* \
1028 |
--program-trans=* |
--program-tran=* \
1029 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1030 program_transform_name
=$ac_optarg ;;
1032 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1034 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1035 pdfdir
=$ac_optarg ;;
1037 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1039 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1042 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1043 |
-silent |
--silent |
--silen |
--sile |
--sil)
1046 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1047 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1048 |
--run |
--ru |
--r)
1049 ac_prev
=runstatedir
;;
1050 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1051 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1052 |
--run=* |
--ru=* |
--r=*)
1053 runstatedir
=$ac_optarg ;;
1055 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1057 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1059 sbindir
=$ac_optarg ;;
1061 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1062 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1063 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1065 ac_prev
=sharedstatedir
;;
1066 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1067 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1068 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1070 sharedstatedir
=$ac_optarg ;;
1072 -site |
--site |
--sit)
1074 -site=* |
--site=* |
--sit=*)
1077 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1079 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1080 srcdir
=$ac_optarg ;;
1082 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1083 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1084 ac_prev
=sysconfdir
;;
1085 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1086 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1087 sysconfdir
=$ac_optarg ;;
1089 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1090 ac_prev
=target_alias
;;
1091 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1092 target_alias
=$ac_optarg ;;
1094 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1097 -version |
--version |
--versio |
--versi |
--vers |
-V)
1098 ac_init_version
=: ;;
1101 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1104 as_fn_error $?
"invalid package name: $ac_useropt"
1105 ac_useropt_orig
=$ac_useropt
1106 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1111 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1112 ac_unrecognized_sep
=', ';;
1114 eval with_
$ac_useropt=\
$ac_optarg ;;
1116 -without-* |
--without-*)
1117 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1120 as_fn_error $?
"invalid package name: $ac_useropt"
1121 ac_useropt_orig
=$ac_useropt
1122 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1127 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1128 ac_unrecognized_sep
=', ';;
1130 eval with_
$ac_useropt=no
;;
1133 # Obsolete; use --with-x.
1136 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1137 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1138 ac_prev
=x_includes
;;
1139 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1140 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1141 x_includes
=$ac_optarg ;;
1143 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1144 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1145 ac_prev
=x_libraries
;;
1146 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1147 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1148 x_libraries
=$ac_optarg ;;
1150 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1151 Try \`$0 --help' for more information"
1155 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1156 # Reject names that are not valid shell variable names.
1157 case $ac_envvar in #(
1158 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1159 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1161 eval $ac_envvar=\
$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1168 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1175 if test -n "$ac_prev"; then
1176 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1177 as_fn_error $?
"missing argument to $ac_option"
1180 if test -n "$ac_unrecognized_opts"; then
1181 case $enable_option_checking in
1183 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1184 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1188 # Check all directory arguments for consistency.
1189 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1190 datadir sysconfdir sharedstatedir localstatedir includedir \
1191 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1192 libdir localedir mandir runstatedir
1194 eval ac_val
=\$
$ac_var
1195 # Remove trailing slashes.
1198 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1199 eval $ac_var=\
$ac_val;;
1201 # Be sure to have absolute directory names.
1203 [\\/$
]* | ?
:[\\/]* ) continue;;
1204 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1206 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1209 # There might be people who depend on the old broken behavior: `$host'
1210 # used to hold the argument of --host etc.
1211 # FIXME: To remove some day.
1214 target
=$target_alias
1216 # FIXME: To remove some day.
1217 if test "x$host_alias" != x
; then
1218 if test "x$build_alias" = x
; then
1219 cross_compiling
=maybe
1220 elif test "x$build_alias" != "x$host_alias"; then
1226 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1228 test "$silent" = yes && exec 6>/dev
/null
1231 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1232 ac_ls_di
=`ls -di .` &&
1233 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1234 as_fn_error $?
"working directory cannot be determined"
1235 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1236 as_fn_error $?
"pwd does not report name of working directory"
1239 # Find the source files, if location was not specified.
1240 if test -z "$srcdir"; then
1241 ac_srcdir_defaulted
=yes
1242 # Try the directory containing this script, then the parent directory.
1243 ac_confdir
=`$as_dirname -- "$as_myself" ||
1244 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1245 X"$as_myself" : 'X\(//\)[^/]' \| \
1246 X"$as_myself" : 'X\(//\)$' \| \
1247 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1248 $as_echo X"$as_myself" |
1249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1267 if test ! -r "$srcdir/$ac_unique_file"; then
1271 ac_srcdir_defaulted
=no
1273 if test ! -r "$srcdir/$ac_unique_file"; then
1274 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1275 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1277 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1279 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1281 # When building in place, set srcdir=.
1282 if test "$ac_abs_confdir" = "$ac_pwd"; then
1285 # Remove unnecessary trailing slashes from srcdir.
1286 # Double slashes in file names in object file debugging info
1287 # mess up M-x gdb in Emacs.
1289 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1291 for ac_var
in $ac_precious_vars; do
1292 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1293 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1294 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1295 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1299 # Report the --help message.
1301 if test "$ac_init_help" = "long"; then
1302 # Omit some internal or obsolete options to make the list less imposing.
1303 # This message is too long to be a string in the A/UX 3.1 sh.
1305 \`configure' configures qbittorrent v4.3.0alpha to adapt to many kinds of systems.
1307 Usage: $0 [OPTION]... [VAR=VALUE]...
1309 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1310 VAR=VALUE. See below for descriptions of some of the useful variables.
1312 Defaults for the options are specified in brackets.
1315 -h, --help display this help and exit
1316 --help=short display options specific to this package
1317 --help=recursive display the short help of all the included packages
1318 -V, --version display version information and exit
1319 -q, --quiet, --silent do not print \`checking ...' messages
1320 --cache-file=FILE cache test results in FILE [disabled]
1321 -C, --config-cache alias for \`--cache-file=config.cache'
1322 -n, --no-create do not create output files
1323 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1325 Installation directories:
1326 --prefix=PREFIX install architecture-independent files in PREFIX
1327 [$ac_default_prefix]
1328 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1331 By default, \`make install' will install all the files in
1332 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1333 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1334 for instance \`--prefix=\$HOME'.
1336 For better control, use the options below.
1338 Fine tuning of the installation directories:
1339 --bindir=DIR user executables [EPREFIX/bin]
1340 --sbindir=DIR system admin executables [EPREFIX/sbin]
1341 --libexecdir=DIR program executables [EPREFIX/libexec]
1342 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1343 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1344 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1345 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1346 --libdir=DIR object code libraries [EPREFIX/lib]
1347 --includedir=DIR C header files [PREFIX/include]
1348 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1349 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1350 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1351 --infodir=DIR info documentation [DATAROOTDIR/info]
1352 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1353 --mandir=DIR man documentation [DATAROOTDIR/man]
1354 --docdir=DIR documentation root [DATAROOTDIR/doc/qbittorrent]
1355 --htmldir=DIR html documentation [DOCDIR]
1356 --dvidir=DIR dvi documentation [DOCDIR]
1357 --pdfdir=DIR pdf documentation [DOCDIR]
1358 --psdir=DIR ps documentation [DOCDIR]
1364 --program-prefix=PREFIX prepend PREFIX to installed program names
1365 --program-suffix=SUFFIX append SUFFIX to installed program names
1366 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1369 --build=BUILD configure
for building on BUILD
[guessed
]
1370 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1374 if test -n "$ac_init_help"; then
1375 case $ac_init_help in
1376 short | recursive
) echo "Configuration of qbittorrent v4.3.0alpha:";;
1381 --disable-option-checking ignore unrecognized
--enable/--with options
1382 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1383 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1384 --enable-dependency-tracking
1385 do not reject slow dependency extractors
1386 --disable-dependency-tracking
1387 speeds up one-time build
1388 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1389 --disable-silent-rules verbose build output
(undo
: "make V=0")
1390 --enable-debug Enable debug build
1391 --enable-stacktrace Enable stacktrace feature
(default
=auto
)
1392 --disable-gui Disable the GUI
for headless running. Disables
1393 QtDBus and the GeoIP Database.
1394 --enable-systemd Install the systemd service
file (headless only
).
1395 --disable-webui Disable the WebUI.
1396 --disable-qt-dbus Disable use of QtDBus
(GUI only
)
1399 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1400 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1401 --with-boost[=ARG
] use Boost library from a standard location
1402 (ARG
=yes), from the specified location
(ARG
=<path
>),
1403 or disable it
(ARG
=no
) [ARG
=yes]
1404 --with-boost-libdir=LIB_DIR
1405 Force given directory
for boost libraries. Note that
1406 this will override library path detection
, so use
1407 this parameter only
if default library detection
1408 fails and you know exactly where your boost
1409 libraries are located.
1410 --with-boost-system[=special-lib
]
1411 use the System library from boost
- it is possible
1412 to specify a certain library
for the linker e.g.
1413 --with-boost-system=boost_system-gcc-mt
1415 Some influential environment variables
:
1416 CC C compiler
command
1417 CFLAGS C compiler flags
1418 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1419 nonstandard directory
<lib dir
>
1420 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1421 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1422 you have headers
in a nonstandard directory
<include dir
>
1423 CXX C
++ compiler
command
1424 CXXFLAGS C
++ compiler flags
1425 PKG_CONFIG path to pkg-config utility
1427 directories to add to pkg-config
's search path
1429 path overriding pkg-config's built-in search path
1430 QT_QMAKE value of host_bins
for Qt5Core
>= 5.9.0, overriding pkg-config
1432 C compiler flags
for Qt5Svg
, overriding pkg-config
1433 Qt5Svg_LIBS linker flags
for Qt5Svg
, overriding pkg-config
1435 C compiler flags
for libtorrent
, overriding pkg-config
1437 linker flags
for libtorrent
, overriding pkg-config
1439 C compiler flags
for openssl
, overriding pkg-config
1441 linker flags
for openssl
, overriding pkg-config
1442 zlib_CFLAGS C compiler flags
for zlib
, overriding pkg-config
1443 zlib_LIBS linker flags
for zlib
, overriding pkg-config
1445 Use these variables to override the choices made by
`configure' or to help
1446 it to find libraries and programs with nonstandard names/locations.
1448 Report bugs to <bugs.qbittorrent.org>.
1449 qbittorrent home page: <https://www.qbittorrent.org/>.
1454 if test "$ac_init_help" = "recursive"; then
1455 # If there are subdirs, report their specific --help.
1456 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1457 test -d "$ac_dir" ||
1458 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1463 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1466 # A ".." for each directory in $ac_dir_suffix.
1467 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1468 case $ac_top_builddir_sub in
1469 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1470 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1473 ac_abs_top_builddir=$ac_pwd
1474 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1475 # for backward compatibility:
1476 ac_top_builddir=$ac_top_build_prefix
1479 .) # We are building in place.
1481 ac_top_srcdir=$ac_top_builddir_sub
1482 ac_abs_top_srcdir=$ac_pwd ;;
1483 [\\/]* | ?:[\\/]* ) # Absolute name.
1484 ac_srcdir=$srcdir$ac_dir_suffix;
1485 ac_top_srcdir=$srcdir
1486 ac_abs_top_srcdir=$srcdir ;;
1488 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1489 ac_top_srcdir=$ac_top_build_prefix$srcdir
1490 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1492 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1494 cd "$ac_dir" || { ac_status=$?; continue; }
1495 # Check for guested configure.
1496 if test -f "$ac_srcdir/configure.gnu"; then
1498 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1499 elif test -f "$ac_srcdir/configure"; then
1501 $SHELL "$ac_srcdir/configure" --help=recursive
1503 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1505 cd "$ac_pwd" || { ac_status=$?; break; }
1509 test -n "$ac_init_help" && exit $ac_status
1510 if $ac_init_version; then
1512 qbittorrent configure v4.3.0alpha
1513 generated by GNU Autoconf 2.69
1515 Copyright (C) 2012 Free Software Foundation, Inc.
1516 This configure script is free software; the Free Software Foundation
1517 gives unlimited permission to copy, distribute and modify it.
1522 ## ------------------------ ##
1523 ## Autoconf initialization. ##
1524 ## ------------------------ ##
1526 # ac_fn_c_try_compile LINENO
1527 # --------------------------
1528 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1529 ac_fn_c_try_compile ()
1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532 rm -f conftest.$ac_objext
1533 if { { ac_try="$ac_compile"
1535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1536 *) ac_try_echo
=$ac_try;;
1538 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540 (eval "$ac_compile") 2>conftest.err
1542 if test -s conftest.err
; then
1543 grep -v '^ *+' conftest.err
>conftest.er1
1544 cat conftest.er1
>&5
1545 mv -f conftest.er1 conftest.err
1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548 test $ac_status = 0; } && {
1549 test -z "$ac_c_werror_flag" ||
1550 test ! -s conftest.err
1551 } && test -s conftest.
$ac_objext; then :
1554 $as_echo "$as_me: failed program was:" >&5
1555 sed 's/^/| /' conftest.
$ac_ext >&5
1559 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1560 as_fn_set_status
$ac_retval
1562 } # ac_fn_c_try_compile
1564 # ac_fn_cxx_try_compile LINENO
1565 # ----------------------------
1566 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1567 ac_fn_cxx_try_compile
()
1569 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1570 rm -f conftest.
$ac_objext
1571 if { { ac_try
="$ac_compile"
1573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_compile") 2>conftest.err
1580 if test -s conftest.err; then
1581 grep -v '^ *+' conftest.err >conftest.er1
1582 cat conftest.er1 >&5
1583 mv -f conftest.er1 conftest.err
1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586 test $ac_status = 0; } && {
1587 test -z "$ac_cxx_werror_flag" ||
1588 test ! -s conftest.err
1589 } && test -s conftest.$ac_objext; then :
1592 $as_echo "$as_me: failed program was:" >&5
1593 sed 's/^/| /' conftest.$ac_ext >&5
1597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1598 as_fn_set_status $ac_retval
1600 } # ac_fn_cxx_try_compile
1602 # ac_fn_cxx_try_link LINENO
1603 # -------------------------
1604 # Try to link conftest.$ac_ext, and return whether this succeeded.
1605 ac_fn_cxx_try_link ()
1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1608 rm -f conftest.$ac_objext conftest$ac_exeext
1609 if { { ac_try="$ac_link"
1611 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1612 *) ac_try_echo
=$ac_try;;
1614 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1615 $as_echo "$ac_try_echo"; } >&5
1616 (eval "$ac_link") 2>conftest.err
1618 if test -s conftest.err
; then
1619 grep -v '^ *+' conftest.err
>conftest.er1
1620 cat conftest.er1
>&5
1621 mv -f conftest.er1 conftest.err
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624 test $ac_status = 0; } && {
1625 test -z "$ac_cxx_werror_flag" ||
1626 test ! -s conftest.err
1627 } && test -s conftest
$ac_exeext && {
1628 test "$cross_compiling" = yes ||
1629 test -x conftest
$ac_exeext
1633 $as_echo "$as_me: failed program was:" >&5
1634 sed 's/^/| /' conftest.
$ac_ext >&5
1638 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1639 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1640 # interfere with the next link command; also delete a directory that is
1641 # left behind by Apple's compiler. We do this before executing the actions.
1642 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644 as_fn_set_status
$ac_retval
1646 } # ac_fn_cxx_try_link
1647 cat >config.log
<<_ACEOF
1648 This file contains any messages produced by compilers while
1649 running configure, to aid debugging if configure makes a mistake.
1651 It was created by qbittorrent $as_me v4.3.0alpha, which was
1652 generated by GNU Autoconf 2.69. Invocation command line was
1664 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1665 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1666 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1667 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1668 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1670 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1671 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1673 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1674 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1675 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1676 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1677 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1678 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1679 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1687 test -z "$as_dir" && as_dir
=.
1688 $as_echo "PATH: $as_dir"
1704 # Keep a trace of the command line.
1705 # Strip out --no-create and --no-recursion so they do not pile up.
1706 # Strip out --silent because we don't want to record it for future runs.
1707 # Also quote any args containing shell meta-characters.
1708 # Make two passes to allow for proper duplicate-argument suppression.
1712 ac_must_keep_next
=false
1718 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1719 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1720 |
-silent |
--silent |
--silen |
--sile |
--sil)
1723 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1726 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1728 as_fn_append ac_configure_args1
" '$ac_arg'"
1729 if test $ac_must_keep_next = true
; then
1730 ac_must_keep_next
=false
# Got value, back to normal.
1733 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1734 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1735 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1736 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1737 case "$ac_configure_args0 " in
1738 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1741 -* ) ac_must_keep_next
=true
;;
1744 as_fn_append ac_configure_args
" '$ac_arg'"
1749 { ac_configure_args0
=; unset ac_configure_args0
;}
1750 { ac_configure_args1
=; unset ac_configure_args1
;}
1752 # When interrupted or exit'd, cleanup temporary files, and complete
1753 # config.log. We remove comments because anyway the quotes in there
1754 # would cause problems or look ugly.
1755 # WARNING: Use '\'' to represent an apostrophe within the trap.
1756 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1757 trap 'exit_status=$?
1758 # Save into config.log some information that might help in debugging.
1762 $as_echo "## ---------------- ##
1763 ## Cache variables. ##
1764 ## ---------------- ##"
1766 # The following way of writing the cache mishandles newlines in values,
1768 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1769 eval ac_val=\$$ac_var
1773 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1774 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1777 _ | IFS | as_nl) ;; #(
1778 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1779 *) { eval $ac_var=; unset $ac_var;} ;;
1784 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1785 *${as_nl}ac_space=\ *)
1787 "s/'\''/'\''\\\\'\'''\''/g;
1788 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1791 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1798 $as_echo "## ----------------- ##
1799 ## Output variables. ##
1800 ## ----------------- ##"
1802 for ac_var in $ac_subst_vars
1804 eval ac_val=\$$ac_var
1806 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1808 $as_echo "$ac_var='\''$ac_val'\''"
1812 if test -n "$ac_subst_files"; then
1813 $as_echo "## ------------------- ##
1814 ## File substitutions. ##
1815 ## ------------------- ##"
1817 for ac_var
in $ac_subst_files
1819 eval ac_val
=\$
$ac_var
1821 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1823 $as_echo "$ac_var='\''$ac_val'\''"
1828 if test -s confdefs.h; then
1829 $as_echo "## ----------- ##
1836 test "$ac_signal" != 0 &&
1837 $as_echo "$as_me: caught signal $ac_signal"
1838 $as_echo "$as_me: exit $exit_status"
1840 rm -f core *.core core.conftest.* &&
1841 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1844 for ac_signal
in 1 2 13 15; do
1845 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1849 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1850 rm -f -r conftest
* confdefs.h
1852 $as_echo "/* confdefs.h */" > confdefs.h
1854 # Predefined preprocessor variables.
1856 cat >>confdefs.h
<<_ACEOF
1857 #define PACKAGE_NAME "$PACKAGE_NAME"
1860 cat >>confdefs.h
<<_ACEOF
1861 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1864 cat >>confdefs.h
<<_ACEOF
1865 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1868 cat >>confdefs.h
<<_ACEOF
1869 #define PACKAGE_STRING "$PACKAGE_STRING"
1872 cat >>confdefs.h
<<_ACEOF
1873 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1876 cat >>confdefs.h
<<_ACEOF
1877 #define PACKAGE_URL "$PACKAGE_URL"
1881 # Let the site file select an alternate cache file if it wants to.
1882 # Prefer an explicitly selected file to automatically selected ones.
1885 if test -n "$CONFIG_SITE"; then
1886 # We do not want a PATH search for config.site.
1887 case $CONFIG_SITE in #((
1888 -*) ac_site_file1
=.
/$CONFIG_SITE;;
1889 */*) ac_site_file1
=$CONFIG_SITE;;
1890 *) ac_site_file1
=.
/$CONFIG_SITE;;
1892 elif test "x$prefix" != xNONE
; then
1893 ac_site_file1
=$prefix/share
/config.site
1894 ac_site_file2
=$prefix/etc
/config.site
1896 ac_site_file1
=$ac_default_prefix/share
/config.site
1897 ac_site_file2
=$ac_default_prefix/etc
/config.site
1899 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1901 test "x$ac_site_file" = xNONE
&& continue
1902 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1904 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1905 sed 's/^/| /' "$ac_site_file" >&5
1907 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1908 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1909 as_fn_error $?
"failed to load site script $ac_site_file
1910 See \`config.log' for more details" "$LINENO" 5; }
1914 if test -r "$cache_file"; then
1915 # Some versions of bash will fail to source /dev/null (special files
1916 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1917 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1919 $as_echo "$as_me: loading cache $cache_file" >&6;}
1921 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1922 *) .
"./$cache_file";;
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1927 $as_echo "$as_me: creating cache $cache_file" >&6;}
1931 # Check that the precious variables saved in the cache have kept the same
1933 ac_cache_corrupted
=false
1934 for ac_var
in $ac_precious_vars; do
1935 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1936 eval ac_new_set
=\
$ac_env_${ac_var}_set
1937 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1938 eval ac_new_val
=\
$ac_env_${ac_var}_value
1939 case $ac_old_set,$ac_new_set in
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1942 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1943 ac_cache_corrupted
=: ;;
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1946 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1947 ac_cache_corrupted
=: ;;
1950 if test "x$ac_old_val" != "x$ac_new_val"; then
1951 # differences in whitespace do not lead to failure.
1952 ac_old_val_w
=`echo x $ac_old_val`
1953 ac_new_val_w
=`echo x $ac_new_val`
1954 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1956 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1957 ac_cache_corrupted
=:
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1960 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1961 eval $ac_var=\
$ac_old_val
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1964 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1966 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1969 # Pass precious variables to config.status.
1970 if test "$ac_new_set" = set; then
1972 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1973 *) ac_arg
=$ac_var=$ac_new_val ;;
1975 case " $ac_configure_args " in
1976 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1977 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
1981 if $ac_cache_corrupted; then
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1985 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1986 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1988 ## -------------------- ##
1989 ## Main body of script. ##
1990 ## -------------------- ##
1993 ac_cpp
='$CPP $CPPFLAGS'
1994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2000 for ac_dir
in build-aux
"$srcdir"/build-aux
; do
2001 if test -f "$ac_dir/install-sh"; then
2003 ac_install_sh
="$ac_aux_dir/install-sh -c"
2005 elif test -f "$ac_dir/install.sh"; then
2007 ac_install_sh
="$ac_aux_dir/install.sh -c"
2009 elif test -f "$ac_dir/shtool"; then
2011 ac_install_sh
="$ac_aux_dir/shtool install -c"
2015 if test -z "$ac_aux_dir"; then
2016 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2019 # These three variables are undocumented and unsupported,
2020 # and are intended to be withdrawn in a future Autoconf release.
2021 # They can cause serious problems if a builder's source tree is in a directory
2022 # whose full name contains unusual characters.
2023 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2024 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2025 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2030 ac_cpp
='$CPP $CPPFLAGS'
2031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2034 if test -n "$ac_tool_prefix"; then
2035 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2036 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2038 $as_echo_n "checking for $ac_word... " >&6; }
2039 if ${ac_cv_prog_CC+:} false
; then :
2040 $as_echo_n "(cached) " >&6
2042 if test -n "$CC"; then
2043 ac_cv_prog_CC
="$CC" # Let the user override the test.
2045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2049 test -z "$as_dir" && as_dir
=.
2050 for ac_exec_ext
in '' $ac_executable_extensions; do
2051 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2052 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2063 if test -n "$CC"; then
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2065 $as_echo "$CC" >&6; }
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2068 $as_echo "no" >&6; }
2073 if test -z "$ac_cv_prog_CC"; then
2075 # Extract the first word of "gcc", so it can be a program name with args.
2076 set dummy gcc
; ac_word
=$2
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2078 $as_echo_n "checking for $ac_word... " >&6; }
2079 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2080 $as_echo_n "(cached) " >&6
2082 if test -n "$ac_ct_CC"; then
2083 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2089 test -z "$as_dir" && as_dir
=.
2090 for ac_exec_ext
in '' $ac_executable_extensions; do
2091 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2092 ac_cv_prog_ac_ct_CC
="gcc"
2093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2102 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2103 if test -n "$ac_ct_CC"; then
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2105 $as_echo "$ac_ct_CC" >&6; }
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2108 $as_echo "no" >&6; }
2111 if test "x$ac_ct_CC" = x
; then
2114 case $cross_compiling:$ac_tool_warned in
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2118 ac_tool_warned
=yes ;;
2126 if test -z "$CC"; then
2127 if test -n "$ac_tool_prefix"; then
2128 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2129 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2131 $as_echo_n "checking for $ac_word... " >&6; }
2132 if ${ac_cv_prog_CC+:} false
; then :
2133 $as_echo_n "(cached) " >&6
2135 if test -n "$CC"; then
2136 ac_cv_prog_CC
="$CC" # Let the user override the test.
2138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2142 test -z "$as_dir" && as_dir
=.
2143 for ac_exec_ext
in '' $ac_executable_extensions; do
2144 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2145 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2156 if test -n "$CC"; then
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2158 $as_echo "$CC" >&6; }
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2161 $as_echo "no" >&6; }
2167 if test -z "$CC"; then
2168 # Extract the first word of "cc", so it can be a program name with args.
2169 set dummy cc
; ac_word
=$2
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2171 $as_echo_n "checking for $ac_word... " >&6; }
2172 if ${ac_cv_prog_CC+:} false
; then :
2173 $as_echo_n "(cached) " >&6
2175 if test -n "$CC"; then
2176 ac_cv_prog_CC
="$CC" # Let the user override the test.
2179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2183 test -z "$as_dir" && as_dir
=.
2184 for ac_exec_ext
in '' $ac_executable_extensions; do
2185 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2186 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2187 ac_prog_rejected
=yes
2191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 if test $ac_prog_rejected = yes; then
2199 # We found a bogon in the path, so make sure we never use it.
2200 set dummy
$ac_cv_prog_CC
2202 if test $# != 0; then
2203 # We chose a different compiler from the bogus one.
2204 # However, it has the same basename, so the bogon will be chosen
2205 # first if we set CC to just the basename; use the full file name.
2207 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2213 if test -n "$CC"; then
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2215 $as_echo "$CC" >&6; }
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2218 $as_echo "no" >&6; }
2223 if test -z "$CC"; then
2224 if test -n "$ac_tool_prefix"; then
2225 for ac_prog
in cl.exe
2227 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2228 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2230 $as_echo_n "checking for $ac_word... " >&6; }
2231 if ${ac_cv_prog_CC+:} false
; then :
2232 $as_echo_n "(cached) " >&6
2234 if test -n "$CC"; then
2235 ac_cv_prog_CC
="$CC" # Let the user override the test.
2237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2241 test -z "$as_dir" && as_dir
=.
2242 for ac_exec_ext
in '' $ac_executable_extensions; do
2243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2244 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2255 if test -n "$CC"; then
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2257 $as_echo "$CC" >&6; }
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2260 $as_echo "no" >&6; }
2264 test -n "$CC" && break
2267 if test -z "$CC"; then
2269 for ac_prog
in cl.exe
2271 # Extract the first word of "$ac_prog", so it can be a program name with args.
2272 set dummy
$ac_prog; ac_word
=$2
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2274 $as_echo_n "checking for $ac_word... " >&6; }
2275 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2276 $as_echo_n "(cached) " >&6
2278 if test -n "$ac_ct_CC"; then
2279 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2285 test -z "$as_dir" && as_dir
=.
2286 for ac_exec_ext
in '' $ac_executable_extensions; do
2287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2288 ac_cv_prog_ac_ct_CC
="$ac_prog"
2289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2298 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2299 if test -n "$ac_ct_CC"; then
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2301 $as_echo "$ac_ct_CC" >&6; }
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2304 $as_echo "no" >&6; }
2308 test -n "$ac_ct_CC" && break
2311 if test "x$ac_ct_CC" = x
; then
2314 case $cross_compiling:$ac_tool_warned in
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2318 ac_tool_warned
=yes ;;
2327 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2329 as_fn_error $?
"no acceptable C compiler found in \$PATH
2330 See \`config.log' for more details" "$LINENO" 5; }
2332 # Provide some information about the compiler.
2333 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2336 for ac_option
in --version -v -V -qversion; do
2337 { { ac_try
="$ac_compiler $ac_option >&5"
2339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2340 *) ac_try_echo=$ac_try;;
2342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2343 $as_echo "$ac_try_echo"; } >&5
2344 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2346 if test -s conftest.err; then
2348 ... rest of stderr output deleted ...
2349 10q' conftest.err >conftest.er1
2350 cat conftest.er1 >&5
2352 rm -f conftest.er1 conftest.err
2353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2354 test $ac_status = 0; }
2357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2358 /* end confdefs.h. */
2368 ac_clean_files_save=$ac_clean_files
2369 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2370 # Try to create an executable without -o first, disregard a.out.
2371 # It will help us diagnose broken compilers, and finding out an intuition
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2374 $as_echo_n "checking whether the C compiler works... " >&6; }
2375 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2377 # The possible output files:
2378 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2381 for ac_file in $ac_files
2384 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2385 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2390 if { { ac_try="$ac_link_default"
2392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2393 *) ac_try_echo
=$ac_try;;
2395 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2396 $as_echo "$ac_try_echo"; } >&5
2397 (eval "$ac_link_default") 2>&5
2399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2400 test $ac_status = 0; }; then :
2401 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2402 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2403 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2404 # so that the user can short-circuit this test for compilers unknown to
2406 for ac_file
in $ac_files ''
2408 test -f "$ac_file" ||
continue
2410 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2413 # We found the default executable, but exeext='' is most
2417 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2419 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2421 # We set ac_cv_exeext here because the later test for it is not
2422 # safe: cross compilers may not add the suffix if given an `-o'
2423 # argument, so we may need to know it at that point already.
2424 # Even if this section looks crufty: it has the advantage of
2431 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2436 if test -z "$ac_file"; then :
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2438 $as_echo "no" >&6; }
2439 $as_echo "$as_me: failed program was:" >&5
2440 sed 's/^/| /' conftest.
$ac_ext >&5
2442 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2444 as_fn_error
77 "C compiler cannot create executables
2445 See \`config.log' for more details" "$LINENO" 5; }
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2448 $as_echo "yes" >&6; }
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2451 $as_echo_n "checking for C compiler default output file name... " >&6; }
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2453 $as_echo "$ac_file" >&6; }
2454 ac_exeext
=$ac_cv_exeext
2456 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2457 ac_clean_files
=$ac_clean_files_save
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2459 $as_echo_n "checking for suffix of executables... " >&6; }
2460 if { { ac_try
="$ac_link"
2462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2463 *) ac_try_echo=$ac_try;;
2465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2466 $as_echo "$ac_try_echo"; } >&5
2467 (eval "$ac_link") 2>&5
2469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2470 test $ac_status = 0; }; then :
2471 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2472 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2473 # work properly (i.e., refer to `conftest.exe'), while it won't with
2475 for ac_file
in conftest.exe conftest conftest.
*; do
2476 test -f "$ac_file" ||
continue
2478 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2479 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2485 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2487 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2488 See \`config.log' for more details" "$LINENO" 5; }
2490 rm -f conftest conftest
$ac_cv_exeext
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2492 $as_echo "$ac_cv_exeext" >&6; }
2494 rm -f conftest.
$ac_ext
2495 EXEEXT
=$ac_cv_exeext
2497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2498 /* end confdefs.h. */
2503 FILE *f = fopen ("conftest.out", "w");
2504 return ferror (f) || fclose (f) != 0;
2510 ac_clean_files
="$ac_clean_files conftest.out"
2511 # Check that the compiler produces executables we can run. If not, either
2512 # the compiler is broken, or we cross compile.
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2514 $as_echo_n "checking whether we are cross compiling... " >&6; }
2515 if test "$cross_compiling" != yes; then
2516 { { ac_try
="$ac_link"
2518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2522 $as_echo "$ac_try_echo"; } >&5
2523 (eval "$ac_link") 2>&5
2525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2526 test $ac_status = 0; }
2527 if { ac_try='./conftest$ac_cv_exeext'
2528 { { case "(($ac_try" in
2529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2530 *) ac_try_echo
=$ac_try;;
2532 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2533 $as_echo "$ac_try_echo"; } >&5
2534 (eval "$ac_try") 2>&5
2536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2537 test $ac_status = 0; }; }; then
2540 if test "$cross_compiling" = maybe
; then
2543 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2544 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2545 as_fn_error $?
"cannot run C compiled programs.
2546 If you meant to cross compile, use \`--host'.
2547 See \`config.log' for more details" "$LINENO" 5; }
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2552 $as_echo "$cross_compiling" >&6; }
2554 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2555 ac_clean_files
=$ac_clean_files_save
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2557 $as_echo_n "checking for suffix of object files... " >&6; }
2558 if ${ac_cv_objext+:} false
; then :
2559 $as_echo_n "(cached) " >&6
2561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2562 /* end confdefs.h. */
2572 rm -f conftest.o conftest.obj
2573 if { { ac_try
="$ac_compile"
2575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2576 *) ac_try_echo=$ac_try;;
2578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2579 $as_echo "$ac_try_echo"; } >&5
2580 (eval "$ac_compile") 2>&5
2582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2583 test $ac_status = 0; }; then :
2584 for ac_file in conftest.o conftest.obj conftest.*; do
2585 test -f "$ac_file" || continue;
2587 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2588 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2593 $as_echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.$ac_ext >&5
2596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2598 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2599 See \
`config.log' for more details" "$LINENO" 5; }
2601 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2604 $as_echo "$ac_cv_objext" >&6; }
2605 OBJEXT=$ac_cv_objext
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2608 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2609 if ${ac_cv_c_compiler_gnu+:} false; then :
2610 $as_echo_n "(cached) " >&6
2612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2613 /* end confdefs.h. */
2626 if ac_fn_c_try_compile "$LINENO"; then :
2631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2632 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2636 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2637 if test $ac_compiler_gnu = yes; then
2642 ac_test_CFLAGS=${CFLAGS+set}
2643 ac_save_CFLAGS=$CFLAGS
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2645 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2646 if ${ac_cv_prog_cc_g+:} false; then :
2647 $as_echo_n "(cached) " >&6
2649 ac_save_c_werror_flag=$ac_c_werror_flag
2650 ac_c_werror_flag=yes
2653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2654 /* end confdefs.h. */
2664 if ac_fn_c_try_compile "$LINENO"; then :
2668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2669 /* end confdefs.h. */
2679 if ac_fn_c_try_compile "$LINENO"; then :
2682 ac_c_werror_flag=$ac_save_c_werror_flag
2684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2685 /* end confdefs.h. */
2695 if ac_fn_c_try_compile "$LINENO"; then :
2698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2703 ac_c_werror_flag=$ac_save_c_werror_flag
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2706 $as_echo "$ac_cv_prog_cc_g" >&6; }
2707 if test "$ac_test_CFLAGS" = set; then
2708 CFLAGS=$ac_save_CFLAGS
2709 elif test $ac_cv_prog_cc_g = yes; then
2710 if test "$GCC" = yes; then
2716 if test "$GCC" = yes; then
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2723 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2724 if ${ac_cv_prog_cc_c89+:} false; then :
2725 $as_echo_n "(cached) " >&6
2727 ac_cv_prog_cc_c89=no
2729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2730 /* end confdefs.h. */
2734 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2735 struct buf { int x; };
2736 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2737 static char *e (p, i)
2743 static char *f (char * (*g) (char **, int), char **p, ...)
2748 s = g (p, va_arg (v,int));
2753 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2754 function prototypes and stuff, but not '\xHH' hex character constants.
2755 These don't provoke an error unfortunately, instead are silently treated
2756 as 'x'. The following induces an error, until -std is added to get
2757 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2758 array size at least. It's necessary to write '\x00'==0 to get something
2759 that's true only with -std. */
2760 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2762 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2763 inside strings and character constants. */
2765 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2767 int test (int i, double x);
2768 struct s1 {int (*f) (int a);};
2769 struct s2 {int (*f) (double a);};
2770 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2776 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2781 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2782 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2784 CC="$ac_save_CC $ac_arg"
2785 if ac_fn_c_try_compile "$LINENO"; then :
2786 ac_cv_prog_cc_c89=$ac_arg
2788 rm -f core conftest.err conftest.$ac_objext
2789 test "x$ac_cv_prog_cc_c89" != "xno" && break
2791 rm -f conftest.$ac_ext
2796 case "x$ac_cv_prog_cc_c89" in
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2799 $as_echo "none needed" >&6; } ;;
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2802 $as_echo "unsupported" >&6; } ;;
2804 CC="$CC $ac_cv_prog_cc_c89"
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2806 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2808 if test "x$ac_cv_prog_cc_c89" != xno; then :
2813 ac_cpp='$CPP $CPPFLAGS'
2814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2818 # Expand $ac_aux_dir to an absolute path.
2819 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2822 ac_cpp='$CPP $CPPFLAGS'
2823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
2827 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
2828 if ${am_cv_prog_cc_c_o+:} false; then :
2829 $as_echo_n "(cached) " >&6
2831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h. */
2842 # Make sure it works both with $CC and with simple cc.
2843 # Following AC_PROG_CC_C_O, we do the test twice because some
2844 # compilers refuse to overwrite an existing .o file with -o,
2845 # though they will create one.
2846 am_cv_prog_cc_c_o=yes
2848 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
2849 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
2851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2852 (exit $ac_status); } \
2853 && test -f conftest2.$ac_objext; then
2856 am_cv_prog_cc_c_o=no
2860 rm -f core conftest*
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
2864 $as_echo "$am_cv_prog_cc_c_o" >&6; }
2865 if test "$am_cv_prog_cc_c_o" != yes; then
2866 # Losing compiler, so override with the script.
2867 # FIXME: It is wrong to rewrite CC.
2868 # But if we don't then we get into trouble of one sort or another.
2869 # A longer-term fix would be to have automake use am__CC in this case,
2870 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
2871 CC="$am_aux_dir/compile $CC"
2874 ac_cpp='$CPP $CPPFLAGS'
2875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2881 ac_cpp='$CXXCPP $CPPFLAGS'
2882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2885 if test -z "$CXX"; then
2886 if test -n "$CCC"; then
2889 if test -n "$ac_tool_prefix"; then
2890 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2892 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2893 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895 $as_echo_n "checking for $ac_word... " >&6; }
2896 if ${ac_cv_prog_CXX+:} false; then :
2897 $as_echo_n "(cached) " >&6
2899 if test -n "$CXX"; then
2900 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir=.
2907 for ac_exec_ext in '' $ac_executable_extensions; do
2908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2909 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 if test -n "$CXX"; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2922 $as_echo "$CXX" >&6; }
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2929 test -n "$CXX" && break
2932 if test -z "$CXX"; then
2934 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2936 # Extract the first word of "$ac_prog", so it can be a program name with args.
2937 set dummy $ac_prog; ac_word=$2
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939 $as_echo_n "checking for $ac_word... " >&6; }
2940 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2941 $as_echo_n "(cached) " >&6
2943 if test -n "$ac_ct_CXX"; then
2944 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir=.
2951 for ac_exec_ext in '' $ac_executable_extensions; do
2952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2953 ac_cv_prog_ac_ct_CXX="$ac_prog"
2954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2964 if test -n "$ac_ct_CXX"; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2966 $as_echo "$ac_ct_CXX" >&6; }
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
2973 test -n "$ac_ct_CXX" && break
2976 if test "x$ac_ct_CXX" = x; then
2979 case $cross_compiling:$ac_tool_warned in
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2983 ac_tool_warned=yes ;;
2991 # Provide some information about the compiler.
2992 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2995 for ac_option in --version -v -V -qversion; do
2996 { { ac_try="$ac_compiler $ac_option >&5"
2998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2999 *) ac_try_echo
=$ac_try;;
3001 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3002 $as_echo "$ac_try_echo"; } >&5
3003 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3005 if test -s conftest.err
; then
3007 ... rest of stderr output deleted ...
3008 10q' conftest.err
>conftest.er1
3009 cat conftest.er1
>&5
3011 rm -f conftest.er1 conftest.err
3012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3013 test $ac_status = 0; }
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3017 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3018 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3019 $as_echo_n "(cached) " >&6
3021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3022 /* end confdefs.h. */
3035 if ac_fn_cxx_try_compile
"$LINENO"; then :
3040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3041 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3045 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3046 if test $ac_compiler_gnu = yes; then
3051 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3052 ac_save_CXXFLAGS
=$CXXFLAGS
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3054 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3055 if ${ac_cv_prog_cxx_g+:} false
; then :
3056 $as_echo_n "(cached) " >&6
3058 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3059 ac_cxx_werror_flag
=yes
3062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3063 /* end confdefs.h. */
3073 if ac_fn_cxx_try_compile
"$LINENO"; then :
3074 ac_cv_prog_cxx_g
=yes
3077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3088 if ac_fn_cxx_try_compile
"$LINENO"; then :
3091 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3094 /* end confdefs.h. */
3104 if ac_fn_cxx_try_compile
"$LINENO"; then :
3105 ac_cv_prog_cxx_g
=yes
3107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3112 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3115 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3116 if test "$ac_test_CXXFLAGS" = set; then
3117 CXXFLAGS
=$ac_save_CXXFLAGS
3118 elif test $ac_cv_prog_cxx_g = yes; then
3119 if test "$GXX" = yes; then
3125 if test "$GXX" = yes; then
3132 ac_cpp
='$CPP $CPPFLAGS'
3133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3138 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3139 if ${ac_cv_path_SED+:} false
; then :
3140 $as_echo_n "(cached) " >&6
3142 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
3143 for ac_i
in 1 2 3 4 5 6 7; do
3144 ac_script
="$ac_script$as_nl$ac_script"
3146 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
3147 { ac_script
=; unset ac_script
;}
3148 if test -z "$SED"; then
3149 ac_path_SED_found
=false
3150 # Loop through the user's path and test for each of PROGNAME-LIST
3151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3155 test -z "$as_dir" && as_dir
=.
3156 for ac_prog
in sed gsed
; do
3157 for ac_exec_ext
in '' $ac_executable_extensions; do
3158 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
3159 as_fn_executable_p
"$ac_path_SED" ||
continue
3160 # Check for GNU ac_path_SED and select it if it is found.
3161 # Check for GNU $ac_path_SED
3162 case `"$ac_path_SED" --version 2>&1` in
3164 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
3167 $as_echo_n 0123456789 >"conftest.in"
3170 cat "conftest.in" "conftest.in" >"conftest.tmp"
3171 mv "conftest.tmp" "conftest.in"
3172 cp "conftest.in" "conftest.nl"
3173 $as_echo '' >> "conftest.nl"
3174 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3175 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3176 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3177 if test $ac_count -gt ${ac_path_SED_max-0}; then
3178 # Best one so far, save it but keep looking for a better one
3179 ac_cv_path_SED
="$ac_path_SED"
3180 ac_path_SED_max
=$ac_count
3182 # 10*(2^10) chars as input seems more than enough
3183 test $ac_count -gt 10 && break
3185 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3188 $ac_path_SED_found && break 3
3193 if test -z "$ac_cv_path_SED"; then
3194 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3202 $as_echo "$ac_cv_path_SED" >&6; }
3203 SED
="$ac_cv_path_SED"
3207 ac_cpp
='$CXXCPP $CPPFLAGS'
3208 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3209 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3210 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3212 # Make sure we can run config.sub.
3213 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3214 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3217 $as_echo_n "checking build system type... " >&6; }
3218 if ${ac_cv_build+:} false
; then :
3219 $as_echo_n "(cached) " >&6
3221 ac_build_alias
=$build_alias
3222 test "x$ac_build_alias" = x
&&
3223 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3224 test "x$ac_build_alias" = x
&&
3225 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3226 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3227 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3231 $as_echo "$ac_cv_build" >&6; }
3232 case $ac_cv_build in
3234 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3237 ac_save_IFS
=$IFS; IFS
='-'
3243 # Remember, the first character of IFS is used to create $*,
3244 # except with old shells:
3247 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3251 $as_echo_n "checking host system type... " >&6; }
3252 if ${ac_cv_host+:} false
; then :
3253 $as_echo_n "(cached) " >&6
3255 if test "x$host_alias" = x
; then
3256 ac_cv_host
=$ac_cv_build
3258 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3259 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3264 $as_echo "$ac_cv_host" >&6; }
3267 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3270 ac_save_IFS
=$IFS; IFS
='-'
3276 # Remember, the first character of IFS is used to create $*,
3277 # except with old shells:
3280 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3283 am__api_version
='1.16'
3285 # Find a good install program. We prefer a C program (faster),
3286 # so one script is as good as another. But avoid the broken or
3287 # incompatible versions:
3288 # SysV /etc/install, /usr/sbin/install
3289 # SunOS /usr/etc/install
3290 # IRIX /sbin/install
3292 # AmigaOS /C/install, which installs bootblocks on floppy discs
3293 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3294 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3295 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3296 # OS/2's system install, which has a completely different semantic
3297 # ./install, which can be erroneously created by make from ./install.sh.
3298 # Reject install programs that cannot install multiple files.
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3300 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3301 if test -z "$INSTALL"; then
3302 if ${ac_cv_path_install+:} false
; then :
3303 $as_echo_n "(cached) " >&6
3305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3309 test -z "$as_dir" && as_dir
=.
3310 # Account for people who put trailing slashes in PATH elements.
3311 case $as_dir/ in #((
3312 .
/ | .
// |
/[cC
]/* | \
3313 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3314 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3317 # OSF1 and SCO ODT 3.0 have their own names for install.
3318 # Don't use installbsd from OSF since it installs stuff as root
3320 for ac_prog
in ginstall scoinst
install; do
3321 for ac_exec_ext
in '' $ac_executable_extensions; do
3322 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3323 if test $ac_prog = install &&
3324 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3325 # AIX install. It has an incompatible calling convention.
3327 elif test $ac_prog = install &&
3328 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3329 # program-specific install script used by HP pwplus--don't use.
3332 rm -rf conftest.one conftest.two conftest.dir
3333 echo one
> conftest.one
3334 echo two
> conftest.two
3336 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3337 test -s conftest.one
&& test -s conftest.two
&&
3338 test -s conftest.dir
/conftest.one
&&
3339 test -s conftest.dir
/conftest.two
3341 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3354 rm -rf conftest.one conftest.two conftest.dir
3357 if test "${ac_cv_path_install+set}" = set; then
3358 INSTALL
=$ac_cv_path_install
3360 # As a last resort, use the slow shell script. Don't cache a
3361 # value for INSTALL within a source directory, because that will
3362 # break other packages using the cache if that directory is
3363 # removed, or if the value is a relative name.
3364 INSTALL
=$ac_install_sh
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3368 $as_echo "$INSTALL" >&6; }
3370 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3371 # It thinks the first close brace ends the variable substitution.
3372 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3374 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3376 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3379 $as_echo_n "checking whether build environment is sane... " >&6; }
3380 # Reject unsafe characters in $srcdir or the absolute working directory
3381 # name. Accept space and tab only in the latter.
3385 *[\\\"\
#\$\&\'\`$am_lf]*)
3386 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3389 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3390 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3393 # Do 'set' in a subshell so we don't clobber the current shell's
3394 # arguments. Must try -L first in case configure is actually a
3395 # symlink; some systems play weird games with the mod time of symlinks
3396 # (eg FreeBSD returns the mod time of the symlink's containing
3400 for am_try
in 1 2; do
3401 echo "timestamp, slept: $am_has_slept" > conftest.
file
3402 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3403 if test "$*" = "X"; then
3405 set X
`ls -t "$srcdir/configure" conftest.file`
3407 if test "$*" != "X $srcdir/configure conftest.file" \
3408 && test "$*" != "X conftest.file $srcdir/configure"; then
3410 # If neither matched, then we have a broken ls. This can happen
3411 # if, for instance, CONFIG_SHELL is bash and it inherits a
3412 # broken ls alias from the environment. This has actually
3413 # happened. Such a system could not be considered "sane".
3414 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3415 alias in your environment" "$LINENO" 5
3417 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3424 test "$2" = conftest.
file
3430 as_fn_error $?
"newly created file is older than distributed files!
3431 Check your system clock" "$LINENO" 5
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3434 $as_echo "yes" >&6; }
3435 # If we didn't sleep, we still need to ensure time stamps of config.status and
3436 # generated files are strictly newer.
3438 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3445 test "$program_prefix" != NONE
&&
3446 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3447 # Use a double $ so make ignores it.
3448 test "$program_suffix" != NONE
&&
3449 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3450 # Double any \ or $.
3451 # By default was `s,x,x', remove it if useless.
3452 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3453 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3455 if test x
"${MISSING+set}" != xset
; then
3458 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3460 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3463 # Use eval to expand $SHELL
3464 if eval "$MISSING --is-lightweight"; then
3465 am_missing_run
="$MISSING "
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3469 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3472 if test x
"${install_sh+set}" != xset
; then
3475 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3477 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3481 # Installed binaries are usually stripped using 'strip' when the user
3482 # run "make install-strip". However 'strip' might not be the right
3483 # tool to use in cross-compilation environments, therefore Automake
3484 # will honor the 'STRIP' environment variable to overrule this program.
3485 if test "$cross_compiling" != no
; then
3486 if test -n "$ac_tool_prefix"; then
3487 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3488 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3490 $as_echo_n "checking for $ac_word... " >&6; }
3491 if ${ac_cv_prog_STRIP+:} false
; then :
3492 $as_echo_n "(cached) " >&6
3494 if test -n "$STRIP"; then
3495 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3501 test -z "$as_dir" && as_dir
=.
3502 for ac_exec_ext
in '' $ac_executable_extensions; do
3503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3504 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3514 STRIP
=$ac_cv_prog_STRIP
3515 if test -n "$STRIP"; then
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3517 $as_echo "$STRIP" >&6; }
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3525 if test -z "$ac_cv_prog_STRIP"; then
3527 # Extract the first word of "strip", so it can be a program name with args.
3528 set dummy strip
; ac_word
=$2
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3530 $as_echo_n "checking for $ac_word... " >&6; }
3531 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3532 $as_echo_n "(cached) " >&6
3534 if test -n "$ac_ct_STRIP"; then
3535 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3541 test -z "$as_dir" && as_dir
=.
3542 for ac_exec_ext
in '' $ac_executable_extensions; do
3543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3544 ac_cv_prog_ac_ct_STRIP
="strip"
3545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3554 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3555 if test -n "$ac_ct_STRIP"; then
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3557 $as_echo "$ac_ct_STRIP" >&6; }
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3560 $as_echo "no" >&6; }
3563 if test "x$ac_ct_STRIP" = x
; then
3566 case $cross_compiling:$ac_tool_warned in
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3570 ac_tool_warned
=yes ;;
3575 STRIP
="$ac_cv_prog_STRIP"
3579 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3582 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3583 if test -z "$MKDIR_P"; then
3584 if ${ac_cv_path_mkdir+:} false
; then :
3585 $as_echo_n "(cached) " >&6
3587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3588 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3591 test -z "$as_dir" && as_dir
=.
3592 for ac_prog
in mkdir gmkdir
; do
3593 for ac_exec_ext
in '' $ac_executable_extensions; do
3594 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3595 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3596 'mkdir (GNU coreutils) '* | \
3597 'mkdir (coreutils) '* | \
3598 'mkdir (fileutils) '4.1*)
3599 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3609 test -d .
/--version && rmdir .
/--version
3610 if test "${ac_cv_path_mkdir+set}" = set; then
3611 MKDIR_P
="$ac_cv_path_mkdir -p"
3613 # As a last resort, use the slow shell script. Don't cache a
3614 # value for MKDIR_P within a source directory, because that will
3615 # break other packages using the cache if that directory is
3616 # removed, or if the value is a relative name.
3617 MKDIR_P
="$ac_install_sh -d"
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3621 $as_echo "$MKDIR_P" >&6; }
3623 for ac_prog
in gawk mawk nawk
awk
3625 # Extract the first word of "$ac_prog", so it can be a program name with args.
3626 set dummy
$ac_prog; ac_word
=$2
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3628 $as_echo_n "checking for $ac_word... " >&6; }
3629 if ${ac_cv_prog_AWK+:} false
; then :
3630 $as_echo_n "(cached) " >&6
3632 if test -n "$AWK"; then
3633 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3639 test -z "$as_dir" && as_dir
=.
3640 for ac_exec_ext
in '' $ac_executable_extensions; do
3641 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3642 ac_cv_prog_AWK
="$ac_prog"
3643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 if test -n "$AWK"; then
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3655 $as_echo "$AWK" >&6; }
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3658 $as_echo "no" >&6; }
3662 test -n "$AWK" && break
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3666 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3668 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3669 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3670 $as_echo_n "(cached) " >&6
3672 cat >conftest.
make <<\_ACEOF
3675 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3677 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3678 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3680 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3682 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3686 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3688 $as_echo "yes" >&6; }
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3692 $as_echo "no" >&6; }
3693 SET_MAKE
="MAKE=${MAKE-make}"
3696 rm -rf .tst
2>/dev
/null
3697 mkdir .tst
2>/dev
/null
3698 if test -d .tst
; then
3703 rmdir .tst
2>/dev
/null
3705 DEPDIR
="${am__leading_dot}deps"
3707 ac_config_commands
="$ac_config_commands depfiles"
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3710 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3711 cat > confinc.mk
<< 'END'
3713 @
echo this is the am__doit target
>confinc.out
3718 # BSD make does it like this.
3719 echo '.include "confinc.mk" # ignored' > confmf.BSD
3720 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3721 echo 'include confinc.mk # ignored' > confmf.GNU
3723 for s
in GNU BSD
; do
3724 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3725 (${MAKE-make} -f confmf.
$s && cat confinc.out
) >&5 2>&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }
3729 case $?
:`cat confinc.out 2>/dev/null` in #(
3730 '0:this is the am__doit target') :
3733 am__include
='.include' am__quote
='"' ;; #(
3735 am__include
='include' am__quote
='' ;;
3740 if test "$am__include" != "#"; then
3741 _am_result
="yes ($s style)"
3745 rm -f confinc.
* confmf.
*
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3747 $as_echo "${_am_result}" >&6; }
3749 # Check whether --enable-dependency-tracking was given.
3750 if test "${enable_dependency_tracking+set}" = set; then :
3751 enableval
=$enable_dependency_tracking;
3754 if test "x$enable_dependency_tracking" != xno
; then
3755 am_depcomp
="$ac_aux_dir/depcomp"
3759 if test "x$enable_dependency_tracking" != xno; then
3768 # Check whether --enable-silent-rules was given.
3769 if test "${enable_silent_rules+set}" = set; then :
3770 enableval
=$enable_silent_rules;
3773 case $enable_silent_rules in # (((
3774 yes) AM_DEFAULT_VERBOSITY
=0;;
3775 no
) AM_DEFAULT_VERBOSITY
=1;;
3776 *) AM_DEFAULT_VERBOSITY
=1;;
3778 am_make
=${MAKE-make}
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3780 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3781 if ${am_cv_make_support_nested_variables+:} false
; then :
3782 $as_echo_n "(cached) " >&6
3784 if $as_echo 'TRUE=$(BAR$(V))
3790 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3791 am_cv_make_support_nested_variables
=yes
3793 am_cv_make_support_nested_variables
=no
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3797 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3798 if test $am_cv_make_support_nested_variables = yes; then
3800 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3802 AM_V
=$AM_DEFAULT_VERBOSITY
3803 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3807 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3808 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3809 # is not polluted with repeated "-I."
3810 am__isrc
=' -I$(srcdir)'
3811 # test to see if srcdir already configured
3812 if test -f $srcdir/config.status
; then
3813 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3817 # test whether we have cygpath
3818 if test -z "$CYGPATH_W"; then
3819 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3820 CYGPATH_W
='cygpath -w'
3827 # Define the identity of the package.
3828 PACKAGE
='qbittorrent'
3829 VERSION
='v4.3.0alpha'
3832 cat >>confdefs.h
<<_ACEOF
3833 #define PACKAGE "$PACKAGE"
3837 cat >>confdefs.h
<<_ACEOF
3838 #define VERSION "$VERSION"
3841 # Some tools Automake needs.
3843 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3846 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3849 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3852 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3855 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3857 # For better backward compatibility. To be removed once Automake 1.9.x
3858 # dies out for good. For more background, see:
3859 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3860 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3861 mkdir_p
='$(MKDIR_P)'
3863 # We need awk for the "check" target (and possibly the TAP driver). The
3864 # system "awk" is bad on some platforms.
3865 # Always define AMTAR for backward compatibility. Yes, it's still used
3866 # in the wild :-( We should find a proper way to deprecate it ...
3870 # We'll loop over all known methods to create a tar archive until one works.
3871 _am_tools
='gnutar pax cpio none'
3873 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3879 depcc
="$CC" am_compiler_list
=
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3882 $as_echo_n "checking dependency style of $depcc... " >&6; }
3883 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
3884 $as_echo_n "(cached) " >&6
3886 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3887 # We make a subdir and do the tests there. Otherwise we can end up
3888 # making bogus files that we don't know about and never remove. For
3889 # instance it was reported that on HP-UX the gcc test will end up
3890 # making a dummy file named 'D' -- because '-MD' means "put the output
3894 # Copy depcomp to subdir because otherwise we won't find it if we're
3895 # using a relative directory.
3896 cp "$am_depcomp" conftest.dir
3898 # We will build objects and dependencies in a subdirectory because
3899 # it helps to detect inapplicable dependency modes. For instance
3900 # both Tru64's cc and ICC support -MD to output dependencies as a
3901 # side effect of compilation, but ICC will put the dependencies in
3902 # the current directory while Tru64 will put them in the object
3906 am_cv_CC_dependencies_compiler_type
=none
3907 if test "$am_compiler_list" = ""; then
3908 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3911 case " $depcc " in #(
3912 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3915 for depmode
in $am_compiler_list; do
3916 # Setup a source with many dependencies, because some compilers
3917 # like to wrap large dependency lists on column 80 (with \), and
3918 # we should not choose a depcomp mode which is confused by this.
3920 # We need to recreate these files for each test, as the compiler may
3921 # overwrite some of them when testing with obscure command lines.
3922 # This happens at least with the AIX C compiler.
3924 for i
in 1 2 3 4 5 6; do
3925 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3926 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3927 # Solaris 10 /bin/sh.
3928 echo '/* dummy */' > sub
/conftst
$i.h
3930 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3932 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3933 # mode. It turns out that the SunPro C++ compiler does not properly
3934 # handle '-M -o', and we need to detect this. Also, some Intel
3935 # versions had trouble with output in subdirs.
3936 am__obj
=sub
/conftest.
${OBJEXT-o}
3937 am__minus_obj
="-o $am__obj"
3940 # This depmode causes a compiler race in universal mode.
3941 test "$am__universal" = false ||
continue
3944 # After this tag, mechanisms are not by side-effect, so they'll
3945 # only be used when explicitly requested.
3946 if test "x$enable_dependency_tracking" = xyes
; then
3952 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
3953 # This compiler won't grok '-c -o', but also, the minuso test has
3954 # not run yet. These depmodes are late enough in the game, and
3955 # so weak that their functioning should not be impacted.
3956 am__obj
=conftest.
${OBJEXT-o}
3961 if depmode
=$depmode \
3962 source=sub
/conftest.c object
=$am__obj \
3963 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3964 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3965 >/dev
/null
2>conftest.err
&&
3966 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3967 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3968 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3969 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3970 # icc doesn't choke on unknown options, it will just issue warnings
3971 # or remarks (even with -Werror). So we grep stderr for any message
3972 # that says an option was ignored or not supported.
3973 # When given -MP, icc 7.0 and 7.1 complain thusly:
3974 # icc: Command line warning: ignoring option '-M'; no argument required
3975 # The diagnosis changed in icc 8.0:
3976 # icc: Command line remark: option '-MP' not supported
3977 if (grep 'ignoring option' conftest.err ||
3978 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3979 am_cv_CC_dependencies_compiler_type
=$depmode
3988 am_cv_CC_dependencies_compiler_type
=none
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3993 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3994 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3997 test "x$enable_dependency_tracking" != xno \
3998 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4000 am__fastdepCC_FALSE
='#'
4002 am__fastdepCC_TRUE
='#'
4003 am__fastdepCC_FALSE
=
4007 depcc
="$CXX" am_compiler_list
=
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4010 $as_echo_n "checking dependency style of $depcc... " >&6; }
4011 if ${am_cv_CXX_dependencies_compiler_type+:} false
; then :
4012 $as_echo_n "(cached) " >&6
4014 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4015 # We make a subdir and do the tests there. Otherwise we can end up
4016 # making bogus files that we don't know about and never remove. For
4017 # instance it was reported that on HP-UX the gcc test will end up
4018 # making a dummy file named 'D' -- because '-MD' means "put the output
4022 # Copy depcomp to subdir because otherwise we won't find it if we're
4023 # using a relative directory.
4024 cp "$am_depcomp" conftest.dir
4026 # We will build objects and dependencies in a subdirectory because
4027 # it helps to detect inapplicable dependency modes. For instance
4028 # both Tru64's cc and ICC support -MD to output dependencies as a
4029 # side effect of compilation, but ICC will put the dependencies in
4030 # the current directory while Tru64 will put them in the object
4034 am_cv_CXX_dependencies_compiler_type
=none
4035 if test "$am_compiler_list" = ""; then
4036 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4039 case " $depcc " in #(
4040 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4043 for depmode
in $am_compiler_list; do
4044 # Setup a source with many dependencies, because some compilers
4045 # like to wrap large dependency lists on column 80 (with \), and
4046 # we should not choose a depcomp mode which is confused by this.
4048 # We need to recreate these files for each test, as the compiler may
4049 # overwrite some of them when testing with obscure command lines.
4050 # This happens at least with the AIX C compiler.
4052 for i
in 1 2 3 4 5 6; do
4053 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4054 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4055 # Solaris 10 /bin/sh.
4056 echo '/* dummy */' > sub
/conftst
$i.h
4058 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4060 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4061 # mode. It turns out that the SunPro C++ compiler does not properly
4062 # handle '-M -o', and we need to detect this. Also, some Intel
4063 # versions had trouble with output in subdirs.
4064 am__obj
=sub
/conftest.
${OBJEXT-o}
4065 am__minus_obj
="-o $am__obj"
4068 # This depmode causes a compiler race in universal mode.
4069 test "$am__universal" = false ||
continue
4072 # After this tag, mechanisms are not by side-effect, so they'll
4073 # only be used when explicitly requested.
4074 if test "x$enable_dependency_tracking" = xyes
; then
4080 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4081 # This compiler won't grok '-c -o', but also, the minuso test has
4082 # not run yet. These depmodes are late enough in the game, and
4083 # so weak that their functioning should not be impacted.
4084 am__obj
=conftest.
${OBJEXT-o}
4089 if depmode
=$depmode \
4090 source=sub
/conftest.c object
=$am__obj \
4091 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4092 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4093 >/dev
/null
2>conftest.err
&&
4094 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4095 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4096 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4097 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4098 # icc doesn't choke on unknown options, it will just issue warnings
4099 # or remarks (even with -Werror). So we grep stderr for any message
4100 # that says an option was ignored or not supported.
4101 # When given -MP, icc 7.0 and 7.1 complain thusly:
4102 # icc: Command line warning: ignoring option '-M'; no argument required
4103 # The diagnosis changed in icc 8.0:
4104 # icc: Command line remark: option '-MP' not supported
4105 if (grep 'ignoring option' conftest.err ||
4106 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4107 am_cv_CXX_dependencies_compiler_type
=$depmode
4116 am_cv_CXX_dependencies_compiler_type
=none
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4121 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4122 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4125 test "x$enable_dependency_tracking" != xno \
4126 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4127 am__fastdepCXX_TRUE
=
4128 am__fastdepCXX_FALSE
='#'
4130 am__fastdepCXX_TRUE
='#'
4131 am__fastdepCXX_FALSE
=
4136 # POSIX will say in a future version that running "rm -f" with no argument
4137 # is OK; and we want to be able to make that assumption in our Makefile
4138 # recipes. So use an aggressive probe to check that the usage we want is
4139 # actually supported "in the wild" to an acceptable degree.
4140 # See automake bug#10828.
4141 # To make any issue more visible, cause the running configure to be aborted
4142 # by default if the 'rm' program in use doesn't match our expectations; the
4143 # user can still override this though.
4144 if rm -f && rm -fr && rm -rf; then : OK
; else
4148 Your 'rm' program seems unable to run without file operands specified
4149 on the command line, even when the '-f' option is present. This is contrary
4150 to the behaviour of most rm programs out there, and not conforming with
4151 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4153 Please tell bug-automake@gnu.org about your system, including the value
4154 of your $PATH and any error possibly output before this message. This
4155 can help us improve future automake versions.
4158 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
4159 echo 'Configuration will proceed anyway, since you have set the' >&2
4160 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4164 Aborting the configuration process, to ensure you take notice of the issue.
4166 You can download and install GNU coreutils to get an 'rm' implementation
4167 that behaves properly: <https://www.gnu.org/software/coreutils/>.
4169 If you want to complete the configuration process using your problematic
4170 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4171 to "yes", and re-run configure.
4174 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
4179 # use compiler from env variables if available
4183 # Define --wth-* and --enable-* arguments
4185 # Check whether --enable-debug was given.
4186 if test "${enable_debug+set}" = set; then :
4187 enableval
=$enable_debug;
4193 # Check whether --enable-stacktrace was given.
4194 if test "${enable_stacktrace+set}" = set; then :
4195 enableval
=$enable_stacktrace;
4197 enable_stacktrace
=auto
4201 # Check whether --enable-gui was given.
4202 if test "${enable_gui+set}" = set; then :
4203 enableval
=$enable_gui;
4209 # Check whether --enable-systemd was given.
4210 if test "${enable_systemd+set}" = set; then :
4211 enableval
=$enable_systemd;
4217 # Check whether --enable-webui was given.
4218 if test "${enable_webui+set}" = set; then :
4219 enableval
=$enable_webui;
4225 # Check whether --enable-qt-dbus was given.
4226 if test "${enable_qt_dbus+set}" = set; then :
4227 enableval
=$enable_qt_dbus;
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OS is FreeBSD" >&5
4235 $as_echo_n "checking whether OS is FreeBSD... " >&6; }
4236 if expr "$host_os" : ".*freebsd.*" > /dev
/null
; then :
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4238 $as_echo "yes" >&6; }
4239 LIBS
="-lexecinfo $LIBS"
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4242 $as_echo "no" >&6; }
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OS is macOS" >&5
4246 $as_echo_n "checking whether OS is macOS... " >&6; }
4247 if expr "$host_os" : ".*darwin.*" > /dev
/null
; then :
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4249 $as_echo "yes" >&6; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253 $as_echo "no" >&6; }
4256 # Require 0.23 pkg-config
4264 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4265 if test -n "$ac_tool_prefix"; then
4266 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4267 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4269 $as_echo_n "checking for $ac_word... " >&6; }
4270 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
4271 $as_echo_n "(cached) " >&6
4275 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4282 test -z "$as_dir" && as_dir
=.
4283 for ac_exec_ext
in '' $ac_executable_extensions; do
4284 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4285 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4296 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4297 if test -n "$PKG_CONFIG"; then
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4299 $as_echo "$PKG_CONFIG" >&6; }
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4302 $as_echo "no" >&6; }
4307 if test -z "$ac_cv_path_PKG_CONFIG"; then
4308 ac_pt_PKG_CONFIG
=$PKG_CONFIG
4309 # Extract the first word of "pkg-config", so it can be a program name with args.
4310 set dummy pkg-config
; ac_word
=$2
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4312 $as_echo_n "checking for $ac_word... " >&6; }
4313 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
4314 $as_echo_n "(cached) " >&6
4316 case $ac_pt_PKG_CONFIG in
4318 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4325 test -z "$as_dir" && as_dir
=.
4326 for ac_exec_ext
in '' $ac_executable_extensions; do
4327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4328 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4339 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
4340 if test -n "$ac_pt_PKG_CONFIG"; then
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4342 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4345 $as_echo "no" >&6; }
4348 if test "x$ac_pt_PKG_CONFIG" = x
; then
4351 case $cross_compiling:$ac_tool_warned in
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4355 ac_tool_warned
=yes ;;
4357 PKG_CONFIG
=$ac_pt_PKG_CONFIG
4360 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
4364 if test -n "$PKG_CONFIG"; then
4365 _pkg_min_version
=0.23
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4367 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4368 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4370 $as_echo "yes" >&6; }
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4377 if test "x$PKG_CONFIG" = "x"; then :
4378 as_fn_error $?
"Could not find pkg-config" "$LINENO" 5
4381 # Check which arguments were set and act accordingly
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the Debug build" >&5
4383 $as_echo_n "checking whether to enable the Debug build... " >&6; }
4384 case "x$enable_debug" in #(
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387 $as_echo "no" >&6; }
4388 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG release"
4389 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG debug" ;; #(
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4392 $as_echo "yes" >&6; }
4393 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG debug"
4394 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG release" ;; #(
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
4397 $as_echo "$enable_debug" >&6; }
4398 as_fn_error $?
"Unknown option \"$enable_debug\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the stacktrace feature" >&5
4402 $as_echo_n "checking whether to enable the stacktrace feature... " >&6; }
4404 case "x$enable_stacktrace" in #(
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407 $as_echo "no" >&6; }
4408 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG stacktrace" ;; #(
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4411 $as_echo "yes" >&6; }
4412 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG stacktrace" ;; #(
4414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4415 /* end confdefs.h. */
4416 #include <execinfo.h>
4418 if ac_fn_cxx_try_compile
"$LINENO"; then :
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4420 $as_echo "yes" >&6; }
4421 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG stacktrace"
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424 $as_echo "no" >&6; }
4425 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG stacktrace"
4427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext ;; #(
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_stacktrace" >&5
4430 $as_echo "$enable_stacktrace" >&6; }
4431 as_fn_error $?
"Unknown option \"$enable_stacktrace\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the GUI" >&5
4435 $as_echo_n "checking whether to enable the GUI... " >&6; }
4436 case "x$enable_gui" in #(
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4439 $as_echo "yes" >&6; }
4441 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG nogui" ;; #(
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4444 $as_echo "no" >&6; }
4446 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG nogui" ;; #(
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gui" >&5
4449 $as_echo "$enable_gui" >&6; }
4450 as_fn_error $?
"Unknown option \"$enable_gui\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install the systemd service file" >&5
4454 $as_echo_n "checking whether to install the systemd service file... " >&6; }
4455 case "x$enable_systemd" in #(
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4458 $as_echo "yes" >&6; }
4459 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG systemd" ;; #(
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4462 $as_echo "no" >&6; }
4463 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG systemd" ;; #(
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_systemd" >&5
4466 $as_echo "$enable_systemd" >&6; }
4467 as_fn_error $?
"Unknown option \"$enable_systemd\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable the WebUI" >&5
4471 $as_echo_n "checking whether to enable the WebUI... " >&6; }
4472 case "x$enable_webui" in #(
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4475 $as_echo "yes" >&6; }
4476 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG nowebui" ;; #(
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4479 $as_echo "no" >&6; }
4480 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG nowebui" ;; #(
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_webui" >&5
4483 $as_echo "$enable_webui" >&6; }
4484 as_fn_error $?
"Unknown option \"$enable_webui\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4487 if test -n "$PKG_CONFIG" && \
4488 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.9.0\""; } >&5
4489 ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.9.0") 2>&5
4491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4492 test $ac_status = 0; }; then
4494 if test -n "$QT_QMAKE"; then
4495 pkg_cv_QT_QMAKE
="$QT_QMAKE"
4496 elif test -n "$PKG_CONFIG"; then
4497 if test -n "$PKG_CONFIG" && \
4498 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.9.0\""; } >&5
4499 ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.9.0") 2>&5
4501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4502 test $ac_status = 0; }; then
4503 pkg_cv_QT_QMAKE
=`$PKG_CONFIG --variable="host_bins" "Qt5Core >= 5.9.0" 2>/dev/null`
4504 test "x$?" != "x0" && pkg_failed
=yes
4511 QT_QMAKE
=$pkg_cv_QT_QMAKE
4513 if test "x$QT_QMAKE" = x
""; then :
4519 if test -f "$QT_QMAKE/qmake"; then :
4520 QT_QMAKE
="$QT_QMAKE/qmake"
4522 if test -f "$QT_QMAKE/qmake-qt5"; then :
4523 QT_QMAKE
="$QT_QMAKE/qmake-qt5"
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5 qmake >= 5.9.0" >&5
4531 $as_echo_n "checking for Qt5 qmake >= 5.9.0... " >&6; }
4532 if test "x$QT_QMAKE" != "x"; then :
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_QMAKE" >&5
4534 $as_echo "$QT_QMAKE" >&6; }
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4537 $as_echo "not found" >&6; }
4541 if test "x$QT_QMAKE" = "x"; then :
4542 as_fn_error $?
"Could not find qmake" "$LINENO" 5
4545 if test "x$enable_gui" = "xyes"; then :
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5Svg" >&5
4549 $as_echo_n "checking for Qt5Svg... " >&6; }
4551 if test -n "$Qt5Svg_CFLAGS"; then
4552 pkg_cv_Qt5Svg_CFLAGS
="$Qt5Svg_CFLAGS"
4553 elif test -n "$PKG_CONFIG"; then
4554 if test -n "$PKG_CONFIG" && \
4555 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Svg >= 5.5.1\""; } >&5
4556 ($PKG_CONFIG --exists --print-errors "Qt5Svg >= 5.5.1") 2>&5
4558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4559 test $ac_status = 0; }; then
4560 pkg_cv_Qt5Svg_CFLAGS
=`$PKG_CONFIG --cflags "Qt5Svg >= 5.5.1" 2>/dev/null`
4561 test "x$?" != "x0" && pkg_failed
=yes
4568 if test -n "$Qt5Svg_LIBS"; then
4569 pkg_cv_Qt5Svg_LIBS
="$Qt5Svg_LIBS"
4570 elif test -n "$PKG_CONFIG"; then
4571 if test -n "$PKG_CONFIG" && \
4572 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Svg >= 5.5.1\""; } >&5
4573 ($PKG_CONFIG --exists --print-errors "Qt5Svg >= 5.5.1") 2>&5
4575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4576 test $ac_status = 0; }; then
4577 pkg_cv_Qt5Svg_LIBS
=`$PKG_CONFIG --libs "Qt5Svg >= 5.5.1" 2>/dev/null`
4578 test "x$?" != "x0" && pkg_failed
=yes
4588 if test $pkg_failed = yes; then
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4590 $as_echo "no" >&6; }
4592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4593 _pkg_short_errors_supported
=yes
4595 _pkg_short_errors_supported
=no
4597 if test $_pkg_short_errors_supported = yes; then
4598 Qt5Svg_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "Qt5Svg >= 5.5.1" 2>&1`
4600 Qt5Svg_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "Qt5Svg >= 5.5.1" 2>&1`
4602 # Put the nasty error message in config.log where it belongs
4603 echo "$Qt5Svg_PKG_ERRORS" >&5
4605 as_fn_error $?
"Package requirements (Qt5Svg >= 5.5.1) were not met:
4609 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4610 installed software in a non-standard prefix.
4612 Alternatively, you may set the environment variables Qt5Svg_CFLAGS
4613 and Qt5Svg_LIBS to avoid the need to call pkg-config.
4614 See the pkg-config man page for more details." "$LINENO" 5
4615 elif test $pkg_failed = untried
; then
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4617 $as_echo "no" >&6; }
4618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4620 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
4621 is in your PATH or set the PKG_CONFIG environment variable to the full
4624 Alternatively, you may set the environment variables Qt5Svg_CFLAGS
4625 and Qt5Svg_LIBS to avoid the need to call pkg-config.
4626 See the pkg-config man page for more details.
4628 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4629 See \`config.log' for more details" "$LINENO" 5; }
4631 Qt5Svg_CFLAGS
=$pkg_cv_Qt5Svg_CFLAGS
4632 Qt5Svg_LIBS
=$pkg_cv_Qt5Svg_LIBS
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4634 $as_echo "yes" >&6; }
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether QtDBus should be enabled" >&5
4640 $as_echo_n "checking whether QtDBus should be enabled... " >&6; }
4641 case "x$enable_qt_dbus" in #(
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4644 $as_echo "yes" >&6; }
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt5DBus >= 5.9.0" >&5
4646 $as_echo_n "checking for Qt5DBus >= 5.9.0... " >&6; }
4647 if test -n "$PKG_CONFIG" && \
4648 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5DBus >= 5.9.0\""; } >&5
4649 ($PKG_CONFIG --exists --print-errors "Qt5DBus >= 5.9.0") 2>&5
4651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4652 test $ac_status = 0; }; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
4654 $as_echo "found" >&6; }
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
4658 $as_echo "not found" >&6; }
4662 if test "x$HAVE_QTDBUS" = "xfalse"; then :
4663 as_fn_error $?
"Could not find QtDBus" "$LINENO" 5
4665 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG dbus"
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4670 $as_echo "no" >&6; }
4671 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG dbus" ;; #(
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_qt_dbus" >&5
4674 $as_echo "$enable_qt_dbus" >&6; }
4675 as_fn_error $?
"Unknown option \"$enable_qt_dbus\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
4681 # Check whether --with-boost was given.
4682 if test "${with_boost+set}" = set; then :
4683 withval
=$with_boost;
4686 want_boost
="no";_AX_BOOST_BASE_boost_path
="" ;; #(
4688 want_boost
="yes";_AX_BOOST_BASE_boost_path
="" ;; #(
4690 want_boost
="yes";_AX_BOOST_BASE_boost_path
="$withval" ;;
4700 # Check whether --with-boost-libdir was given.
4701 if test "${with_boost_libdir+set}" = set; then :
4702 withval
=$with_boost_libdir;
4703 if test -d "$withval"; then :
4704 _AX_BOOST_BASE_boost_lib_path
="$withval"
4706 as_fn_error $?
"--with-boost-libdir expected directory name" "$LINENO" 5
4710 _AX_BOOST_BASE_boost_lib_path
=""
4716 if test "x$want_boost" = "xyes"; then :
4719 if test "x1.40" = "x"; then :
4720 _AX_BOOST_BASE_TONUMERICVERSION_req
="1.20.0"
4722 _AX_BOOST_BASE_TONUMERICVERSION_req
="1.40"
4724 _AX_BOOST_BASE_TONUMERICVERSION_req_shorten
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([0-9]*\.[0-9]*\)'`
4725 _AX_BOOST_BASE_TONUMERICVERSION_req_major
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([0-9]*\)'`
4726 if test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_major" = "x"; then :
4727 as_fn_error $?
"You should at least specify libboost major version" "$LINENO" 5
4729 _AX_BOOST_BASE_TONUMERICVERSION_req_minor
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[0-9]*\.\([0-9]*\)'`
4730 if test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_minor" = "x"; then :
4731 _AX_BOOST_BASE_TONUMERICVERSION_req_minor
="0"
4733 _AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
4734 if test "X$_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor" = "X"; then :
4735 _AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor
="0"
4737 _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`
4738 WANT_BOOST_VERSION
=$_AX_BOOST_BASE_TONUMERICVERSION_RET
4744 case ${host_cpu} in #(
4746 libsubdirs
="lib64 libx32 lib lib64" ;; #(
4748 libsubdirs
="lib64 lib32 lib lib64" ;; #(
4749 ppc64|powerpc64|s390x|sparc64|aarch64|ppc64le|powerpc64le|riscv64
) :
4750 libsubdirs
="lib64 lib lib64" ;; #(
4756 case ${host_cpu} in #(
4758 multiarch_libsubdir
="lib/i386-${host_os}" ;; #(
4760 multiarch_libsubdir
="lib/${host_cpu}-${host_os}"
4764 if test "x$_AX_BOOST_BASE_boost_path" != "x"; then :
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= 1.40 ($WANT_BOOST_VERSION) includes in \"$_AX_BOOST_BASE_boost_path/include\"" >&5
4767 $as_echo_n "checking for boostlib >= 1.40 ($WANT_BOOST_VERSION) includes in \"$_AX_BOOST_BASE_boost_path/include\"... " >&6; }
4768 if test -d "$_AX_BOOST_BASE_boost_path/include" && test -r "$_AX_BOOST_BASE_boost_path/include"; then :
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4771 $as_echo "yes" >&6; }
4772 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path/include"
4773 for _AX_BOOST_BASE_boost_path_tmp
in $multiarch_libsubdir $libsubdirs; do
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= 1.40 ($WANT_BOOST_VERSION) lib path in \"$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp\"" >&5
4775 $as_echo_n "checking for boostlib >= 1.40 ($WANT_BOOST_VERSION) lib path in \"$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp\"... " >&6; }
4776 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 :
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4779 $as_echo "yes" >&6; }
4780 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp";
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4785 $as_echo "no" >&6; }
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4791 $as_echo "no" >&6; }
4796 if test X
"$cross_compiling" = Xyes
; then
4797 search_libsubdirs
=$multiarch_libsubdir
4799 search_libsubdirs
="$multiarch_libsubdir $libsubdirs"
4801 for _AX_BOOST_BASE_boost_path_tmp
in /usr
/usr
/local /opt
/opt
/local ; do
4802 if test -d "$_AX_BOOST_BASE_boost_path_tmp/include/boost" && test -r "$_AX_BOOST_BASE_boost_path_tmp/include/boost" ; then
4803 for libsubdir
in $search_libsubdirs ; do
4804 if ls "$_AX_BOOST_BASE_boost_path_tmp/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
4806 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_path_tmp/$libsubdir"
4807 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path_tmp/include"
4814 if test "x$_AX_BOOST_BASE_boost_lib_path" != "x"; then :
4815 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_lib_path"
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= 1.40 ($WANT_BOOST_VERSION)" >&5
4819 $as_echo_n "checking for boostlib >= 1.40 ($WANT_BOOST_VERSION)... " >&6; }
4820 CPPFLAGS_SAVED
="$CPPFLAGS"
4821 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
4824 LDFLAGS_SAVED
="$LDFLAGS"
4825 LDFLAGS
="$LDFLAGS $BOOST_LDFLAGS"
4830 ac_cpp
='$CXXCPP $CPPFLAGS'
4831 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4832 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4833 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4838 #include <boost/version.hpp>
4844 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < ($WANT_BOOST_VERSION))]));
4850 if ac_fn_cxx_try_compile
"$LINENO"; then :
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4853 $as_echo "yes" >&6; }
4858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4860 ac_cpp
='$CXXCPP $CPPFLAGS'
4861 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4862 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4863 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4868 if test "x$succeeded" != "xyes" ; then
4869 CPPFLAGS
="$CPPFLAGS_SAVED"
4870 LDFLAGS
="$LDFLAGS_SAVED"
4872 if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
4876 if test -n "$_AX_BOOST_BASE_boost_path" ; then
4877 if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path"; then
4878 for i
in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
4879 _version_tmp
=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
4880 V_CHECK
=`expr $_version_tmp \> $_version`
4881 if test "x$V_CHECK" = "x1" ; then
4882 _version
=$_version_tmp
4884 VERSION_UNDERSCORE
=`echo $_version | sed 's/\./_/'`
4885 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path/include/boost-$VERSION_UNDERSCORE"
4887 if test -z "$BOOST_CPPFLAGS"; then
4888 if test -d "$_AX_BOOST_BASE_boost_path/boost" && test -r "$_AX_BOOST_BASE_boost_path/boost"; then
4889 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path"
4892 if test -n "$BOOST_CPPFLAGS" && test -z "$BOOST_LDFLAGS"; then
4893 for libsubdir
in $libsubdirs ; do
4894 if ls "$_AX_BOOST_BASE_boost_path/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
4896 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_path/$libsubdir"
4900 if test "x$cross_compiling" != "xyes" ; then
4901 for _AX_BOOST_BASE_boost_path
in /usr
/usr
/local /opt
/opt
/local ; do
4902 if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path" ; then
4903 for i
in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
4904 _version_tmp
=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
4905 V_CHECK
=`expr $_version_tmp \> $_version`
4906 if test "x$V_CHECK" = "x1" ; then
4907 _version
=$_version_tmp
4908 best_path
=$_AX_BOOST_BASE_boost_path
4914 VERSION_UNDERSCORE
=`echo $_version | sed 's/\./_/'`
4915 BOOST_CPPFLAGS
="-I$best_path/include/boost-$VERSION_UNDERSCORE"
4916 if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
4917 for libsubdir
in $libsubdirs ; do
4918 if ls "$best_path/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
4920 BOOST_LDFLAGS
="-L$best_path/$libsubdir"
4924 if test -n "$BOOST_ROOT" ; then
4925 for libsubdir
in $libsubdirs ; do
4926 if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
4928 if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; then
4929 version_dir
=`expr //$BOOST_ROOT : '.*/\(.*\)'`
4930 stage_version
=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
4931 stage_version_shorten
=`expr $stage_version : '\([0-9]*\.[0-9]*\)'`
4932 V_CHECK
=`expr $stage_version_shorten \>\= $_version`
4933 if test "x$V_CHECK" = "x1" && test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5
4935 $as_echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;}
4936 BOOST_CPPFLAGS
="-I$BOOST_ROOT"
4937 BOOST_LDFLAGS
="-L$BOOST_ROOT/stage/$libsubdir"
4943 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
4945 LDFLAGS
="$LDFLAGS $BOOST_LDFLAGS"
4949 ac_cpp
='$CXXCPP $CPPFLAGS'
4950 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4951 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4952 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4957 #include <boost/version.hpp>
4963 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < ($WANT_BOOST_VERSION))]));
4969 if ac_fn_cxx_try_compile
"$LINENO"; then :
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4972 $as_echo "yes" >&6; }
4977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4979 ac_cpp
='$CXXCPP $CPPFLAGS'
4980 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4981 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4982 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4986 if test "x$succeeded" != "xyes" ; then
4987 if test "x$_version" = "x0" ; then
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: We could not detect the boost libraries (version 1.40 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
4989 $as_echo "$as_me: We could not detect the boost libraries (version 1.40 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;}
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5
4992 $as_echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
4994 # execute ACTION-IF-NOT-FOUND (if present):
4995 as_fn_error $?
"Could not find Boost" "$LINENO" 5
4998 $as_echo "#define HAVE_BOOST /**/" >>confdefs.h
5000 # execute ACTION-IF-FOUND (if present):
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost CXXFLAGS: \"$BOOST_CPPFLAGS\"" >&5
5002 $as_echo "$as_me: Boost CXXFLAGS: \"$BOOST_CPPFLAGS\"" >&6;}
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost LDFLAGS: \"$BOOST_LDFLAGS\"" >&5
5004 $as_echo "$as_me: Boost LDFLAGS: \"$BOOST_LDFLAGS\"" >&6;}
5007 CPPFLAGS
="$CPPFLAGS_SAVED"
5008 LDFLAGS
="$LDFLAGS_SAVED"
5015 CXXFLAGS
="$BOOST_CPPFLAGS $CXXFLAGS"
5016 LDFLAGS
="$BOOST_LDFLAGS $LDFLAGS"
5018 # add workaround for problematic boost version
5019 # taken from ax_boost_base.m4
5022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5023 /* end confdefs.h. */
5024 #include <boost/version.hpp>
5028 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < (106000))]));
5033 if ac_fn_cxx_try_compile
"$LINENO"; then :
5036 QBT_ADD_DEFINES
="$QBT_ADD_DEFINES BOOST_NO_CXX11_RVALUE_REFERENCES"
5038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5042 # Check whether --with-boost-system was given.
5043 if test "${with_boost_system+set}" = set; then :
5044 withval
=$with_boost_system;
5045 if test "$withval" = "no"; then
5047 elif test "$withval" = "yes"; then
5049 ax_boost_user_system_lib
=""
5052 ax_boost_user_system_lib
="$withval"
5061 if test "x$want_boost" = "xyes"; then
5064 CPPFLAGS_SAVED
="$CPPFLAGS"
5065 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
5068 LDFLAGS_SAVED
="$LDFLAGS"
5069 LDFLAGS
="$LDFLAGS $BOOST_LDFLAGS"
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::System library is available" >&5
5073 $as_echo_n "checking whether the Boost::System library is available... " >&6; }
5074 if ${ax_cv_boost_system+:} false
; then :
5075 $as_echo_n "(cached) " >&6
5078 ac_cpp
='$CXXCPP $CPPFLAGS'
5079 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5080 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5081 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5083 CXXFLAGS_SAVE
=$CXXFLAGS
5086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5087 /* end confdefs.h. */
5088 #include <boost/system/error_code.hpp>
5092 boost::system::error_category *a = 0;
5097 if ac_fn_cxx_try_compile
"$LINENO"; then :
5098 ax_cv_boost_system
=yes
5100 ax_cv_boost_system
=no
5102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5103 CXXFLAGS
=$CXXFLAGS_SAVE
5105 ac_cpp
='$CXXCPP $CPPFLAGS'
5106 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5107 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5108 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_system" >&5
5113 $as_echo "$ax_cv_boost_system" >&6; }
5114 if test "x$ax_cv_boost_system" = "xyes"; then
5118 $as_echo "#define HAVE_BOOST_SYSTEM /**/" >>confdefs.h
5120 BOOSTLIBDIR
=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
5122 LDFLAGS_SAVE
=$LDFLAGS
5123 if test "x$ax_boost_user_system_lib" = "x"; then
5124 for libextension
in `ls -r $BOOSTLIBDIR/libboost_system* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do
5125 ax_lib
=${libextension}
5126 as_ac_Lib
=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
5128 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
5129 if eval \
${$as_ac_Lib+:} false
; then :
5130 $as_echo_n "(cached) " >&6
5132 ac_check_lib_save_LIBS
=$LIBS
5133 LIBS
="-l$ax_lib $LIBS"
5134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5135 /* end confdefs.h. */
5137 /* Override any GCC internal prototype to avoid an error.
5138 Use char because int might match the return type of a GCC
5139 builtin and then its argument prototype would still apply. */
5152 if ac_fn_cxx_try_link
"$LINENO"; then :
5153 eval "$as_ac_Lib=yes"
5155 eval "$as_ac_Lib=no"
5157 rm -f core conftest.err conftest.
$ac_objext \
5158 conftest
$ac_exeext conftest.
$ac_ext
5159 LIBS
=$ac_check_lib_save_LIBS
5161 eval ac_res
=\$
$as_ac_Lib
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5163 $as_echo "$ac_res" >&6; }
5164 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
5165 BOOST_SYSTEM_LIB
="-l$ax_lib"; link_system
="yes"; break
5171 if test "x$link_system" != "xyes"; then
5172 for libextension
in `ls -r $BOOSTLIBDIR/boost_system* 2>/dev/null | sed 's,.*/,,' | sed -e 's,\..*,,'` ; do
5173 ax_lib
=${libextension}
5174 as_ac_Lib
=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
5176 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
5177 if eval \
${$as_ac_Lib+:} false
; then :
5178 $as_echo_n "(cached) " >&6
5180 ac_check_lib_save_LIBS
=$LIBS
5181 LIBS
="-l$ax_lib $LIBS"
5182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5183 /* end confdefs.h. */
5185 /* Override any GCC internal prototype to avoid an error.
5186 Use char because int might match the return type of a GCC
5187 builtin and then its argument prototype would still apply. */
5200 if ac_fn_cxx_try_link
"$LINENO"; then :
5201 eval "$as_ac_Lib=yes"
5203 eval "$as_ac_Lib=no"
5205 rm -f core conftest.err conftest.
$ac_objext \
5206 conftest
$ac_exeext conftest.
$ac_ext
5207 LIBS
=$ac_check_lib_save_LIBS
5209 eval ac_res
=\$
$as_ac_Lib
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5211 $as_echo "$ac_res" >&6; }
5212 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
5213 BOOST_SYSTEM_LIB
="-l$ax_lib"; link_system
="yes"; break
5222 for ax_lib
in $ax_boost_user_system_lib boost_system-
$ax_boost_user_system_lib; do
5223 as_ac_Lib
=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
5225 $as_echo_n "checking for exit in -l$ax_lib... " >&6; }
5226 if eval \
${$as_ac_Lib+:} false
; then :
5227 $as_echo_n "(cached) " >&6
5229 ac_check_lib_save_LIBS
=$LIBS
5230 LIBS
="-l$ax_lib $LIBS"
5231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5232 /* end confdefs.h. */
5234 /* Override any GCC internal prototype to avoid an error.
5235 Use char because int might match the return type of a GCC
5236 builtin and then its argument prototype would still apply. */
5249 if ac_fn_cxx_try_link
"$LINENO"; then :
5250 eval "$as_ac_Lib=yes"
5252 eval "$as_ac_Lib=no"
5254 rm -f core conftest.err conftest.
$ac_objext \
5255 conftest
$ac_exeext conftest.
$ac_ext
5256 LIBS
=$ac_check_lib_save_LIBS
5258 eval ac_res
=\$
$as_ac_Lib
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5260 $as_echo "$ac_res" >&6; }
5261 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
5262 BOOST_SYSTEM_LIB
="-l$ax_lib"; link_system
="yes"; break
5270 if test "x$ax_lib" = "x"; then
5271 as_fn_error $?
"Could not find a version of the Boost::System library!" "$LINENO" 5
5273 if test "x$link_system" = "xno"; then
5274 as_fn_error $?
"Could not link against $ax_lib !" "$LINENO" 5
5278 CPPFLAGS
="$CPPFLAGS_SAVED"
5279 LDFLAGS
="$LDFLAGS_SAVED"
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost.System LIB: \"$BOOST_SYSTEM_LIB\"" >&5
5283 $as_echo "$as_me: Boost.System LIB: \"$BOOST_SYSTEM_LIB\"" >&6;}
5284 LIBS
="$BOOST_SYSTEM_LIB $LIBS"
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libtorrent" >&5
5289 $as_echo_n "checking for libtorrent... " >&6; }
5291 if test -n "$libtorrent_CFLAGS"; then
5292 pkg_cv_libtorrent_CFLAGS
="$libtorrent_CFLAGS"
5293 elif test -n "$PKG_CONFIG"; then
5294 if test -n "$PKG_CONFIG" && \
5295 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtorrent-rasterbar >= 1.1.10\""; } >&5
5296 ($PKG_CONFIG --exists --print-errors "libtorrent-rasterbar >= 1.1.10") 2>&5
5298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5299 test $ac_status = 0; }; then
5300 pkg_cv_libtorrent_CFLAGS
=`$PKG_CONFIG --cflags "libtorrent-rasterbar >= 1.1.10" 2>/dev/null`
5301 test "x$?" != "x0" && pkg_failed
=yes
5308 if test -n "$libtorrent_LIBS"; then
5309 pkg_cv_libtorrent_LIBS
="$libtorrent_LIBS"
5310 elif test -n "$PKG_CONFIG"; then
5311 if test -n "$PKG_CONFIG" && \
5312 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtorrent-rasterbar >= 1.1.10\""; } >&5
5313 ($PKG_CONFIG --exists --print-errors "libtorrent-rasterbar >= 1.1.10") 2>&5
5315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5316 test $ac_status = 0; }; then
5317 pkg_cv_libtorrent_LIBS
=`$PKG_CONFIG --libs "libtorrent-rasterbar >= 1.1.10" 2>/dev/null`
5318 test "x$?" != "x0" && pkg_failed
=yes
5328 if test $pkg_failed = yes; then
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5330 $as_echo "no" >&6; }
5332 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5333 _pkg_short_errors_supported
=yes
5335 _pkg_short_errors_supported
=no
5337 if test $_pkg_short_errors_supported = yes; then
5338 libtorrent_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtorrent-rasterbar >= 1.1.10" 2>&1`
5340 libtorrent_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libtorrent-rasterbar >= 1.1.10" 2>&1`
5342 # Put the nasty error message in config.log where it belongs
5343 echo "$libtorrent_PKG_ERRORS" >&5
5345 as_fn_error $?
"Package requirements (libtorrent-rasterbar >= 1.1.10) were not met:
5347 $libtorrent_PKG_ERRORS
5349 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5350 installed software in a non-standard prefix.
5352 Alternatively, you may set the environment variables libtorrent_CFLAGS
5353 and libtorrent_LIBS to avoid the need to call pkg-config.
5354 See the pkg-config man page for more details." "$LINENO" 5
5355 elif test $pkg_failed = untried
; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5357 $as_echo "no" >&6; }
5358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5360 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
5361 is in your PATH or set the PKG_CONFIG environment variable to the full
5364 Alternatively, you may set the environment variables libtorrent_CFLAGS
5365 and libtorrent_LIBS to avoid the need to call pkg-config.
5366 See the pkg-config man page for more details.
5368 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5369 See \`config.log' for more details" "$LINENO" 5; }
5371 libtorrent_CFLAGS
=$pkg_cv_libtorrent_CFLAGS
5372 libtorrent_LIBS
=$pkg_cv_libtorrent_LIBS
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5374 $as_echo "yes" >&6; }
5375 CXXFLAGS
="$libtorrent_CFLAGS $CXXFLAGS"
5376 LIBS
="$libtorrent_LIBS $LIBS"
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
5382 $as_echo_n "checking for openssl... " >&6; }
5384 if test -n "$openssl_CFLAGS"; then
5385 pkg_cv_openssl_CFLAGS
="$openssl_CFLAGS"
5386 elif test -n "$PKG_CONFIG"; then
5387 if test -n "$PKG_CONFIG" && \
5388 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5
5389 ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
5391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5392 test $ac_status = 0; }; then
5393 pkg_cv_openssl_CFLAGS
=`$PKG_CONFIG --cflags "openssl >= 1.0" 2>/dev/null`
5394 test "x$?" != "x0" && pkg_failed
=yes
5401 if test -n "$openssl_LIBS"; then
5402 pkg_cv_openssl_LIBS
="$openssl_LIBS"
5403 elif test -n "$PKG_CONFIG"; then
5404 if test -n "$PKG_CONFIG" && \
5405 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.0\""; } >&5
5406 ($PKG_CONFIG --exists --print-errors "openssl >= 1.0") 2>&5
5408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5409 test $ac_status = 0; }; then
5410 pkg_cv_openssl_LIBS
=`$PKG_CONFIG --libs "openssl >= 1.0" 2>/dev/null`
5411 test "x$?" != "x0" && pkg_failed
=yes
5421 if test $pkg_failed = yes; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5423 $as_echo "no" >&6; }
5425 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5426 _pkg_short_errors_supported
=yes
5428 _pkg_short_errors_supported
=no
5430 if test $_pkg_short_errors_supported = yes; then
5431 openssl_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
5433 openssl_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 1.0" 2>&1`
5435 # Put the nasty error message in config.log where it belongs
5436 echo "$openssl_PKG_ERRORS" >&5
5438 as_fn_error $?
"Package requirements (openssl >= 1.0) were not met:
5442 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5443 installed software in a non-standard prefix.
5445 Alternatively, you may set the environment variables openssl_CFLAGS
5446 and openssl_LIBS to avoid the need to call pkg-config.
5447 See the pkg-config man page for more details." "$LINENO" 5
5448 elif test $pkg_failed = untried
; then
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5453 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
5454 is in your PATH or set the PKG_CONFIG environment variable to the full
5457 Alternatively, you may set the environment variables openssl_CFLAGS
5458 and openssl_LIBS to avoid the need to call pkg-config.
5459 See the pkg-config man page for more details.
5461 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5462 See \`config.log' for more details" "$LINENO" 5; }
5464 openssl_CFLAGS
=$pkg_cv_openssl_CFLAGS
5465 openssl_LIBS
=$pkg_cv_openssl_LIBS
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5467 $as_echo "yes" >&6; }
5468 CXXFLAGS
="$openssl_CFLAGS $CXXFLAGS"
5469 LIBS
="$openssl_LIBS $LIBS"
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
5475 $as_echo_n "checking for zlib... " >&6; }
5477 if test -n "$zlib_CFLAGS"; then
5478 pkg_cv_zlib_CFLAGS
="$zlib_CFLAGS"
5479 elif test -n "$PKG_CONFIG"; then
5480 if test -n "$PKG_CONFIG" && \
5481 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.5.2\""; } >&5
5482 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.5.2") 2>&5
5484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5485 test $ac_status = 0; }; then
5486 pkg_cv_zlib_CFLAGS
=`$PKG_CONFIG --cflags "zlib >= 1.2.5.2" 2>/dev/null`
5487 test "x$?" != "x0" && pkg_failed
=yes
5494 if test -n "$zlib_LIBS"; then
5495 pkg_cv_zlib_LIBS
="$zlib_LIBS"
5496 elif test -n "$PKG_CONFIG"; then
5497 if test -n "$PKG_CONFIG" && \
5498 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.5.2\""; } >&5
5499 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.5.2") 2>&5
5501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5502 test $ac_status = 0; }; then
5503 pkg_cv_zlib_LIBS
=`$PKG_CONFIG --libs "zlib >= 1.2.5.2" 2>/dev/null`
5504 test "x$?" != "x0" && pkg_failed
=yes
5514 if test $pkg_failed = yes; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5518 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5519 _pkg_short_errors_supported
=yes
5521 _pkg_short_errors_supported
=no
5523 if test $_pkg_short_errors_supported = yes; then
5524 zlib_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.2.5.2" 2>&1`
5526 zlib_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.2.5.2" 2>&1`
5528 # Put the nasty error message in config.log where it belongs
5529 echo "$zlib_PKG_ERRORS" >&5
5531 as_fn_error $?
"Package requirements (zlib >= 1.2.5.2) were not met:
5535 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5536 installed software in a non-standard prefix.
5538 Alternatively, you may set the environment variables zlib_CFLAGS
5539 and zlib_LIBS to avoid the need to call pkg-config.
5540 See the pkg-config man page for more details." "$LINENO" 5
5541 elif test $pkg_failed = untried
; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }
5544 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5546 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
5547 is in your PATH or set the PKG_CONFIG environment variable to the full
5550 Alternatively, you may set the environment variables zlib_CFLAGS
5551 and zlib_LIBS to avoid the need to call pkg-config.
5552 See the pkg-config man page for more details.
5554 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5555 See \`config.log' for more details" "$LINENO" 5; }
5557 zlib_CFLAGS
=$pkg_cv_zlib_CFLAGS
5558 zlib_LIBS
=$pkg_cv_zlib_LIBS
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5560 $as_echo "yes" >&6; }
5561 CXXFLAGS
="$zlib_CFLAGS $CXXFLAGS"
5562 LIBS
="$zlib_LIBS $LIBS"
5565 # Check if already in >= C++14 mode because of the flags returned by one of the above packages
5566 TMP_CXXFLAGS
="$CXXFLAGS"
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler defaults to C++14 or later mode" >&5
5569 $as_echo_n "checking if compiler defaults to C++14 or later mode... " >&6; }
5570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5571 /* end confdefs.h. */
5574 #error "This is not a C++ compiler"
5575 #elif __cplusplus < 201402L
5576 #error "This is not a C++14 compiler"
5587 if ac_fn_cxx_try_compile
"$LINENO"; then :
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5589 $as_echo "yes" >&6; }
5590 QBT_CXX14_FOUND
="yes"
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5594 QBT_CXX14_FOUND
="no"
5596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5598 # In case of no, check if the compiler can support at least C++14
5599 # and if yes, enable it leaving a warning to the user
5600 if test "x$QBT_CXX14_FOUND" = "xno"; then :
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports C++14" >&5
5602 $as_echo_n "checking if compiler supports C++14... " >&6; }
5603 CXXFLAGS
="-std=c++14"
5604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5605 /* end confdefs.h. */
5608 #error "This is not a C++ compiler"
5609 #elif __cplusplus < 201402L
5610 #error "This is not a C++14 compiler"
5621 if ac_fn_cxx_try_compile
"$LINENO"; then :
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5623 $as_echo "yes" >&6; }
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++14 is disabled by the set compiler flags" >&5
5625 $as_echo_n "checking if C++14 is disabled by the set compiler flags... " >&6; }
5626 # prepend the flag so it won't override conflicting user defined flags
5627 CXXFLAGS
="-std=c++14 $TMP_CXXFLAGS"
5628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5629 /* end confdefs.h. */
5632 #error "This is not a C++ compiler"
5633 #elif __cplusplus < 201402L
5634 #error "This is not a C++14 compiler"
5645 if ac_fn_cxx_try_compile
"$LINENO"; then :
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5648 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG c++14"
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C++14 mode is now force enabled. The C++ mode should match the mode that other libraries were built with, otherwise you'll likely get linking errors." >&5
5650 $as_echo "$as_me: WARNING: C++14 mode is now force enabled. The C++ mode should match the mode that other libraries were built with, otherwise you'll likely get linking errors." >&2;}
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5653 $as_echo "yes" >&6; }
5654 as_fn_error $?
"The compiler supports C++14 but the user or a dependency has explicitly enabled a lower mode." "$LINENO" 5
5656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5659 $as_echo "no" >&6; }
5660 as_fn_error $?
"A compiler supporting C++14 is required." "$LINENO" 5
5662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5665 CXXFLAGS
="$TMP_CXXFLAGS"
5667 # These are required because autoconf doesn't expand these **particular**
5668 # vars automatically. And qmake cannot autoexpand them.
5672 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
5673 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
5674 eval ax_define_dir
="\"$prefix\""
5675 eval ax_define_dir
="\"$ax_define_dir\""
5676 EXPAND_PREFIX
="$ax_define_dir"
5678 cat >>confdefs.h
<<_ACEOF
5679 #define EXPAND_PREFIX "$ax_define_dir"
5682 test "$prefix_NONE" && prefix
=NONE
5683 test "$exec_prefix_NONE" && exec_prefix
=NONE
5688 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
5689 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
5690 eval ax_define_dir
="\"$bindir\""
5691 eval ax_define_dir
="\"$ax_define_dir\""
5692 EXPAND_BINDIR
="$ax_define_dir"
5694 cat >>confdefs.h
<<_ACEOF
5695 #define EXPAND_BINDIR "$ax_define_dir"
5698 test "$prefix_NONE" && prefix
=NONE
5699 test "$exec_prefix_NONE" && exec_prefix
=NONE
5704 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
5705 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
5706 eval ax_define_dir
="\"$datadir\""
5707 eval ax_define_dir
="\"$ax_define_dir\""
5708 EXPAND_DATADIR
="$ax_define_dir"
5710 cat >>confdefs.h
<<_ACEOF
5711 #define EXPAND_DATADIR "$ax_define_dir"
5714 test "$prefix_NONE" && prefix
=NONE
5715 test "$exec_prefix_NONE" && exec_prefix
=NONE
5720 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
5721 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
5722 eval ax_define_dir
="\"$mandir\""
5723 eval ax_define_dir
="\"$ax_define_dir\""
5724 EXPAND_MANDIR
="$ax_define_dir"
5726 cat >>confdefs.h
<<_ACEOF
5727 #define EXPAND_MANDIR "$ax_define_dir"
5730 test "$prefix_NONE" && prefix
=NONE
5731 test "$exec_prefix_NONE" && exec_prefix
=NONE
5734 # Original extract() function contributed by pmzqla
5735 # $*: Strings to parse
5736 # Set $QBT_CONF_DEFINES, $QBT_CONF_INCLUDES, $QBT_CONF_EXTRA_CFLAGS
5738 if [ -z "$*" ]; then
5739 echo "Input string required"
5743 # BSD sed needs an actual newline character in the substitute command
5746 # Convert " -" to "\n" if not between quotes and remove possible leading white spaces
5747 string
=$
(echo " $*" |
$SED -e "s: -:\\${new_line}:g" -e 's:"\(.*\)\n\(.*\)":\"\1 -\2":g' -e "s:'\(.*\)\n\(.*\)':\'\1 -\2':g" -e 's/^[[:space:]]*//')
5749 IFS
=$
(printf "\n\b")
5750 for i
in $string; do
5751 case "$(echo "$i" | cut -c1)" in
5753 D
) QBT_CONF_DEFINES
="$QBT_CONF_DEFINES $(echo $i | cut -c2-)";;
5754 I
) QBT_CONF_INCLUDES
="$QBT_CONF_INCLUDES $(echo $i | cut -c2-)";;
5755 *) QBT_CONF_EXTRA_CFLAGS
="$QBT_CONF_EXTRA_CFLAGS -$i";;
5761 extract
"$CFLAGS $CXXFLAGS"
5762 QBT_ADD_DEFINES
="$QBT_ADD_DEFINES $QBT_CONF_DEFINES"
5764 # Substitute the values of these vars in conf.pri.in
5774 ac_config_files
="$ac_config_files conf.pri"
5776 cat >confcache
<<\_ACEOF
5777 # This file is a shell script that caches the results of configure
5778 # tests run on this system so they can be shared between configure
5779 # scripts and configure runs, see configure's option --config-cache.
5780 # It is not useful on other systems. If it contains results you don't
5781 # want to keep, you may remove or edit it.
5783 # config.status only pays attention to the cache file if you give it
5784 # the --recheck option to rerun configure.
5786 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5787 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5792 # The following way of writing the cache mishandles newlines in values,
5793 # but we know of no workaround that is simple, portable, and efficient.
5794 # So, we kill variables containing newlines.
5795 # Ultrix sh set writes to stderr and can't be redirected directly,
5796 # and sets the high bit in the cache file unless we assign to the vars.
5798 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5799 eval ac_val
=\$
$ac_var
5803 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5804 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5807 _ | IFS | as_nl
) ;; #(
5808 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
5809 *) { eval $ac_var=; unset $ac_var;} ;;
5815 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5816 *${as_nl}ac_space
=\
*)
5817 # `set' does not quote correctly, so add quotes: double-quote
5818 # substitution turns \\\\ into \\, and sed turns \\ into \.
5821 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5824 # `set' quotes correctly as required by POSIX, so do not add quotes.
5825 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5834 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5836 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5838 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
5839 if test -w "$cache_file"; then
5840 if test "x$cache_file" != "x/dev/null"; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5842 $as_echo "$as_me: updating cache $cache_file" >&6;}
5843 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
5844 cat confcache
>"$cache_file"
5846 case $cache_file in #(
5848 mv -f confcache
"$cache_file"$$
&&
5849 mv -f "$cache_file"$$
"$cache_file" ;; #(
5851 mv -f confcache
"$cache_file" ;;
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5857 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5862 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5863 # Let make expand exec_prefix.
5864 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5866 # Transform confdefs.h into DEFS.
5867 # Protect against shell expansion while executing Makefile rules.
5868 # Protect against Makefile macro expansion.
5870 # If the first sed substitution is executed (which looks for macros that
5871 # take arguments), then branch to the quote section. Otherwise,
5872 # look for a macro that doesn't take arguments.
5882 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5884 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5888 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5901 DEFS
=`sed -n "$ac_script" confdefs.h`
5907 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5908 # 1. Remove the extension, and $U if already installed.
5909 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
5910 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
5911 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5912 # will be set to the directory where LIBOBJS objects are built.
5913 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5914 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
5918 LTLIBOBJS
=$ac_ltlibobjs
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5922 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5923 if test -n "$am_sleep_pid"; then
5924 # Hide warnings about reused PIDs.
5925 wait $am_sleep_pid 2>/dev
/null
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5928 $as_echo "done" >&6; }
5929 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5930 as_fn_error $?
"conditional \"AMDEP\" was never defined.
5931 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5933 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5934 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
5935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5937 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5938 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
5939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5941 if test -n "$EXEEXT"; then
5943 am__EXEEXT_FALSE
='#'
5950 : "${CONFIG_STATUS=./config.status}"
5952 ac_clean_files_save
=$ac_clean_files
5953 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5955 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5957 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5959 # Generated by $as_me.
5960 # Run this file to recreate the current configuration.
5961 # Compiler output produced by configure, useful for debugging
5962 # configure, is in config.log if it exists.
5968 SHELL=\${CONFIG_SHELL-$SHELL}
5971 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
5972 ## -------------------- ##
5973 ## M4sh Initialization. ##
5974 ## -------------------- ##
5976 # Be more Bourne compatible
5977 DUALCASE
=1; export DUALCASE
# for MKS sh
5978 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
5981 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5982 # is contrary to our usage. Disable this feature.
5983 alias -g '${1+"$@"}'='"$@"'
5984 setopt NO_GLOB_SUBST
5986 case `(set -o) 2>/dev/null` in #(
5998 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5999 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6000 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6001 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6002 # Prefer a ksh shell builtin over an external printf program on Solaris,
6003 # but without wasting forks for bash or zsh.
6004 if test -z "$BASH_VERSION$ZSH_VERSION" \
6005 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6006 as_echo='print
-r --'
6007 as_echo_n='print
-rn --'
6008 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6009 as_echo='printf %s
\n'
6010 as_echo_n='printf %s
'
6012 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6013 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6014 as_echo_n='/usr
/ucb
/echo -n'
6016 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6017 as_echo_n_body='eval
6021 expr "X$arg" : "X\\(.*\\)$as_nl";
6022 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6024 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6026 export as_echo_n_body
6027 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6030 as_echo='sh
-c $as_echo_body as_echo
'
6033 # The user is always right.
6034 if test "${PATH_SEPARATOR+set}" != set; then
6036 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6037 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6044 # We need space, tab and new line, in precisely that order. Quoting is
6045 # there to prevent editors from complaining about space-tab.
6046 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6047 # splitting by setting IFS to empty value.)
6050 # Find who we are. Look in the path if we contain no directory separator.
6053 *[\\/]* ) as_myself=$0 ;;
6054 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 test -z "$as_dir" && as_dir=.
6059 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6065 # We did not find ourselves, most probably we were run as `sh COMMAND'
6066 # in which case we are not to be found in the path.
6067 if test "x$as_myself" = x
; then
6070 if test ! -f "$as_myself"; then
6071 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6075 # Unset variables that we do not need and which cause bugs (e.g. in
6076 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6077 # suppresses any "Segmentation fault" message there. '((' could
6078 # trigger a bug in pdksh 5.2.14.
6079 for as_var
in BASH_ENV ENV MAIL MAILPATH
6080 do eval test x\
${$as_var+set} = xset \
6081 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6094 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6097 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6098 # ----------------------------------------
6099 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6100 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6101 # script with STATUS, using 1 if that was 0.
6104 as_status
=$1; test $as_status -eq 0 && as_status
=1
6106 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6107 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6109 $as_echo "$as_me: error: $2" >&2
6110 as_fn_exit
$as_status
6114 # as_fn_set_status STATUS
6115 # -----------------------
6116 # Set $? to STATUS, without forking.
6120 } # as_fn_set_status
6124 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6134 # Portably unset VAR.
6137 { eval $1=; unset $1;}
6139 as_unset
=as_fn_unset
6140 # as_fn_append VAR VALUE
6141 # ----------------------
6142 # Append the text in VALUE to the end of the definition contained in VAR. Take
6143 # advantage of any shell optimizations that allow amortized linear growth over
6144 # repeated appends, instead of the typical quadratic growth present in naive
6146 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6147 eval 'as_fn_append ()
6158 # as_fn_arith ARG...
6159 # ------------------
6160 # Perform arithmetic evaluation on the ARGs, and store the result in the
6161 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6162 # must be portable across $(()) and expr.
6163 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6164 eval 'as_fn_arith ()
6171 as_val
=`expr "$@" || test $? -eq 1`
6176 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6177 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6183 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6184 as_basename
=basename
6189 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6195 as_me
=`$as_basename -- "$0" ||
6196 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6197 X"$0" : 'X\(//\)$' \| \
6198 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6200 sed '/^.*\/\([^/][^/]*\)\/*$/{
6214 # Avoid depending upon Character Ranges.
6215 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6216 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6217 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6218 as_cr_digits
='0123456789'
6219 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6221 ECHO_C
= ECHO_N
= ECHO_T
=
6222 case `echo -n x` in #(((((
6224 case `echo 'xy\c'` in
6225 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6227 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6234 rm -f conf$$ conf$$.exe conf$$.
file
6235 if test -d conf$$.dir
; then
6236 rm -f conf$$.dir
/conf$$.
file
6239 mkdir conf$$.dir
2>/dev
/null
6241 if (echo >conf$$.
file) 2>/dev
/null
; then
6242 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6244 # ... but there are two gotchas:
6245 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6246 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6247 # In both cases, we have to default to `cp -pR'.
6248 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6250 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6258 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6259 rmdir conf$$.dir
2>/dev
/null
6264 # Create "$as_dir" as a directory, including parents if necessary.
6269 -*) as_dir
=.
/$as_dir;;
6271 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6275 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6276 *) as_qdir
=$as_dir;;
6278 as_dirs
="'$as_qdir' $as_dirs"
6279 as_dir
=`$as_dirname -- "$as_dir" ||
6280 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6281 X"$as_dir" : 'X\(//\)[^/]' \| \
6282 X"$as_dir" : 'X\(//\)$' \| \
6283 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6284 $as_echo X"$as_dir" |
6285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6302 test -d "$as_dir" && break
6304 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6305 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6309 if mkdir
-p .
2>/dev
/null
; then
6310 as_mkdir_p
='mkdir -p "$as_dir"'
6312 test -d .
/-p && rmdir .
/-p
6317 # as_fn_executable_p FILE
6318 # -----------------------
6319 # Test if FILE is an executable regular file.
6320 as_fn_executable_p
()
6322 test -f "$1" && test -x "$1"
6323 } # as_fn_executable_p
6325 as_executable_p
=as_fn_executable_p
6327 # Sed expression to map a string onto a valid CPP name.
6328 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6330 # Sed expression to map a string onto a valid variable name.
6331 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6335 ## ----------------------------------- ##
6336 ## Main body of $CONFIG_STATUS script. ##
6337 ## ----------------------------------- ##
6339 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6342 # Save the log message, to keep $0 and so on meaningful, and to
6343 # report actual input values of CONFIG_FILES etc. instead of their
6344 # values after options handling.
6346 This file was extended by qbittorrent $as_me v4.3.0alpha, which was
6347 generated by GNU Autoconf 2.69. Invocation command line was
6349 CONFIG_FILES = $CONFIG_FILES
6350 CONFIG_HEADERS = $CONFIG_HEADERS
6351 CONFIG_LINKS = $CONFIG_LINKS
6352 CONFIG_COMMANDS = $CONFIG_COMMANDS
6355 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6360 case $ac_config_files in *"
6361 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6367 # Files that config.status was made for.
6368 config_files="$ac_config_files"
6369 config_commands="$ac_config_commands"
6373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6375 \`$as_me' instantiates files and other configuration actions
6376 from templates according to the current configuration. Unless the files
6377 and actions are specified as TAGs, all are instantiated by default.
6379 Usage: $0 [OPTION]... [TAG]...
6381 -h, --help print this help, then exit
6382 -V, --version print version number and configuration settings, then exit
6383 --config print configuration, then exit
6384 -q, --quiet, --silent
6385 do not print progress messages
6386 -d, --debug don't remove temporary files
6387 --recheck update $as_me by reconfiguring in the same conditions
6388 --file=FILE[:TEMPLATE]
6389 instantiate the configuration file FILE
6391 Configuration files:
6394 Configuration commands:
6397 Report bugs to <bugs.qbittorrent.org>.
6398 qbittorrent home page: <https://www.qbittorrent.org/>."
6401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6402 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6404 qbittorrent config.status v4.3.0alpha
6405 configured by $0, generated by GNU Autoconf 2.69,
6406 with options \\"\$ac_cs_config\\"
6408 Copyright (C) 2012 Free Software Foundation, Inc.
6409 This config.status script is free software; the Free Software Foundation
6410 gives unlimited permission to copy, distribute and modify it."
6417 test -n "\$AWK" || AWK=awk
6420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6421 # The default lists apply if the user does not specify any file.
6427 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6428 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6432 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6444 # Handling of the options.
6445 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6447 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6448 $as_echo "$ac_cs_version"; exit ;;
6449 --config |
--confi |
--conf |
--con |
--co |
--c )
6450 $as_echo "$ac_cs_config"; exit ;;
6451 --debug |
--debu |
--deb |
--de |
--d |
-d )
6453 --file |
--fil |
--fi |
--f )
6456 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6457 '') as_fn_error $?
"missing file argument" ;;
6459 as_fn_append CONFIG_FILES
" '$ac_optarg'"
6460 ac_need_defaults
=false
;;
6461 --he |
--h |
--help |
--hel |
-h )
6462 $as_echo "$ac_cs_usage"; exit ;;
6463 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6464 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6468 -*) as_fn_error $?
"unrecognized option: \`$1'
6469 Try \`$0 --help' for more information." ;;
6471 *) as_fn_append ac_config_targets
" $1"
6472 ac_need_defaults
=false
;;
6478 ac_configure_extra_args
=
6480 if $ac_cs_silent; then
6482 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6487 if \$ac_cs_recheck; then
6488 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6490 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6491 CONFIG_SHELL='$SHELL'
6497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6501 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6502 ## Running $as_me. ##
6508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6512 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
6516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6518 # Handling of arguments.
6519 for ac_config_target
in $ac_config_targets
6521 case $ac_config_target in
6522 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6523 "conf.pri") CONFIG_FILES
="$CONFIG_FILES conf.pri" ;;
6525 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6530 # If the user did not use the arguments to specify the items to instantiate,
6531 # then the envvar interface is used. Set only those that are not.
6532 # We use the long form for the default assignment because of an extremely
6533 # bizarre bug on SunOS 4.1.3.
6534 if $ac_need_defaults; then
6535 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6536 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6539 # Have a temporary directory for convenience. Make it in the build tree
6540 # simply because there is no reason against having it here, and in addition,
6541 # creating and moving files from /tmp can sometimes cause problems.
6542 # Hook for its removal unless debugging.
6543 # Note that there is a small window in which the directory will not be cleaned:
6544 # after its creation but before its name has been assigned to `$tmp'.
6548 trap 'exit_status=$?
6550 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6552 trap 'as_fn_exit 1' 1 2 13 15
6554 # Create a (secure) tmp directory for tmp files.
6557 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6561 tmp
=.
/conf$$
-$RANDOM
6562 (umask 077 && mkdir
"$tmp")
6563 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
6566 # Set up the scripts for CONFIG_FILES section.
6567 # No need to generate them if there are no CONFIG_FILES.
6568 # This happens for instance with `./config.status config.h'.
6569 if test -n "$CONFIG_FILES"; then
6572 ac_cr
=`echo X | tr X '\015'`
6573 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6574 # But we know of no other shell where ac_cr would be empty at this
6575 # point, so we can use a bashism as a fallback.
6576 if test "x$ac_cr" = x
; then
6577 eval ac_cr
=\$
\'\\r
\'
6579 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6580 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6586 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6591 echo "cat >conf$$subs.awk <<_ACEOF" &&
6592 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6595 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6596 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6598 for ac_last_try in false false false false false :; do
6599 . ./conf$$subs.sh ||
6600 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6602 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
6603 if test $ac_delim_n = $ac_delim_num; then
6605 elif $ac_last_try; then
6606 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
6608 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
6613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6614 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
6618 s/^/S["/; s
/!.
*/"]=/
6628 s/\(.\{148\}\)..*/\1/
6630 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
6635 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6642 s/\(.\{148\}\)..*/\1/
6644 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
6648 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
6653 ' <conf$$subs.awk | sed '
6658 ' >>$CONFIG_STATUS || ac_write_fail=1
6659 rm -f conf$$subs.awk
6660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6662 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
6663 for (key in S) S_is_set[key] = 1
6669 nfields = split(line, field, "@
")
6671 len = length(field[1])
6672 for (i = 2; i < nfields; i++) {
6674 keylen = length(key)
6675 if (S_is_set[key]) {
6677 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6678 len += length(value) + length(field[++i])
6689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6690 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6691 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
6694 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
6695 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
6698 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6699 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
6700 # trailing colons and then remove the whole line if VPATH becomes empty
6701 # (actually we leave an empty line to preserve line numbers).
6702 if test "x
$srcdir" = x.; then
6703 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6722 fi # test -n "$CONFIG_FILES"
6725 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
6730 :[FHLC]) ac_mode=$ac_tag; continue;;
6732 case $ac_mode$ac_tag in
6734 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
6735 :[FH]-) ac_tag=-:-;;
6736 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6753 -) ac_f="$ac_tmp/stdin";;
6754 *) # Look for the file first in the build tree, then in the source tree
6755 # (if the path is not absolute). The absolute path cannot be DOS-style,
6756 # because $ac_f cannot contain `:'.
6760 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6762 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6764 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
6765 as_fn_append ac_file_inputs " '$ac_f'"
6768 # Let's still pretend it is `configure' which instantiates (i.e., don't
6769 # use $as_me), people would be surprised to read:
6770 # /* config.h. Generated by config.status. */
6771 configure_input='Generated from '`
6772 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6774 if test x"$ac_file" != x-; then
6775 configure_input="$ac_file.
$configure_input"
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
6777 $as_echo "$as_me: creating
$ac_file" >&6;}
6779 # Neutralize special characters interpreted by sed in replacement strings.
6780 case $configure_input in #(
6781 *\&* | *\|* | *\\* )
6782 ac_sed_conf_input=`$as_echo "$configure_input" |
6783 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6784 *) ac_sed_conf_input=$configure_input;;
6788 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
6789 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
6794 ac_dir=`$as_dirname -- "$ac_file" ||
6795 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6796 X"$ac_file" : 'X\(//\)[^/]' \| \
6797 X"$ac_file" : 'X\(//\)$' \| \
6798 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6799 $as_echo X"$ac_file" |
6800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6817 as_dir="$ac_dir"; as_fn_mkdir_p
6821 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6823 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6824 # A "..
" for each directory in $ac_dir_suffix.
6825 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6826 case $ac_top_builddir_sub in
6827 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6828 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6831 ac_abs_top_builddir=$ac_pwd
6832 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6833 # for backward compatibility:
6834 ac_top_builddir=$ac_top_build_prefix
6837 .) # We are building in place.
6839 ac_top_srcdir=$ac_top_builddir_sub
6840 ac_abs_top_srcdir=$ac_pwd ;;
6841 [\\/]* | ?:[\\/]* ) # Absolute name.
6842 ac_srcdir=$srcdir$ac_dir_suffix;
6843 ac_top_srcdir=$srcdir
6844 ac_abs_top_srcdir=$srcdir ;;
6846 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6847 ac_top_srcdir=$ac_top_build_prefix$srcdir
6848 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6850 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6860 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6861 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6865 [\\/$]* | ?:[\\/]* ) ;;
6866 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6871 # If the template does not know about datarootdir, expand it.
6872 # FIXME: This hack should be removed a few years after 2.60.
6873 ac_datarootdir_hack=; ac_datarootdir_seen=
6884 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
6885 *datarootdir*) ac_datarootdir_seen=yes;;
6886 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
6888 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
6890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6891 ac_datarootdir_hack='
6892 s&@datadir@&$datadir&g
6893 s&@docdir@&$docdir&g
6894 s&@infodir@&$infodir&g
6895 s&@localedir@&$localedir&g
6896 s&@mandir@&$mandir&g
6897 s&\\\${datarootdir}&$datarootdir&g' ;;
6901 # Neutralize VPATH when `$srcdir' = `.'.
6902 # Shell code in configure.ac might set extrasub.
6903 # FIXME: do we really want to maintain this feature?
6904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6905 ac_sed_extra="$ac_vpsub
6908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6910 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6911 s|@configure_input@|
$ac_sed_conf_input|
;t t
6912 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
6913 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
6914 s
&@srcdir@
&$ac_srcdir&;t t
6915 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
6916 s
&@top_srcdir@
&$ac_top_srcdir&;t t
6917 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
6918 s
&@builddir@
&$ac_builddir&;t t
6919 s
&@abs_builddir@
&$ac_abs_builddir&;t t
6920 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
6921 s
&@INSTALL@
&$ac_INSTALL&;t t
6922 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
6923 $ac_datarootdir_hack
6925 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
6926 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
6928 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6929 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6930 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6931 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6933 which seems to be undefined. Please make sure it is defined" >&5
6934 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6935 which seems to be undefined. Please make sure it is defined" >&2;}
6937 rm -f "$ac_tmp/stdin"
6939 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6940 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6942 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6946 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6947 $as_echo "$as_me: executing $ac_file commands" >&6;}
6952 case $ac_file$ac_mode in
6953 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6954 # Older Autoconf quotes --file arguments for eval, but not when files
6955 # are listed without --file. Let's play safe and only
enable the
eval
6956 # if we detect the quoting.
6957 # TODO: see whether this extra hack can be removed once we start
6958 # requiring Autoconf 2.70 or later.
6959 case $CONFIG_FILES in #(
6961 eval set x
"$CONFIG_FILES" ;; #(
6963 set x
$CONFIG_FILES ;; #(
6968 # Used to flag and report bootstrapping failures.
6972 # Strip MF so we end up with the name of the file.
6973 am_mf
=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
6974 # Check whether this is an Automake generated Makefile which includes
6975 # dependency-tracking related rules and includes.
6976 # Grep'ing the whole file directly is not great: AIX grep has a line
6977 # limit of 2048, but all sed's we know have understand at least 4000.
6978 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" |
grep X
>/dev
/null
2>&1 \
6980 am_dirpart
=`$as_dirname -- "$am_mf" ||
6981 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6982 X"$am_mf" : 'X\(//\)[^/]' \| \
6983 X"$am_mf" : 'X\(//\)$' \| \
6984 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6985 $as_echo X"$am_mf" |
6986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7003 am_filepart
=`$as_basename -- "$am_mf" ||
7004 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
7005 X"$am_mf" : 'X\(//\)$' \| \
7006 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7007 $as_echo X/"$am_mf" |
7008 sed '/^.*\/\([^/][^/]*\)\/*$/{
7021 { echo "$as_me:$LINENO: cd "$am_dirpart" \
7022 && sed -e '/# am--include-marker/d' "$am_filepart" \
7023 | $MAKE -f - am--depfiles" >&5
7025 && sed -e '/# am--include-marker/d' "$am_filepart" \
7026 |
$MAKE -f - am--depfiles
) >&5 2>&5
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); } || am_rc
=$?
7031 if test $am_rc -ne 0; then
7032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7034 as_fn_error $?
"Something went wrong bootstrapping makefile fragments
7035 for automatic dependency tracking. Try re-running configure with the
7036 '--disable-dependency-tracking' option to at least be able to build
7037 the package (albeit without support for automatic dependency tracking).
7038 See \`config.log' for more details" "$LINENO" 5; }
7040 { am_dirpart
=; unset am_dirpart
;}
7041 { am_filepart
=; unset am_filepart
;}
7042 { am_mf
=; unset am_mf
;}
7043 { am_rc
=; unset am_rc
;}
7044 rm -f conftest-deps.mk
7054 ac_clean_files
=$ac_clean_files_save
7056 test $ac_write_fail = 0 ||
7057 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7060 # configure is writing to config.log, and then calls config.status.
7061 # config.status does its own redirection, appending to config.log.
7062 # Unfortunately, on DOS this fails, as config.log is still kept open
7063 # by configure, so config.status won't be able to write to it; its
7064 # output is simply discarded. So we exec the FD to /dev/null,
7065 # effectively closing config.log, so it can be properly (re)opened and
7066 # appended to by config.status. When coming back to configure, we
7067 # need to make the FD available again.
7068 if test "$no_create" != yes; then
7070 ac_config_status_args
=
7071 test "$silent" = yes &&
7072 ac_config_status_args
="$ac_config_status_args --quiet"
7074 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7076 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7077 # would make configure fail if this is the last instruction.
7078 $ac_cs_success || as_fn_exit
1
7080 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7082 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7085 if test "x$enable_systemd" = "xyes"; then :
7086 ac_config_files
="$ac_config_files dist/unix/systemd/qbittorrent-nox@.service"
7088 cat >confcache
<<\_ACEOF
7089 # This file is a shell script that caches the results of configure
7090 # tests run on this system so they can be shared between configure
7091 # scripts and configure runs, see configure's option --config-cache.
7092 # It is not useful on other systems. If it contains results you don't
7093 # want to keep, you may remove or edit it.
7095 # config.status only pays attention to the cache file if you give it
7096 # the --recheck option to rerun configure.
7098 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7099 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7104 # The following way of writing the cache mishandles newlines in values,
7105 # but we know of no workaround that is simple, portable, and efficient.
7106 # So, we kill variables containing newlines.
7107 # Ultrix sh set writes to stderr and can't be redirected directly,
7108 # and sets the high bit in the cache file unless we assign to the vars.
7110 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7111 eval ac_val
=\$
$ac_var
7115 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7116 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7119 _ | IFS | as_nl
) ;; #(
7120 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7121 *) { eval $ac_var=; unset $ac_var;} ;;
7127 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7128 *${as_nl}ac_space
=\
*)
7129 # `set' does not quote correctly, so add quotes: double-quote
7130 # substitution turns \\\\ into \\, and sed turns \\ into \.
7133 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7136 # `set' quotes correctly as required by POSIX, so do not add quotes.
7137 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7146 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7148 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7150 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7151 if test -w "$cache_file"; then
7152 if test "x$cache_file" != "x/dev/null"; then
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7154 $as_echo "$as_me: updating cache $cache_file" >&6;}
7155 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
7156 cat confcache
>"$cache_file"
7158 case $cache_file in #(
7160 mv -f confcache
"$cache_file"$$
&&
7161 mv -f "$cache_file"$$
"$cache_file" ;; #(
7163 mv -f confcache
"$cache_file" ;;
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7169 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7174 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7175 # Let make expand exec_prefix.
7176 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7178 # Transform confdefs.h into DEFS.
7179 # Protect against shell expansion while executing Makefile rules.
7180 # Protect against Makefile macro expansion.
7182 # If the first sed substitution is executed (which looks for macros that
7183 # take arguments), then branch to the quote section. Otherwise,
7184 # look for a macro that doesn't take arguments.
7194 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
7196 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
7200 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7213 DEFS
=`sed -n "$ac_script" confdefs.h`
7219 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7220 # 1. Remove the extension, and $U if already installed.
7221 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7222 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7223 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7224 # will be set to the directory where LIBOBJS objects are built.
7225 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7226 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7230 LTLIBOBJS
=$ac_ltlibobjs
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7234 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7235 if test -n "$am_sleep_pid"; then
7236 # Hide warnings about reused PIDs.
7237 wait $am_sleep_pid 2>/dev
/null
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7240 $as_echo "done" >&6; }
7241 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7242 as_fn_error $?
"conditional \"AMDEP\" was never defined.
7243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7245 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7246 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
7247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7249 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7250 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
7251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7253 if test -n "$EXEEXT"; then
7255 am__EXEEXT_FALSE
='#'
7261 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
7262 as_fn_error $?
"conditional \"am__EXEEXT\" was never defined.
7263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7266 : "${CONFIG_STATUS=./config.status}"
7268 ac_clean_files_save
=$ac_clean_files
7269 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7271 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7273 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7275 # Generated by $as_me.
7276 # Run this file to recreate the current configuration.
7277 # Compiler output produced by configure, useful for debugging
7278 # configure, is in config.log if it exists.
7284 SHELL=\${CONFIG_SHELL-$SHELL}
7287 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7288 ## -------------------- ##
7289 ## M4sh Initialization. ##
7290 ## -------------------- ##
7292 # Be more Bourne compatible
7293 DUALCASE
=1; export DUALCASE
# for MKS sh
7294 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7297 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7298 # is contrary to our usage. Disable this feature.
7299 alias -g '${1+"$@"}'='"$@"'
7300 setopt NO_GLOB_SUBST
7302 case `(set -o) 2>/dev/null` in #(
7314 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7315 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7316 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7317 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7318 # Prefer a ksh shell builtin over an external printf program on Solaris,
7319 # but without wasting forks for bash or zsh.
7320 if test -z "$BASH_VERSION$ZSH_VERSION" \
7321 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7322 as_echo='print
-r --'
7323 as_echo_n='print
-rn --'
7324 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7325 as_echo='printf %s
\n'
7326 as_echo_n='printf %s
'
7328 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7329 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7330 as_echo_n='/usr
/ucb
/echo -n'
7332 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7333 as_echo_n_body='eval
7337 expr "X$arg" : "X\\(.*\\)$as_nl";
7338 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7340 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7342 export as_echo_n_body
7343 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7346 as_echo='sh
-c $as_echo_body as_echo
'
7349 # The user is always right.
7350 if test "${PATH_SEPARATOR+set}" != set; then
7352 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7353 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7360 # We need space, tab and new line, in precisely that order. Quoting is
7361 # there to prevent editors from complaining about space-tab.
7362 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7363 # splitting by setting IFS to empty value.)
7366 # Find who we are. Look in the path if we contain no directory separator.
7369 *[\\/]* ) as_myself=$0 ;;
7370 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 test -z "$as_dir" && as_dir=.
7375 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7381 # We did not find ourselves, most probably we were run as `sh COMMAND'
7382 # in which case we are not to be found in the path.
7383 if test "x$as_myself" = x
; then
7386 if test ! -f "$as_myself"; then
7387 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7391 # Unset variables that we do not need and which cause bugs (e.g. in
7392 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7393 # suppresses any "Segmentation fault" message there. '((' could
7394 # trigger a bug in pdksh 5.2.14.
7395 for as_var
in BASH_ENV ENV MAIL MAILPATH
7396 do eval test x\
${$as_var+set} = xset \
7397 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7410 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7413 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7414 # ----------------------------------------
7415 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7416 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7417 # script with STATUS, using 1 if that was 0.
7420 as_status
=$1; test $as_status -eq 0 && as_status
=1
7422 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7423 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7425 $as_echo "$as_me: error: $2" >&2
7426 as_fn_exit
$as_status
7430 # as_fn_set_status STATUS
7431 # -----------------------
7432 # Set $? to STATUS, without forking.
7436 } # as_fn_set_status
7440 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7450 # Portably unset VAR.
7453 { eval $1=; unset $1;}
7455 as_unset
=as_fn_unset
7456 # as_fn_append VAR VALUE
7457 # ----------------------
7458 # Append the text in VALUE to the end of the definition contained in VAR. Take
7459 # advantage of any shell optimizations that allow amortized linear growth over
7460 # repeated appends, instead of the typical quadratic growth present in naive
7462 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7463 eval 'as_fn_append ()
7474 # as_fn_arith ARG...
7475 # ------------------
7476 # Perform arithmetic evaluation on the ARGs, and store the result in the
7477 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7478 # must be portable across $(()) and expr.
7479 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7480 eval 'as_fn_arith ()
7487 as_val
=`expr "$@" || test $? -eq 1`
7492 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7493 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7499 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7500 as_basename
=basename
7505 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7511 as_me
=`$as_basename -- "$0" ||
7512 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7513 X"$0" : 'X\(//\)$' \| \
7514 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7516 sed '/^.*\/\([^/][^/]*\)\/*$/{
7530 # Avoid depending upon Character Ranges.
7531 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7532 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7533 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7534 as_cr_digits
='0123456789'
7535 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7537 ECHO_C
= ECHO_N
= ECHO_T
=
7538 case `echo -n x` in #(((((
7540 case `echo 'xy\c'` in
7541 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7543 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7550 rm -f conf$$ conf$$.exe conf$$.
file
7551 if test -d conf$$.dir
; then
7552 rm -f conf$$.dir
/conf$$.
file
7555 mkdir conf$$.dir
2>/dev
/null
7557 if (echo >conf$$.
file) 2>/dev
/null
; then
7558 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7560 # ... but there are two gotchas:
7561 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7562 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7563 # In both cases, we have to default to `cp -pR'.
7564 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7566 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7574 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7575 rmdir conf$$.dir
2>/dev
/null
7580 # Create "$as_dir" as a directory, including parents if necessary.
7585 -*) as_dir
=.
/$as_dir;;
7587 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7591 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7592 *) as_qdir
=$as_dir;;
7594 as_dirs
="'$as_qdir' $as_dirs"
7595 as_dir
=`$as_dirname -- "$as_dir" ||
7596 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7597 X"$as_dir" : 'X\(//\)[^/]' \| \
7598 X"$as_dir" : 'X\(//\)$' \| \
7599 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7600 $as_echo X"$as_dir" |
7601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7618 test -d "$as_dir" && break
7620 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7621 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7625 if mkdir
-p .
2>/dev
/null
; then
7626 as_mkdir_p
='mkdir -p "$as_dir"'
7628 test -d .
/-p && rmdir .
/-p
7633 # as_fn_executable_p FILE
7634 # -----------------------
7635 # Test if FILE is an executable regular file.
7636 as_fn_executable_p
()
7638 test -f "$1" && test -x "$1"
7639 } # as_fn_executable_p
7641 as_executable_p
=as_fn_executable_p
7643 # Sed expression to map a string onto a valid CPP name.
7644 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7646 # Sed expression to map a string onto a valid variable name.
7647 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7651 ## ----------------------------------- ##
7652 ## Main body of $CONFIG_STATUS script. ##
7653 ## ----------------------------------- ##
7655 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7658 # Save the log message, to keep $0 and so on meaningful, and to
7659 # report actual input values of CONFIG_FILES etc. instead of their
7660 # values after options handling.
7662 This file was extended by qbittorrent $as_me v4.3.0alpha, which was
7663 generated by GNU Autoconf 2.69. Invocation command line was
7665 CONFIG_FILES = $CONFIG_FILES
7666 CONFIG_HEADERS = $CONFIG_HEADERS
7667 CONFIG_LINKS = $CONFIG_LINKS
7668 CONFIG_COMMANDS = $CONFIG_COMMANDS
7671 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7676 case $ac_config_files in *"
7677 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7683 # Files that config.status was made for.
7684 config_files="$ac_config_files"
7685 config_commands="$ac_config_commands"
7689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7691 \`$as_me' instantiates files and other configuration actions
7692 from templates according to the current configuration. Unless the files
7693 and actions are specified as TAGs, all are instantiated by default.
7695 Usage: $0 [OPTION]... [TAG]...
7697 -h, --help print this help, then exit
7698 -V, --version print version number and configuration settings, then exit
7699 --config print configuration, then exit
7700 -q, --quiet, --silent
7701 do not print progress messages
7702 -d, --debug don't remove temporary files
7703 --recheck update $as_me by reconfiguring in the same conditions
7704 --file=FILE[:TEMPLATE]
7705 instantiate the configuration file FILE
7707 Configuration files:
7710 Configuration commands:
7713 Report bugs to <bugs.qbittorrent.org>.
7714 qbittorrent home page: <https://www.qbittorrent.org/>."
7717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7718 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7720 qbittorrent config.status v4.3.0alpha
7721 configured by $0, generated by GNU Autoconf 2.69,
7722 with options \\"\$ac_cs_config\\"
7724 Copyright (C) 2012 Free Software Foundation, Inc.
7725 This config.status script is free software; the Free Software Foundation
7726 gives unlimited permission to copy, distribute and modify it."
7733 test -n "\$AWK" || AWK=awk
7736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7737 # The default lists apply if the user does not specify any file.
7743 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7744 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7748 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7760 # Handling of the options.
7761 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7763 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7764 $as_echo "$ac_cs_version"; exit ;;
7765 --config |
--confi |
--conf |
--con |
--co |
--c )
7766 $as_echo "$ac_cs_config"; exit ;;
7767 --debug |
--debu |
--deb |
--de |
--d |
-d )
7769 --file |
--fil |
--fi |
--f )
7772 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7773 '') as_fn_error $?
"missing file argument" ;;
7775 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7776 ac_need_defaults
=false
;;
7777 --he |
--h |
--help |
--hel |
-h )
7778 $as_echo "$ac_cs_usage"; exit ;;
7779 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7780 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7784 -*) as_fn_error $?
"unrecognized option: \`$1'
7785 Try \`$0 --help' for more information." ;;
7787 *) as_fn_append ac_config_targets
" $1"
7788 ac_need_defaults
=false
;;
7794 ac_configure_extra_args
=
7796 if $ac_cs_silent; then
7798 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7803 if \$ac_cs_recheck; then
7804 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7806 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7807 CONFIG_SHELL='$SHELL'
7813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7817 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7818 ## Running $as_me. ##
7824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7828 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
7832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7834 # Handling of arguments.
7835 for ac_config_target
in $ac_config_targets
7837 case $ac_config_target in
7838 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7839 "conf.pri") CONFIG_FILES
="$CONFIG_FILES conf.pri" ;;
7840 "dist/unix/systemd/qbittorrent-nox@.service") CONFIG_FILES
="$CONFIG_FILES dist/unix/systemd/qbittorrent-nox@.service" ;;
7842 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7847 # If the user did not use the arguments to specify the items to instantiate,
7848 # then the envvar interface is used. Set only those that are not.
7849 # We use the long form for the default assignment because of an extremely
7850 # bizarre bug on SunOS 4.1.3.
7851 if $ac_need_defaults; then
7852 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7853 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7856 # Have a temporary directory for convenience. Make it in the build tree
7857 # simply because there is no reason against having it here, and in addition,
7858 # creating and moving files from /tmp can sometimes cause problems.
7859 # Hook for its removal unless debugging.
7860 # Note that there is a small window in which the directory will not be cleaned:
7861 # after its creation but before its name has been assigned to `$tmp'.
7865 trap 'exit_status=$?
7867 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7869 trap 'as_fn_exit 1' 1 2 13 15
7871 # Create a (secure) tmp directory for tmp files.
7874 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7878 tmp
=.
/conf$$
-$RANDOM
7879 (umask 077 && mkdir
"$tmp")
7880 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7883 # Set up the scripts for CONFIG_FILES section.
7884 # No need to generate them if there are no CONFIG_FILES.
7885 # This happens for instance with `./config.status config.h'.
7886 if test -n "$CONFIG_FILES"; then
7889 ac_cr
=`echo X | tr X '\015'`
7890 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7891 # But we know of no other shell where ac_cr would be empty at this
7892 # point, so we can use a bashism as a fallback.
7893 if test "x$ac_cr" = x
; then
7894 eval ac_cr
=\$
\'\\r
\'
7896 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7897 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7903 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7908 echo "cat >conf$$subs.awk <<_ACEOF" &&
7909 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7912 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7913 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7915 for ac_last_try in false false false false false :; do
7916 . ./conf$$subs.sh ||
7917 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7919 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7920 if test $ac_delim_n = $ac_delim_num; then
7922 elif $ac_last_try; then
7923 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7925 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7931 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7935 s/^/S["/; s
/!.
*/"]=/
7945 s/\(.\{148\}\)..*/\1/
7947 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7952 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7959 s/\(.\{148\}\)..*/\1/
7961 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7965 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7970 ' <conf$$subs.awk | sed '
7975 ' >>$CONFIG_STATUS || ac_write_fail=1
7976 rm -f conf$$subs.awk
7977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7979 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7980 for (key in S) S_is_set[key] = 1
7986 nfields = split(line, field, "@
")
7988 len = length(field[1])
7989 for (i = 2; i < nfields; i++) {
7991 keylen = length(key)
7992 if (S_is_set[key]) {
7994 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7995 len += length(value) + length(field[++i])
8006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8007 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8008 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8011 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
8012 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8015 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8016 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8017 # trailing colons and then remove the whole line if VPATH becomes empty
8018 # (actually we leave an empty line to preserve line numbers).
8019 if test "x
$srcdir" = x.; then
8020 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8039 fi # test -n "$CONFIG_FILES"
8042 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
8047 :[FHLC]) ac_mode=$ac_tag; continue;;
8049 case $ac_mode$ac_tag in
8051 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
8052 :[FH]-) ac_tag=-:-;;
8053 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8070 -) ac_f="$ac_tmp/stdin";;
8071 *) # Look for the file first in the build tree, then in the source tree
8072 # (if the path is not absolute). The absolute path cannot be DOS-style,
8073 # because $ac_f cannot contain `:'.
8077 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8079 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8081 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
8082 as_fn_append ac_file_inputs " '$ac_f'"
8085 # Let's still pretend it is `configure' which instantiates (i.e., don't
8086 # use $as_me), people would be surprised to read:
8087 # /* config.h. Generated by config.status. */
8088 configure_input='Generated from '`
8089 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8091 if test x"$ac_file" != x-; then
8092 configure_input="$ac_file.
$configure_input"
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
8094 $as_echo "$as_me: creating
$ac_file" >&6;}
8096 # Neutralize special characters interpreted by sed in replacement strings.
8097 case $configure_input in #(
8098 *\&* | *\|* | *\\* )
8099 ac_sed_conf_input=`$as_echo "$configure_input" |
8100 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8101 *) ac_sed_conf_input=$configure_input;;
8105 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
8106 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
8111 ac_dir=`$as_dirname -- "$ac_file" ||
8112 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8113 X"$ac_file" : 'X\(//\)[^/]' \| \
8114 X"$ac_file" : 'X\(//\)$' \| \
8115 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8116 $as_echo X"$ac_file" |
8117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8134 as_dir="$ac_dir"; as_fn_mkdir_p
8138 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8140 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8141 # A "..
" for each directory in $ac_dir_suffix.
8142 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8143 case $ac_top_builddir_sub in
8144 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8145 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8148 ac_abs_top_builddir=$ac_pwd
8149 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8150 # for backward compatibility:
8151 ac_top_builddir=$ac_top_build_prefix
8154 .) # We are building in place.
8156 ac_top_srcdir=$ac_top_builddir_sub
8157 ac_abs_top_srcdir=$ac_pwd ;;
8158 [\\/]* | ?:[\\/]* ) # Absolute name.
8159 ac_srcdir=$srcdir$ac_dir_suffix;
8160 ac_top_srcdir=$srcdir
8161 ac_abs_top_srcdir=$srcdir ;;
8163 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8164 ac_top_srcdir=$ac_top_build_prefix$srcdir
8165 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8167 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8177 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8178 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8182 [\\/$]* | ?:[\\/]* ) ;;
8183 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8188 # If the template does not know about datarootdir, expand it.
8189 # FIXME: This hack should be removed a few years after 2.60.
8190 ac_datarootdir_hack=; ac_datarootdir_seen=
8201 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
8202 *datarootdir*) ac_datarootdir_seen=yes;;
8203 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
8205 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
8207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8208 ac_datarootdir_hack='
8209 s&@datadir@&$datadir&g
8210 s&@docdir@&$docdir&g
8211 s&@infodir@&$infodir&g
8212 s&@localedir@&$localedir&g
8213 s&@mandir@&$mandir&g
8214 s&\\\${datarootdir}&$datarootdir&g' ;;
8218 # Neutralize VPATH when `$srcdir' = `.'.
8219 # Shell code in configure.ac might set extrasub.
8220 # FIXME: do we really want to maintain this feature?
8221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8222 ac_sed_extra="$ac_vpsub
8225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8227 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8228 s|@configure_input@|
$ac_sed_conf_input|
;t t
8229 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8230 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8231 s
&@srcdir@
&$ac_srcdir&;t t
8232 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8233 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8234 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8235 s
&@builddir@
&$ac_builddir&;t t
8236 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8237 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8238 s
&@INSTALL@
&$ac_INSTALL&;t t
8239 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8240 $ac_datarootdir_hack
8242 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8243 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8245 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8246 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8247 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8248 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8250 which seems to be undefined. Please make sure it is defined" >&5
8251 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8252 which seems to be undefined. Please make sure it is defined" >&2;}
8254 rm -f "$ac_tmp/stdin"
8256 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8257 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8259 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8263 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8264 $as_echo "$as_me: executing $ac_file commands" >&6;}
8269 case $ac_file$ac_mode in
8270 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8271 # Older Autoconf quotes --file arguments for eval, but not when files
8272 # are listed without --file. Let's play safe and only
enable the
eval
8273 # if we detect the quoting.
8274 # TODO: see whether this extra hack can be removed once we start
8275 # requiring Autoconf 2.70 or later.
8276 case $CONFIG_FILES in #(
8278 eval set x
"$CONFIG_FILES" ;; #(
8280 set x
$CONFIG_FILES ;; #(
8285 # Used to flag and report bootstrapping failures.
8289 # Strip MF so we end up with the name of the file.
8290 am_mf
=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
8291 # Check whether this is an Automake generated Makefile which includes
8292 # dependency-tracking related rules and includes.
8293 # Grep'ing the whole file directly is not great: AIX grep has a line
8294 # limit of 2048, but all sed's we know have understand at least 4000.
8295 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" |
grep X
>/dev
/null
2>&1 \
8297 am_dirpart
=`$as_dirname -- "$am_mf" ||
8298 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8299 X"$am_mf" : 'X\(//\)[^/]' \| \
8300 X"$am_mf" : 'X\(//\)$' \| \
8301 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
8302 $as_echo X"$am_mf" |
8303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8320 am_filepart
=`$as_basename -- "$am_mf" ||
8321 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
8322 X"$am_mf" : 'X\(//\)$' \| \
8323 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
8324 $as_echo X/"$am_mf" |
8325 sed '/^.*\/\([^/][^/]*\)\/*$/{
8338 { echo "$as_me:$LINENO: cd "$am_dirpart" \
8339 && sed -e '/# am--include-marker/d' "$am_filepart" \
8340 | $MAKE -f - am--depfiles" >&5
8342 && sed -e '/# am--include-marker/d' "$am_filepart" \
8343 |
$MAKE -f - am--depfiles
) >&5 2>&5
8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346 (exit $ac_status); } || am_rc
=$?
8348 if test $am_rc -ne 0; then
8349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8351 as_fn_error $?
"Something went wrong bootstrapping makefile fragments
8352 for automatic dependency tracking. Try re-running configure with the
8353 '--disable-dependency-tracking' option to at least be able to build
8354 the package (albeit without support for automatic dependency tracking).
8355 See \`config.log' for more details" "$LINENO" 5; }
8357 { am_dirpart
=; unset am_dirpart
;}
8358 { am_filepart
=; unset am_filepart
;}
8359 { am_mf
=; unset am_mf
;}
8360 { am_rc
=; unset am_rc
;}
8361 rm -f conftest-deps.mk
8371 ac_clean_files
=$ac_clean_files_save
8373 test $ac_write_fail = 0 ||
8374 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8377 # configure is writing to config.log, and then calls config.status.
8378 # config.status does its own redirection, appending to config.log.
8379 # Unfortunately, on DOS this fails, as config.log is still kept open
8380 # by configure, so config.status won't be able to write to it; its
8381 # output is simply discarded. So we exec the FD to /dev/null,
8382 # effectively closing config.log, so it can be properly (re)opened and
8383 # appended to by config.status. When coming back to configure, we
8384 # need to make the FD available again.
8385 if test "$no_create" != yes; then
8387 ac_config_status_args
=
8388 test "$silent" = yes &&
8389 ac_config_status_args
="$ac_config_status_args --quiet"
8391 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8393 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8394 # would make configure fail if this is the last instruction.
8395 $ac_cs_success || as_fn_exit
1
8397 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8399 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: Running qmake to generate the makefile..." >&5
8405 $as_echo "$as_me: Running qmake to generate the makefile..." >&6;}
8406 TOPDIR
="$(cd "$
(dirname "$0")" && pwd)"
8407 $QT_QMAKE -r "$TOPDIR/qbittorrent.pro" "QMAKE_LRELEASE=$QMAKE_LRELEASE"
8411 if test "x$qmake_ret" != "x0"; then :
8412 as_fn_error $?
"$QT_QMAKE failed to generate the makefile" "$LINENO" 5
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: Good, the configure finished." >&5
8416 $as_echo "$as_me: Good, the configure finished." >&6;}