2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.70 for qbittorrent v4.4.0alpha.
5 # Report bugs to <bugs.qbittorrent.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020 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
20 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
39 # Reset variables that may have inherited troublesome values from
42 # IFS needs to be set, to space, tab, and newline, in precisely that order.
43 # (If _AS_PATH_WALK were called with IFS unset, it would have the
44 # side effect of setting IFS to empty, thus disabling word splitting.)
45 # Quoting is to prevent editors from complaining about space-tab.
55 # Ensure predictable behavior from utilities with locale-dependent output.
61 # We cannot yet rely on "unset" to work, but we need these variables
62 # to be unset--not just set to an empty or harmless value--now, to
63 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
64 # also avoids known problems related to "unset" and subshell syntax
65 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
66 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
67 do eval test \
${$as_var+y} \
68 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
71 # Ensure that fds 0, 1, and 2 are open.
72 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
73 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
74 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
76 # The user is always right.
77 if ${PATH_SEPARATOR+false} :; then
79 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
80 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
86 # Find who we are. Look in the path if we contain no directory separator.
89 *[\\/]* ) as_myself
=$0 ;;
90 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
99 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Use a proper internal environment variable to ensure we don't fall
117 # into an infinite loop, continuously re-executing ourselves.
118 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
119 _as_can_reexec
=no
; export _as_can_reexec
;
120 # We cannot yet assume a decent shell, so we have to provide a
121 # neutralization value for shells without unset; and this also
122 # works around shells that cannot unset nonexistent variables.
123 # Preserve -v and -x to the replacement shell.
126 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
128 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
133 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
134 # Admittedly, this is quite paranoid, since all the known shells bail
135 # out after a failed `exec'.
136 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
139 # We don't want this to propagate to other subprocesses.
140 { _as_can_reexec
=; unset _as_can_reexec
;}
141 if test "x$CONFIG_SHELL" = x
; then
142 as_bourne_compatible
="as_nop=:
143 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # is contrary to our usage. Disable this feature.
149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
152 case \`(set -o) 2>/dev/null\` in #(
160 as_required
="as_fn_return () { (exit \$1); }
161 as_fn_success () { as_fn_return 0; }
162 as_fn_failure () { as_fn_return 1; }
163 as_fn_ret_success () { return 0; }
164 as_fn_ret_failure () { return 1; }
167 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
168 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
169 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
170 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
171 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
175 exitcode=1; echo positional parameters were not saved.
177 test x\$exitcode = x0 || exit 1
178 blah=\$(echo \$(echo blah))
179 test x\"\$blah\" = xblah || exit 1
181 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
182 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
183 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
184 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev
/null
192 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
198 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
204 *) as_dir
=$as_dir/ ;;
209 for as_base
in sh bash ksh sh5
; do
210 # Try only shells that exist, to save several forks.
211 as_shell
=$as_dir$as_base
212 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
213 as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
215 CONFIG_SHELL
=$as_shell as_have_required
=yes
216 if as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev
/null
230 if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
231 as_run
=a
"$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
247 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
249 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x
$as_have_required = xno
263 printf "%s\n" "$0: This script requires a shell more modern than all"
264 printf "%s\n" "$0: the shells that I found on your system."
265 if test ${ZSH_VERSION+y} ; then
266 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 printf "%s\n" "$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;}
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Do nothing but, unlike ":", preserve the value of $?.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir
=.
/$as_dir;;
333 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
337 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs
="'$as_qdir' $as_dirs"
341 as_dir
=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 printf "%s\n" X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
367 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p
()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
387 eval 'as_fn_append ()
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
412 as_val
=`expr "$@" || test $? -eq 1`
418 # Do nothing but, unlike ":", preserve the value of $?.
425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
426 # ----------------------------------------
427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
429 # script with STATUS, using 1 if that was 0.
432 as_status
=$1; test $as_status -eq 0 && as_status
=1
434 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
437 printf "%s\n" "$as_me: error: $2" >&2
438 as_fn_exit
$as_status
441 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
442 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
448 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
454 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
460 as_me
=`$as_basename -- "$0" ||
461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
462 X"$0" : 'X\(//\)$' \| \
463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
464 printf "%s\n" X/"$0" |
465 sed '/^.*\/\([^/][^/]*\)\/*$/{
479 # Avoid depending upon Character Ranges.
480 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
481 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
482 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
483 as_cr_digits
='0123456789'
484 as_cr_alnum
=$as_cr_Letters$as_cr_digits
487 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
488 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
489 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
490 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
491 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
503 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
507 chmod +x
"$as_me.lineno" ||
508 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
510 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
511 # already done that, so ensure we don't try to do so again and fall
512 # in an infinite loop. This has already happened in practice.
513 _as_can_reexec
=no
; export _as_can_reexec
514 # Don't try to exec as it changes $[0], causing all sort of problems
515 # (the dirname of $[0] is not the place where we might find the
516 # original and so on. Autoconf is especially sensitive to this).
518 # Exit status is that of the last command.
523 # Determine whether it's possible to make 'echo' print without a newline.
524 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
525 # for compatibility with existing Makefiles.
526 ECHO_C
= ECHO_N
= ECHO_T
=
527 case `echo -n x` in #(((((
529 case `echo 'xy\c'` in
530 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
532 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
539 # For backward compatibility with old third-party macros, we provide
540 # the shell variables $as_echo and $as_echo_n. New code should use
541 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
542 as_echo
='printf %s\n'
543 as_echo_n
='printf %s'
546 rm -f conf$$ conf$$.exe conf$$.
file
547 if test -d conf$$.dir
; then
548 rm -f conf$$.dir
/conf$$.
file
551 mkdir conf$$.dir
2>/dev
/null
553 if (echo >conf$$.
file) 2>/dev
/null
; then
554 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
556 # ... but there are two gotchas:
557 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
558 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
559 # In both cases, we have to default to `cp -pR'.
560 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
562 elif ln conf$$.
file conf$$
2>/dev
/null
; then
570 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
571 rmdir conf$$.dir
2>/dev
/null
573 if mkdir
-p .
2>/dev
/null
; then
574 as_mkdir_p
='mkdir -p "$as_dir"'
576 test -d .
/-p && rmdir .
/-p
581 as_executable_p
=as_fn_executable_p
583 # Sed expression to map a string onto a valid CPP name.
584 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
586 # Sed expression to map a string onto a valid variable name.
587 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
590 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
594 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
595 # so uname gets run too.
596 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
601 ac_default_prefix
=/usr
/local
603 ac_config_libobj_dir
=.
610 # Identity of this package.
611 PACKAGE_NAME
='qbittorrent'
612 PACKAGE_TARNAME
='qbittorrent'
613 PACKAGE_VERSION
='v4.4.0alpha'
614 PACKAGE_STRING
='qbittorrent v4.4.0alpha'
615 PACKAGE_BUGREPORT
='bugs.qbittorrent.org'
616 PACKAGE_URL
='https://www.qbittorrent.org/'
618 ac_subst_vars
='am__EXEEXT_FALSE
626 QBT_CONF_EXTRA_CFLAGS
673 INSTALL_STRIP_PROGRAM
735 program_transform_name
749 enable_option_checking
750 enable_dependency_tracking
762 ac_precious_vars
='build_alias
787 # Initialize some variables set by options.
789 ac_init_version
=false
790 ac_unrecognized_opts
=
792 # The variables have the same names as the options, with
793 # dashes changed to underlines.
801 program_transform_name
=s
,x
,x
,
809 # Installation directory options.
810 # These are left unexpanded so users can "make install exec_prefix=/foo"
811 # and all the variables that are supposed to be based on exec_prefix
812 # by default will actually change.
813 # Use braces instead of parens because sh, perl, etc. also accept them.
814 # (The list follows the same order as the GNU Coding Standards.)
815 bindir
='${exec_prefix}/bin'
816 sbindir
='${exec_prefix}/sbin'
817 libexecdir
='${exec_prefix}/libexec'
818 datarootdir
='${prefix}/share'
819 datadir
='${datarootdir}'
820 sysconfdir
='${prefix}/etc'
821 sharedstatedir
='${prefix}/com'
822 localstatedir
='${prefix}/var'
823 runstatedir
='${localstatedir}/run'
824 includedir
='${prefix}/include'
825 oldincludedir
='/usr/include'
826 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
827 infodir
='${datarootdir}/info'
832 libdir
='${exec_prefix}/lib'
833 localedir
='${datarootdir}/locale'
834 mandir
='${datarootdir}/man'
840 # If the previous option needs an argument, assign it.
841 if test -n "$ac_prev"; then
842 eval $ac_prev=\
$ac_option
848 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 case $ac_dashdash$ac_option in
857 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
859 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
862 -build |
--build |
--buil |
--bui |
--bu)
863 ac_prev
=build_alias
;;
864 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
865 build_alias
=$ac_optarg ;;
867 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
868 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
869 ac_prev
=cache_file
;;
870 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
871 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
872 cache_file
=$ac_optarg ;;
875 cache_file
=config.cache
;;
877 -datadir |
--datadir |
--datadi |
--datad)
879 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
880 datadir
=$ac_optarg ;;
882 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
883 |
--dataroo |
--dataro |
--datar)
884 ac_prev
=datarootdir
;;
885 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
886 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
887 datarootdir
=$ac_optarg ;;
889 -disable-* |
--disable-*)
890 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
891 # Reject names that are not valid shell variable names.
892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
893 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
894 ac_useropt_orig
=$ac_useropt
895 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
896 case $ac_user_opts in
900 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
901 ac_unrecognized_sep
=', ';;
903 eval enable_
$ac_useropt=no
;;
905 -docdir |
--docdir |
--docdi |
--doc |
--do)
907 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
910 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
912 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
915 -enable-* |
--enable-*)
916 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
919 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
920 ac_useropt_orig
=$ac_useropt
921 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
922 case $ac_user_opts in
926 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
927 ac_unrecognized_sep
=', ';;
929 eval enable_
$ac_useropt=\
$ac_optarg ;;
931 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
932 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
933 |
--exec |
--exe |
--ex)
934 ac_prev
=exec_prefix
;;
935 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
936 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
937 |
--exec=* |
--exe=* |
--ex=*)
938 exec_prefix
=$ac_optarg ;;
940 -gas |
--gas |
--ga |
--g)
941 # Obsolete; use --with-gas.
944 -help |
--help |
--hel |
--he |
-h)
946 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
947 ac_init_help
=recursive
;;
948 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
949 ac_init_help
=short
;;
951 -host |
--host |
--hos |
--ho)
952 ac_prev
=host_alias
;;
953 -host=* |
--host=* |
--hos=* |
--ho=*)
954 host_alias
=$ac_optarg ;;
956 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
958 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
960 htmldir
=$ac_optarg ;;
962 -includedir |
--includedir |
--includedi |
--included |
--include \
963 |
--includ |
--inclu |
--incl |
--inc)
964 ac_prev
=includedir
;;
965 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
966 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
967 includedir
=$ac_optarg ;;
969 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
971 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
972 infodir
=$ac_optarg ;;
974 -libdir |
--libdir |
--libdi |
--libd)
976 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
979 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
980 |
--libexe |
--libex |
--libe)
981 ac_prev
=libexecdir
;;
982 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
983 |
--libexe=* |
--libex=* |
--libe=*)
984 libexecdir
=$ac_optarg ;;
986 -localedir |
--localedir |
--localedi |
--localed |
--locale)
988 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
989 localedir
=$ac_optarg ;;
991 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
992 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
993 ac_prev
=localstatedir
;;
994 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
995 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
996 localstatedir
=$ac_optarg ;;
998 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1000 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1001 mandir
=$ac_optarg ;;
1003 -nfp |
--nfp |
--nf)
1004 # Obsolete; use --without-fp.
1007 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1008 |
--no-cr |
--no-c |
-n)
1011 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1012 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1015 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1016 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1017 |
--oldin |
--oldi |
--old |
--ol |
--o)
1018 ac_prev
=oldincludedir
;;
1019 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1020 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1021 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1022 oldincludedir
=$ac_optarg ;;
1024 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1026 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1027 prefix
=$ac_optarg ;;
1029 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1030 |
--program-pre |
--program-pr |
--program-p)
1031 ac_prev
=program_prefix
;;
1032 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1033 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1034 program_prefix
=$ac_optarg ;;
1036 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1037 |
--program-suf |
--program-su |
--program-s)
1038 ac_prev
=program_suffix
;;
1039 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1040 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1041 program_suffix
=$ac_optarg ;;
1043 -program-transform-name |
--program-transform-name \
1044 |
--program-transform-nam |
--program-transform-na \
1045 |
--program-transform-n |
--program-transform- \
1046 |
--program-transform |
--program-transfor \
1047 |
--program-transfo |
--program-transf \
1048 |
--program-trans |
--program-tran \
1049 |
--progr-tra |
--program-tr |
--program-t)
1050 ac_prev
=program_transform_name
;;
1051 -program-transform-name=* |
--program-transform-name=* \
1052 |
--program-transform-nam=* |
--program-transform-na=* \
1053 |
--program-transform-n=* |
--program-transform-=* \
1054 |
--program-transform=* |
--program-transfor=* \
1055 |
--program-transfo=* |
--program-transf=* \
1056 |
--program-trans=* |
--program-tran=* \
1057 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1058 program_transform_name
=$ac_optarg ;;
1060 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1062 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1063 pdfdir
=$ac_optarg ;;
1065 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1067 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1070 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1071 |
-silent |
--silent |
--silen |
--sile |
--sil)
1074 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1075 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1076 |
--run |
--ru |
--r)
1077 ac_prev
=runstatedir
;;
1078 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1079 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1080 |
--run=* |
--ru=* |
--r=*)
1081 runstatedir
=$ac_optarg ;;
1083 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1085 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1087 sbindir
=$ac_optarg ;;
1089 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1090 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1091 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1093 ac_prev
=sharedstatedir
;;
1094 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1095 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1096 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1098 sharedstatedir
=$ac_optarg ;;
1100 -site |
--site |
--sit)
1102 -site=* |
--site=* |
--sit=*)
1105 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1107 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1108 srcdir
=$ac_optarg ;;
1110 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1111 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1112 ac_prev
=sysconfdir
;;
1113 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1114 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1115 sysconfdir
=$ac_optarg ;;
1117 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1118 ac_prev
=target_alias
;;
1119 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1120 target_alias
=$ac_optarg ;;
1122 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1125 -version |
--version |
--versio |
--versi |
--vers |
-V)
1126 ac_init_version
=: ;;
1129 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1132 as_fn_error $?
"invalid package name: \`$ac_useropt'"
1133 ac_useropt_orig
=$ac_useropt
1134 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1135 case $ac_user_opts in
1139 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1140 ac_unrecognized_sep
=', ';;
1142 eval with_
$ac_useropt=\
$ac_optarg ;;
1144 -without-* |
--without-*)
1145 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1146 # Reject names that are not valid shell variable names.
1147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1148 as_fn_error $?
"invalid package name: \`$ac_useropt'"
1149 ac_useropt_orig
=$ac_useropt
1150 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1151 case $ac_user_opts in
1155 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1156 ac_unrecognized_sep
=', ';;
1158 eval with_
$ac_useropt=no
;;
1161 # Obsolete; use --with-x.
1164 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1165 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1166 ac_prev
=x_includes
;;
1167 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1168 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1169 x_includes
=$ac_optarg ;;
1171 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1172 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1173 ac_prev
=x_libraries
;;
1174 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1175 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1176 x_libraries
=$ac_optarg ;;
1178 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1179 Try \`$0 --help' for more information"
1183 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1184 # Reject names that are not valid shell variable names.
1185 case $ac_envvar in #(
1186 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1187 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1189 eval $ac_envvar=\
$ac_optarg
1190 export $ac_envvar ;;
1193 # FIXME: should be removed in autoconf 3.0.
1194 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1195 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1196 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1197 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1203 if test -n "$ac_prev"; then
1204 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1205 as_fn_error $?
"missing argument to $ac_option"
1208 if test -n "$ac_unrecognized_opts"; then
1209 case $enable_option_checking in
1211 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1212 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1216 # Check all directory arguments for consistency.
1217 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1218 datadir sysconfdir sharedstatedir localstatedir includedir \
1219 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1220 libdir localedir mandir runstatedir
1222 eval ac_val
=\$
$ac_var
1223 # Remove trailing slashes.
1226 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1227 eval $ac_var=\
$ac_val;;
1229 # Be sure to have absolute directory names.
1231 [\\/$
]* | ?
:[\\/]* ) continue;;
1232 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1234 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1237 # There might be people who depend on the old broken behavior: `$host'
1238 # used to hold the argument of --host etc.
1239 # FIXME: To remove some day.
1242 target
=$target_alias
1244 # FIXME: To remove some day.
1245 if test "x$host_alias" != x
; then
1246 if test "x$build_alias" = x
; then
1247 cross_compiling
=maybe
1248 elif test "x$build_alias" != "x$host_alias"; then
1254 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1256 test "$silent" = yes && exec 6>/dev
/null
1259 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1260 ac_ls_di
=`ls -di .` &&
1261 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1262 as_fn_error $?
"working directory cannot be determined"
1263 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1264 as_fn_error $?
"pwd does not report name of working directory"
1267 # Find the source files, if location was not specified.
1268 if test -z "$srcdir"; then
1269 ac_srcdir_defaulted
=yes
1270 # Try the directory containing this script, then the parent directory.
1271 ac_confdir
=`$as_dirname -- "$as_myself" ||
1272 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1273 X"$as_myself" : 'X\(//\)[^/]' \| \
1274 X"$as_myself" : 'X\(//\)$' \| \
1275 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1276 printf "%s\n" X"$as_myself" |
1277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1295 if test ! -r "$srcdir/$ac_unique_file"; then
1299 ac_srcdir_defaulted
=no
1301 if test ! -r "$srcdir/$ac_unique_file"; then
1302 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1303 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1305 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1307 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1309 # When building in place, set srcdir=.
1310 if test "$ac_abs_confdir" = "$ac_pwd"; then
1313 # Remove unnecessary trailing slashes from srcdir.
1314 # Double slashes in file names in object file debugging info
1315 # mess up M-x gdb in Emacs.
1317 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1319 for ac_var
in $ac_precious_vars; do
1320 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1321 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1322 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1323 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1327 # Report the --help message.
1329 if test "$ac_init_help" = "long"; then
1330 # Omit some internal or obsolete options to make the list less imposing.
1331 # This message is too long to be a string in the A/UX 3.1 sh.
1333 \`configure' configures qbittorrent v4.4.0alpha to adapt to many kinds of systems.
1335 Usage: $0 [OPTION]... [VAR=VALUE]...
1337 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1338 VAR=VALUE. See below for descriptions of some of the useful variables.
1340 Defaults for the options are specified in brackets.
1343 -h, --help display this help and exit
1344 --help=short display options specific to this package
1345 --help=recursive display the short help of all the included packages
1346 -V, --version display version information and exit
1347 -q, --quiet, --silent do not print \`checking ...' messages
1348 --cache-file=FILE cache test results in FILE [disabled]
1349 -C, --config-cache alias for \`--cache-file=config.cache'
1350 -n, --no-create do not create output files
1351 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1353 Installation directories:
1354 --prefix=PREFIX install architecture-independent files in PREFIX
1355 [$ac_default_prefix]
1356 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1359 By default, \`make install' will install all the files in
1360 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1361 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1362 for instance \`--prefix=\$HOME'.
1364 For better control, use the options below.
1366 Fine tuning of the installation directories:
1367 --bindir=DIR user executables [EPREFIX/bin]
1368 --sbindir=DIR system admin executables [EPREFIX/sbin]
1369 --libexecdir=DIR program executables [EPREFIX/libexec]
1370 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1371 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1372 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1373 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1374 --libdir=DIR object code libraries [EPREFIX/lib]
1375 --includedir=DIR C header files [PREFIX/include]
1376 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1377 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1378 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1379 --infodir=DIR info documentation [DATAROOTDIR/info]
1380 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1381 --mandir=DIR man documentation [DATAROOTDIR/man]
1382 --docdir=DIR documentation root [DATAROOTDIR/doc/qbittorrent]
1383 --htmldir=DIR html documentation [DOCDIR]
1384 --dvidir=DIR dvi documentation [DOCDIR]
1385 --pdfdir=DIR pdf documentation [DOCDIR]
1386 --psdir=DIR ps documentation [DOCDIR]
1392 --program-prefix=PREFIX prepend PREFIX to installed program names
1393 --program-suffix=SUFFIX append SUFFIX to installed program names
1394 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1397 --build=BUILD configure
for building on BUILD
[guessed
]
1398 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1402 if test -n "$ac_init_help"; then
1403 case $ac_init_help in
1404 short | recursive
) echo "Configuration of qbittorrent v4.4.0alpha:";;
1409 --disable-option-checking ignore unrecognized
--enable/--with options
1410 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1411 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1412 --enable-dependency-tracking
1413 do not reject slow dependency extractors
1414 --disable-dependency-tracking
1415 speeds up one-time build
1416 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1417 --disable-silent-rules verbose build output
(undo
: "make V=0")
1418 --enable-debug Enable debug build
1419 --enable-stacktrace Enable stacktrace feature
(default
=auto
)
1420 --disable-gui Disable the GUI
for headless running. Disables
1421 QtDBus and the GeoIP Database.
1422 --enable-systemd Install the systemd service
file (headless only
).
1423 --disable-webui Disable the WebUI.
1424 --disable-qt-dbus Disable use of QtDBus
(GUI only
)
1427 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1428 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1429 --with-boost[=ARG
] use Boost library from a standard location
1430 (ARG
=yes), from the specified location
(ARG
=<path
>),
1431 or disable it
(ARG
=no
) [ARG
=yes]
1432 --with-boost-libdir=LIB_DIR
1433 Force given directory
for boost libraries. Note that
1434 this will override library path detection
, so use
1435 this parameter only
if default library detection
1436 fails and you know exactly where your boost
1437 libraries are located.
1438 --with-boost-system[=special-lib
]
1439 use the System library from boost
- it is possible
1440 to specify a certain library
for the linker e.g.
1441 --with-boost-system=boost_system-gcc-mt
1443 Some influential environment variables
:
1444 CC C compiler
command
1445 CFLAGS C compiler flags
1446 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1447 nonstandard directory
<lib dir
>
1448 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1449 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1450 you have headers
in a nonstandard directory
<include dir
>
1451 CXX C
++ compiler
command
1452 CXXFLAGS C
++ compiler flags
1453 PKG_CONFIG path to pkg-config utility
1455 directories to add to pkg-config
's search path
1457 path overriding pkg-config's built-in search path
1458 QT_QMAKE value of host_bins
for Qt5Core
>= 5.12, overriding pkg-config
1460 C compiler flags
for Qt5Svg
, overriding pkg-config
1461 Qt5Svg_LIBS linker flags
for Qt5Svg
, overriding pkg-config
1463 C compiler flags
for libtorrent
, overriding pkg-config
1465 linker flags
for libtorrent
, overriding pkg-config
1467 C compiler flags
for openssl
, overriding pkg-config
1469 linker flags
for openssl
, overriding pkg-config
1470 zlib_CFLAGS C compiler flags
for zlib
, overriding pkg-config
1471 zlib_LIBS linker flags
for zlib
, overriding pkg-config
1473 Use these variables to override the choices made by
`configure' or to help
1474 it to find libraries and programs with nonstandard names/locations.
1476 Report bugs to <bugs.qbittorrent.org>.
1477 qbittorrent home page: <https://www.qbittorrent.org/>.
1482 if test "$ac_init_help" = "recursive"; then
1483 # If there are subdirs, report their specific --help.
1484 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1485 test -d "$ac_dir" ||
1486 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1491 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1493 ac_dir_suffix=/`printf "%s\n" "$ac_dir" |
sed 's|^\.[\\/]||'`
1494 # A ".." for each directory in $ac_dir_suffix.
1495 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1496 case $ac_top_builddir_sub in
1497 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1498 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1501 ac_abs_top_builddir=$ac_pwd
1502 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1503 # for backward compatibility:
1504 ac_top_builddir=$ac_top_build_prefix
1507 .) # We are building in place.
1509 ac_top_srcdir=$ac_top_builddir_sub
1510 ac_abs_top_srcdir=$ac_pwd ;;
1511 [\\/]* | ?:[\\/]* ) # Absolute name.
1512 ac_srcdir=$srcdir$ac_dir_suffix;
1513 ac_top_srcdir=$srcdir
1514 ac_abs_top_srcdir=$srcdir ;;
1516 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1517 ac_top_srcdir=$ac_top_build_prefix$srcdir
1518 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1520 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1522 cd "$ac_dir" || { ac_status=$?; continue; }
1523 # Check for configure.gnu first; this name is used for a wrapper for
1524 # Metaconfig's "Configure" on case-insensitive file systems.
1525 if test -f "$ac_srcdir/configure.gnu"; then
1527 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1528 elif test -f "$ac_srcdir/configure"; then
1530 $SHELL "$ac_srcdir/configure" --help=recursive
1532 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1534 cd "$ac_pwd" || { ac_status=$?; break; }
1538 test -n "$ac_init_help" && exit $ac_status
1539 if $ac_init_version; then
1541 qbittorrent configure v4.4.0alpha
1542 generated by GNU Autoconf 2.70
1544 Copyright (C) 2020 Free Software Foundation, Inc.
1545 This configure script is free software; the Free Software Foundation
1546 gives unlimited permission to copy, distribute and modify it.
1551 ## ------------------------ ##
1552 ## Autoconf initialization. ##
1553 ## ------------------------ ##
1555 # ac_fn_c_try_compile LINENO
1556 # --------------------------
1557 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1558 ac_fn_c_try_compile ()
1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561 rm -f conftest.$ac_objext conftest.beam
1562 if { { ac_try="$ac_compile"
1564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1565 *) ac_try_echo
=$ac_try;;
1567 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1568 printf "%s\n" "$ac_try_echo"; } >&5
1569 (eval "$ac_compile") 2>conftest.err
1571 if test -s conftest.err
; then
1572 grep -v '^ *+' conftest.err
>conftest.er1
1573 cat conftest.er1
>&5
1574 mv -f conftest.er1 conftest.err
1576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1577 test $ac_status = 0; } && {
1578 test -z "$ac_c_werror_flag" ||
1579 test ! -s conftest.err
1580 } && test -s conftest.
$ac_objext
1584 printf "%s\n" "$as_me: failed program was:" >&5
1585 sed 's/^/| /' conftest.
$ac_ext >&5
1589 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1590 as_fn_set_status
$ac_retval
1592 } # ac_fn_c_try_compile
1594 # ac_fn_cxx_try_compile LINENO
1595 # ----------------------------
1596 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1597 ac_fn_cxx_try_compile
()
1599 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1600 rm -f conftest.
$ac_objext conftest.beam
1601 if { { ac_try
="$ac_compile"
1603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1604 *) ac_try_echo=$ac_try;;
1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1607 printf "%s\n" "$ac_try_echo"; } >&5
1608 (eval "$ac_compile") 2>conftest.err
1610 if test -s conftest.err; then
1611 grep -v '^ *+' conftest.err >conftest.er1
1612 cat conftest.er1 >&5
1613 mv -f conftest.er1 conftest.err
1615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616 test $ac_status = 0; } && {
1617 test -z "$ac_cxx_werror_flag" ||
1618 test ! -s conftest.err
1619 } && test -s conftest.$ac_objext
1623 printf "%s\n" "$as_me: failed program was:" >&5
1624 sed 's/^/| /' conftest.$ac_ext >&5
1628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629 as_fn_set_status $ac_retval
1631 } # ac_fn_cxx_try_compile
1633 # ac_fn_cxx_try_link LINENO
1634 # -------------------------
1635 # Try to link conftest.$ac_ext, and return whether this succeeded.
1636 ac_fn_cxx_try_link ()
1638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1640 if { { ac_try="$ac_link"
1642 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1643 *) ac_try_echo
=$ac_try;;
1645 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 printf "%s\n" "$ac_try_echo"; } >&5
1647 (eval "$ac_link") 2>conftest.err
1649 if test -s conftest.err
; then
1650 grep -v '^ *+' conftest.err
>conftest.er1
1651 cat conftest.er1
>&5
1652 mv -f conftest.er1 conftest.err
1654 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1655 test $ac_status = 0; } && {
1656 test -z "$ac_cxx_werror_flag" ||
1657 test ! -s conftest.err
1658 } && test -s conftest
$ac_exeext && {
1659 test "$cross_compiling" = yes ||
1660 test -x conftest
$ac_exeext
1665 printf "%s\n" "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.
$ac_ext >&5
1670 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1671 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1672 # interfere with the next link command; also delete a directory that is
1673 # left behind by Apple's compiler. We do this before executing the actions.
1674 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676 as_fn_set_status
$ac_retval
1678 } # ac_fn_cxx_try_link
1679 ac_configure_args_raw
=
1684 ac_arg
=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1686 as_fn_append ac_configure_args_raw
" '$ac_arg'"
1689 case $ac_configure_args_raw in
1693 ac_unsafe_z
='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1694 ac_unsafe_a
="$ac_unsafe_z#~"
1695 ac_safe_unquote
="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1696 ac_configure_args_raw
=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1699 cat >config.log
<<_ACEOF
1700 This file contains any messages produced by compilers while
1701 running configure, to aid debugging if configure makes a mistake.
1703 It was created by qbittorrent $as_me v4.4.0alpha, which was
1704 generated by GNU Autoconf 2.70. Invocation command line was
1706 $ $0$ac_configure_args_raw
1716 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1717 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1718 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1719 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1720 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1722 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1723 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1725 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1726 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1727 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1728 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1729 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1730 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1731 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1739 case $as_dir in #(((
1742 *) as_dir
=$as_dir/ ;;
1744 printf "%s\n" "PATH: $as_dir"
1760 # Keep a trace of the command line.
1761 # Strip out --no-create and --no-recursion so they do not pile up.
1762 # Strip out --silent because we don't want to record it for future runs.
1763 # Also quote any args containing shell meta-characters.
1764 # Make two passes to allow for proper duplicate-argument suppression.
1768 ac_must_keep_next
=false
1774 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1775 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1776 |
-silent |
--silent |
--silen |
--sile |
--sil)
1779 ac_arg
=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1782 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1784 as_fn_append ac_configure_args1
" '$ac_arg'"
1785 if test $ac_must_keep_next = true
; then
1786 ac_must_keep_next
=false
# Got value, back to normal.
1789 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1790 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1791 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1792 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1793 case "$ac_configure_args0 " in
1794 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1797 -* ) ac_must_keep_next
=true
;;
1800 as_fn_append ac_configure_args
" '$ac_arg'"
1805 { ac_configure_args0
=; unset ac_configure_args0
;}
1806 { ac_configure_args1
=; unset ac_configure_args1
;}
1808 # When interrupted or exit'd, cleanup temporary files, and complete
1809 # config.log. We remove comments because anyway the quotes in there
1810 # would cause problems or look ugly.
1811 # WARNING: Use '\'' to represent an apostrophe within the trap.
1812 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1813 trap 'exit_status=$?
1816 # Save into config.log some information that might help in debugging.
1820 printf "%s\n" "## ---------------- ##
1821 ## Cache variables. ##
1822 ## ---------------- ##"
1824 # The following way of writing the cache mishandles newlines in values,
1826 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1827 eval ac_val=\$$ac_var
1831 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1832 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1835 _ | IFS | as_nl) ;; #(
1836 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1837 *) { eval $ac_var=; unset $ac_var;} ;;
1842 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1843 *${as_nl}ac_space=\ *)
1845 "s/'\''/'\''\\\\'\'''\''/g;
1846 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1849 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1856 printf "%s\n" "## ----------------- ##
1857 ## Output variables. ##
1858 ## ----------------- ##"
1860 for ac_var in $ac_subst_vars
1862 eval ac_val=\$$ac_var
1864 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1866 printf "%s\n" "$ac_var='\''$ac_val'\''"
1870 if test -n "$ac_subst_files"; then
1871 printf "%s\n" "## ------------------- ##
1872 ## File substitutions. ##
1873 ## ------------------- ##"
1875 for ac_var
in $ac_subst_files
1877 eval ac_val
=\$
$ac_var
1879 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1881 printf "%s\n" "$ac_var='\''$ac_val'\''"
1886 if test -s confdefs.h; then
1887 printf "%s\n" "## ----------- ##
1894 test "$ac_signal" != 0 &&
1895 printf "%s\n" "$as_me: caught signal $ac_signal"
1896 printf "%s\n" "$as_me: exit $exit_status"
1898 rm -f core *.core core.conftest.* &&
1899 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1902 for ac_signal
in 1 2 13 15; do
1903 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1907 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1908 rm -f -r conftest
* confdefs.h
1910 printf "%s\n" "/* confdefs.h */" > confdefs.h
1912 # Predefined preprocessor variables.
1914 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1916 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1918 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1920 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1922 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1924 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1927 # Let the site file select an alternate cache file if it wants to.
1928 # Prefer an explicitly selected file to automatically selected ones.
1929 if test -n "$CONFIG_SITE"; then
1930 ac_site_files
="$CONFIG_SITE"
1931 elif test "x$prefix" != xNONE
; then
1932 ac_site_files
="$prefix/share/config.site $prefix/etc/config.site"
1934 ac_site_files
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1937 for ac_site_file
in $ac_site_files
1939 case $ac_site_file in #(
1943 ac_site_file
=.
/$ac_site_file ;;
1945 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1947 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1948 sed 's/^/| /' "$ac_site_file" >&5
1950 ||
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1951 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1952 as_fn_error $?
"failed to load site script $ac_site_file
1953 See \`config.log' for more details" "$LINENO" 5; }
1957 if test -r "$cache_file"; then
1958 # Some versions of bash will fail to source /dev/null (special files
1959 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1960 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1962 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1964 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1965 *) .
"./$cache_file";;
1969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1970 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1974 # Test code for whether the C compiler supports C89 (global declarations)
1975 ac_c_conftest_c89_globals
='
1976 /* Does the compiler advertise C89 conformance?
1977 Do not test the value of __STDC__, because some compilers set it to 0
1978 while being otherwise adequately conformant. */
1979 #if !defined __STDC__
1980 # error "Compiler does not advertise C89 conformance"
1986 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1987 struct buf { int x; };
1988 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1989 static char *e (p, i)
1995 static char *f (char * (*g) (char **, int), char **p, ...)
2000 s = g (p, va_arg (v,int));
2005 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2006 function prototypes and stuff, but not \xHH hex character constants.
2007 These do not provoke an error unfortunately, instead are silently treated
2008 as an "x". The following induces an error, until -std is added to get
2009 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2010 array size at least. It is necessary to write \x00 == 0 to get something
2011 that is true only with -std. */
2012 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2014 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2015 inside strings and character constants. */
2016 #define FOO(x) '\''x'\''
2017 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2019 int test (int i, double x);
2020 struct s1 {int (*f) (int a);};
2021 struct s2 {int (*f) (double a);};
2022 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2025 # Test code for whether the C compiler supports C89 (body of main).
2026 ac_c_conftest_c89_main
='
2027 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2030 # Test code for whether the C compiler supports C99 (global declarations)
2031 ac_c_conftest_c99_globals
='
2032 // Does the compiler advertise C99 conformance?
2033 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2034 # error "Compiler does not advertise C99 conformance"
2037 #include <stdbool.h>
2038 extern int puts (const char *);
2039 extern int printf (const char *, ...);
2040 extern int dprintf (int, const char *, ...);
2041 extern void *malloc (size_t);
2043 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2044 // dprintf is used instead of fprintf to avoid needing to declare
2046 #define debug(...) dprintf (2, __VA_ARGS__)
2047 #define showlist(...) puts (#__VA_ARGS__)
2048 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2050 test_varargs_macros (void)
2055 debug ("X = %d\n", x);
2056 showlist (The first, second, and third items.);
2057 report (x>y, "x is %d but y is %d", x, y);
2060 // Check long long types.
2061 #define BIG64 18446744073709551615ull
2062 #define BIG32 4294967295ul
2063 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2065 #error "your preprocessor is broken"
2069 #error "your preprocessor is broken"
2071 static long long int bignum = -9223372036854775807LL;
2072 static unsigned long long int ubignum = BIG64;
2074 struct incomplete_array
2082 const wchar_t *name;
2086 typedef const char *ccp;
2089 test_restrict (ccp restrict text)
2091 // See if C++-style comments work.
2092 // Iterate through items via the restricted pointer.
2093 // Also check for declarations in for loops.
2094 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2099 // Check varargs and va_copy.
2101 test_varargs (const char *format, ...)
2104 va_start (args, format);
2106 va_copy (args_copy, args);
2108 const char *str = "";
2116 case '\''s'\'': // string
2117 str = va_arg (args_copy, const char *);
2119 case '\''d'\'': // int
2120 number = va_arg (args_copy, int);
2122 case '\''f'\'': // float
2123 fnumber = va_arg (args_copy, double);
2132 return *str && number && fnumber;
2136 # Test code for whether the C compiler supports C99 (body of main).
2137 ac_c_conftest_c99_main
='
2139 _Bool success = false;
2140 success |= (argc != 0);
2143 if (test_restrict ("String literal") == 0)
2145 char *restrict newvar = "Another string";
2148 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2149 test_varargs_macros ();
2151 // Check flexible array members.
2152 struct incomplete_array *ia =
2153 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2155 for (int i = 0; i < ia->datasize; ++i)
2156 ia->data[i] = i * 1.234;
2158 // Check named initializers.
2159 struct named_init ni = {
2161 .name = L"Test wide string",
2162 .average = 543.34343,
2167 int dynamic_array[ni.number];
2168 dynamic_array[0] = argv[0][0];
2169 dynamic_array[ni.number - 1] = 543;
2171 // work around unused variable warnings
2172 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2173 || dynamic_array[ni.number - 1] != 543);
2176 # Test code for whether the C compiler supports C11 (global declarations)
2177 ac_c_conftest_c11_globals
='
2178 // Does the compiler advertise C11 conformance?
2179 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2180 # error "Compiler does not advertise C11 conformance"
2184 char _Alignas (double) aligned_as_double;
2185 char _Alignas (0) no_special_alignment;
2186 extern char aligned_as_int;
2187 char _Alignas (0) _Alignas (int) aligned_as_int;
2192 int_alignment = _Alignof (int),
2193 int_array_alignment = _Alignof (int[100]),
2194 char_alignment = _Alignof (char)
2196 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2199 int _Noreturn does_not_return (void) { for (;;) continue; }
2201 // Check _Static_assert.
2202 struct test_static_assert
2205 _Static_assert (sizeof (int) <= sizeof (long int),
2206 "_Static_assert does not work in struct");
2210 // Check UTF-8 literals.
2211 #define u8 syntax error!
2212 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2214 // Check duplicate typedefs.
2215 typedef long *long_ptr;
2216 typedef long int *long_ptr;
2217 typedef long_ptr long_ptr;
2219 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2223 struct { int i; int j; };
2224 struct { int k; long int l; } w;
2230 # Test code for whether the C compiler supports C11 (body of main).
2231 ac_c_conftest_c11_main
='
2232 _Static_assert ((offsetof (struct anonymous, i)
2233 == offsetof (struct anonymous, w.k)),
2234 "Anonymous union alignment botch");
2240 # Test code for whether the C compiler supports C11 (complete).
2241 ac_c_conftest_c11_program
="${ac_c_conftest_c89_globals}
2242 ${ac_c_conftest_c99_globals}
2243 ${ac_c_conftest_c11_globals}
2246 main (int argc, char **argv)
2249 ${ac_c_conftest_c89_main}
2250 ${ac_c_conftest_c99_main}
2251 ${ac_c_conftest_c11_main}
2256 # Test code for whether the C compiler supports C99 (complete).
2257 ac_c_conftest_c99_program
="${ac_c_conftest_c89_globals}
2258 ${ac_c_conftest_c99_globals}
2261 main (int argc, char **argv)
2264 ${ac_c_conftest_c89_main}
2265 ${ac_c_conftest_c99_main}
2270 # Test code for whether the C compiler supports C89 (complete).
2271 ac_c_conftest_c89_program
="${ac_c_conftest_c89_globals}
2274 main (int argc, char **argv)
2277 ${ac_c_conftest_c89_main}
2282 # Test code for whether the C++ compiler supports C++98 (global declarations)
2283 ac_cxx_conftest_cxx98_globals
='
2284 // Does the compiler advertise C++98 conformance?
2285 #if !defined __cplusplus || __cplusplus < 199711L
2286 # error "Compiler does not advertise C++98 conformance"
2289 // These inclusions are to reject old compilers that
2290 // lack the unsuffixed header files.
2292 #include <exception>
2294 // <cassert> and <cstring> are *not* freestanding headers in C++98.
2295 extern void assert (int);
2297 extern int strcmp (const char *, const char *);
2300 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
2301 using std::exception;
2306 void test_exception_syntax()
2310 } catch (const char *s) {
2311 // Extra parentheses suppress a warning when building autoconf itself,
2312 // due to lint rules shared with more typical C programs.
2313 assert (!(strcmp) (s, "test"));
2317 template <typename T> struct test_template
2320 explicit test_template(T t) : val(t) {}
2321 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
2324 } // anonymous namespace
2327 # Test code for whether the C++ compiler supports C++98 (body of main)
2328 ac_cxx_conftest_cxx98_main
='
2332 test_exception_syntax ();
2333 test_template<double> tt (2.0);
2334 assert (tt.add (4) == 6.0);
2335 assert (true && !false);
2339 # Test code for whether the C++ compiler supports C++11 (global declarations)
2340 ac_cxx_conftest_cxx11_globals
='
2341 // Does the compiler advertise C++ 2011 conformance?
2342 #if !defined __cplusplus || __cplusplus < 201103L
2343 # error "Compiler does not advertise C++11 conformance"
2348 constexpr int get_val() { return 20; }
2359 delegate(int n) : n(n) {}
2360 delegate(): delegate(2354) {}
2362 virtual int getval() { return this->n; };
2367 class overridden : public delegate
2370 overridden(int n): delegate(n) {}
2371 virtual int getval() override final { return this->n * 2; }
2377 nocopy(int i): i(i) {}
2379 nocopy(const nocopy&) = delete;
2380 nocopy & operator=(const nocopy&) = delete;
2385 // for testing lambda expressions
2386 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
2391 // for testing variadic templates and trailing return types
2392 template <typename V> auto sum(V first) -> V
2396 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
2398 return first + sum(rest...);
2403 # Test code for whether the C++ compiler supports C++11 (body of main)
2404 ac_cxx_conftest_cxx11_main
='
2406 // Test auto and decltype
2408 auto a2 = 48573953.4;
2409 auto a3 = "String literal";
2412 for (auto i = a3; *i; ++i) { total += *i; }
2414 decltype(a2) a4 = 34895.034;
2418 short sa[cxx11test::get_val()] = { 0 };
2421 // Test initializer lists
2422 cxx11test::testinit il = { 4323, 435234.23544 };
2425 // Test range-based for
2426 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
2427 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
2428 for (auto &x : array) { x += 23; }
2431 // Test lambda expressions
2432 using cxx11test::eval;
2433 assert (eval ([](int x) { return x*2; }, 21) == 42);
2435 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
2437 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
2441 // Test use of variadic templates
2442 using cxx11test::sum;
2445 auto c = sum(1.0, 2.0, 3.0);
2448 // Test constructor delegation
2449 cxx11test::delegate d1;
2450 cxx11test::delegate d2();
2451 cxx11test::delegate d3(45);
2454 // Test override and final
2455 cxx11test::overridden o1(55464);
2462 // Test template brackets
2463 test_template<::test_template<int>> v(test_template<int>(12));
2467 char const *utf8 = u8"UTF-8 string \u2500";
2468 char16_t const *utf16 = u"UTF-8 string \u2500";
2469 char32_t const *utf32 = U"UTF-32 string \u2500";
2473 # Test code for whether the C compiler supports C++11 (complete).
2474 ac_cxx_conftest_cxx11_program
="${ac_cxx_conftest_cxx98_globals}
2475 ${ac_cxx_conftest_cxx11_globals}
2478 main (int argc, char **argv)
2481 ${ac_cxx_conftest_cxx98_main}
2482 ${ac_cxx_conftest_cxx11_main}
2487 # Test code for whether the C compiler supports C++98 (complete).
2488 ac_cxx_conftest_cxx98_program
="${ac_cxx_conftest_cxx98_globals}
2490 main (int argc, char **argv)
2493 ${ac_cxx_conftest_cxx98_main}
2499 # Auxiliary files required by this configure script.
2500 ac_aux_files
="missing install-sh config.guess config.sub compile"
2502 # Locations in which to look for auxiliary files.
2503 ac_aux_dir_candidates
="${srcdir}/build-aux"
2505 # Search for a directory containing all of the required auxiliary files,
2506 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2507 # If we don't find one directory that contains all the files we need,
2508 # we report the set of missing files from the *first* directory in
2509 # $ac_aux_dir_candidates and give up.
2510 ac_missing_aux_files
=""
2511 ac_first_candidate
=:
2512 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2515 for as_dir
in $ac_aux_dir_candidates
2518 case $as_dir in #(((
2521 *) as_dir
=$as_dir/ ;;
2525 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2526 ac_aux_dir_found
=yes
2528 for ac_aux
in $ac_aux_files
2530 # As a special case, if "install-sh" is required, that requirement
2531 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2532 # and $ac_install_sh is set appropriately for whichever one is found.
2533 if test x
"$ac_aux" = x
"install-sh"
2535 if test -f "${as_dir}install-sh"; then
2536 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2537 ac_install_sh
="${as_dir}install-sh -c"
2538 elif test -f "${as_dir}install.sh"; then
2539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2540 ac_install_sh
="${as_dir}install.sh -c"
2541 elif test -f "${as_dir}shtool"; then
2542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2543 ac_install_sh
="${as_dir}shtool install -c"
2546 if $ac_first_candidate; then
2547 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
2553 if test -f "${as_dir}${ac_aux}"; then
2554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2557 if $ac_first_candidate; then
2558 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
2565 if test "$ac_aux_dir_found" = yes; then
2566 ac_aux_dir
="$as_dir"
2569 ac_first_candidate
=false
2578 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2582 # These three variables are undocumented and unsupported,
2583 # and are intended to be withdrawn in a future Autoconf release.
2584 # They can cause serious problems if a builder's source tree is in a directory
2585 # whose full name contains unusual characters.
2586 if test -f "${ac_aux_dir}config.guess"; then
2587 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
2589 if test -f "${ac_aux_dir}config.sub"; then
2590 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
2592 if test -f "$ac_aux_dir/configure"; then
2593 ac_configure
="$SHELL ${ac_aux_dir}configure"
2596 # Check that the precious variables saved in the cache have kept the same
2598 ac_cache_corrupted
=false
2599 for ac_var
in $ac_precious_vars; do
2600 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2601 eval ac_new_set
=\
$ac_env_${ac_var}_set
2602 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2603 eval ac_new_val
=\
$ac_env_${ac_var}_value
2604 case $ac_old_set,$ac_new_set in
2606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2607 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2608 ac_cache_corrupted
=: ;;
2610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2611 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2612 ac_cache_corrupted
=: ;;
2615 if test "x$ac_old_val" != "x$ac_new_val"; then
2616 # differences in whitespace do not lead to failure.
2617 ac_old_val_w
=`echo x $ac_old_val`
2618 ac_new_val_w
=`echo x $ac_new_val`
2619 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2621 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2622 ac_cache_corrupted
=:
2624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2625 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2626 eval $ac_var=\
$ac_old_val
2628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2629 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2631 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2634 # Pass precious variables to config.status.
2635 if test "$ac_new_set" = set; then
2637 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2638 *) ac_arg
=$ac_var=$ac_new_val ;;
2640 case " $ac_configure_args " in
2641 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2642 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2646 if $ac_cache_corrupted; then
2647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2648 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2650 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2651 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2652 and start over" "$LINENO" 5
2654 ## -------------------- ##
2655 ## Main body of script. ##
2656 ## -------------------- ##
2659 ac_cpp
='$CPP $CPPFLAGS'
2660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2679 ac_cpp
='$CPP $CPPFLAGS'
2680 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2681 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2682 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2683 if test -n "$ac_tool_prefix"; then
2684 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2685 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2687 printf %s
"checking for $ac_word... " >&6; }
2688 if test ${ac_cv_prog_CC+y}
2690 printf %s
"(cached) " >&6
2692 if test -n "$CC"; then
2693 ac_cv_prog_CC
="$CC" # Let the user override the test.
2695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2699 case $as_dir in #(((
2702 *) as_dir
=$as_dir/ ;;
2704 for ac_exec_ext
in '' $ac_executable_extensions; do
2705 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
2706 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2717 if test -n "$CC"; then
2718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2719 printf "%s\n" "$CC" >&6; }
2721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2722 printf "%s\n" "no" >&6; }
2727 if test -z "$ac_cv_prog_CC"; then
2729 # Extract the first word of "gcc", so it can be a program name with args.
2730 set dummy gcc
; ac_word
=$2
2731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2732 printf %s
"checking for $ac_word... " >&6; }
2733 if test ${ac_cv_prog_ac_ct_CC+y}
2735 printf %s
"(cached) " >&6
2737 if test -n "$ac_ct_CC"; then
2738 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2744 case $as_dir in #(((
2747 *) as_dir
=$as_dir/ ;;
2749 for ac_exec_ext
in '' $ac_executable_extensions; do
2750 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
2751 ac_cv_prog_ac_ct_CC
="gcc"
2752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2761 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2762 if test -n "$ac_ct_CC"; then
2763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2764 printf "%s\n" "$ac_ct_CC" >&6; }
2766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2767 printf "%s\n" "no" >&6; }
2770 if test "x$ac_ct_CC" = x
; then
2773 case $cross_compiling:$ac_tool_warned in
2775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2776 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2777 ac_tool_warned
=yes ;;
2785 if test -z "$CC"; then
2786 if test -n "$ac_tool_prefix"; then
2787 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2788 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2790 printf %s
"checking for $ac_word... " >&6; }
2791 if test ${ac_cv_prog_CC+y}
2793 printf %s
"(cached) " >&6
2795 if test -n "$CC"; then
2796 ac_cv_prog_CC
="$CC" # Let the user override the test.
2798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2802 case $as_dir in #(((
2805 *) as_dir
=$as_dir/ ;;
2807 for ac_exec_ext
in '' $ac_executable_extensions; do
2808 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
2809 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2820 if test -n "$CC"; then
2821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2822 printf "%s\n" "$CC" >&6; }
2824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2825 printf "%s\n" "no" >&6; }
2831 if test -z "$CC"; then
2832 # Extract the first word of "cc", so it can be a program name with args.
2833 set dummy cc
; ac_word
=$2
2834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2835 printf %s
"checking for $ac_word... " >&6; }
2836 if test ${ac_cv_prog_CC+y}
2838 printf %s
"(cached) " >&6
2840 if test -n "$CC"; then
2841 ac_cv_prog_CC
="$CC" # Let the user override the test.
2844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2848 case $as_dir in #(((
2851 *) as_dir
=$as_dir/ ;;
2853 for ac_exec_ext
in '' $ac_executable_extensions; do
2854 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
2855 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2856 ac_prog_rejected
=yes
2860 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2867 if test $ac_prog_rejected = yes; then
2868 # We found a bogon in the path, so make sure we never use it.
2869 set dummy
$ac_cv_prog_CC
2871 if test $# != 0; then
2872 # We chose a different compiler from the bogus one.
2873 # However, it has the same basename, so the bogon will be chosen
2874 # first if we set CC to just the basename; use the full file name.
2876 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
2882 if test -n "$CC"; then
2883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2884 printf "%s\n" "$CC" >&6; }
2886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2887 printf "%s\n" "no" >&6; }
2892 if test -z "$CC"; then
2893 if test -n "$ac_tool_prefix"; then
2894 for ac_prog
in cl.exe
2896 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2897 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2899 printf %s
"checking for $ac_word... " >&6; }
2900 if test ${ac_cv_prog_CC+y}
2902 printf %s
"(cached) " >&6
2904 if test -n "$CC"; then
2905 ac_cv_prog_CC
="$CC" # Let the user override the test.
2907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2911 case $as_dir in #(((
2914 *) as_dir
=$as_dir/ ;;
2916 for ac_exec_ext
in '' $ac_executable_extensions; do
2917 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
2918 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2929 if test -n "$CC"; then
2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2931 printf "%s\n" "$CC" >&6; }
2933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934 printf "%s\n" "no" >&6; }
2938 test -n "$CC" && break
2941 if test -z "$CC"; then
2943 for ac_prog
in cl.exe
2945 # Extract the first word of "$ac_prog", so it can be a program name with args.
2946 set dummy
$ac_prog; ac_word
=$2
2947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2948 printf %s
"checking for $ac_word... " >&6; }
2949 if test ${ac_cv_prog_ac_ct_CC+y}
2951 printf %s
"(cached) " >&6
2953 if test -n "$ac_ct_CC"; then
2954 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2960 case $as_dir in #(((
2963 *) as_dir
=$as_dir/ ;;
2965 for ac_exec_ext
in '' $ac_executable_extensions; do
2966 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
2967 ac_cv_prog_ac_ct_CC
="$ac_prog"
2968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2977 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2978 if test -n "$ac_ct_CC"; then
2979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2980 printf "%s\n" "$ac_ct_CC" >&6; }
2982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2983 printf "%s\n" "no" >&6; }
2987 test -n "$ac_ct_CC" && break
2990 if test "x$ac_ct_CC" = x
; then
2993 case $cross_compiling:$ac_tool_warned in
2995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2996 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2997 ac_tool_warned
=yes ;;
3004 if test -z "$CC"; then
3005 if test -n "$ac_tool_prefix"; then
3006 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3007 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
3008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3009 printf %s
"checking for $ac_word... " >&6; }
3010 if test ${ac_cv_prog_CC+y}
3012 printf %s
"(cached) " >&6
3014 if test -n "$CC"; then
3015 ac_cv_prog_CC
="$CC" # Let the user override the test.
3017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3021 case $as_dir in #(((
3024 *) as_dir
=$as_dir/ ;;
3026 for ac_exec_ext
in '' $ac_executable_extensions; do
3027 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3028 ac_cv_prog_CC
="${ac_tool_prefix}clang"
3029 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3039 if test -n "$CC"; then
3040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3041 printf "%s\n" "$CC" >&6; }
3043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3044 printf "%s\n" "no" >&6; }
3049 if test -z "$ac_cv_prog_CC"; then
3051 # Extract the first word of "clang", so it can be a program name with args.
3052 set dummy clang
; ac_word
=$2
3053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3054 printf %s
"checking for $ac_word... " >&6; }
3055 if test ${ac_cv_prog_ac_ct_CC+y}
3057 printf %s
"(cached) " >&6
3059 if test -n "$ac_ct_CC"; then
3060 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3066 case $as_dir in #(((
3069 *) as_dir
=$as_dir/ ;;
3071 for ac_exec_ext
in '' $ac_executable_extensions; do
3072 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3073 ac_cv_prog_ac_ct_CC
="clang"
3074 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3083 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3084 if test -n "$ac_ct_CC"; then
3085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3086 printf "%s\n" "$ac_ct_CC" >&6; }
3088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3089 printf "%s\n" "no" >&6; }
3092 if test "x$ac_ct_CC" = x
; then
3095 case $cross_compiling:$ac_tool_warned in
3097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3098 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3099 ac_tool_warned
=yes ;;
3110 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3111 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3112 as_fn_error $?
"no acceptable C compiler found in \$PATH
3113 See \`config.log' for more details" "$LINENO" 5; }
3115 # Provide some information about the compiler.
3116 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3119 for ac_option
in --version -v -V -qversion -version; do
3120 { { ac_try
="$ac_compiler $ac_option >&5"
3122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3123 *) ac_try_echo=$ac_try;;
3125 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3126 printf "%s\n" "$ac_try_echo"; } >&5
3127 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3129 if test -s conftest.err; then
3131 ... rest of stderr output deleted ...
3132 10q' conftest.err >conftest.er1
3133 cat conftest.er1 >&5
3135 rm -f conftest.er1 conftest.err
3136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3137 test $ac_status = 0; }
3140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141 /* end confdefs.h. */
3151 ac_clean_files_save=$ac_clean_files
3152 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3153 # Try to create an executable without -o first, disregard a.out.
3154 # It will help us diagnose broken compilers, and finding out an intuition
3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3157 printf %s "checking whether the C compiler works... " >&6; }
3158 ac_link_default=`printf "%s\n" "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3160 # The possible output files:
3161 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3164 for ac_file in $ac_files
3167 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3168 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3173 if { { ac_try="$ac_link_default"
3175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3176 *) ac_try_echo
=$ac_try;;
3178 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3179 printf "%s\n" "$ac_try_echo"; } >&5
3180 (eval "$ac_link_default") 2>&5
3182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3183 test $ac_status = 0; }
3185 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3186 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3187 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3188 # so that the user can short-circuit this test for compilers unknown to
3190 for ac_file
in $ac_files ''
3192 test -f "$ac_file" ||
continue
3194 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3197 # We found the default executable, but exeext='' is most
3201 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
3203 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3205 # We set ac_cv_exeext here because the later test for it is not
3206 # safe: cross compilers may not add the suffix if given an `-o'
3207 # argument, so we may need to know it at that point already.
3208 # Even if this section looks crufty: it has the advantage of
3215 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3220 if test -z "$ac_file"
3222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3223 printf "%s\n" "no" >&6; }
3224 printf "%s\n" "$as_me: failed program was:" >&5
3225 sed 's/^/| /' conftest.
$ac_ext >&5
3227 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3228 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3229 as_fn_error
77 "C compiler cannot create executables
3230 See \`config.log' for more details" "$LINENO" 5; }
3232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3233 printf "%s\n" "yes" >&6; }
3235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3236 printf %s
"checking for C compiler default output file name... " >&6; }
3237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3238 printf "%s\n" "$ac_file" >&6; }
3239 ac_exeext
=$ac_cv_exeext
3241 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3242 ac_clean_files
=$ac_clean_files_save
3243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3244 printf %s
"checking for suffix of executables... " >&6; }
3245 if { { ac_try
="$ac_link"
3247 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3251 printf "%s\n" "$ac_try_echo"; } >&5
3252 (eval "$ac_link") 2>&5
3254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3255 test $ac_status = 0; }
3257 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3258 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3259 # work properly (i.e., refer to `conftest.exe'), while it won't with
3261 for ac_file
in conftest.exe conftest conftest.
*; do
3262 test -f "$ac_file" ||
continue
3264 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3265 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3271 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3272 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3273 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3274 See \`config.log' for more details" "$LINENO" 5; }
3276 rm -f conftest conftest
$ac_cv_exeext
3277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3278 printf "%s\n" "$ac_cv_exeext" >&6; }
3280 rm -f conftest.
$ac_ext
3281 EXEEXT
=$ac_cv_exeext
3283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3284 /* end confdefs.h. */
3289 FILE *f = fopen ("conftest.out", "w");
3290 return ferror (f) || fclose (f) != 0;
3296 ac_clean_files
="$ac_clean_files conftest.out"
3297 # Check that the compiler produces executables we can run. If not, either
3298 # the compiler is broken, or we cross compile.
3299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3300 printf %s
"checking whether we are cross compiling... " >&6; }
3301 if test "$cross_compiling" != yes; then
3302 { { ac_try
="$ac_link"
3304 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3305 *) ac_try_echo=$ac_try;;
3307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3308 printf "%s\n" "$ac_try_echo"; } >&5
3309 (eval "$ac_link") 2>&5
3311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3312 test $ac_status = 0; }
3313 if { ac_try='./conftest$ac_cv_exeext'
3314 { { case "(($ac_try" in
3315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3316 *) ac_try_echo
=$ac_try;;
3318 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3319 printf "%s\n" "$ac_try_echo"; } >&5
3320 (eval "$ac_try") 2>&5
3322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3323 test $ac_status = 0; }; }; then
3326 if test "$cross_compiling" = maybe
; then
3329 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3330 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3331 as_fn_error
77 "cannot run C compiled programs.
3332 If you meant to cross compile, use \`--host'.
3333 See \`config.log' for more details" "$LINENO" 5; }
3337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3338 printf "%s\n" "$cross_compiling" >&6; }
3340 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3341 ac_clean_files
=$ac_clean_files_save
3342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3343 printf %s
"checking for suffix of object files... " >&6; }
3344 if test ${ac_cv_objext+y}
3346 printf %s
"(cached) " >&6
3348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3349 /* end confdefs.h. */
3359 rm -f conftest.o conftest.obj
3360 if { { ac_try
="$ac_compile"
3362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3363 *) ac_try_echo=$ac_try;;
3365 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3366 printf "%s\n" "$ac_try_echo"; } >&5
3367 (eval "$ac_compile") 2>&5
3369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3370 test $ac_status = 0; }
3372 for ac_file in conftest.o conftest.obj conftest.*; do
3373 test -f "$ac_file" || continue;
3375 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3376 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3381 printf "%s\n" "$as_me: failed program was:" >&5
3382 sed 's/^/| /' conftest.$ac_ext >&5
3384 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3385 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3386 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3387 See \
`config.log' for more details" "$LINENO" 5; }
3389 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3392 printf "%s\n" "$ac_cv_objext" >&6; }
3393 OBJEXT=$ac_cv_objext
3395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3396 printf %s "checking whether the compiler supports GNU C... " >&6; }
3397 if test ${ac_cv_c_compiler_gnu+y}
3399 printf %s "(cached) " >&6
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3415 if ac_fn_c_try_compile "$LINENO"
3421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3422 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3426 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3429 if test $ac_compiler_gnu = yes; then
3434 ac_test_CFLAGS=${CFLAGS+y}
3435 ac_save_CFLAGS=$CFLAGS
3436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3437 printf %s "checking whether $CC accepts -g... " >&6; }
3438 if test ${ac_cv_prog_cc_g+y}
3440 printf %s "(cached) " >&6
3442 ac_save_c_werror_flag=$ac_c_werror_flag
3443 ac_c_werror_flag=yes
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3457 if ac_fn_c_try_compile "$LINENO"
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h. */
3473 if ac_fn_c_try_compile "$LINENO"
3477 ac_c_werror_flag=$ac_save_c_werror_flag
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3490 if ac_fn_c_try_compile "$LINENO"
3494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3498 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3499 ac_c_werror_flag=$ac_save_c_werror_flag
3501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3502 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3503 if test $ac_test_CFLAGS; then
3504 CFLAGS=$ac_save_CFLAGS
3505 elif test $ac_cv_prog_cc_g = yes; then
3506 if test "$GCC" = yes; then
3512 if test "$GCC" = yes; then
3518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3519 printf %s "checking for $CC option to enable C11 features... " >&6; }
3520 if test ${ac_cv_prog_cc_c11+y}
3522 printf %s "(cached) " >&6
3524 ac_cv_prog_cc_c11=no
3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3528 $ac_c_conftest_c11_program
3530 for ac_arg in '' -std=gnu11
3532 CC="$ac_save_CC $ac_arg"
3533 if ac_fn_c_try_compile "$LINENO"
3535 ac_cv_prog_cc_c11=$ac_arg
3537 rm -f core conftest.err conftest.$ac_objext conftest.beam
3538 test "x$ac_cv_prog_cc_c11" != "xno" && break
3540 rm -f conftest.$ac_ext
3545 ac_prog_cc_stdc_options=
3546 case "x$ac_cv_prog_cc_c11" in #(
3548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3549 printf "%s\n" "none needed" >&6; } ;; #(
3551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3552 printf "%s\n" "unsupported" >&6; } ;; #(
3554 ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c11"
3555 CC="$CC$ac_prog_cc_stdc_options"
3556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3557 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } ;;
3559 if test "x$ac_cv_prog_cc_c11" != xno
3562 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3565 printf %s "checking for $CC option to enable C99 features... " >&6; }
3566 if test ${ac_cv_prog_cc_c99+y}
3568 printf %s "(cached) " >&6
3570 ac_cv_prog_cc_c99=no
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3574 $ac_c_conftest_c89_program
3576 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc1x -qlanglvl=extc99
3578 CC="$ac_save_CC $ac_arg"
3579 if ac_fn_c_try_compile "$LINENO"
3581 ac_cv_prog_cc_c99=$ac_arg
3583 rm -f core conftest.err conftest.$ac_objext conftest.beam
3584 test "x$ac_cv_prog_cc_c99" != "xno" && break
3586 rm -f conftest.$ac_ext
3591 ac_prog_cc_stdc_options=
3592 case "x$ac_cv_prog_cc_c99" in #(
3594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3595 printf "%s\n" "none needed" >&6; } ;; #(
3597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3598 printf "%s\n" "unsupported" >&6; } ;; #(
3600 ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c99"
3601 CC="$CC$ac_prog_cc_stdc_options"
3602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3603 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } ;;
3605 if test "x$ac_cv_prog_cc_c99" != xno
3608 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3611 printf %s "checking for $CC option to enable C89 features... " >&6; }
3612 if test ${ac_cv_prog_cc_c89+y}
3614 printf %s "(cached) " >&6
3616 ac_cv_prog_cc_c89=no
3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619 /* end confdefs.h. */
3620 $ac_c_conftest_c89_program
3622 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3623 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3625 CC="$ac_save_CC $ac_arg"
3626 if ac_fn_c_try_compile "$LINENO"
3628 ac_cv_prog_cc_c89=$ac_arg
3630 rm -f core conftest.err conftest.$ac_objext conftest.beam
3631 test "x$ac_cv_prog_cc_c89" != "xno" && break
3633 rm -f conftest.$ac_ext
3638 ac_prog_cc_stdc_options=
3639 case "x$ac_cv_prog_cc_c89" in #(
3641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3642 printf "%s\n" "none needed" >&6; } ;; #(
3644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3645 printf "%s\n" "unsupported" >&6; } ;; #(
3647 ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c89"
3648 CC="$CC$ac_prog_cc_stdc_options"
3649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3650 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } ;;
3652 if test "x$ac_cv_prog_cc_c89" != xno
3655 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3658 ac_cv_prog_cc_stdc=no
3666 ac_cpp='$CPP $CPPFLAGS'
3667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3673 # Expand $ac_aux_dir to an absolute path.
3674 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3678 ac_cpp='$CPP $CPPFLAGS'
3679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3683 printf %s "checking whether $CC understands -c and -o together... " >&6; }
3684 if test ${am_cv_prog_cc_c_o+y}
3686 printf %s "(cached) " >&6
3688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3689 /* end confdefs.h. */
3699 # Make sure it works both with $CC and with simple cc.
3700 # Following AC_PROG_CC_C_O, we do the test twice because some
3701 # compilers refuse to overwrite an existing .o file with -o,
3702 # though they will create one.
3703 am_cv_prog_cc_c_o=yes
3705 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3706 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); } \
3710 && test -f conftest2.$ac_objext; then
3713 am_cv_prog_cc_c_o=no
3717 rm -f core conftest*
3720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3721 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
3722 if test "$am_cv_prog_cc_c_o" != yes; then
3723 # Losing compiler, so override with the script.
3724 # FIXME: It is wrong to rewrite CC.
3725 # But if we don't then we get into trouble of one sort or another.
3726 # A longer-term fix would be to have automake use am__CC in this case,
3727 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3728 CC="$am_aux_dir/compile $CC"
3731 ac_cpp='$CPP $CPPFLAGS'
3732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3744 ac_cpp='$CXXCPP $CPPFLAGS'
3745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3748 if test -z "$CXX"; then
3749 if test -n "$CCC"; then
3752 if test -n "$ac_tool_prefix"; then
3753 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
3755 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3756 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3758 printf %s "checking for $ac_word... " >&6; }
3759 if test ${ac_cv_prog_CXX+y}
3761 printf %s "(cached) " >&6
3763 if test -n "$CXX"; then
3764 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3770 case $as_dir in #(((
3773 *) as_dir=$as_dir/ ;;
3775 for ac_exec_ext in '' $ac_executable_extensions; do
3776 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3777 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3788 if test -n "$CXX"; then
3789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3790 printf "%s\n" "$CXX" >&6; }
3792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3793 printf "%s\n" "no" >&6; }
3797 test -n "$CXX" && break
3800 if test -z "$CXX"; then
3802 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
3804 # Extract the first word of "$ac_prog", so it can be a program name with args.
3805 set dummy $ac_prog; ac_word=$2
3806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3807 printf %s "checking for $ac_word... " >&6; }
3808 if test ${ac_cv_prog_ac_ct_CXX+y}
3810 printf %s "(cached) " >&6
3812 if test -n "$ac_ct_CXX"; then
3813 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3819 case $as_dir in #(((
3822 *) as_dir=$as_dir/ ;;
3824 for ac_exec_ext in '' $ac_executable_extensions; do
3825 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3826 ac_cv_prog_ac_ct_CXX="$ac_prog"
3827 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3836 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3837 if test -n "$ac_ct_CXX"; then
3838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3839 printf "%s\n" "$ac_ct_CXX" >&6; }
3841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3842 printf "%s\n" "no" >&6; }
3846 test -n "$ac_ct_CXX" && break
3849 if test "x$ac_ct_CXX" = x; then
3852 case $cross_compiling:$ac_tool_warned in
3854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3855 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3856 ac_tool_warned=yes ;;
3864 # Provide some information about the compiler.
3865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3868 for ac_option in --version -v -V -qversion; do
3869 { { ac_try="$ac_compiler $ac_option >&5"
3871 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3872 *) ac_try_echo
=$ac_try;;
3874 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3875 printf "%s\n" "$ac_try_echo"; } >&5
3876 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3878 if test -s conftest.err
; then
3880 ... rest of stderr output deleted ...
3881 10q' conftest.err
>conftest.er1
3882 cat conftest.er1
>&5
3884 rm -f conftest.er1 conftest.err
3885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3886 test $ac_status = 0; }
3889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
3890 printf %s
"checking whether the compiler supports GNU C++... " >&6; }
3891 if test ${ac_cv_cxx_compiler_gnu+y}
3893 printf %s
"(cached) " >&6
3895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3909 if ac_fn_cxx_try_compile
"$LINENO"
3915 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3916 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3920 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
3921 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3923 if test $ac_compiler_gnu = yes; then
3928 ac_test_CXXFLAGS
=${CXXFLAGS+y}
3929 ac_save_CXXFLAGS
=$CXXFLAGS
3930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3931 printf %s
"checking whether $CXX accepts -g... " >&6; }
3932 if test ${ac_cv_prog_cxx_g+y}
3934 printf %s
"(cached) " >&6
3936 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3937 ac_cxx_werror_flag
=yes
3940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3941 /* end confdefs.h. */
3951 if ac_fn_cxx_try_compile
"$LINENO"
3953 ac_cv_prog_cxx_g
=yes
3956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3967 if ac_fn_cxx_try_compile
"$LINENO"
3971 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3974 /* end confdefs.h. */
3984 if ac_fn_cxx_try_compile
"$LINENO"
3986 ac_cv_prog_cxx_g
=yes
3988 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3990 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3992 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3993 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3996 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
3997 if test $ac_test_CXXFLAGS; then
3998 CXXFLAGS
=$ac_save_CXXFLAGS
3999 elif test $ac_cv_prog_cxx_g = yes; then
4000 if test "$GXX" = yes; then
4006 if test "$GXX" = yes; then
4012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
4013 printf %s
"checking for $CXX option to enable C++11 features... " >&6; }
4014 if test ${ac_cv_prog_cxx_cxx11+y}
4016 printf %s
"(cached) " >&6
4018 ac_cv_prog_cxx_cxx11
=no
4020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h. */
4022 $ac_cxx_conftest_cxx11_program
4024 for ac_arg
in '' -std=gnu
++11 -std=c
++11 -std=gnu
++0x
-std=c
++0x
-qlanglvl=extended0x
-AA
4026 CXX
="$ac_save_CXX $ac_arg"
4027 if ac_fn_cxx_try_compile
"$LINENO"
4029 ac_cv_prog_cxx_cxx11
=$ac_arg
4031 rm -f core conftest.err conftest.
$ac_objext conftest.beam
4032 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
4034 rm -f conftest.
$ac_ext
4039 ac_prog_cxx_stdcxx_options
=
4040 case "x$ac_cv_prog_cxx_cxx11" in #(
4042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4043 printf "%s\n" "none needed" >&6; } ;; #(
4045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4046 printf "%s\n" "unsupported" >&6; } ;; #(
4048 ac_prog_cxx_stdcxx_options
=" $ac_cv_prog_cxx_cxx11"
4049 CXX
=$CXX$ac_prog_cxx_stdcxx_options
4050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
4051 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; } ;;
4053 if test "x$ac_cv_prog_cxx_cxx11" != xno
4055 ac_prog_cxx_stdcxx
=cxx11
4056 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx11
4057 ac_cv_prog_cxx_cxx98
=$ac_cv_prog_cxx_cxx11
4059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
4060 printf %s
"checking for $CXX option to enable C++98 features... " >&6; }
4061 if test ${ac_cv_prog_cxx_cxx98+y}
4063 printf %s
"(cached) " >&6
4065 ac_cv_prog_cxx_cxx98
=no
4067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4068 /* end confdefs.h. */
4069 $ac_cxx_conftest_cxx98_program
4071 for ac_arg
in '' -std=gnu
++98 -std=c
++98 -qlanglvl=extended
-AA
4073 CXX
="$ac_save_CXX $ac_arg"
4074 if ac_fn_cxx_try_compile
"$LINENO"
4076 ac_cv_prog_cxx_cxx98
=$ac_arg
4078 rm -f core conftest.err conftest.
$ac_objext conftest.beam
4079 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
4081 rm -f conftest.
$ac_ext
4086 ac_prog_cxx_stdcxx_options
=
4087 case "x$ac_cv_prog_cxx_cxx98" in #(
4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4090 printf "%s\n" "none needed" >&6; } ;; #(
4092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4093 printf "%s\n" "unsupported" >&6; } ;; #(
4095 ac_prog_cxx_stdcxx_options
=" $ac_cv_prog_cxx_cxx98"
4096 CXX
=$CXX$ac_prog_cxx_stdcxx_options
4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
4098 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; } ;;
4100 if test "x$ac_cv_prog_cxx_cxx98" != xno
4102 ac_prog_cxx_stdcxx
=cxx98
4103 ac_cv_prog_cxx_stdcxx
=$ac_cv_prog_cxx_cxx98
4105 ac_prog_cxx_stdcxx
=no
4106 ac_cv_prog_cxx_stdcxx
=no
4112 ac_cpp
='$CPP $CPPFLAGS'
4113 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4114 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4115 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4118 printf %s
"checking for a sed that does not truncate output... " >&6; }
4119 if test ${ac_cv_path_SED+y}
4121 printf %s
"(cached) " >&6
4123 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4124 for ac_i
in 1 2 3 4 5 6 7; do
4125 ac_script
="$ac_script$as_nl$ac_script"
4127 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4128 { ac_script
=; unset ac_script
;}
4129 if test -z "$SED"; then
4130 ac_path_SED_found
=false
4131 # Loop through the user's path and test for each of PROGNAME-LIST
4132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4136 case $as_dir in #(((
4139 *) as_dir
=$as_dir/ ;;
4141 for ac_prog
in sed gsed
4143 for ac_exec_ext
in '' $ac_executable_extensions; do
4144 ac_path_SED
="$as_dir$ac_prog$ac_exec_ext"
4145 as_fn_executable_p
"$ac_path_SED" ||
continue
4146 # Check for GNU ac_path_SED and select it if it is found.
4147 # Check for GNU $ac_path_SED
4148 case `"$ac_path_SED" --version 2>&1` in
4150 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4153 printf %s
0123456789 >"conftest.in"
4156 cat "conftest.in" "conftest.in" >"conftest.tmp"
4157 mv "conftest.tmp" "conftest.in"
4158 cp "conftest.in" "conftest.nl"
4159 printf "%s\n" '' >> "conftest.nl"
4160 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4161 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4162 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4163 if test $ac_count -gt ${ac_path_SED_max-0}; then
4164 # Best one so far, save it but keep looking for a better one
4165 ac_cv_path_SED
="$ac_path_SED"
4166 ac_path_SED_max
=$ac_count
4168 # 10*(2^10) chars as input seems more than enough
4169 test $ac_count -gt 10 && break
4171 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4174 $ac_path_SED_found && break 3
4179 if test -z "$ac_cv_path_SED"; then
4180 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4188 printf "%s\n" "$ac_cv_path_SED" >&6; }
4189 SED
="$ac_cv_path_SED"
4193 ac_cpp
='$CXXCPP $CPPFLAGS'
4194 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4195 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4196 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4200 # Make sure we can run config.sub.
4201 $SHELL "${ac_aux_dir}config.sub" sun4
>/dev
/null
2>&1 ||
4202 as_fn_error $?
"cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4205 printf %s
"checking build system type... " >&6; }
4206 if test ${ac_cv_build+y}
4208 printf %s
"(cached) " >&6
4210 ac_build_alias
=$build_alias
4211 test "x$ac_build_alias" = x
&&
4212 ac_build_alias
=`$SHELL "${ac_aux_dir}config.guess"`
4213 test "x$ac_build_alias" = x
&&
4214 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4215 ac_cv_build
=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4216 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4220 printf "%s\n" "$ac_cv_build" >&6; }
4221 case $ac_cv_build in
4223 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4226 ac_save_IFS
=$IFS; IFS
='-'
4232 # Remember, the first character of IFS is used to create $*,
4233 # except with old shells:
4236 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4240 printf %s
"checking host system type... " >&6; }
4241 if test ${ac_cv_host+y}
4243 printf %s
"(cached) " >&6
4245 if test "x$host_alias" = x
; then
4246 ac_cv_host
=$ac_cv_build
4248 ac_cv_host
=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4249 as_fn_error $?
"$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4254 printf "%s\n" "$ac_cv_host" >&6; }
4257 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4260 ac_save_IFS
=$IFS; IFS
='-'
4266 # Remember, the first character of IFS is used to create $*,
4267 # except with old shells:
4270 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4273 am__api_version
='1.16'
4276 # Find a good install program. We prefer a C program (faster),
4277 # so one script is as good as another. But avoid the broken or
4278 # incompatible versions:
4279 # SysV /etc/install, /usr/sbin/install
4280 # SunOS /usr/etc/install
4281 # IRIX /sbin/install
4283 # AmigaOS /C/install, which installs bootblocks on floppy discs
4284 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4285 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4286 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4287 # OS/2's system install, which has a completely different semantic
4288 # ./install, which can be erroneously created by make from ./install.sh.
4289 # Reject install programs that cannot install multiple files.
4290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4291 printf %s
"checking for a BSD-compatible install... " >&6; }
4292 if test -z "$INSTALL"; then
4293 if test ${ac_cv_path_install+y}
4295 printf %s
"(cached) " >&6
4297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4301 case $as_dir in #(((
4304 *) as_dir
=$as_dir/ ;;
4306 # Account for fact that we put trailing slashes in our PATH walk.
4309 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4310 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4313 # OSF1 and SCO ODT 3.0 have their own names for install.
4314 # Don't use installbsd from OSF since it installs stuff as root
4316 for ac_prog
in ginstall scoinst
install; do
4317 for ac_exec_ext
in '' $ac_executable_extensions; do
4318 if as_fn_executable_p
"$as_dir$ac_prog$ac_exec_ext"; then
4319 if test $ac_prog = install &&
4320 grep dspmsg
"$as_dir$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4321 # AIX install. It has an incompatible calling convention.
4323 elif test $ac_prog = install &&
4324 grep pwplus
"$as_dir$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4325 # program-specific install script used by HP pwplus--don't use.
4328 rm -rf conftest.one conftest.two conftest.dir
4329 echo one
> conftest.one
4330 echo two
> conftest.two
4332 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir/" &&
4333 test -s conftest.one
&& test -s conftest.two
&&
4334 test -s conftest.dir
/conftest.one
&&
4335 test -s conftest.dir
/conftest.two
4337 ac_cv_path_install
="$as_dir$ac_prog$ac_exec_ext -c"
4350 rm -rf conftest.one conftest.two conftest.dir
4353 if test ${ac_cv_path_install+y}; then
4354 INSTALL
=$ac_cv_path_install
4356 # As a last resort, use the slow shell script. Don't cache a
4357 # value for INSTALL within a source directory, because that will
4358 # break other packages using the cache if that directory is
4359 # removed, or if the value is a relative name.
4360 INSTALL
=$ac_install_sh
4363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4364 printf "%s\n" "$INSTALL" >&6; }
4366 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4367 # It thinks the first close brace ends the variable substitution.
4368 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4370 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4372 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4375 printf %s
"checking whether build environment is sane... " >&6; }
4376 # Reject unsafe characters in $srcdir or the absolute working directory
4377 # name. Accept space and tab only in the latter.
4381 *[\\\"\
#\$\&\'\`$am_lf]*)
4382 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
4385 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4386 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
4389 # Do 'set' in a subshell so we don't clobber the current shell's
4390 # arguments. Must try -L first in case configure is actually a
4391 # symlink; some systems play weird games with the mod time of symlinks
4392 # (eg FreeBSD returns the mod time of the symlink's containing
4396 for am_try
in 1 2; do
4397 echo "timestamp, slept: $am_has_slept" > conftest.
file
4398 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4399 if test "$*" = "X"; then
4401 set X
`ls -t "$srcdir/configure" conftest.file`
4403 if test "$*" != "X $srcdir/configure conftest.file" \
4404 && test "$*" != "X conftest.file $srcdir/configure"; then
4406 # If neither matched, then we have a broken ls. This can happen
4407 # if, for instance, CONFIG_SHELL is bash and it inherits a
4408 # broken ls alias from the environment. This has actually
4409 # happened. Such a system could not be considered "sane".
4410 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4411 alias in your environment" "$LINENO" 5
4413 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
4420 test "$2" = conftest.
file
4426 as_fn_error $?
"newly created file is older than distributed files!
4427 Check your system clock" "$LINENO" 5
4429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4430 printf "%s\n" "yes" >&6; }
4431 # If we didn't sleep, we still need to ensure time stamps of config.status and
4432 # generated files are strictly newer.
4434 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
4441 test "$program_prefix" != NONE
&&
4442 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4443 # Use a double $ so make ignores it.
4444 test "$program_suffix" != NONE
&&
4445 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4446 # Double any \ or $.
4447 # By default was `s,x,x', remove it if useless.
4448 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4449 program_transform_name
=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
4452 if test x
"${MISSING+set}" != xset
; then
4455 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4457 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4460 # Use eval to expand $SHELL
4461 if eval "$MISSING --is-lightweight"; then
4462 am_missing_run
="$MISSING "
4465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
4466 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
4469 if test x
"${install_sh+set}" != xset
; then
4472 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4474 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4478 # Installed binaries are usually stripped using 'strip' when the user
4479 # run "make install-strip". However 'strip' might not be the right
4480 # tool to use in cross-compilation environments, therefore Automake
4481 # will honor the 'STRIP' environment variable to overrule this program.
4482 if test "$cross_compiling" != no
; then
4483 if test -n "$ac_tool_prefix"; then
4484 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4485 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4487 printf %s
"checking for $ac_word... " >&6; }
4488 if test ${ac_cv_prog_STRIP+y}
4490 printf %s
"(cached) " >&6
4492 if test -n "$STRIP"; then
4493 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4499 case $as_dir in #(((
4502 *) as_dir
=$as_dir/ ;;
4504 for ac_exec_ext
in '' $ac_executable_extensions; do
4505 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4506 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4516 STRIP
=$ac_cv_prog_STRIP
4517 if test -n "$STRIP"; then
4518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4519 printf "%s\n" "$STRIP" >&6; }
4521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 printf "%s\n" "no" >&6; }
4527 if test -z "$ac_cv_prog_STRIP"; then
4529 # Extract the first word of "strip", so it can be a program name with args.
4530 set dummy strip
; ac_word
=$2
4531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4532 printf %s
"checking for $ac_word... " >&6; }
4533 if test ${ac_cv_prog_ac_ct_STRIP+y}
4535 printf %s
"(cached) " >&6
4537 if test -n "$ac_ct_STRIP"; then
4538 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4544 case $as_dir in #(((
4547 *) as_dir
=$as_dir/ ;;
4549 for ac_exec_ext
in '' $ac_executable_extensions; do
4550 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4551 ac_cv_prog_ac_ct_STRIP
="strip"
4552 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4561 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4562 if test -n "$ac_ct_STRIP"; then
4563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4564 printf "%s\n" "$ac_ct_STRIP" >&6; }
4566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567 printf "%s\n" "no" >&6; }
4570 if test "x$ac_ct_STRIP" = x
; then
4573 case $cross_compiling:$ac_tool_warned in
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4576 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4577 ac_tool_warned
=yes ;;
4582 STRIP
="$ac_cv_prog_STRIP"
4586 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
4590 printf %s
"checking for a race-free mkdir -p... " >&6; }
4591 if test -z "$MKDIR_P"; then
4592 if test ${ac_cv_path_mkdir+y}
4594 printf %s
"(cached) " >&6
4596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4597 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4600 case $as_dir in #(((
4603 *) as_dir
=$as_dir/ ;;
4605 for ac_prog
in mkdir gmkdir
; do
4606 for ac_exec_ext
in '' $ac_executable_extensions; do
4607 as_fn_executable_p
"$as_dir$ac_prog$ac_exec_ext" ||
continue
4608 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
4609 'mkdir ('*'coreutils) '* | \
4611 'mkdir (fileutils) '4.1*)
4612 ac_cv_path_mkdir
=$as_dir$ac_prog$ac_exec_ext
4622 test -d .
/--version && rmdir .
/--version
4623 if test ${ac_cv_path_mkdir+y}; then
4624 MKDIR_P
="$ac_cv_path_mkdir -p"
4626 # As a last resort, use the slow shell script. Don't cache a
4627 # value for MKDIR_P within a source directory, because that will
4628 # break other packages using the cache if that directory is
4629 # removed, or if the value is a relative name.
4630 MKDIR_P
="$ac_install_sh -d"
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4634 printf "%s\n" "$MKDIR_P" >&6; }
4636 for ac_prog
in gawk mawk nawk
awk
4638 # Extract the first word of "$ac_prog", so it can be a program name with args.
4639 set dummy
$ac_prog; ac_word
=$2
4640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 printf %s
"checking for $ac_word... " >&6; }
4642 if test ${ac_cv_prog_AWK+y}
4644 printf %s
"(cached) " >&6
4646 if test -n "$AWK"; then
4647 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4653 case $as_dir in #(((
4656 *) as_dir
=$as_dir/ ;;
4658 for ac_exec_ext
in '' $ac_executable_extensions; do
4659 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
4660 ac_cv_prog_AWK
="$ac_prog"
4661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4671 if test -n "$AWK"; then
4672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4673 printf "%s\n" "$AWK" >&6; }
4675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4676 printf "%s\n" "no" >&6; }
4680 test -n "$AWK" && break
4683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4684 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4686 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4687 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
4689 printf %s
"(cached) " >&6
4691 cat >conftest.
make <<\_ACEOF
4694 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4696 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4697 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4699 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4701 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4705 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4707 printf "%s\n" "yes" >&6; }
4710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711 printf "%s\n" "no" >&6; }
4712 SET_MAKE
="MAKE=${MAKE-make}"
4715 rm -rf .tst
2>/dev
/null
4716 mkdir .tst
2>/dev
/null
4717 if test -d .tst
; then
4722 rmdir .tst
2>/dev
/null
4724 DEPDIR
="${am__leading_dot}deps"
4726 ac_config_commands
="$ac_config_commands depfiles"
4728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4729 printf %s
"checking whether ${MAKE-make} supports the include directive... " >&6; }
4730 cat > confinc.mk
<< 'END'
4732 @
echo this is the am__doit target
>confinc.out
4737 # BSD make does it like this.
4738 echo '.include "confinc.mk" # ignored' > confmf.BSD
4739 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4740 echo 'include confinc.mk # ignored' > confmf.GNU
4742 for s
in GNU BSD
; do
4743 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4744 (${MAKE-make} -f confmf.
$s && cat confinc.out
) >&5 2>&5
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); }
4748 case $?
:`cat confinc.out 2>/dev/null` in #(
4749 '0:this is the am__doit target') :
4752 am__include
='.include' am__quote
='"' ;; #(
4754 am__include
='include' am__quote
='' ;;
4759 if test "$am__include" != "#"; then
4760 _am_result
="yes ($s style)"
4764 rm -f confinc.
* confmf.
*
4765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4766 printf "%s\n" "${_am_result}" >&6; }
4768 # Check whether --enable-dependency-tracking was given.
4769 if test ${enable_dependency_tracking+y}
4771 enableval
=$enable_dependency_tracking;
4774 if test "x$enable_dependency_tracking" != xno
; then
4775 am_depcomp
="$ac_aux_dir/depcomp"
4779 if test "x$enable_dependency_tracking" != xno; then
4788 # Check whether --enable-silent-rules was given.
4789 if test ${enable_silent_rules+y}
4791 enableval
=$enable_silent_rules;
4794 case $enable_silent_rules in # (((
4795 yes) AM_DEFAULT_VERBOSITY
=0;;
4796 no
) AM_DEFAULT_VERBOSITY
=1;;
4797 *) AM_DEFAULT_VERBOSITY
=1;;
4799 am_make
=${MAKE-make}
4800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4801 printf %s
"checking whether $am_make supports nested variables... " >&6; }
4802 if test ${am_cv_make_support_nested_variables+y}
4804 printf %s
"(cached) " >&6
4806 if printf "%s\n" 'TRUE=$(BAR$(V))
4812 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
4813 am_cv_make_support_nested_variables
=yes
4815 am_cv_make_support_nested_variables
=no
4818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4819 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
4820 if test $am_cv_make_support_nested_variables = yes; then
4822 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
4824 AM_V
=$AM_DEFAULT_VERBOSITY
4825 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
4829 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4830 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4831 # is not polluted with repeated "-I."
4832 am__isrc
=' -I$(srcdir)'
4833 # test to see if srcdir already configured
4834 if test -f $srcdir/config.status
; then
4835 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4839 # test whether we have cygpath
4840 if test -z "$CYGPATH_W"; then
4841 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4842 CYGPATH_W
='cygpath -w'
4849 # Define the identity of the package.
4850 PACKAGE
='qbittorrent'
4851 VERSION
='v4.4.0alpha'
4854 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
4857 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
4859 # Some tools Automake needs.
4861 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4864 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4867 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4870 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4873 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4875 # For better backward compatibility. To be removed once Automake 1.9.x
4876 # dies out for good. For more background, see:
4877 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4878 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4879 mkdir_p
='$(MKDIR_P)'
4881 # We need awk for the "check" target (and possibly the TAP driver). The
4882 # system "awk" is bad on some platforms.
4883 # Always define AMTAR for backward compatibility. Yes, it's still used
4884 # in the wild :-( We should find a proper way to deprecate it ...
4888 # We'll loop over all known methods to create a tar archive until one works.
4889 _am_tools
='gnutar pax cpio none'
4891 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
4897 depcc
="$CC" am_compiler_list
=
4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4900 printf %s
"checking dependency style of $depcc... " >&6; }
4901 if test ${am_cv_CC_dependencies_compiler_type+y}
4903 printf %s
"(cached) " >&6
4905 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4906 # We make a subdir and do the tests there. Otherwise we can end up
4907 # making bogus files that we don't know about and never remove. For
4908 # instance it was reported that on HP-UX the gcc test will end up
4909 # making a dummy file named 'D' -- because '-MD' means "put the output
4913 # Copy depcomp to subdir because otherwise we won't find it if we're
4914 # using a relative directory.
4915 cp "$am_depcomp" conftest.dir
4917 # We will build objects and dependencies in a subdirectory because
4918 # it helps to detect inapplicable dependency modes. For instance
4919 # both Tru64's cc and ICC support -MD to output dependencies as a
4920 # side effect of compilation, but ICC will put the dependencies in
4921 # the current directory while Tru64 will put them in the object
4925 am_cv_CC_dependencies_compiler_type
=none
4926 if test "$am_compiler_list" = ""; then
4927 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4930 case " $depcc " in #(
4931 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4934 for depmode
in $am_compiler_list; do
4935 # Setup a source with many dependencies, because some compilers
4936 # like to wrap large dependency lists on column 80 (with \), and
4937 # we should not choose a depcomp mode which is confused by this.
4939 # We need to recreate these files for each test, as the compiler may
4940 # overwrite some of them when testing with obscure command lines.
4941 # This happens at least with the AIX C compiler.
4943 for i
in 1 2 3 4 5 6; do
4944 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4945 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4946 # Solaris 10 /bin/sh.
4947 echo '/* dummy */' > sub
/conftst
$i.h
4949 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4951 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4952 # mode. It turns out that the SunPro C++ compiler does not properly
4953 # handle '-M -o', and we need to detect this. Also, some Intel
4954 # versions had trouble with output in subdirs.
4955 am__obj
=sub
/conftest.
${OBJEXT-o}
4956 am__minus_obj
="-o $am__obj"
4959 # This depmode causes a compiler race in universal mode.
4960 test "$am__universal" = false ||
continue
4963 # After this tag, mechanisms are not by side-effect, so they'll
4964 # only be used when explicitly requested.
4965 if test "x$enable_dependency_tracking" = xyes
; then
4971 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4972 # This compiler won't grok '-c -o', but also, the minuso test has
4973 # not run yet. These depmodes are late enough in the game, and
4974 # so weak that their functioning should not be impacted.
4975 am__obj
=conftest.
${OBJEXT-o}
4980 if depmode
=$depmode \
4981 source=sub
/conftest.c object
=$am__obj \
4982 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4983 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4984 >/dev
/null
2>conftest.err
&&
4985 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4986 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4987 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4988 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4989 # icc doesn't choke on unknown options, it will just issue warnings
4990 # or remarks (even with -Werror). So we grep stderr for any message
4991 # that says an option was ignored or not supported.
4992 # When given -MP, icc 7.0 and 7.1 complain thusly:
4993 # icc: Command line warning: ignoring option '-M'; no argument required
4994 # The diagnosis changed in icc 8.0:
4995 # icc: Command line remark: option '-MP' not supported
4996 if (grep 'ignoring option' conftest.err ||
4997 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4998 am_cv_CC_dependencies_compiler_type
=$depmode
5007 am_cv_CC_dependencies_compiler_type
=none
5011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5012 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
5013 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5016 test "x$enable_dependency_tracking" != xno \
5017 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5019 am__fastdepCC_FALSE
='#'
5021 am__fastdepCC_TRUE
='#'
5022 am__fastdepCC_FALSE
=
5026 depcc
="$CXX" am_compiler_list
=
5028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5029 printf %s
"checking dependency style of $depcc... " >&6; }
5030 if test ${am_cv_CXX_dependencies_compiler_type+y}
5032 printf %s
"(cached) " >&6
5034 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5035 # We make a subdir and do the tests there. Otherwise we can end up
5036 # making bogus files that we don't know about and never remove. For
5037 # instance it was reported that on HP-UX the gcc test will end up
5038 # making a dummy file named 'D' -- because '-MD' means "put the output
5042 # Copy depcomp to subdir because otherwise we won't find it if we're
5043 # using a relative directory.
5044 cp "$am_depcomp" conftest.dir
5046 # We will build objects and dependencies in a subdirectory because
5047 # it helps to detect inapplicable dependency modes. For instance
5048 # both Tru64's cc and ICC support -MD to output dependencies as a
5049 # side effect of compilation, but ICC will put the dependencies in
5050 # the current directory while Tru64 will put them in the object
5054 am_cv_CXX_dependencies_compiler_type
=none
5055 if test "$am_compiler_list" = ""; then
5056 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5059 case " $depcc " in #(
5060 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5063 for depmode
in $am_compiler_list; do
5064 # Setup a source with many dependencies, because some compilers
5065 # like to wrap large dependency lists on column 80 (with \), and
5066 # we should not choose a depcomp mode which is confused by this.
5068 # We need to recreate these files for each test, as the compiler may
5069 # overwrite some of them when testing with obscure command lines.
5070 # This happens at least with the AIX C compiler.
5072 for i
in 1 2 3 4 5 6; do
5073 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5074 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5075 # Solaris 10 /bin/sh.
5076 echo '/* dummy */' > sub
/conftst
$i.h
5078 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5080 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5081 # mode. It turns out that the SunPro C++ compiler does not properly
5082 # handle '-M -o', and we need to detect this. Also, some Intel
5083 # versions had trouble with output in subdirs.
5084 am__obj
=sub
/conftest.
${OBJEXT-o}
5085 am__minus_obj
="-o $am__obj"
5088 # This depmode causes a compiler race in universal mode.
5089 test "$am__universal" = false ||
continue
5092 # After this tag, mechanisms are not by side-effect, so they'll
5093 # only be used when explicitly requested.
5094 if test "x$enable_dependency_tracking" = xyes
; then
5100 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5101 # This compiler won't grok '-c -o', but also, the minuso test has
5102 # not run yet. These depmodes are late enough in the game, and
5103 # so weak that their functioning should not be impacted.
5104 am__obj
=conftest.
${OBJEXT-o}
5109 if depmode
=$depmode \
5110 source=sub
/conftest.c object
=$am__obj \
5111 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5112 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5113 >/dev
/null
2>conftest.err
&&
5114 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5115 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5116 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5117 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5118 # icc doesn't choke on unknown options, it will just issue warnings
5119 # or remarks (even with -Werror). So we grep stderr for any message
5120 # that says an option was ignored or not supported.
5121 # When given -MP, icc 7.0 and 7.1 complain thusly:
5122 # icc: Command line warning: ignoring option '-M'; no argument required
5123 # The diagnosis changed in icc 8.0:
5124 # icc: Command line remark: option '-MP' not supported
5125 if (grep 'ignoring option' conftest.err ||
5126 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5127 am_cv_CXX_dependencies_compiler_type
=$depmode
5136 am_cv_CXX_dependencies_compiler_type
=none
5140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5141 printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
5142 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5145 test "x$enable_dependency_tracking" != xno \
5146 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5147 am__fastdepCXX_TRUE
=
5148 am__fastdepCXX_FALSE
='#'
5150 am__fastdepCXX_TRUE
='#'
5151 am__fastdepCXX_FALSE
=
5156 # POSIX will say in a future version that running "rm -f" with no argument
5157 # is OK; and we want to be able to make that assumption in our Makefile
5158 # recipes. So use an aggressive probe to check that the usage we want is
5159 # actually supported "in the wild" to an acceptable degree.
5160 # See automake bug#10828.
5161 # To make any issue more visible, cause the running configure to be aborted
5162 # by default if the 'rm' program in use doesn't match our expectations; the
5163 # user can still override this though.
5164 if rm -f && rm -fr && rm -rf; then : OK
; else
5168 Your 'rm' program seems unable to run without file operands specified
5169 on the command line, even when the '-f' option is present. This is contrary
5170 to the behaviour of most rm programs out there, and not conforming with
5171 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
5173 Please tell bug-automake@gnu.org about your system, including the value
5174 of your $PATH and any error possibly output before this message. This
5175 can help us improve future automake versions.
5178 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
5179 echo 'Configuration will proceed anyway, since you have set the' >&2
5180 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
5184 Aborting the configuration process, to ensure you take notice of the issue.
5186 You can download and install GNU coreutils to get an 'rm' implementation
5187 that behaves properly: <https://www.gnu.org/software/coreutils/>.
5189 If you want to complete the configuration process using your problematic
5190 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
5191 to "yes", and re-run configure.
5194 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
5199 # use compiler from env variables if available
5203 # Define --wth-* and --enable-* arguments
5205 # Check whether --enable-debug was given.
5206 if test ${enable_debug+y}
5208 enableval
=$enable_debug;
5214 # Check whether --enable-stacktrace was given.
5215 if test ${enable_stacktrace+y}
5217 enableval
=$enable_stacktrace;
5219 enable_stacktrace
=auto
5223 # Check whether --enable-gui was given.
5224 if test ${enable_gui+y}
5226 enableval
=$enable_gui;
5232 # Check whether --enable-systemd was given.
5233 if test ${enable_systemd+y}
5235 enableval
=$enable_systemd;
5241 # Check whether --enable-webui was given.
5242 if test ${enable_webui+y}
5244 enableval
=$enable_webui;
5250 # Check whether --enable-qt-dbus was given.
5251 if test ${enable_qt_dbus+y}
5253 enableval
=$enable_qt_dbus;
5260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether OS is FreeBSD" >&5
5261 printf %s
"checking whether OS is FreeBSD... " >&6; }
5262 if expr "$host_os" : ".*freebsd.*" > /dev
/null
5264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5265 printf "%s\n" "yes" >&6; }
5266 LIBS
="-lexecinfo $LIBS"
5268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 printf "%s\n" "no" >&6; }
5272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether OS is macOS" >&5
5273 printf %s
"checking whether OS is macOS... " >&6; }
5274 if expr "$host_os" : ".*darwin.*" > /dev
/null
5276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5277 printf "%s\n" "yes" >&6; }
5280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 printf "%s\n" "no" >&6; }
5284 # Require 0.23 pkg-config
5292 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5293 if test -n "$ac_tool_prefix"; then
5294 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5295 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5297 printf %s
"checking for $ac_word... " >&6; }
5298 if test ${ac_cv_path_PKG_CONFIG+y}
5300 printf %s
"(cached) " >&6
5304 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5311 case $as_dir in #(((
5314 *) as_dir
=$as_dir/ ;;
5316 for ac_exec_ext
in '' $ac_executable_extensions; do
5317 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5318 ac_cv_path_PKG_CONFIG
="$as_dir$ac_word$ac_exec_ext"
5319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5329 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5330 if test -n "$PKG_CONFIG"; then
5331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5332 printf "%s\n" "$PKG_CONFIG" >&6; }
5334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5335 printf "%s\n" "no" >&6; }
5340 if test -z "$ac_cv_path_PKG_CONFIG"; then
5341 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5342 # Extract the first word of "pkg-config", so it can be a program name with args.
5343 set dummy pkg-config
; ac_word
=$2
5344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5345 printf %s
"checking for $ac_word... " >&6; }
5346 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
5348 printf %s
"(cached) " >&6
5350 case $ac_pt_PKG_CONFIG in
5352 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5359 case $as_dir in #(((
5362 *) as_dir
=$as_dir/ ;;
5364 for ac_exec_ext
in '' $ac_executable_extensions; do
5365 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
5366 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir$ac_word$ac_exec_ext"
5367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5377 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5378 if test -n "$ac_pt_PKG_CONFIG"; then
5379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5380 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
5382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5383 printf "%s\n" "no" >&6; }
5386 if test "x$ac_pt_PKG_CONFIG" = x
; then
5389 case $cross_compiling:$ac_tool_warned in
5391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5392 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5393 ac_tool_warned
=yes ;;
5395 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5398 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5402 if test -n "$PKG_CONFIG"; then
5403 _pkg_min_version
=0.23
5404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5405 printf %s
"checking pkg-config is at least version $_pkg_min_version... " >&6; }
5406 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5408 printf "%s\n" "yes" >&6; }
5410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5411 printf "%s\n" "no" >&6; }
5415 if test "x$PKG_CONFIG" = "x"
5417 as_fn_error $?
"Could not find pkg-config" "$LINENO" 5
5420 # Check which arguments were set and act accordingly
5421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable the Debug build" >&5
5422 printf %s
"checking whether to enable the Debug build... " >&6; }
5423 case "x$enable_debug" in #(
5425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5426 printf "%s\n" "no" >&6; }
5427 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG release"
5428 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG debug" ;; #(
5430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5431 printf "%s\n" "yes" >&6; }
5432 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG debug"
5433 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG release" ;; #(
5435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_debug" >&5
5436 printf "%s\n" "$enable_debug" >&6; }
5437 as_fn_error $?
"Unknown option \"$enable_debug\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
5440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable the stacktrace feature" >&5
5441 printf %s
"checking whether to enable the stacktrace feature... " >&6; }
5443 case "x$enable_stacktrace" in #(
5445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5446 printf "%s\n" "no" >&6; }
5447 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG stacktrace" ;; #(
5449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5450 printf "%s\n" "yes" >&6; }
5451 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG stacktrace" ;; #(
5453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5454 /* end confdefs.h. */
5455 #include <execinfo.h>
5457 if ac_fn_cxx_try_compile
"$LINENO"
5459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5460 printf "%s\n" "yes" >&6; }
5461 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG stacktrace"
5463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464 printf "%s\n" "no" >&6; }
5465 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG stacktrace"
5467 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext ;; #(
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_stacktrace" >&5
5470 printf "%s\n" "$enable_stacktrace" >&6; }
5471 as_fn_error $?
"Unknown option \"$enable_stacktrace\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
5474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable the GUI" >&5
5475 printf %s
"checking whether to enable the GUI... " >&6; }
5476 case "x$enable_gui" in #(
5478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5479 printf "%s\n" "yes" >&6; }
5481 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG nogui" ;; #(
5483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5484 printf "%s\n" "no" >&6; }
5486 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG nogui" ;; #(
5488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_gui" >&5
5489 printf "%s\n" "$enable_gui" >&6; }
5490 as_fn_error $?
"Unknown option \"$enable_gui\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
5493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to install the systemd service file" >&5
5494 printf %s
"checking whether to install the systemd service file... " >&6; }
5495 case "x$enable_systemd" in #(
5497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5498 printf "%s\n" "yes" >&6; }
5499 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG systemd" ;; #(
5501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 printf "%s\n" "no" >&6; }
5503 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG systemd" ;; #(
5505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_systemd" >&5
5506 printf "%s\n" "$enable_systemd" >&6; }
5507 as_fn_error $?
"Unknown option \"$enable_systemd\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
5510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable the WebUI" >&5
5511 printf %s
"checking whether to enable the WebUI... " >&6; }
5512 case "x$enable_webui" in #(
5514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5515 printf "%s\n" "yes" >&6; }
5516 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG nowebui" ;; #(
5518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 printf "%s\n" "no" >&6; }
5520 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG nowebui" ;; #(
5522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_webui" >&5
5523 printf "%s\n" "$enable_webui" >&6; }
5524 as_fn_error $?
"Unknown option \"$enable_webui\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
5527 if test -n "$PKG_CONFIG" && \
5528 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.12\""; } >&5
5529 ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.12") 2>&5
5531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5532 test $ac_status = 0; }; then
5534 if test -n "$QT_QMAKE"; then
5535 pkg_cv_QT_QMAKE
="$QT_QMAKE"
5536 elif test -n "$PKG_CONFIG"; then
5537 if test -n "$PKG_CONFIG" && \
5538 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Core >= 5.12\""; } >&5
5539 ($PKG_CONFIG --exists --print-errors "Qt5Core >= 5.12") 2>&5
5541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5542 test $ac_status = 0; }; then
5543 pkg_cv_QT_QMAKE
=`$PKG_CONFIG --variable="host_bins" "Qt5Core >= 5.12" 2>/dev/null`
5544 test "x$?" != "x0" && pkg_failed
=yes
5551 QT_QMAKE
=$pkg_cv_QT_QMAKE
5553 if test "x$QT_QMAKE" = x
""
5560 if test -f "$QT_QMAKE/qmake"
5562 QT_QMAKE
="$QT_QMAKE/qmake"
5564 if test -f "$QT_QMAKE/qmake-qt5"
5566 QT_QMAKE
="$QT_QMAKE/qmake-qt5"
5573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Qt5 qmake >= 5.12" >&5
5574 printf %s
"checking for Qt5 qmake >= 5.12... " >&6; }
5575 if test "x$QT_QMAKE" != "x"
5577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $QT_QMAKE" >&5
5578 printf "%s\n" "$QT_QMAKE" >&6; }
5580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
5581 printf "%s\n" "not found" >&6; }
5585 if test "x$QT_QMAKE" = "x"
5587 as_fn_error $?
"Could not find qmake" "$LINENO" 5
5590 if test "x$enable_gui" = "xyes"
5594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Qt5Svg" >&5
5595 printf %s
"checking for Qt5Svg... " >&6; }
5597 if test -n "$Qt5Svg_CFLAGS"; then
5598 pkg_cv_Qt5Svg_CFLAGS
="$Qt5Svg_CFLAGS"
5599 elif test -n "$PKG_CONFIG"; then
5600 if test -n "$PKG_CONFIG" && \
5601 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Svg >= 5.12\""; } >&5
5602 ($PKG_CONFIG --exists --print-errors "Qt5Svg >= 5.12") 2>&5
5604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5605 test $ac_status = 0; }; then
5606 pkg_cv_Qt5Svg_CFLAGS
=`$PKG_CONFIG --cflags "Qt5Svg >= 5.12" 2>/dev/null`
5607 test "x$?" != "x0" && pkg_failed
=yes
5614 if test -n "$Qt5Svg_LIBS"; then
5615 pkg_cv_Qt5Svg_LIBS
="$Qt5Svg_LIBS"
5616 elif test -n "$PKG_CONFIG"; then
5617 if test -n "$PKG_CONFIG" && \
5618 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5Svg >= 5.12\""; } >&5
5619 ($PKG_CONFIG --exists --print-errors "Qt5Svg >= 5.12") 2>&5
5621 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5622 test $ac_status = 0; }; then
5623 pkg_cv_Qt5Svg_LIBS
=`$PKG_CONFIG --libs "Qt5Svg >= 5.12" 2>/dev/null`
5624 test "x$?" != "x0" && pkg_failed
=yes
5634 if test $pkg_failed = yes; then
5635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 printf "%s\n" "no" >&6; }
5638 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5639 _pkg_short_errors_supported
=yes
5641 _pkg_short_errors_supported
=no
5643 if test $_pkg_short_errors_supported = yes; then
5644 Qt5Svg_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "Qt5Svg >= 5.12" 2>&1`
5646 Qt5Svg_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "Qt5Svg >= 5.12" 2>&1`
5648 # Put the nasty error message in config.log where it belongs
5649 echo "$Qt5Svg_PKG_ERRORS" >&5
5651 as_fn_error $?
"Package requirements (Qt5Svg >= 5.12) were not met:
5655 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5656 installed software in a non-standard prefix.
5658 Alternatively, you may set the environment variables Qt5Svg_CFLAGS
5659 and Qt5Svg_LIBS to avoid the need to call pkg-config.
5660 See the pkg-config man page for more details." "$LINENO" 5
5661 elif test $pkg_failed = untried
; then
5662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 printf "%s\n" "no" >&6; }
5664 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5665 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5666 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
5667 is in your PATH or set the PKG_CONFIG environment variable to the full
5670 Alternatively, you may set the environment variables Qt5Svg_CFLAGS
5671 and Qt5Svg_LIBS to avoid the need to call pkg-config.
5672 See the pkg-config man page for more details.
5674 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5675 See \`config.log' for more details" "$LINENO" 5; }
5677 Qt5Svg_CFLAGS
=$pkg_cv_Qt5Svg_CFLAGS
5678 Qt5Svg_LIBS
=$pkg_cv_Qt5Svg_LIBS
5679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5680 printf "%s\n" "yes" >&6; }
5685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether QtDBus should be enabled" >&5
5686 printf %s
"checking whether QtDBus should be enabled... " >&6; }
5687 case "x$enable_qt_dbus" in #(
5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5690 printf "%s\n" "yes" >&6; }
5691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Qt5DBus >= 5.12" >&5
5692 printf %s
"checking for Qt5DBus >= 5.12... " >&6; }
5693 if test -n "$PKG_CONFIG" && \
5694 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Qt5DBus >= 5.12\""; } >&5
5695 ($PKG_CONFIG --exists --print-errors "Qt5DBus >= 5.12") 2>&5
5697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5698 test $ac_status = 0; }; then
5699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
5700 printf "%s\n" "found" >&6; }
5703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
5704 printf "%s\n" "not found" >&6; }
5708 if test "x$HAVE_QTDBUS" = "xfalse"
5710 as_fn_error $?
"Could not find QtDBus" "$LINENO" 5
5712 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG dbus"
5716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 printf "%s\n" "no" >&6; }
5718 QBT_REMOVE_CONFIG
="$QBT_REMOVE_CONFIG dbus" ;; #(
5720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_qt_dbus" >&5
5721 printf "%s\n" "$enable_qt_dbus" >&6; }
5722 as_fn_error $?
"Unknown option \"$enable_qt_dbus\". Use either \"yes\" or \"no\"." "$LINENO" 5 ;;
5728 # Check whether --with-boost was given.
5729 if test ${with_boost+y}
5731 withval
=$with_boost;
5734 want_boost
="no";_AX_BOOST_BASE_boost_path
="" ;; #(
5736 want_boost
="yes";_AX_BOOST_BASE_boost_path
="" ;; #(
5738 want_boost
="yes";_AX_BOOST_BASE_boost_path
="$withval" ;;
5748 # Check whether --with-boost-libdir was given.
5749 if test ${with_boost_libdir+y}
5751 withval
=$with_boost_libdir;
5752 if test -d "$withval"
5754 _AX_BOOST_BASE_boost_lib_path
="$withval"
5756 as_fn_error $?
"--with-boost-libdir expected directory name" "$LINENO" 5
5760 _AX_BOOST_BASE_boost_lib_path
=""
5766 if test "x$want_boost" = "xyes"
5770 if test "x1.65" = "x"
5772 _AX_BOOST_BASE_TONUMERICVERSION_req
="1.20.0"
5774 _AX_BOOST_BASE_TONUMERICVERSION_req
="1.65"
5776 _AX_BOOST_BASE_TONUMERICVERSION_req_shorten
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([0-9]*\.[0-9]*\)'`
5777 _AX_BOOST_BASE_TONUMERICVERSION_req_major
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '\([0-9]*\)'`
5778 if test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_major" = "x"
5780 as_fn_error $?
"You should at least specify libboost major version" "$LINENO" 5
5782 _AX_BOOST_BASE_TONUMERICVERSION_req_minor
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[0-9]*\.\([0-9]*\)'`
5783 if test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_minor" = "x"
5785 _AX_BOOST_BASE_TONUMERICVERSION_req_minor
="0"
5787 _AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor
=`expr $_AX_BOOST_BASE_TONUMERICVERSION_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
5788 if test "X$_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor" = "X"
5790 _AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor
="0"
5792 _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`
5793 WANT_BOOST_VERSION
=$_AX_BOOST_BASE_TONUMERICVERSION_RET
5799 case ${host_cpu} in #(
5801 libsubdirs
="lib64 libx32 lib lib64" ;; #(
5803 libsubdirs
="lib64 lib32 lib lib64" ;; #(
5804 ppc64|powerpc64|s390x|sparc64|aarch64|ppc64le|powerpc64le|riscv64
) :
5805 libsubdirs
="lib64 lib lib64" ;; #(
5811 case ${host_cpu} in #(
5813 multiarch_libsubdir
="lib/i386-${host_os}" ;; #(
5815 multiarch_libsubdir
="lib/${host_cpu}-${host_os}"
5819 if test "x$_AX_BOOST_BASE_boost_path" != "x"
5822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for boostlib >= 1.65 ($WANT_BOOST_VERSION) includes in \"$_AX_BOOST_BASE_boost_path/include\"" >&5
5823 printf %s
"checking for boostlib >= 1.65 ($WANT_BOOST_VERSION) includes in \"$_AX_BOOST_BASE_boost_path/include\"... " >&6; }
5824 if test -d "$_AX_BOOST_BASE_boost_path/include" && test -r "$_AX_BOOST_BASE_boost_path/include"
5827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5828 printf "%s\n" "yes" >&6; }
5829 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path/include"
5830 for _AX_BOOST_BASE_boost_path_tmp
in $multiarch_libsubdir $libsubdirs; do
5831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for boostlib >= 1.65 ($WANT_BOOST_VERSION) lib path in \"$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp\"" >&5
5832 printf %s
"checking for boostlib >= 1.65 ($WANT_BOOST_VERSION) lib path in \"$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp\"... " >&6; }
5833 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"
5836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5837 printf "%s\n" "yes" >&6; }
5838 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp";
5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 printf "%s\n" "no" >&6; }
5848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 printf "%s\n" "no" >&6; }
5854 if test X
"$cross_compiling" = Xyes
; then
5855 search_libsubdirs
=$multiarch_libsubdir
5857 search_libsubdirs
="$multiarch_libsubdir $libsubdirs"
5859 for _AX_BOOST_BASE_boost_path_tmp
in /usr
/usr
/local /opt
/opt
/local ; do
5860 if test -d "$_AX_BOOST_BASE_boost_path_tmp/include/boost" && test -r "$_AX_BOOST_BASE_boost_path_tmp/include/boost" ; then
5861 for libsubdir
in $search_libsubdirs ; do
5862 if ls "$_AX_BOOST_BASE_boost_path_tmp/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
5864 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_path_tmp/$libsubdir"
5865 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path_tmp/include"
5872 if test "x$_AX_BOOST_BASE_boost_lib_path" != "x"
5874 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_lib_path"
5877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for boostlib >= 1.65 ($WANT_BOOST_VERSION)" >&5
5878 printf %s
"checking for boostlib >= 1.65 ($WANT_BOOST_VERSION)... " >&6; }
5879 CPPFLAGS_SAVED
="$CPPFLAGS"
5880 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
5883 LDFLAGS_SAVED
="$LDFLAGS"
5884 LDFLAGS
="$LDFLAGS $BOOST_LDFLAGS"
5889 ac_cpp
='$CXXCPP $CPPFLAGS'
5890 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5891 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5892 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5895 /* end confdefs.h. */
5897 #include <boost/version.hpp>
5903 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < ($WANT_BOOST_VERSION))]));
5909 if ac_fn_cxx_try_compile
"$LINENO"
5912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5913 printf "%s\n" "yes" >&6; }
5918 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5920 ac_cpp
='$CXXCPP $CPPFLAGS'
5921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5928 if test "x$succeeded" != "xyes" ; then
5929 CPPFLAGS
="$CPPFLAGS_SAVED"
5930 LDFLAGS
="$LDFLAGS_SAVED"
5932 if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
5936 if test -n "$_AX_BOOST_BASE_boost_path" ; then
5937 if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path"; then
5938 for i
in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
5939 _version_tmp
=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
5940 V_CHECK
=`expr $_version_tmp \> $_version`
5941 if test "x$V_CHECK" = "x1" ; then
5942 _version
=$_version_tmp
5944 VERSION_UNDERSCORE
=`echo $_version | sed 's/\./_/'`
5945 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path/include/boost-$VERSION_UNDERSCORE"
5947 if test -z "$BOOST_CPPFLAGS"; then
5948 if test -d "$_AX_BOOST_BASE_boost_path/boost" && test -r "$_AX_BOOST_BASE_boost_path/boost"; then
5949 BOOST_CPPFLAGS
="-I$_AX_BOOST_BASE_boost_path"
5952 if test -n "$BOOST_CPPFLAGS" && test -z "$BOOST_LDFLAGS"; then
5953 for libsubdir
in $libsubdirs ; do
5954 if ls "$_AX_BOOST_BASE_boost_path/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
5956 BOOST_LDFLAGS
="-L$_AX_BOOST_BASE_boost_path/$libsubdir"
5960 if test "x$cross_compiling" != "xyes" ; then
5961 for _AX_BOOST_BASE_boost_path
in /usr
/usr
/local /opt
/opt
/local ; do
5962 if test -d "$_AX_BOOST_BASE_boost_path" && test -r "$_AX_BOOST_BASE_boost_path" ; then
5963 for i
in `ls -d $_AX_BOOST_BASE_boost_path/include/boost-* 2>/dev/null`; do
5964 _version_tmp
=`echo $i | sed "s#$_AX_BOOST_BASE_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
5965 V_CHECK
=`expr $_version_tmp \> $_version`
5966 if test "x$V_CHECK" = "x1" ; then
5967 _version
=$_version_tmp
5968 best_path
=$_AX_BOOST_BASE_boost_path
5974 VERSION_UNDERSCORE
=`echo $_version | sed 's/\./_/'`
5975 BOOST_CPPFLAGS
="-I$best_path/include/boost-$VERSION_UNDERSCORE"
5976 if test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
5977 for libsubdir
in $libsubdirs ; do
5978 if ls "$best_path/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
5980 BOOST_LDFLAGS
="-L$best_path/$libsubdir"
5984 if test -n "$BOOST_ROOT" ; then
5985 for libsubdir
in $libsubdirs ; do
5986 if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev
/null
2>&1 ; then break; fi
5988 if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; then
5989 version_dir
=`expr //$BOOST_ROOT : '.*/\(.*\)'`
5990 stage_version
=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
5991 stage_version_shorten
=`expr $stage_version : '\([0-9]*\.[0-9]*\)'`
5992 V_CHECK
=`expr $stage_version_shorten \>\= $_version`
5993 if test "x$V_CHECK" = "x1" && test -z "$_AX_BOOST_BASE_boost_lib_path" ; then
5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5
5995 printf "%s\n" "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;}
5996 BOOST_CPPFLAGS
="-I$BOOST_ROOT"
5997 BOOST_LDFLAGS
="-L$BOOST_ROOT/stage/$libsubdir"
6003 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
6005 LDFLAGS
="$LDFLAGS $BOOST_LDFLAGS"
6009 ac_cpp
='$CXXCPP $CPPFLAGS'
6010 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6011 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6012 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6015 /* end confdefs.h. */
6017 #include <boost/version.hpp>
6023 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < ($WANT_BOOST_VERSION))]));
6029 if ac_fn_cxx_try_compile
"$LINENO"
6032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6033 printf "%s\n" "yes" >&6; }
6038 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6040 ac_cpp
='$CXXCPP $CPPFLAGS'
6041 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6042 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6043 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6047 if test "x$succeeded" != "xyes" ; then
6048 if test "x$_version" = "x0" ; then
6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: We could not detect the boost libraries (version 1.65 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
6050 printf "%s\n" "$as_me: We could not detect the boost libraries (version 1.65 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;}
6052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5
6053 printf "%s\n" "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
6055 # execute ACTION-IF-NOT-FOUND (if present):
6056 as_fn_error $?
"Could not find Boost" "$LINENO" 5
6059 printf "%s\n" "#define HAVE_BOOST /**/" >>confdefs.h
6061 # execute ACTION-IF-FOUND (if present):
6062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost CXXFLAGS: \"$BOOST_CPPFLAGS\"" >&5
6063 printf "%s\n" "$as_me: Boost CXXFLAGS: \"$BOOST_CPPFLAGS\"" >&6;}
6064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost LDFLAGS: \"$BOOST_LDFLAGS\"" >&5
6065 printf "%s\n" "$as_me: Boost LDFLAGS: \"$BOOST_LDFLAGS\"" >&6;}
6068 CPPFLAGS
="$CPPFLAGS_SAVED"
6069 LDFLAGS
="$LDFLAGS_SAVED"
6076 CXXFLAGS
="$BOOST_CPPFLAGS $CXXFLAGS"
6077 LDFLAGS
="$BOOST_LDFLAGS $LDFLAGS"
6079 # add workaround for problematic boost version
6080 # taken from ax_boost_base.m4
6083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6084 /* end confdefs.h. */
6085 #include <boost/version.hpp>
6089 (void) ((void)sizeof(char[1 - 2*!!((BOOST_VERSION) < (106000))]));
6094 if ac_fn_cxx_try_compile
"$LINENO"
6098 QBT_ADD_DEFINES
="$QBT_ADD_DEFINES BOOST_NO_CXX11_RVALUE_REFERENCES"
6100 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6104 # Check whether --with-boost-system was given.
6105 if test ${with_boost_system+y}
6107 withval
=$with_boost_system;
6108 if test "$withval" = "no"; then
6110 elif test "$withval" = "yes"; then
6112 ax_boost_user_system_lib
=""
6115 ax_boost_user_system_lib
="$withval"
6124 if test "x$want_boost" = "xyes"; then
6127 CPPFLAGS_SAVED
="$CPPFLAGS"
6128 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
6131 LDFLAGS_SAVED
="$LDFLAGS"
6132 LDFLAGS
="$LDFLAGS $BOOST_LDFLAGS"
6135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the Boost::System library is available" >&5
6136 printf %s
"checking whether the Boost::System library is available... " >&6; }
6137 if test ${ax_cv_boost_system+y}
6139 printf %s
"(cached) " >&6
6142 ac_cpp
='$CXXCPP $CPPFLAGS'
6143 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6144 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6145 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6147 CXXFLAGS_SAVE
=$CXXFLAGS
6150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6151 /* end confdefs.h. */
6152 #include <boost/system/error_code.hpp>
6156 boost::system::error_category *a = 0;
6161 if ac_fn_cxx_try_compile
"$LINENO"
6163 ax_cv_boost_system
=yes
6165 ax_cv_boost_system
=no
6167 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6168 CXXFLAGS
=$CXXFLAGS_SAVE
6170 ac_cpp
='$CXXCPP $CPPFLAGS'
6171 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6172 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6173 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_system" >&5
6178 printf "%s\n" "$ax_cv_boost_system" >&6; }
6179 if test "x$ax_cv_boost_system" = "xyes"; then
6183 printf "%s\n" "#define HAVE_BOOST_SYSTEM /**/" >>confdefs.h
6185 BOOSTLIBDIR
=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
6187 LDFLAGS_SAVE
=$LDFLAGS
6188 if test "x$ax_boost_user_system_lib" = "x"; then
6189 for libextension
in `ls -r $BOOSTLIBDIR/libboost_system* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do
6190 ax_lib
=${libextension}
6191 as_ac_Lib
=`printf "%s\n" "ac_cv_lib_$ax_lib""_exit" | $as_tr_sh`
6192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
6193 printf %s
"checking for exit in -l$ax_lib... " >&6; }
6194 if eval test \
${$as_ac_Lib+y}
6196 printf %s
"(cached) " >&6
6198 ac_check_lib_save_LIBS
=$LIBS
6199 LIBS
="-l$ax_lib $LIBS"
6200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6201 /* end confdefs.h. */
6203 namespace conftest {
6204 extern "C" int exit ();
6209 return conftest::exit ();
6214 if ac_fn_cxx_try_link
"$LINENO"
6216 eval "$as_ac_Lib=yes"
6218 eval "$as_ac_Lib=no"
6220 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6221 conftest
$ac_exeext conftest.
$ac_ext
6222 LIBS
=$ac_check_lib_save_LIBS
6224 eval ac_res
=\$
$as_ac_Lib
6225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6226 printf "%s\n" "$ac_res" >&6; }
6227 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"
6229 BOOST_SYSTEM_LIB
="-l$ax_lib"; link_system
="yes"; break
6235 if test "x$link_system" != "xyes"; then
6236 for libextension
in `ls -r $BOOSTLIBDIR/boost_system* 2>/dev/null | sed 's,.*/,,' | sed -e 's,\..*,,'` ; do
6237 ax_lib
=${libextension}
6238 as_ac_Lib
=`printf "%s\n" "ac_cv_lib_$ax_lib""_exit" | $as_tr_sh`
6239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
6240 printf %s
"checking for exit in -l$ax_lib... " >&6; }
6241 if eval test \
${$as_ac_Lib+y}
6243 printf %s
"(cached) " >&6
6245 ac_check_lib_save_LIBS
=$LIBS
6246 LIBS
="-l$ax_lib $LIBS"
6247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6250 namespace conftest {
6251 extern "C" int exit ();
6256 return conftest::exit ();
6261 if ac_fn_cxx_try_link
"$LINENO"
6263 eval "$as_ac_Lib=yes"
6265 eval "$as_ac_Lib=no"
6267 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6268 conftest
$ac_exeext conftest.
$ac_ext
6269 LIBS
=$ac_check_lib_save_LIBS
6271 eval ac_res
=\$
$as_ac_Lib
6272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6273 printf "%s\n" "$ac_res" >&6; }
6274 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"
6276 BOOST_SYSTEM_LIB
="-l$ax_lib"; link_system
="yes"; break
6285 for ax_lib
in $ax_boost_user_system_lib boost_system-
$ax_boost_user_system_lib; do
6286 as_ac_Lib
=`printf "%s\n" "ac_cv_lib_$ax_lib""_exit" | $as_tr_sh`
6287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
6288 printf %s
"checking for exit in -l$ax_lib... " >&6; }
6289 if eval test \
${$as_ac_Lib+y}
6291 printf %s
"(cached) " >&6
6293 ac_check_lib_save_LIBS
=$LIBS
6294 LIBS
="-l$ax_lib $LIBS"
6295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6296 /* end confdefs.h. */
6298 namespace conftest {
6299 extern "C" int exit ();
6304 return conftest::exit ();
6309 if ac_fn_cxx_try_link
"$LINENO"
6311 eval "$as_ac_Lib=yes"
6313 eval "$as_ac_Lib=no"
6315 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
6316 conftest
$ac_exeext conftest.
$ac_ext
6317 LIBS
=$ac_check_lib_save_LIBS
6319 eval ac_res
=\$
$as_ac_Lib
6320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6321 printf "%s\n" "$ac_res" >&6; }
6322 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"
6324 BOOST_SYSTEM_LIB
="-l$ax_lib"; link_system
="yes"; break
6332 if test "x$ax_lib" = "x"; then
6333 as_fn_error $?
"Could not find a version of the Boost::System library!" "$LINENO" 5
6335 if test "x$link_system" = "xno"; then
6336 as_fn_error $?
"Could not link against $ax_lib !" "$LINENO" 5
6340 CPPFLAGS
="$CPPFLAGS_SAVED"
6341 LDFLAGS
="$LDFLAGS_SAVED"
6344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Boost.System LIB: \"$BOOST_SYSTEM_LIB\"" >&5
6345 printf "%s\n" "$as_me: Boost.System LIB: \"$BOOST_SYSTEM_LIB\"" >&6;}
6346 LIBS
="$BOOST_SYSTEM_LIB $LIBS"
6350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libtorrent" >&5
6351 printf %s
"checking for libtorrent... " >&6; }
6353 if test -n "$libtorrent_CFLAGS"; then
6354 pkg_cv_libtorrent_CFLAGS
="$libtorrent_CFLAGS"
6355 elif test -n "$PKG_CONFIG"; then
6356 if test -n "$PKG_CONFIG" && \
6357 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtorrent-rasterbar >= 1.2.12\""; } >&5
6358 ($PKG_CONFIG --exists --print-errors "libtorrent-rasterbar >= 1.2.12") 2>&5
6360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6361 test $ac_status = 0; }; then
6362 pkg_cv_libtorrent_CFLAGS
=`$PKG_CONFIG --cflags "libtorrent-rasterbar >= 1.2.12" 2>/dev/null`
6363 test "x$?" != "x0" && pkg_failed
=yes
6370 if test -n "$libtorrent_LIBS"; then
6371 pkg_cv_libtorrent_LIBS
="$libtorrent_LIBS"
6372 elif test -n "$PKG_CONFIG"; then
6373 if test -n "$PKG_CONFIG" && \
6374 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtorrent-rasterbar >= 1.2.12\""; } >&5
6375 ($PKG_CONFIG --exists --print-errors "libtorrent-rasterbar >= 1.2.12") 2>&5
6377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6378 test $ac_status = 0; }; then
6379 pkg_cv_libtorrent_LIBS
=`$PKG_CONFIG --libs "libtorrent-rasterbar >= 1.2.12" 2>/dev/null`
6380 test "x$?" != "x0" && pkg_failed
=yes
6390 if test $pkg_failed = yes; then
6391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6392 printf "%s\n" "no" >&6; }
6394 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6395 _pkg_short_errors_supported
=yes
6397 _pkg_short_errors_supported
=no
6399 if test $_pkg_short_errors_supported = yes; then
6400 libtorrent_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtorrent-rasterbar >= 1.2.12" 2>&1`
6402 libtorrent_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "libtorrent-rasterbar >= 1.2.12" 2>&1`
6404 # Put the nasty error message in config.log where it belongs
6405 echo "$libtorrent_PKG_ERRORS" >&5
6407 as_fn_error $?
"Package requirements (libtorrent-rasterbar >= 1.2.12) were not met:
6409 $libtorrent_PKG_ERRORS
6411 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6412 installed software in a non-standard prefix.
6414 Alternatively, you may set the environment variables libtorrent_CFLAGS
6415 and libtorrent_LIBS to avoid the need to call pkg-config.
6416 See the pkg-config man page for more details." "$LINENO" 5
6417 elif test $pkg_failed = untried
; then
6418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6419 printf "%s\n" "no" >&6; }
6420 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6421 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6422 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
6423 is in your PATH or set the PKG_CONFIG environment variable to the full
6426 Alternatively, you may set the environment variables libtorrent_CFLAGS
6427 and libtorrent_LIBS to avoid the need to call pkg-config.
6428 See the pkg-config man page for more details.
6430 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6431 See \`config.log' for more details" "$LINENO" 5; }
6433 libtorrent_CFLAGS
=$pkg_cv_libtorrent_CFLAGS
6434 libtorrent_LIBS
=$pkg_cv_libtorrent_LIBS
6435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6436 printf "%s\n" "yes" >&6; }
6437 CXXFLAGS
="$libtorrent_CFLAGS $CXXFLAGS"
6438 LIBS
="$libtorrent_LIBS $LIBS"
6443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for openssl" >&5
6444 printf %s
"checking for openssl... " >&6; }
6446 if test -n "$openssl_CFLAGS"; then
6447 pkg_cv_openssl_CFLAGS
="$openssl_CFLAGS"
6448 elif test -n "$PKG_CONFIG"; then
6449 if test -n "$PKG_CONFIG" && \
6450 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5
6451 ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.1") 2>&5
6453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6454 test $ac_status = 0; }; then
6455 pkg_cv_openssl_CFLAGS
=`$PKG_CONFIG --cflags "openssl >= 1.1.1" 2>/dev/null`
6456 test "x$?" != "x0" && pkg_failed
=yes
6463 if test -n "$openssl_LIBS"; then
6464 pkg_cv_openssl_LIBS
="$openssl_LIBS"
6465 elif test -n "$PKG_CONFIG"; then
6466 if test -n "$PKG_CONFIG" && \
6467 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 1.1.1\""; } >&5
6468 ($PKG_CONFIG --exists --print-errors "openssl >= 1.1.1") 2>&5
6470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6471 test $ac_status = 0; }; then
6472 pkg_cv_openssl_LIBS
=`$PKG_CONFIG --libs "openssl >= 1.1.1" 2>/dev/null`
6473 test "x$?" != "x0" && pkg_failed
=yes
6483 if test $pkg_failed = yes; then
6484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 printf "%s\n" "no" >&6; }
6487 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6488 _pkg_short_errors_supported
=yes
6490 _pkg_short_errors_supported
=no
6492 if test $_pkg_short_errors_supported = yes; then
6493 openssl_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 1.1.1" 2>&1`
6495 openssl_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 1.1.1" 2>&1`
6497 # Put the nasty error message in config.log where it belongs
6498 echo "$openssl_PKG_ERRORS" >&5
6500 as_fn_error $?
"Package requirements (openssl >= 1.1.1) were not met:
6504 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6505 installed software in a non-standard prefix.
6507 Alternatively, you may set the environment variables openssl_CFLAGS
6508 and openssl_LIBS to avoid the need to call pkg-config.
6509 See the pkg-config man page for more details." "$LINENO" 5
6510 elif test $pkg_failed = untried
; then
6511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512 printf "%s\n" "no" >&6; }
6513 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6514 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6515 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
6516 is in your PATH or set the PKG_CONFIG environment variable to the full
6519 Alternatively, you may set the environment variables openssl_CFLAGS
6520 and openssl_LIBS to avoid the need to call pkg-config.
6521 See the pkg-config man page for more details.
6523 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6524 See \`config.log' for more details" "$LINENO" 5; }
6526 openssl_CFLAGS
=$pkg_cv_openssl_CFLAGS
6527 openssl_LIBS
=$pkg_cv_openssl_LIBS
6528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6529 printf "%s\n" "yes" >&6; }
6530 CXXFLAGS
="$openssl_CFLAGS $CXXFLAGS"
6531 LIBS
="$openssl_LIBS $LIBS"
6536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
6537 printf %s
"checking for zlib... " >&6; }
6539 if test -n "$zlib_CFLAGS"; then
6540 pkg_cv_zlib_CFLAGS
="$zlib_CFLAGS"
6541 elif test -n "$PKG_CONFIG"; then
6542 if test -n "$PKG_CONFIG" && \
6543 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.11\""; } >&5
6544 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.11") 2>&5
6546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6547 test $ac_status = 0; }; then
6548 pkg_cv_zlib_CFLAGS
=`$PKG_CONFIG --cflags "zlib >= 1.2.11" 2>/dev/null`
6549 test "x$?" != "x0" && pkg_failed
=yes
6556 if test -n "$zlib_LIBS"; then
6557 pkg_cv_zlib_LIBS
="$zlib_LIBS"
6558 elif test -n "$PKG_CONFIG"; then
6559 if test -n "$PKG_CONFIG" && \
6560 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.11\""; } >&5
6561 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.11") 2>&5
6563 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6564 test $ac_status = 0; }; then
6565 pkg_cv_zlib_LIBS
=`$PKG_CONFIG --libs "zlib >= 1.2.11" 2>/dev/null`
6566 test "x$?" != "x0" && pkg_failed
=yes
6576 if test $pkg_failed = yes; then
6577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6578 printf "%s\n" "no" >&6; }
6580 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6581 _pkg_short_errors_supported
=yes
6583 _pkg_short_errors_supported
=no
6585 if test $_pkg_short_errors_supported = yes; then
6586 zlib_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.2.11" 2>&1`
6588 zlib_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.2.11" 2>&1`
6590 # Put the nasty error message in config.log where it belongs
6591 echo "$zlib_PKG_ERRORS" >&5
6593 as_fn_error $?
"Package requirements (zlib >= 1.2.11) were not met:
6597 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6598 installed software in a non-standard prefix.
6600 Alternatively, you may set the environment variables zlib_CFLAGS
6601 and zlib_LIBS to avoid the need to call pkg-config.
6602 See the pkg-config man page for more details." "$LINENO" 5
6603 elif test $pkg_failed = untried
; then
6604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6605 printf "%s\n" "no" >&6; }
6606 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6607 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6608 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
6609 is in your PATH or set the PKG_CONFIG environment variable to the full
6612 Alternatively, you may set the environment variables zlib_CFLAGS
6613 and zlib_LIBS to avoid the need to call pkg-config.
6614 See the pkg-config man page for more details.
6616 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6617 See \`config.log' for more details" "$LINENO" 5; }
6619 zlib_CFLAGS
=$pkg_cv_zlib_CFLAGS
6620 zlib_LIBS
=$pkg_cv_zlib_LIBS
6621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6622 printf "%s\n" "yes" >&6; }
6623 CXXFLAGS
="$zlib_CFLAGS $CXXFLAGS"
6624 LIBS
="$zlib_LIBS $LIBS"
6627 # Check if already in >= C++17 mode because of the flags returned by one of the above packages
6628 TMP_CXXFLAGS
="$CXXFLAGS"
6630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler defaults to C++17 or later mode" >&5
6631 printf %s
"checking if compiler defaults to C++17 or later mode... " >&6; }
6632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6633 /* end confdefs.h. */
6636 #error "This is not a C++ compiler"
6637 #elif __cplusplus < 201703L
6638 #error "This is not a C++17 compiler"
6649 if ac_fn_cxx_try_compile
"$LINENO"
6651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6652 printf "%s\n" "yes" >&6; }
6653 QBT_CXX17_FOUND
="yes"
6655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6656 printf "%s\n" "no" >&6; }
6657 QBT_CXX17_FOUND
="no"
6659 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6661 # In case of no, check if the compiler can support at least C++17
6662 # and if yes, enable it leaving a warning to the user
6663 if test "x$QBT_CXX17_FOUND" = "xno"
6665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler supports C++17" >&5
6666 printf %s
"checking if compiler supports C++17... " >&6; }
6667 CXXFLAGS
="-std=c++17"
6668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6669 /* end confdefs.h. */
6672 #error "This is not a C++ compiler"
6673 #elif __cplusplus < 201703L
6674 #error "This is not a C++17 compiler"
6685 if ac_fn_cxx_try_compile
"$LINENO"
6687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6688 printf "%s\n" "yes" >&6; }
6689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C++17 is disabled by the set compiler flags" >&5
6690 printf %s
"checking if C++17 is disabled by the set compiler flags... " >&6; }
6691 # prepend the flag so it won't override conflicting user defined flags
6692 CXXFLAGS
="-std=c++17 $TMP_CXXFLAGS"
6693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6694 /* end confdefs.h. */
6697 #error "This is not a C++ compiler"
6698 #elif __cplusplus < 201703L
6699 #error "This is not a C++17 compiler"
6710 if ac_fn_cxx_try_compile
"$LINENO"
6712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6713 printf "%s\n" "no" >&6; }
6714 QBT_ADD_CONFIG
="$QBT_ADD_CONFIG c++17"
6715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: C++17 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
6716 printf "%s\n" "$as_me: WARNING: C++17 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;}
6718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6719 printf "%s\n" "yes" >&6; }
6720 as_fn_error $?
"The compiler supports C++17 but the user or a dependency has explicitly enabled a lower mode." "$LINENO" 5
6722 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6725 printf "%s\n" "no" >&6; }
6726 as_fn_error $?
"A compiler supporting C++17 is required." "$LINENO" 5
6728 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6731 CXXFLAGS
="$TMP_CXXFLAGS"
6733 # These are required because autoconf doesn't expand these **particular**
6734 # vars automatically. And qmake cannot autoexpand them.
6738 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
6739 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
6740 eval ax_define_dir
="\"$prefix\""
6741 eval ax_define_dir
="\"$ax_define_dir\""
6742 EXPAND_PREFIX
="$ax_define_dir"
6744 printf "%s\n" "#define EXPAND_PREFIX \"$ax_define_dir\"" >>confdefs.h
6746 test "$prefix_NONE" && prefix
=NONE
6747 test "$exec_prefix_NONE" && exec_prefix
=NONE
6752 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
6753 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
6754 eval ax_define_dir
="\"$bindir\""
6755 eval ax_define_dir
="\"$ax_define_dir\""
6756 EXPAND_BINDIR
="$ax_define_dir"
6758 printf "%s\n" "#define EXPAND_BINDIR \"$ax_define_dir\"" >>confdefs.h
6760 test "$prefix_NONE" && prefix
=NONE
6761 test "$exec_prefix_NONE" && exec_prefix
=NONE
6766 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
6767 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
6768 eval ax_define_dir
="\"$datadir\""
6769 eval ax_define_dir
="\"$ax_define_dir\""
6770 EXPAND_DATADIR
="$ax_define_dir"
6772 printf "%s\n" "#define EXPAND_DATADIR \"$ax_define_dir\"" >>confdefs.h
6774 test "$prefix_NONE" && prefix
=NONE
6775 test "$exec_prefix_NONE" && exec_prefix
=NONE
6780 test "x$prefix" = xNONE
&& prefix_NONE
=yes && prefix
=$ac_default_prefix
6781 test "x$exec_prefix" = xNONE
&& exec_prefix_NONE
=yes && exec_prefix
=$prefix
6782 eval ax_define_dir
="\"$mandir\""
6783 eval ax_define_dir
="\"$ax_define_dir\""
6784 EXPAND_MANDIR
="$ax_define_dir"
6786 printf "%s\n" "#define EXPAND_MANDIR \"$ax_define_dir\"" >>confdefs.h
6788 test "$prefix_NONE" && prefix
=NONE
6789 test "$exec_prefix_NONE" && exec_prefix
=NONE
6792 # Original extract() function contributed by pmzqla
6793 # $*: Strings to parse
6794 # Set $QBT_CONF_DEFINES, $QBT_CONF_INCLUDES, $QBT_CONF_EXTRA_CFLAGS
6796 if [ -z "$*" ]; then
6797 echo "Input string required"
6801 # BSD sed needs an actual newline character in the substitute command
6804 # Convert " -" to "\n" if not between quotes and remove possible leading white spaces
6805 string
=$
(echo " $*" |
$SED -e "s: -:\\${new_line}:g" -e 's:"\(.*\)\n\(.*\)":\"\1 -\2":g' -e "s:'\(.*\)\n\(.*\)':\'\1 -\2':g" -e 's/^[[:space:]]*//')
6807 IFS
=$
(printf "\n\b")
6808 for i
in $string; do
6809 case "$(echo "$i" | cut -c1)" in
6811 D
) QBT_CONF_DEFINES
="$QBT_CONF_DEFINES $(echo $i | cut -c2-)";;
6812 I
) QBT_CONF_INCLUDES
="$QBT_CONF_INCLUDES $(echo $i | cut -c2-)";;
6813 *) QBT_CONF_EXTRA_CFLAGS
="$QBT_CONF_EXTRA_CFLAGS -$i";;
6819 extract
"$CFLAGS $CXXFLAGS"
6820 QBT_ADD_DEFINES
="$QBT_ADD_DEFINES $QBT_CONF_DEFINES"
6822 # Substitute the values of these vars in conf.pri.in
6832 QBT_CONFIG_FILES
="conf.pri"
6834 if test "x$enable_systemd" = "xyes"
6836 QBT_CONFIG_FILES
="$QBT_CONFIG_FILES dist/unix/systemd/qbittorrent-nox@.service"
6839 ac_config_files
="$ac_config_files "$QBT_CONFIG_FILES""
6841 cat >confcache
<<\_ACEOF
6842 # This file is a shell script that caches the results of configure
6843 # tests run on this system so they can be shared between configure
6844 # scripts and configure runs, see configure's option --config-cache.
6845 # It is not useful on other systems. If it contains results you don't
6846 # want to keep, you may remove or edit it.
6848 # config.status only pays attention to the cache file if you give it
6849 # the --recheck option to rerun configure.
6851 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6852 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6857 # The following way of writing the cache mishandles newlines in values,
6858 # but we know of no workaround that is simple, portable, and efficient.
6859 # So, we kill variables containing newlines.
6860 # Ultrix sh set writes to stderr and can't be redirected directly,
6861 # and sets the high bit in the cache file unless we assign to the vars.
6863 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6864 eval ac_val
=\$
$ac_var
6868 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6869 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6872 _ | IFS | as_nl
) ;; #(
6873 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6874 *) { eval $ac_var=; unset $ac_var;} ;;
6880 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6881 *${as_nl}ac_space
=\
*)
6882 # `set' does not quote correctly, so add quotes: double-quote
6883 # substitution turns \\\\ into \\, and sed turns \\ into \.
6886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6889 # `set' quotes correctly as required by POSIX, so do not add quotes.
6890 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6899 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
6901 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6903 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6904 if test -w "$cache_file"; then
6905 if test "x$cache_file" != "x/dev/null"; then
6906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6907 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
6908 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6909 cat confcache
>"$cache_file"
6911 case $cache_file in #(
6913 mv -f confcache
"$cache_file"$$
&&
6914 mv -f "$cache_file"$$
"$cache_file" ;; #(
6916 mv -f confcache
"$cache_file" ;;
6921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6922 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
6927 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6928 # Let make expand exec_prefix.
6929 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6931 # Transform confdefs.h into DEFS.
6932 # Protect against shell expansion while executing Makefile rules.
6933 # Protect against Makefile macro expansion.
6935 # If the first sed substitution is executed (which looks for macros that
6936 # take arguments), then branch to the quote section. Otherwise,
6937 # look for a macro that doesn't take arguments.
6947 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6949 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6953 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6966 DEFS
=`sed -n "$ac_script" confdefs.h`
6972 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6973 # 1. Remove the extension, and $U if already installed.
6974 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6975 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
6976 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6977 # will be set to the directory where LIBOBJS objects are built.
6978 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6979 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6983 LTLIBOBJS
=$ac_ltlibobjs
6986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6987 printf %s
"checking that generated files are newer than configure... " >&6; }
6988 if test -n "$am_sleep_pid"; then
6989 # Hide warnings about reused PIDs.
6990 wait $am_sleep_pid 2>/dev
/null
6992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
6993 printf "%s\n" "done" >&6; }
6994 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6995 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6998 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6999 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
7000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7002 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7003 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
7004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7006 if test -n "$EXEEXT"; then
7008 am__EXEEXT_FALSE
='#'
7015 : "${CONFIG_STATUS=./config.status}"
7017 ac_clean_files_save
=$ac_clean_files
7018 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7020 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
7022 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7024 # Generated by $as_me.
7025 # Run this file to recreate the current configuration.
7026 # Compiler output produced by configure, useful for debugging
7027 # configure, is in config.log if it exists.
7033 SHELL=\${CONFIG_SHELL-$SHELL}
7036 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7037 ## -------------------- ##
7038 ## M4sh Initialization. ##
7039 ## -------------------- ##
7041 # Be more Bourne compatible
7042 DUALCASE
=1; export DUALCASE
# for MKS sh
7044 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
7048 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7049 # is contrary to our usage. Disable this feature.
7050 alias -g '${1+"$@"}'='"$@"'
7051 setopt NO_GLOB_SUBST
7053 case `(set -o) 2>/dev/null` in #(
7063 # Reset variables that may have inherited troublesome values from
7066 # IFS needs to be set, to space, tab, and newline, in precisely that order.
7067 # (If _AS_PATH_WALK were called with IFS unset, it would have the
7068 # side effect of setting IFS to empty, thus disabling word splitting.)
7069 # Quoting is to prevent editors from complaining about space-tab.
7079 # Ensure predictable behavior from utilities with locale-dependent output.
7085 # We cannot yet rely on "unset" to work, but we need these variables
7086 # to be unset--not just set to an empty or harmless value--now, to
7087 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
7088 # also avoids known problems related to "unset" and subshell syntax
7089 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
7090 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
7091 do eval test \
${$as_var+y} \
7092 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7095 # Ensure that fds 0, 1, and 2 are open.
7096 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
7097 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
7098 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
7100 # The user is always right.
7101 if ${PATH_SEPARATOR+false} :; then
7103 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
7104 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
7110 # Find who we are. Look in the path if we contain no directory separator.
7113 *[\\/]* ) as_myself
=$0 ;;
7114 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7118 case $as_dir in #(((
7121 *) as_dir
=$as_dir/ ;;
7123 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
7129 # We did not find ourselves, most probably we were run as `sh COMMAND'
7130 # in which case we are not to be found in the path.
7131 if test "x$as_myself" = x
; then
7134 if test ! -f "$as_myself"; then
7135 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7141 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7142 # ----------------------------------------
7143 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7144 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7145 # script with STATUS, using 1 if that was 0.
7148 as_status
=$1; test $as_status -eq 0 && as_status
=1
7150 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7151 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7153 printf "%s\n" "$as_me: error: $2" >&2
7154 as_fn_exit
$as_status
7159 # as_fn_set_status STATUS
7160 # -----------------------
7161 # Set $? to STATUS, without forking.
7165 } # as_fn_set_status
7169 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7179 # Portably unset VAR.
7182 { eval $1=; unset $1;}
7184 as_unset
=as_fn_unset
7186 # as_fn_append VAR VALUE
7187 # ----------------------
7188 # Append the text in VALUE to the end of the definition contained in VAR. Take
7189 # advantage of any shell optimizations that allow amortized linear growth over
7190 # repeated appends, instead of the typical quadratic growth present in naive
7192 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
7194 eval 'as_fn_append ()
7205 # as_fn_arith ARG...
7206 # ------------------
7207 # Perform arithmetic evaluation on the ARGs, and store the result in the
7208 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7209 # must be portable across $(()) and expr.
7210 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
7212 eval 'as_fn_arith ()
7219 as_val
=`expr "$@" || test $? -eq 1`
7224 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7225 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7231 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7232 as_basename
=basename
7237 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7243 as_me
=`$as_basename -- "$0" ||
7244 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7245 X"$0" : 'X\(//\)$' \| \
7246 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7247 printf "%s\n" X/"$0" |
7248 sed '/^.*\/\([^/][^/]*\)\/*$/{
7262 # Avoid depending upon Character Ranges.
7263 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7264 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7265 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7266 as_cr_digits
='0123456789'
7267 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7270 # Determine whether it's possible to make 'echo' print without a newline.
7271 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
7272 # for compatibility with existing Makefiles.
7273 ECHO_C
= ECHO_N
= ECHO_T
=
7274 case `echo -n x` in #(((((
7276 case `echo 'xy\c'` in
7277 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7279 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7286 # For backward compatibility with old third-party macros, we provide
7287 # the shell variables $as_echo and $as_echo_n. New code should use
7288 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
7289 as_echo
='printf %s\n'
7290 as_echo_n
='printf %s'
7292 rm -f conf$$ conf$$.exe conf$$.
file
7293 if test -d conf$$.dir
; then
7294 rm -f conf$$.dir
/conf$$.
file
7297 mkdir conf$$.dir
2>/dev
/null
7299 if (echo >conf$$.
file) 2>/dev
/null
; then
7300 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7302 # ... but there are two gotchas:
7303 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7304 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7305 # In both cases, we have to default to `cp -pR'.
7306 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7308 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7316 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7317 rmdir conf$$.dir
2>/dev
/null
7322 # Create "$as_dir" as a directory, including parents if necessary.
7327 -*) as_dir
=.
/$as_dir;;
7329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7333 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7334 *) as_qdir
=$as_dir;;
7336 as_dirs
="'$as_qdir' $as_dirs"
7337 as_dir
=`$as_dirname -- "$as_dir" ||
7338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7339 X"$as_dir" : 'X\(//\)[^/]' \| \
7340 X"$as_dir" : 'X\(//\)$' \| \
7341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7342 printf "%s\n" X"$as_dir" |
7343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7360 test -d "$as_dir" && break
7362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7367 if mkdir
-p .
2>/dev
/null
; then
7368 as_mkdir_p
='mkdir -p "$as_dir"'
7370 test -d .
/-p && rmdir .
/-p
7375 # as_fn_executable_p FILE
7376 # -----------------------
7377 # Test if FILE is an executable regular file.
7378 as_fn_executable_p
()
7380 test -f "$1" && test -x "$1"
7381 } # as_fn_executable_p
7383 as_executable_p
=as_fn_executable_p
7385 # Sed expression to map a string onto a valid CPP name.
7386 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7388 # Sed expression to map a string onto a valid variable name.
7389 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7393 ## ----------------------------------- ##
7394 ## Main body of $CONFIG_STATUS script. ##
7395 ## ----------------------------------- ##
7397 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7400 # Save the log message, to keep $0 and so on meaningful, and to
7401 # report actual input values of CONFIG_FILES etc. instead of their
7402 # values after options handling.
7404 This file was extended by qbittorrent $as_me v4.4.0alpha, which was
7405 generated by GNU Autoconf 2.70. Invocation command line was
7407 CONFIG_FILES = $CONFIG_FILES
7408 CONFIG_HEADERS = $CONFIG_HEADERS
7409 CONFIG_LINKS = $CONFIG_LINKS
7410 CONFIG_COMMANDS = $CONFIG_COMMANDS
7413 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7418 case $ac_config_files in *"
7419 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7425 # Files that config.status was made for.
7426 config_files="$ac_config_files"
7427 config_commands="$ac_config_commands"
7431 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7433 \`$as_me' instantiates files and other configuration actions
7434 from templates according to the current configuration. Unless the files
7435 and actions are specified as TAGs, all are instantiated by default.
7437 Usage: $0 [OPTION]... [TAG]...
7439 -h, --help print this help, then exit
7440 -V, --version print version number and configuration settings, then exit
7441 --config print configuration, then exit
7442 -q, --quiet, --silent
7443 do not print progress messages
7444 -d, --debug don't remove temporary files
7445 --recheck update $as_me by reconfiguring in the same conditions
7446 --file=FILE[:TEMPLATE]
7447 instantiate the configuration file FILE
7449 Configuration files:
7452 Configuration commands:
7455 Report bugs to <bugs.qbittorrent.org>.
7456 qbittorrent home page: <https://www.qbittorrent.org/>."
7459 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
7460 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
7461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7462 ac_cs_config='$ac_cs_config_escaped'
7464 qbittorrent config.status v4.4.0alpha
7465 configured by $0, generated by GNU Autoconf 2.70,
7466 with options \\"\$ac_cs_config\\"
7468 Copyright (C) 2020 Free Software Foundation, Inc.
7469 This config.status script is free software; the Free Software Foundation
7470 gives unlimited permission to copy, distribute and modify it."
7477 test -n "\$AWK" || AWK=awk
7480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7481 # The default lists apply if the user does not specify any file.
7487 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7488 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7492 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7504 # Handling of the options.
7505 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7507 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7508 printf "%s\n" "$ac_cs_version"; exit ;;
7509 --config |
--confi |
--conf |
--con |
--co |
--c )
7510 printf "%s\n" "$ac_cs_config"; exit ;;
7511 --debug |
--debu |
--deb |
--de |
--d |
-d )
7513 --file |
--fil |
--fi |
--f )
7516 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7517 '') as_fn_error $?
"missing file argument" ;;
7519 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7520 ac_need_defaults
=false
;;
7521 --he |
--h |
--help |
--hel |
-h )
7522 printf "%s\n" "$ac_cs_usage"; exit ;;
7523 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7524 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7528 -*) as_fn_error $?
"unrecognized option: \`$1'
7529 Try \`$0 --help' for more information." ;;
7531 *) as_fn_append ac_config_targets
" $1"
7532 ac_need_defaults
=false
;;
7538 ac_configure_extra_args
=
7540 if $ac_cs_silent; then
7542 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7547 if \$ac_cs_recheck; then
7548 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7550 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
7551 CONFIG_SHELL='$SHELL'
7557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7561 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7562 ## Running $as_me. ##
7564 printf "%s\n" "$ac_log"
7568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7572 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
7576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7578 # Handling of arguments.
7579 for ac_config_target
in $ac_config_targets
7581 case $ac_config_target in
7582 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7583 ""$QBT_CONFIG_FILES"") CONFIG_FILES
="$CONFIG_FILES "$QBT_CONFIG_FILES"" ;;
7585 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7590 # If the user did not use the arguments to specify the items to instantiate,
7591 # then the envvar interface is used. Set only those that are not.
7592 # We use the long form for the default assignment because of an extremely
7593 # bizarre bug on SunOS 4.1.3.
7594 if $ac_need_defaults; then
7595 test ${CONFIG_FILES+y} || CONFIG_FILES
=$config_files
7596 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
7599 # Have a temporary directory for convenience. Make it in the build tree
7600 # simply because there is no reason against having it here, and in addition,
7601 # creating and moving files from /tmp can sometimes cause problems.
7602 # Hook for its removal unless debugging.
7603 # Note that there is a small window in which the directory will not be cleaned:
7604 # after its creation but before its name has been assigned to `$tmp'.
7608 trap 'exit_status=$?
7610 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7612 trap 'as_fn_exit 1' 1 2 13 15
7614 # Create a (secure) tmp directory for tmp files.
7617 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7621 tmp
=.
/conf$$
-$RANDOM
7622 (umask 077 && mkdir
"$tmp")
7623 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7626 # Set up the scripts for CONFIG_FILES section.
7627 # No need to generate them if there are no CONFIG_FILES.
7628 # This happens for instance with `./config.status config.h'.
7629 if test -n "$CONFIG_FILES"; then
7632 ac_cr
=`echo X | tr X '\015'`
7633 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7634 # But we know of no other shell where ac_cr would be empty at this
7635 # point, so we can use a bashism as a fallback.
7636 if test "x$ac_cr" = x
; then
7637 eval ac_cr
=\$
\'\\r
\'
7639 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7640 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7646 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7651 echo "cat >conf$$subs.awk <<_ACEOF" &&
7652 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7655 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7656 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7658 for ac_last_try in false false false false false :; do
7659 . ./conf$$subs.sh ||
7660 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7662 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7663 if test $ac_delim_n = $ac_delim_num; then
7665 elif $ac_last_try; then
7666 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7668 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7674 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7678 s/^/S["/; s
/!.
*/"]=/
7688 s/\(.\{148\}\)..*/\1/
7690 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7695 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7702 s/\(.\{148\}\)..*/\1/
7704 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7708 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7713 ' <conf$$subs.awk | sed '
7718 ' >>$CONFIG_STATUS || ac_write_fail=1
7719 rm -f conf$$subs.awk
7720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7722 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7723 for (key in S) S_is_set[key] = 1
7729 nfields = split(line, field, "@
")
7731 len = length(field[1])
7732 for (i = 2; i < nfields; i++) {
7734 keylen = length(key)
7735 if (S_is_set[key]) {
7737 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7738 len += length(value) + length(field[++i])
7749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7750 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7751 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7754 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7755 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7758 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7759 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7760 # trailing colons and then remove the whole line if VPATH becomes empty
7761 # (actually we leave an empty line to preserve line numbers).
7762 if test "x
$srcdir" = x.; then
7763 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7782 fi # test -n "$CONFIG_FILES"
7785 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
7790 :[FHLC]) ac_mode=$ac_tag; continue;;
7792 case $ac_mode$ac_tag in
7794 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
7795 :[FH]-) ac_tag=-:-;;
7796 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7813 -) ac_f="$ac_tmp/stdin";;
7814 *) # Look for the file first in the build tree, then in the source tree
7815 # (if the path is not absolute). The absolute path cannot be DOS-style,
7816 # because $ac_f cannot contain `:'.
7820 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7822 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7824 case $ac_f in *\'*) ac_f=`printf "%s
\n" "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
7825 as_fn_append ac_file_inputs " '$ac_f'"
7828 # Let's still pretend it is `configure' which instantiates (i.e., don't
7829 # use $as_me), people would be surprised to read:
7830 # /* config.h. Generated by config.status. */
7831 configure_input='Generated from '`
7832 printf "%s
\n" "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7834 if test x"$ac_file" != x-; then
7835 configure_input="$ac_file.
$configure_input"
7836 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
7837 printf "%s
\n" "$as_me: creating
$ac_file" >&6;}
7839 # Neutralize special characters interpreted by sed in replacement strings.
7840 case $configure_input in #(
7841 *\&* | *\|* | *\\* )
7842 ac_sed_conf_input=`printf "%s
\n" "$configure_input" |
7843 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7844 *) ac_sed_conf_input=$configure_input;;
7848 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
7849 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
7854 ac_dir=`$as_dirname -- "$ac_file" ||
7855 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7856 X"$ac_file" : 'X\(//\)[^/]' \| \
7857 X"$ac_file" : 'X\(//\)$' \| \
7858 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7859 printf "%s
\n" X"$ac_file" |
7860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7877 as_dir="$ac_dir"; as_fn_mkdir_p
7881 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7883 ac_dir_suffix=/`printf "%s
\n" "$ac_dir" | sed 's|^\.[\\/]||'`
7884 # A "..
" for each directory in $ac_dir_suffix.
7885 ac_top_builddir_sub=`printf "%s
\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7886 case $ac_top_builddir_sub in
7887 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7888 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7891 ac_abs_top_builddir=$ac_pwd
7892 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7893 # for backward compatibility:
7894 ac_top_builddir=$ac_top_build_prefix
7897 .) # We are building in place.
7899 ac_top_srcdir=$ac_top_builddir_sub
7900 ac_abs_top_srcdir=$ac_pwd ;;
7901 [\\/]* | ?:[\\/]* ) # Absolute name.
7902 ac_srcdir=$srcdir$ac_dir_suffix;
7903 ac_top_srcdir=$srcdir
7904 ac_abs_top_srcdir=$srcdir ;;
7906 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7907 ac_top_srcdir=$ac_top_build_prefix$srcdir
7908 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7910 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7920 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7921 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7925 [\\/$]* | ?:[\\/]* ) ;;
7926 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7931 # If the template does not know about datarootdir, expand it.
7932 # FIXME: This hack should be removed a few years after 2.60.
7933 ac_datarootdir_hack=; ac_datarootdir_seen=
7944 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
7945 *datarootdir*) ac_datarootdir_seen=yes;;
7946 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7947 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
7948 printf "%s
\n" "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
7950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7951 ac_datarootdir_hack='
7952 s&@datadir@&$datadir&g
7953 s&@docdir@&$docdir&g
7954 s&@infodir@&$infodir&g
7955 s&@localedir@&$localedir&g
7956 s&@mandir@&$mandir&g
7957 s&\\\${datarootdir}&$datarootdir&g' ;;
7961 # Neutralize VPATH when `$srcdir' = `.'.
7962 # Shell code in configure.ac might set extrasub.
7963 # FIXME: do we really want to maintain this feature?
7964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7965 ac_sed_extra="$ac_vpsub
7968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7970 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7971 s|@configure_input@|
$ac_sed_conf_input|
;t t
7972 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7973 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7974 s
&@srcdir@
&$ac_srcdir&;t t
7975 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7976 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7977 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7978 s
&@builddir@
&$ac_builddir&;t t
7979 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7980 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7981 s
&@INSTALL@
&$ac_INSTALL&;t t
7982 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
7983 $ac_datarootdir_hack
7985 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7986 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7988 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7989 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7990 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7991 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7992 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7993 which seems to be undefined. Please make sure it is defined" >&5
7994 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7995 which seems to be undefined. Please make sure it is defined" >&2;}
7997 rm -f "$ac_tmp/stdin"
7999 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8000 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8002 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8006 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8007 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
8012 case $ac_file$ac_mode in
8013 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8014 # Older Autoconf quotes --file arguments for eval, but not when files
8015 # are listed without --file. Let's play safe and only
enable the
eval
8016 # if we detect the quoting.
8017 # TODO: see whether this extra hack can be removed once we start
8018 # requiring Autoconf 2.70 or later.
8019 case $CONFIG_FILES in #(
8021 eval set x
"$CONFIG_FILES" ;; #(
8023 set x
$CONFIG_FILES ;; #(
8028 # Used to flag and report bootstrapping failures.
8032 # Strip MF so we end up with the name of the file.
8033 am_mf
=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
8034 # Check whether this is an Automake generated Makefile which includes
8035 # dependency-tracking related rules and includes.
8036 # Grep'ing the whole file directly is not great: AIX grep has a line
8037 # limit of 2048, but all sed's we know have understand at least 4000.
8038 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" |
grep X
>/dev
/null
2>&1 \
8040 am_dirpart
=`$as_dirname -- "$am_mf" ||
8041 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8042 X"$am_mf" : 'X\(//\)[^/]' \| \
8043 X"$am_mf" : 'X\(//\)$' \| \
8044 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
8045 printf "%s\n" X"$am_mf" |
8046 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8063 am_filepart
=`$as_basename -- "$am_mf" ||
8064 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
8065 X"$am_mf" : 'X\(//\)$' \| \
8066 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
8067 printf "%s\n" X/"$am_mf" |
8068 sed '/^.*\/\([^/][^/]*\)\/*$/{
8081 { echo "$as_me:$LINENO: cd "$am_dirpart" \
8082 && sed -e '/# am--include-marker/d' "$am_filepart" \
8083 | $MAKE -f - am--depfiles" >&5
8085 && sed -e '/# am--include-marker/d' "$am_filepart" \
8086 |
$MAKE -f - am--depfiles
) >&5 2>&5
8088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8089 (exit $ac_status); } || am_rc
=$?
8091 if test $am_rc -ne 0; then
8092 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8093 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
8094 as_fn_error $?
"Something went wrong bootstrapping makefile fragments
8095 for automatic dependency tracking. If GNU make was not used, consider
8096 re-running the configure script with MAKE=\"gmake\" (or whatever is
8097 necessary). You can also try re-running configure with the
8098 '--disable-dependency-tracking' option to at least be able to build
8099 the package (albeit without support for automatic dependency tracking).
8100 See \`config.log' for more details" "$LINENO" 5; }
8102 { am_dirpart
=; unset am_dirpart
;}
8103 { am_filepart
=; unset am_filepart
;}
8104 { am_mf
=; unset am_mf
;}
8105 { am_rc
=; unset am_rc
;}
8106 rm -f conftest-deps.mk
8116 ac_clean_files
=$ac_clean_files_save
8118 test $ac_write_fail = 0 ||
8119 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8122 # configure is writing to config.log, and then calls config.status.
8123 # config.status does its own redirection, appending to config.log.
8124 # Unfortunately, on DOS this fails, as config.log is still kept open
8125 # by configure, so config.status won't be able to write to it; its
8126 # output is simply discarded. So we exec the FD to /dev/null,
8127 # effectively closing config.log, so it can be properly (re)opened and
8128 # appended to by config.status. When coming back to configure, we
8129 # need to make the FD available again.
8130 if test "$no_create" != yes; then
8132 ac_config_status_args
=
8133 test "$silent" = yes &&
8134 ac_config_status_args
="$ac_config_status_args --quiet"
8136 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8138 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8139 # would make configure fail if this is the last instruction.
8140 $ac_cs_success || as_fn_exit
1
8142 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8144 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Running qmake to generate the makefile..." >&5
8149 printf "%s\n" "$as_me: Running qmake to generate the makefile..." >&6;}
8150 TOPDIR
="$(cd "$
(dirname "$0")" && pwd)"
8151 $QT_QMAKE -r "$TOPDIR/qbittorrent.pro" "QMAKE_LRELEASE=$QMAKE_LRELEASE"
8155 if test "x$qmake_ret" != "x0"
8157 as_fn_error $?
"$QT_QMAKE failed to generate the makefile" "$LINENO" 5
8160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Good, the configure finished." >&5
8161 printf "%s\n" "$as_me: Good, the configure finished." >&6;}