axel-2.17.13/0000755000175000017500000000000014560423122006356 5axel-2.17.13/build-aux/0000755000175000017500000000000014560423122010250 5axel-2.17.13/build-aux/compile0000755000175000017500000001635014560423122011553 #! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2018-03-07.03; # UTC # Copyright (C) 1999-2021 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' # We need space, tab and new line, in precisely that order. Quoting is # there to prevent tools from complaining about whitespace usage. IFS=" "" $nl" file_conv= # func_file_conv build_file lazy # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. If the determined conversion # type is listed in (the comma separated) LAZY, no conversion will # take place. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN* | MSYS*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv/,$2, in *,$file_conv,*) ;; mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin/* | msys/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_cl_dashL linkdir # Make cl look for libraries in LINKDIR func_cl_dashL () { func_file_conv "$1" if test -z "$lib_path"; then lib_path=$file else lib_path="$lib_path;$file" fi linker_opts="$linker_opts -LIBPATH:$file" } # func_cl_dashl library # Do a library search-path lookup for cl func_cl_dashl () { lib=$1 found=no save_IFS=$IFS IFS=';' for dir in $lib_path $LIB do IFS=$save_IFS if $shared && test -f "$dir/$lib.dll.lib"; then found=yes lib=$dir/$lib.dll.lib break fi if test -f "$dir/$lib.lib"; then found=yes lib=$dir/$lib.lib break fi if test -f "$dir/lib$lib.a"; then found=yes lib=$dir/lib$lib.a break fi done IFS=$save_IFS if test "$found" != yes; then lib=$lib.lib fi } # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () { # Assume a capable shell lib_path= shared=: linker_opts= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in *.o | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift ;; *) func_file_conv "$2" set x "$@" -Fe"$file" shift ;; esac ;; -I) eat=1 func_file_conv "$2" mingw set x "$@" -I"$file" shift ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; -l) eat=1 func_cl_dashl "$2" set x "$@" "$lib" shift ;; -l*) func_cl_dashl "${1#-l}" set x "$@" "$lib" shift ;; -L) eat=1 func_cl_dashL "$2" ;; -L*) func_cl_dashL "${1#-L}" ;; -static) shared=false ;; -Wl,*) arg=${1#-Wl,} save_ifs="$IFS"; IFS=',' for flag in $arg; do IFS="$save_ifs" linker_opts="$linker_opts $flag" done IFS="$save_ifs" ;; -Xlinker) eat=1 linker_opts="$linker_opts $2" ;; -*) set x "$@" "$1" shift ;; *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) func_file_conv "$1" set x "$@" -Tp"$file" shift ;; *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) func_file_conv "$1" mingw set x "$@" "$file" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -n "$linker_opts"; then linker_opts="-link$linker_opts" fi exec "$@" $linker_opts exit 1 } eat= case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand '-c -o'. Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac ofile= cfile= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then test "$cofile" = "$ofile" || mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: axel-2.17.13/build-aux/config.guess0000755000175000017500000014030414560423122012512 #! /bin/sh # Attempt to guess a canonical system name. # Copyright 1992-2021 Free Software Foundation, Inc. # shellcheck disable=SC2006,SC2268 # see below for rationale timestamp='2021-06-03' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: # https://git.savannah.gnu.org/cgit/config.git/plain/config.guess # # Please send patches to . # The "shellcheck disable" line above the timestamp inhibits complaints # about features and limitations of the classic Bourne shell that were # superseded or lifted in POSIX. However, this script identifies a wide # variety of pre-POSIX systems that do not have POSIX shells at all, and # even some reasonably current systems (Solaris 10 as case-in-point) still # have a pre-POSIX /bin/sh. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Options: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright 1992-2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi # Just in case it came from the environment. GUESS= # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. tmp= # shellcheck disable=SC2172 trap 'test -z "$tmp" || rm -fr "$tmp"' 0 1 2 13 15 set_cc_for_build() { # prevent multiple calls if $tmp is already set test "$tmp" && return 0 : "${TMPDIR=/tmp}" # shellcheck disable=SC2039,SC3028 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } dummy=$tmp/dummy case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in ,,) echo "int x;" > "$dummy.c" for driver in cc gcc c89 c99 ; do if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then CC_FOR_BUILD=$driver break fi done if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac } # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if test -f /.attbin/uname ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case $UNAME_SYSTEM in Linux|GNU|GNU/*) LIBC=unknown set_cc_for_build cat <<-EOF > "$dummy.c" #include #if defined(__UCLIBC__) LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc #elif defined(__GLIBC__) LIBC=gnu #else #include /* First heuristic to detect musl libc. */ #ifdef __DEFINED_va_list LIBC=musl #endif #endif EOF cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` eval "$cc_set_libc" # Second heuristic to detect musl libc. if [ "$LIBC" = unknown ] && command -v ldd >/dev/null && ldd --version 2>&1 | grep -q ^musl; then LIBC=musl fi # If the system lacks a compiler, then just pick glibc. # We could probably try harder. if [ "$LIBC" = unknown ]; then LIBC=gnu fi ;; esac # Note: order is significant - the case branches are not exclusive. case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ /sbin/sysctl -n hw.machine_arch 2>/dev/null || \ /usr/sbin/sysctl -n hw.machine_arch 2>/dev/null || \ echo unknown)` case $UNAME_MACHINE_ARCH in aarch64eb) machine=aarch64_be-unknown ;; armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; earmv*) arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'` endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'` machine=${arch}${endian}-unknown ;; *) machine=$UNAME_MACHINE_ARCH-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently (or will in the future) and ABI. case $UNAME_MACHINE_ARCH in earm*) os=netbsdelf ;; arm*|i386|m68k|ns32k|sh3*|sparc|vax) set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # Determine ABI tags. case $UNAME_MACHINE_ARCH in earm*) expr='s/^earmv[0-9]/-eabi/;s/eb$//' abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case $UNAME_VERSION in Debian*) release='-gnu' ;; *) release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. GUESS=$machine-${os}${release}${abi-} ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` GUESS=$UNAME_MACHINE_ARCH-unknown-bitrig$UNAME_RELEASE ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` GUESS=$UNAME_MACHINE_ARCH-unknown-openbsd$UNAME_RELEASE ;; *:SecBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/SecBSD.//'` GUESS=$UNAME_MACHINE_ARCH-unknown-secbsd$UNAME_RELEASE ;; *:LibertyBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` GUESS=$UNAME_MACHINE_ARCH-unknown-libertybsd$UNAME_RELEASE ;; *:MidnightBSD:*:*) GUESS=$UNAME_MACHINE-unknown-midnightbsd$UNAME_RELEASE ;; *:ekkoBSD:*:*) GUESS=$UNAME_MACHINE-unknown-ekkobsd$UNAME_RELEASE ;; *:SolidBSD:*:*) GUESS=$UNAME_MACHINE-unknown-solidbsd$UNAME_RELEASE ;; *:OS108:*:*) GUESS=$UNAME_MACHINE-unknown-os108_$UNAME_RELEASE ;; macppc:MirBSD:*:*) GUESS=powerpc-unknown-mirbsd$UNAME_RELEASE ;; *:MirBSD:*:*) GUESS=$UNAME_MACHINE-unknown-mirbsd$UNAME_RELEASE ;; *:Sortix:*:*) GUESS=$UNAME_MACHINE-unknown-sortix ;; *:Twizzler:*:*) GUESS=$UNAME_MACHINE-unknown-twizzler ;; *:Redox:*:*) GUESS=$UNAME_MACHINE-unknown-redox ;; mips:OSF1:*.*) GUESS=mips-dec-osf1 ;; alpha:OSF1:*:*) # Reset EXIT trap before exiting to avoid spurious non-zero exit code. trap '' 0 case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case $ALPHA_CPU_TYPE in "EV4 (21064)") UNAME_MACHINE=alpha ;; "EV4.5 (21064)") UNAME_MACHINE=alpha ;; "LCA4 (21066/21068)") UNAME_MACHINE=alpha ;; "EV5 (21164)") UNAME_MACHINE=alphaev5 ;; "EV5.6 (21164A)") UNAME_MACHINE=alphaev56 ;; "EV5.6 (21164PC)") UNAME_MACHINE=alphapca56 ;; "EV5.7 (21164PC)") UNAME_MACHINE=alphapca57 ;; "EV6 (21264)") UNAME_MACHINE=alphaev6 ;; "EV6.7 (21264A)") UNAME_MACHINE=alphaev67 ;; "EV6.8CB (21264C)") UNAME_MACHINE=alphaev68 ;; "EV6.8AL (21264B)") UNAME_MACHINE=alphaev68 ;; "EV6.8CX (21264D)") UNAME_MACHINE=alphaev68 ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE=alphaev69 ;; "EV7 (21364)") UNAME_MACHINE=alphaev7 ;; "EV7.9 (21364A)") UNAME_MACHINE=alphaev79 ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. OSF_REL=`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` GUESS=$UNAME_MACHINE-dec-osf$OSF_REL ;; Amiga*:UNIX_System_V:4.0:*) GUESS=m68k-unknown-sysv4 ;; *:[Aa]miga[Oo][Ss]:*:*) GUESS=$UNAME_MACHINE-unknown-amigaos ;; *:[Mm]orph[Oo][Ss]:*:*) GUESS=$UNAME_MACHINE-unknown-morphos ;; *:OS/390:*:*) GUESS=i370-ibm-openedition ;; *:z/VM:*:*) GUESS=s390-ibm-zvmoe ;; *:OS400:*:*) GUESS=powerpc-ibm-os400 ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) GUESS=arm-acorn-riscix$UNAME_RELEASE ;; arm*:riscos:*:*|arm*:RISCOS:*:*) GUESS=arm-unknown-riscos ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) GUESS=hppa1.1-hitachi-hiuxmpp ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. case `(/bin/universe) 2>/dev/null` in att) GUESS=pyramid-pyramid-sysv3 ;; *) GUESS=pyramid-pyramid-bsd ;; esac ;; NILE*:*:*:dcosx) GUESS=pyramid-pyramid-svr4 ;; DRS?6000:unix:4.0:6*) GUESS=sparc-icl-nx6 ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) GUESS=sparc-icl-nx7 ;; esac ;; s390x:SunOS:*:*) SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` GUESS=$UNAME_MACHINE-ibm-solaris2$SUN_REL ;; sun4H:SunOS:5.*:*) SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` GUESS=sparc-hal-solaris2$SUN_REL ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` GUESS=sparc-sun-solaris2$SUN_REL ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) GUESS=i386-pc-auroraux$UNAME_RELEASE ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) set_cc_for_build SUN_ARCH=i386 # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if test "$CC_FOR_BUILD" != no_compiler_found; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH=x86_64 fi fi SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` GUESS=$SUN_ARCH-pc-solaris2$SUN_REL ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` GUESS=sparc-sun-solaris3$SUN_REL ;; sun4*:SunOS:*:*) case `/usr/bin/arch -k` in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'` GUESS=sparc-sun-sunos$SUN_REL ;; sun3*:SunOS:*:*) GUESS=m68k-sun-sunos$UNAME_RELEASE ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3 case `/bin/arch` in sun3) GUESS=m68k-sun-sunos$UNAME_RELEASE ;; sun4) GUESS=sparc-sun-sunos$UNAME_RELEASE ;; esac ;; aushp:SunOS:*:*) GUESS=sparc-auspex-sunos$UNAME_RELEASE ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) GUESS=m68k-atari-mint$UNAME_RELEASE ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) GUESS=m68k-atari-mint$UNAME_RELEASE ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) GUESS=m68k-atari-mint$UNAME_RELEASE ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) GUESS=m68k-milan-mint$UNAME_RELEASE ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) GUESS=m68k-hades-mint$UNAME_RELEASE ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) GUESS=m68k-unknown-mint$UNAME_RELEASE ;; m68k:machten:*:*) GUESS=m68k-apple-machten$UNAME_RELEASE ;; powerpc:machten:*:*) GUESS=powerpc-apple-machten$UNAME_RELEASE ;; RISC*:Mach:*:*) GUESS=mips-dec-mach_bsd4.3 ;; RISC*:ULTRIX:*:*) GUESS=mips-dec-ultrix$UNAME_RELEASE ;; VAX*:ULTRIX*:*:*) GUESS=vax-dec-ultrix$UNAME_RELEASE ;; 2020:CLIX:*:* | 2430:CLIX:*:*) GUESS=clipper-intergraph-clix$UNAME_RELEASE ;; mips:*:*:UMIPS | mips:*:*:RISCos) set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o "$dummy" "$dummy.c" && dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`"$dummy" "$dummyarg"` && { echo "$SYSTEM_NAME"; exit; } GUESS=mips-mips-riscos$UNAME_RELEASE ;; Motorola:PowerMAX_OS:*:*) GUESS=powerpc-motorola-powermax ;; Motorola:*:4.3:PL8-*) GUESS=powerpc-harris-powermax ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) GUESS=powerpc-harris-powermax ;; Night_Hawk:Power_UNIX:*:*) GUESS=powerpc-harris-powerunix ;; m88k:CX/UX:7*:*) GUESS=m88k-harris-cxux7 ;; m88k:*:4*:R4*) GUESS=m88k-motorola-sysv4 ;; m88k:*:3*:R3*) GUESS=m88k-motorola-sysv3 ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if test "$UNAME_PROCESSOR" = mc88100 || test "$UNAME_PROCESSOR" = mc88110 then if test "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx || \ test "$TARGET_BINARY_INTERFACE"x = x then GUESS=m88k-dg-dgux$UNAME_RELEASE else GUESS=m88k-dg-dguxbcs$UNAME_RELEASE fi else GUESS=i586-dg-dgux$UNAME_RELEASE fi ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) GUESS=m88k-dolphin-sysv3 ;; M88*:*:R3*:*) # Delta 88k system running SVR3 GUESS=m88k-motorola-sysv3 ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) GUESS=m88k-tektronix-sysv3 ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) GUESS=m68k-tektronix-bsd ;; *:IRIX*:*:*) IRIX_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/g'` GUESS=mips-sgi-irix$IRIX_REL ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. GUESS=romp-ibm-aix # uname -m gives an 8 hex-code CPU id ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) GUESS=i386-ibm-aix ;; ia64:AIX:*:*) if test -x /usr/bin/oslevel ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=$UNAME_VERSION.$UNAME_RELEASE fi GUESS=$UNAME_MACHINE-ibm-aix$IBM_REV ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` then GUESS=$SYSTEM_NAME else GUESS=rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then GUESS=rs6000-ibm-aix3.2.4 else GUESS=rs6000-ibm-aix3.2 fi ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if test -x /usr/bin/lslpp ; then IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | \ awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` else IBM_REV=$UNAME_VERSION.$UNAME_RELEASE fi GUESS=$IBM_ARCH-ibm-aix$IBM_REV ;; *:AIX:*:*) GUESS=rs6000-ibm-aix ;; ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) GUESS=romp-ibm-bsd4.4 ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and GUESS=romp-ibm-bsd$UNAME_RELEASE # 4.3 with uname added to ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) GUESS=rs6000-bull-bosx ;; DPX/2?00:B.O.S.:*:*) GUESS=m68k-bull-sysv3 ;; 9000/[34]??:4.3bsd:1.*:*) GUESS=m68k-hp-bsd ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) GUESS=m68k-hp-bsd4.4 ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'` case $UNAME_MACHINE in 9000/31?) HP_ARCH=m68000 ;; 9000/[34]??) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if test -x /usr/bin/getconf; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case $sc_cpu_version in 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case $sc_kernel_bits in 32) HP_ARCH=hppa2.0n ;; 64) HP_ARCH=hppa2.0w ;; '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 esac ;; esac fi if test "$HP_ARCH" = ""; then set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if test "$HP_ARCH" = hppa2.0w then set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH=hppa2.0w else HP_ARCH=hppa64 fi fi GUESS=$HP_ARCH-hp-hpux$HPUX_REV ;; ia64:HP-UX:*:*) HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'` GUESS=ia64-hp-hpux$HPUX_REV ;; 3050*:HI-UX:*:*) set_cc_for_build sed 's/^ //' << EOF > "$dummy.c" #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && { echo "$SYSTEM_NAME"; exit; } GUESS=unknown-hitachi-hiuxwe2 ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) GUESS=hppa1.1-hp-bsd ;; 9000/8??:4.3bsd:*:*) GUESS=hppa1.0-hp-bsd ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) GUESS=hppa1.0-hp-mpeix ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) GUESS=hppa1.1-hp-osf ;; hp8??:OSF1:*:*) GUESS=hppa1.0-hp-osf ;; i*86:OSF1:*:*) if test -x /usr/sbin/sysversion ; then GUESS=$UNAME_MACHINE-unknown-osf1mk else GUESS=$UNAME_MACHINE-unknown-osf1 fi ;; parisc*:Lites*:*:*) GUESS=hppa1.1-hp-lites ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) GUESS=c1-convex-bsd ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) GUESS=c34-convex-bsd ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) GUESS=c38-convex-bsd ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) GUESS=c4-convex-bsd ;; CRAY*Y-MP:*:*:*) CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` GUESS=ymp-cray-unicos$CRAY_REL ;; CRAY*[A-Z]90:*:*:*) echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` GUESS=t90-cray-unicos$CRAY_REL ;; CRAY*T3E:*:*:*) CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` GUESS=alphaev5-cray-unicosmk$CRAY_REL ;; CRAY*SV1:*:*:*) CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` GUESS=sv1-cray-unicos$CRAY_REL ;; *:UNICOS/mp:*:*) CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'` GUESS=craynv-cray-unicosmp$CRAY_REL ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'` GUESS=${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL} ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` GUESS=sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL} ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) GUESS=$UNAME_MACHINE-pc-bsdi$UNAME_RELEASE ;; sparc*:BSD/OS:*:*) GUESS=sparc-unknown-bsdi$UNAME_RELEASE ;; *:BSD/OS:*:*) GUESS=$UNAME_MACHINE-unknown-bsdi$UNAME_RELEASE ;; arm:FreeBSD:*:*) UNAME_PROCESSOR=`uname -p` set_cc_for_build if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL-gnueabi else FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL-gnueabihf fi ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` case $UNAME_PROCESSOR in amd64) UNAME_PROCESSOR=x86_64 ;; i386) UNAME_PROCESSOR=i586 ;; esac FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` GUESS=$UNAME_PROCESSOR-unknown-freebsd$FREEBSD_REL ;; i*:CYGWIN*:*) GUESS=$UNAME_MACHINE-pc-cygwin ;; *:MINGW64*:*) GUESS=$UNAME_MACHINE-pc-mingw64 ;; *:MINGW*:*) GUESS=$UNAME_MACHINE-pc-mingw32 ;; *:MSYS*:*) GUESS=$UNAME_MACHINE-pc-msys ;; i*:PW*:*) GUESS=$UNAME_MACHINE-pc-pw32 ;; *:Interix*:*) case $UNAME_MACHINE in x86) GUESS=i586-pc-interix$UNAME_RELEASE ;; authenticamd | genuineintel | EM64T) GUESS=x86_64-unknown-interix$UNAME_RELEASE ;; IA64) GUESS=ia64-unknown-interix$UNAME_RELEASE ;; esac ;; i*:UWIN*:*) GUESS=$UNAME_MACHINE-pc-uwin ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) GUESS=x86_64-pc-cygwin ;; prep*:SunOS:5.*:*) SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'` GUESS=powerpcle-unknown-solaris2$SUN_REL ;; *:GNU:*:*) # the GNU system GNU_ARCH=`echo "$UNAME_MACHINE" | sed -e 's,[-/].*$,,'` GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's,/.*$,,'` GUESS=$GNU_ARCH-unknown-$LIBC$GNU_REL ;; *:GNU/*:*:*) # other systems with GNU libc and userland GNU_SYS=`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"` GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC ;; *:Minix:*:*) GUESS=$UNAME_MACHINE-unknown-minix ;; aarch64:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; arc:Linux:*:* | arceb:Linux:*:* | arc32:Linux:*:* | arc64:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; arm*:Linux:*:*) set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then GUESS=$UNAME_MACHINE-unknown-linux-$LIBC else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabi else GUESS=$UNAME_MACHINE-unknown-linux-${LIBC}eabihf fi fi ;; avr32*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; cris:Linux:*:*) GUESS=$UNAME_MACHINE-axis-linux-$LIBC ;; crisv32:Linux:*:*) GUESS=$UNAME_MACHINE-axis-linux-$LIBC ;; e2k:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; frv:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; hexagon:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; i*86:Linux:*:*) GUESS=$UNAME_MACHINE-pc-linux-$LIBC ;; ia64:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; k1om:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; loongarch32:Linux:*:* | loongarch64:Linux:*:* | loongarchx32:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; m32r*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; m68*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; mips:Linux:*:* | mips64:Linux:*:*) set_cc_for_build IS_GLIBC=0 test x"${LIBC}" = xgnu && IS_GLIBC=1 sed 's/^ //' << EOF > "$dummy.c" #undef CPU #undef mips #undef mipsel #undef mips64 #undef mips64el #if ${IS_GLIBC} && defined(_ABI64) LIBCABI=gnuabi64 #else #if ${IS_GLIBC} && defined(_ABIN32) LIBCABI=gnuabin32 #else LIBCABI=${LIBC} #endif #endif #if ${IS_GLIBC} && defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6 CPU=mipsisa64r6 #else #if ${IS_GLIBC} && !defined(__mips64) && defined(__mips_isa_rev) && __mips_isa_rev>=6 CPU=mipsisa32r6 #else #if defined(__mips64) CPU=mips64 #else CPU=mips #endif #endif #endif #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) MIPS_ENDIAN=el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) MIPS_ENDIAN= #else MIPS_ENDIAN= #endif #endif EOF cc_set_vars=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU\|^MIPS_ENDIAN\|^LIBCABI'` eval "$cc_set_vars" test "x$CPU" != x && { echo "$CPU${MIPS_ENDIAN}-unknown-linux-$LIBCABI"; exit; } ;; mips64el:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; openrisc*:Linux:*:*) GUESS=or1k-unknown-linux-$LIBC ;; or32:Linux:*:* | or1k*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; padre:Linux:*:*) GUESS=sparc-unknown-linux-$LIBC ;; parisc64:Linux:*:* | hppa64:Linux:*:*) GUESS=hppa64-unknown-linux-$LIBC ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) GUESS=hppa1.1-unknown-linux-$LIBC ;; PA8*) GUESS=hppa2.0-unknown-linux-$LIBC ;; *) GUESS=hppa-unknown-linux-$LIBC ;; esac ;; ppc64:Linux:*:*) GUESS=powerpc64-unknown-linux-$LIBC ;; ppc:Linux:*:*) GUESS=powerpc-unknown-linux-$LIBC ;; ppc64le:Linux:*:*) GUESS=powerpc64le-unknown-linux-$LIBC ;; ppcle:Linux:*:*) GUESS=powerpcle-unknown-linux-$LIBC ;; riscv32:Linux:*:* | riscv32be:Linux:*:* | riscv64:Linux:*:* | riscv64be:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; s390:Linux:*:* | s390x:Linux:*:*) GUESS=$UNAME_MACHINE-ibm-linux-$LIBC ;; sh64*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; sh*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; sparc:Linux:*:* | sparc64:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; tile*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; vax:Linux:*:*) GUESS=$UNAME_MACHINE-dec-linux-$LIBC ;; x86_64:Linux:*:*) set_cc_for_build LIBCABI=$LIBC if test "$CC_FOR_BUILD" != no_compiler_found; then if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_X32 >/dev/null then LIBCABI=${LIBC}x32 fi fi GUESS=$UNAME_MACHINE-pc-linux-$LIBCABI ;; xtensa*:Linux:*:*) GUESS=$UNAME_MACHINE-unknown-linux-$LIBC ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. GUESS=i386-sequent-sysv4 ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. GUESS=$UNAME_MACHINE-pc-os2-emx ;; i*86:XTS-300:*:STOP) GUESS=$UNAME_MACHINE-unknown-stop ;; i*86:atheos:*:*) GUESS=$UNAME_MACHINE-unknown-atheos ;; i*86:syllable:*:*) GUESS=$UNAME_MACHINE-pc-syllable ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) GUESS=i386-unknown-lynxos$UNAME_RELEASE ;; i*86:*DOS:*:*) GUESS=$UNAME_MACHINE-pc-msdosdjgpp ;; i*86:*:4.*:*) UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then GUESS=$UNAME_MACHINE-univel-sysv$UNAME_REL else GUESS=$UNAME_MACHINE-pc-sysv$UNAME_REL fi ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac GUESS=$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 GUESS=$UNAME_MACHINE-pc-sco$UNAME_REL else GUESS=$UNAME_MACHINE-pc-sysv32 fi ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configure will decide that # this is a cross-build. GUESS=i586-pc-msdosdjgpp ;; Intel:Mach:3*:*) GUESS=i386-pc-mach3 ;; paragon:*:*:*) GUESS=i860-intel-osf1 ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then GUESS=i860-stardent-sysv$UNAME_RELEASE # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. GUESS=i860-unknown-sysv$UNAME_RELEASE # Unknown i860-SVR4 fi ;; mini*:CTIX:SYS*5:*) # "miniframe" GUESS=m68010-convergent-sysv ;; mc68k:UNIX:SYSTEM5:3.51m) GUESS=m68k-convergent-sysv ;; M680?0:D-NIX:5.3:*) GUESS=m68k-diab-dnix ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) GUESS=m68k-unknown-lynxos$UNAME_RELEASE ;; mc68030:UNIX_System_V:4.*:*) GUESS=m68k-atari-sysv4 ;; TSUNAMI:LynxOS:2.*:*) GUESS=sparc-unknown-lynxos$UNAME_RELEASE ;; rs6000:LynxOS:2.*:*) GUESS=rs6000-unknown-lynxos$UNAME_RELEASE ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) GUESS=powerpc-unknown-lynxos$UNAME_RELEASE ;; SM[BE]S:UNIX_SV:*:*) GUESS=mips-dde-sysv$UNAME_RELEASE ;; RM*:ReliantUNIX-*:*:*) GUESS=mips-sni-sysv4 ;; RM*:SINIX-*:*:*) GUESS=mips-sni-sysv4 ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` GUESS=$UNAME_MACHINE-sni-sysv4 else GUESS=ns32k-sni-sysv fi ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says GUESS=i586-unisys-sysv4 ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm GUESS=hppa1.1-stratus-sysv4 ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. GUESS=i860-stratus-sysv4 ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. GUESS=$UNAME_MACHINE-stratus-vos ;; *:VOS:*:*) # From Paul.Green@stratus.com. GUESS=hppa1.1-stratus-vos ;; mc68*:A/UX:*:*) GUESS=m68k-apple-aux$UNAME_RELEASE ;; news*:NEWS-OS:6*:*) GUESS=mips-sony-newsos6 ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if test -d /usr/nec; then GUESS=mips-nec-sysv$UNAME_RELEASE else GUESS=mips-unknown-sysv$UNAME_RELEASE fi ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. GUESS=powerpc-be-beos ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. GUESS=powerpc-apple-beos ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. GUESS=i586-pc-beos ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. GUESS=i586-pc-haiku ;; x86_64:Haiku:*:*) GUESS=x86_64-unknown-haiku ;; SX-4:SUPER-UX:*:*) GUESS=sx4-nec-superux$UNAME_RELEASE ;; SX-5:SUPER-UX:*:*) GUESS=sx5-nec-superux$UNAME_RELEASE ;; SX-6:SUPER-UX:*:*) GUESS=sx6-nec-superux$UNAME_RELEASE ;; SX-7:SUPER-UX:*:*) GUESS=sx7-nec-superux$UNAME_RELEASE ;; SX-8:SUPER-UX:*:*) GUESS=sx8-nec-superux$UNAME_RELEASE ;; SX-8R:SUPER-UX:*:*) GUESS=sx8r-nec-superux$UNAME_RELEASE ;; SX-ACE:SUPER-UX:*:*) GUESS=sxace-nec-superux$UNAME_RELEASE ;; Power*:Rhapsody:*:*) GUESS=powerpc-apple-rhapsody$UNAME_RELEASE ;; *:Rhapsody:*:*) GUESS=$UNAME_MACHINE-apple-rhapsody$UNAME_RELEASE ;; arm64:Darwin:*:*) GUESS=aarch64-apple-darwin$UNAME_RELEASE ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` case $UNAME_PROCESSOR in unknown) UNAME_PROCESSOR=powerpc ;; esac if command -v xcode-select > /dev/null 2> /dev/null && \ ! xcode-select --print-path > /dev/null 2> /dev/null ; then # Avoid executing cc if there is no toolchain installed as # cc will be a stub that puts up a graphical alert # prompting the user to install developer tools. CC_FOR_BUILD=no_compiler_found else set_cc_for_build fi if test "$CC_FOR_BUILD" != no_compiler_found; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then case $UNAME_PROCESSOR in i386) UNAME_PROCESSOR=x86_64 ;; powerpc) UNAME_PROCESSOR=powerpc64 ;; esac fi # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_PPC >/dev/null then UNAME_PROCESSOR=powerpc fi elif test "$UNAME_PROCESSOR" = i386 ; then # uname -m returns i386 or x86_64 UNAME_PROCESSOR=$UNAME_MACHINE fi GUESS=$UNAME_PROCESSOR-apple-darwin$UNAME_RELEASE ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = x86; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi GUESS=$UNAME_PROCESSOR-$UNAME_MACHINE-nto-qnx$UNAME_RELEASE ;; *:QNX:*:4*) GUESS=i386-pc-qnx ;; NEO-*:NONSTOP_KERNEL:*:*) GUESS=neo-tandem-nsk$UNAME_RELEASE ;; NSE-*:NONSTOP_KERNEL:*:*) GUESS=nse-tandem-nsk$UNAME_RELEASE ;; NSR-*:NONSTOP_KERNEL:*:*) GUESS=nsr-tandem-nsk$UNAME_RELEASE ;; NSV-*:NONSTOP_KERNEL:*:*) GUESS=nsv-tandem-nsk$UNAME_RELEASE ;; NSX-*:NONSTOP_KERNEL:*:*) GUESS=nsx-tandem-nsk$UNAME_RELEASE ;; *:NonStop-UX:*:*) GUESS=mips-compaq-nonstopux ;; BS2000:POSIX*:*:*) GUESS=bs2000-siemens-sysv ;; DS/*:UNIX_System_V:*:*) GUESS=$UNAME_MACHINE-$UNAME_SYSTEM-$UNAME_RELEASE ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "${cputype-}" = 386; then UNAME_MACHINE=i386 elif test "x${cputype-}" != x; then UNAME_MACHINE=$cputype fi GUESS=$UNAME_MACHINE-unknown-plan9 ;; *:TOPS-10:*:*) GUESS=pdp10-unknown-tops10 ;; *:TENEX:*:*) GUESS=pdp10-unknown-tenex ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) GUESS=pdp10-dec-tops20 ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) GUESS=pdp10-xkl-tops20 ;; *:TOPS-20:*:*) GUESS=pdp10-unknown-tops20 ;; *:ITS:*:*) GUESS=pdp10-unknown-its ;; SEI:*:*:SEIUX) GUESS=mips-sei-seiux$UNAME_RELEASE ;; *:DragonFly:*:*) DRAGONFLY_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'` GUESS=$UNAME_MACHINE-unknown-dragonfly$DRAGONFLY_REL ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case $UNAME_MACHINE in A*) GUESS=alpha-dec-vms ;; I*) GUESS=ia64-dec-vms ;; V*) GUESS=vax-dec-vms ;; esac ;; *:XENIX:*:SysV) GUESS=i386-pc-xenix ;; i*86:skyos:*:*) SKYOS_REL=`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'` GUESS=$UNAME_MACHINE-pc-skyos$SKYOS_REL ;; i*86:rdos:*:*) GUESS=$UNAME_MACHINE-pc-rdos ;; *:AROS:*:*) GUESS=$UNAME_MACHINE-unknown-aros ;; x86_64:VMkernel:*:*) GUESS=$UNAME_MACHINE-unknown-esx ;; amd64:Isilon\ OneFS:*:*) GUESS=x86_64-unknown-onefs ;; *:Unleashed:*:*) GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE ;; esac # Do we have a guess based on uname results? if test "x$GUESS" != x; then echo "$GUESS" exit fi # No uname command or uname output not recognized. set_cc_for_build cat > "$dummy.c" < #include #endif #if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__) #if defined (vax) || defined (__vax) || defined (__vax__) || defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__) #include #if defined(_SIZE_T_) || defined(SIGLOST) #include #endif #endif #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) #if !defined (ultrix) #include #if defined (BSD) #if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); #else #if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); #else printf ("vax-dec-bsd\n"); exit (0); #endif #endif #else printf ("vax-dec-bsd\n"); exit (0); #endif #else #if defined(_SIZE_T_) || defined(SIGLOST) struct utsname un; uname (&un); printf ("vax-dec-ultrix%s\n", un.release); exit (0); #else printf ("vax-dec-ultrix\n"); exit (0); #endif #endif #endif #if defined(ultrix) || defined(_ultrix) || defined(__ultrix) || defined(__ultrix__) #if defined(mips) || defined(__mips) || defined(__mips__) || defined(MIPS) || defined(__MIPS__) #if defined(_SIZE_T_) || defined(SIGLOST) struct utsname *un; uname (&un); printf ("mips-dec-ultrix%s\n", un.release); exit (0); #else printf ("mips-dec-ultrix\n"); exit (0); #endif #endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null && SYSTEM_NAME=`"$dummy"` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo "$ISP-apollo-$SYSTYPE"; exit; } echo "$0: unable to guess system type" >&2 case $UNAME_MACHINE:$UNAME_SYSTEM in mips:Linux | mips64:Linux) # If we got here on MIPS GNU/Linux, output extra information. cat >&2 <&2 <&2 </dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = "$UNAME_MACHINE" UNAME_RELEASE = "$UNAME_RELEASE" UNAME_SYSTEM = "$UNAME_SYSTEM" UNAME_VERSION = "$UNAME_VERSION" EOF fi exit 1 # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: axel-2.17.13/build-aux/config.sub0000755000175000017500000010434214560423122012157 #! /bin/sh # Configuration validation subroutine script. # Copyright 1992-2021 Free Software Foundation, Inc. # shellcheck disable=SC2006,SC2268 # see below for rationale timestamp='2021-07-03' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # Please send patches to . # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # https://git.savannah.gnu.org/cgit/config.git/plain/config.sub # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. # The "shellcheck disable" line above the timestamp inhibits complaints # about features and limitations of the classic Bourne shell that were # superseded or lifted in POSIX. However, this script identifies a wide # variety of pre-POSIX systems that do not have POSIX shells at all, and # even some reasonably current systems (Solaris 10 as case-in-point) still # have a pre-POSIX /bin/sh. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS Canonicalize a configuration name. Options: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright 1992-2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; *local*) # First pass through any local machine types. echo "$1" exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Split fields of configuration type # shellcheck disable=SC2162 IFS="-" read field1 field2 field3 field4 <&2 exit 1 ;; *-*-*-*) basic_machine=$field1-$field2 basic_os=$field3-$field4 ;; *-*-*) # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two # parts maybe_os=$field2-$field3 case $maybe_os in nto-qnx* | linux-* | uclinux-uclibc* \ | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \ | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \ | storm-chaos* | os2-emx* | rtmk-nova*) basic_machine=$field1 basic_os=$maybe_os ;; android-linux) basic_machine=$field1-unknown basic_os=linux-android ;; *) basic_machine=$field1-$field2 basic_os=$field3 ;; esac ;; *-*) # A lone config we happen to match not fitting any pattern case $field1-$field2 in decstation-3100) basic_machine=mips-dec basic_os= ;; *-*) # Second component is usually, but not always the OS case $field2 in # Prevent following clause from handling this valid os sun*os*) basic_machine=$field1 basic_os=$field2 ;; # Manufacturers dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \ | att* | 7300* | 3300* | delta* | motorola* | sun[234]* \ | unicom* | ibm* | next | hp | isi* | apollo | altos* \ | convergent* | ncr* | news | 32* | 3600* | 3100* \ | hitachi* | c[123]* | convex* | sun | crds | omron* | dg \ | ultra | tti* | harris | dolphin | highlevel | gould \ | cbm | ns | masscomp | apple | axis | knuth | cray \ | microblaze* | sim | cisco \ | oki | wec | wrs | winbond) basic_machine=$field1-$field2 basic_os= ;; *) basic_machine=$field1 basic_os=$field2 ;; esac ;; esac ;; *) # Convert single-component short-hands not valid as part of # multi-component configurations. case $field1 in 386bsd) basic_machine=i386-pc basic_os=bsd ;; a29khif) basic_machine=a29k-amd basic_os=udi ;; adobe68k) basic_machine=m68010-adobe basic_os=scout ;; alliant) basic_machine=fx80-alliant basic_os= ;; altos | altos3068) basic_machine=m68k-altos basic_os= ;; am29k) basic_machine=a29k-none basic_os=bsd ;; amdahl) basic_machine=580-amdahl basic_os=sysv ;; amiga) basic_machine=m68k-unknown basic_os= ;; amigaos | amigados) basic_machine=m68k-unknown basic_os=amigaos ;; amigaunix | amix) basic_machine=m68k-unknown basic_os=sysv4 ;; apollo68) basic_machine=m68k-apollo basic_os=sysv ;; apollo68bsd) basic_machine=m68k-apollo basic_os=bsd ;; aros) basic_machine=i386-pc basic_os=aros ;; aux) basic_machine=m68k-apple basic_os=aux ;; balance) basic_machine=ns32k-sequent basic_os=dynix ;; blackfin) basic_machine=bfin-unknown basic_os=linux ;; cegcc) basic_machine=arm-unknown basic_os=cegcc ;; convex-c1) basic_machine=c1-convex basic_os=bsd ;; convex-c2) basic_machine=c2-convex basic_os=bsd ;; convex-c32) basic_machine=c32-convex basic_os=bsd ;; convex-c34) basic_machine=c34-convex basic_os=bsd ;; convex-c38) basic_machine=c38-convex basic_os=bsd ;; cray) basic_machine=j90-cray basic_os=unicos ;; crds | unos) basic_machine=m68k-crds basic_os= ;; da30) basic_machine=m68k-da30 basic_os= ;; decstation | pmax | pmin | dec3100 | decstatn) basic_machine=mips-dec basic_os= ;; delta88) basic_machine=m88k-motorola basic_os=sysv3 ;; dicos) basic_machine=i686-pc basic_os=dicos ;; djgpp) basic_machine=i586-pc basic_os=msdosdjgpp ;; ebmon29k) basic_machine=a29k-amd basic_os=ebmon ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson basic_os=ose ;; gmicro) basic_machine=tron-gmicro basic_os=sysv ;; go32) basic_machine=i386-pc basic_os=go32 ;; h8300hms) basic_machine=h8300-hitachi basic_os=hms ;; h8300xray) basic_machine=h8300-hitachi basic_os=xray ;; h8500hms) basic_machine=h8500-hitachi basic_os=hms ;; harris) basic_machine=m88k-harris basic_os=sysv3 ;; hp300 | hp300hpux) basic_machine=m68k-hp basic_os=hpux ;; hp300bsd) basic_machine=m68k-hp basic_os=bsd ;; hppaosf) basic_machine=hppa1.1-hp basic_os=osf ;; hppro) basic_machine=hppa1.1-hp basic_os=proelf ;; i386mach) basic_machine=i386-mach basic_os=mach ;; isi68 | isi) basic_machine=m68k-isi basic_os=sysv ;; m68knommu) basic_machine=m68k-unknown basic_os=linux ;; magnum | m3230) basic_machine=mips-mips basic_os=sysv ;; merlin) basic_machine=ns32k-utek basic_os=sysv ;; mingw64) basic_machine=x86_64-pc basic_os=mingw64 ;; mingw32) basic_machine=i686-pc basic_os=mingw32 ;; mingw32ce) basic_machine=arm-unknown basic_os=mingw32ce ;; monitor) basic_machine=m68k-rom68k basic_os=coff ;; morphos) basic_machine=powerpc-unknown basic_os=morphos ;; moxiebox) basic_machine=moxie-unknown basic_os=moxiebox ;; msdos) basic_machine=i386-pc basic_os=msdos ;; msys) basic_machine=i686-pc basic_os=msys ;; mvs) basic_machine=i370-ibm basic_os=mvs ;; nacl) basic_machine=le32-unknown basic_os=nacl ;; ncr3000) basic_machine=i486-ncr basic_os=sysv4 ;; netbsd386) basic_machine=i386-pc basic_os=netbsd ;; netwinder) basic_machine=armv4l-rebel basic_os=linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony basic_os=newsos ;; news1000) basic_machine=m68030-sony basic_os=newsos ;; necv70) basic_machine=v70-nec basic_os=sysv ;; nh3000) basic_machine=m68k-harris basic_os=cxux ;; nh[45]000) basic_machine=m88k-harris basic_os=cxux ;; nindy960) basic_machine=i960-intel basic_os=nindy ;; mon960) basic_machine=i960-intel basic_os=mon960 ;; nonstopux) basic_machine=mips-compaq basic_os=nonstopux ;; os400) basic_machine=powerpc-ibm basic_os=os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson basic_os=ose ;; os68k) basic_machine=m68k-none basic_os=os68k ;; paragon) basic_machine=i860-intel basic_os=osf ;; parisc) basic_machine=hppa-unknown basic_os=linux ;; psp) basic_machine=mipsallegrexel-sony basic_os=psp ;; pw32) basic_machine=i586-unknown basic_os=pw32 ;; rdos | rdos64) basic_machine=x86_64-pc basic_os=rdos ;; rdos32) basic_machine=i386-pc basic_os=rdos ;; rom68k) basic_machine=m68k-rom68k basic_os=coff ;; sa29200) basic_machine=a29k-amd basic_os=udi ;; sei) basic_machine=mips-sei basic_os=seiux ;; sequent) basic_machine=i386-sequent basic_os= ;; sps7) basic_machine=m68k-bull basic_os=sysv2 ;; st2000) basic_machine=m68k-tandem basic_os= ;; stratus) basic_machine=i860-stratus basic_os=sysv4 ;; sun2) basic_machine=m68000-sun basic_os= ;; sun2os3) basic_machine=m68000-sun basic_os=sunos3 ;; sun2os4) basic_machine=m68000-sun basic_os=sunos4 ;; sun3) basic_machine=m68k-sun basic_os= ;; sun3os3) basic_machine=m68k-sun basic_os=sunos3 ;; sun3os4) basic_machine=m68k-sun basic_os=sunos4 ;; sun4) basic_machine=sparc-sun basic_os= ;; sun4os3) basic_machine=sparc-sun basic_os=sunos3 ;; sun4os4) basic_machine=sparc-sun basic_os=sunos4 ;; sun4sol2) basic_machine=sparc-sun basic_os=solaris2 ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun basic_os= ;; sv1) basic_machine=sv1-cray basic_os=unicos ;; symmetry) basic_machine=i386-sequent basic_os=dynix ;; t3e) basic_machine=alphaev5-cray basic_os=unicos ;; t90) basic_machine=t90-cray basic_os=unicos ;; toad1) basic_machine=pdp10-xkl basic_os=tops20 ;; tpf) basic_machine=s390x-ibm basic_os=tpf ;; udi29k) basic_machine=a29k-amd basic_os=udi ;; ultra3) basic_machine=a29k-nyu basic_os=sym1 ;; v810 | necv810) basic_machine=v810-nec basic_os=none ;; vaxv) basic_machine=vax-dec basic_os=sysv ;; vms) basic_machine=vax-dec basic_os=vms ;; vsta) basic_machine=i386-pc basic_os=vsta ;; vxworks960) basic_machine=i960-wrs basic_os=vxworks ;; vxworks68) basic_machine=m68k-wrs basic_os=vxworks ;; vxworks29k) basic_machine=a29k-wrs basic_os=vxworks ;; xbox) basic_machine=i686-pc basic_os=mingw32 ;; ymp) basic_machine=ymp-cray basic_os=unicos ;; *) basic_machine=$1 basic_os= ;; esac ;; esac # Decode 1-component or ad-hoc basic machines case $basic_machine in # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) cpu=hppa1.1 vendor=winbond ;; op50n) cpu=hppa1.1 vendor=oki ;; op60c) cpu=hppa1.1 vendor=oki ;; ibm*) cpu=i370 vendor=ibm ;; orion105) cpu=clipper vendor=highlevel ;; mac | mpw | mac-mpw) cpu=m68k vendor=apple ;; pmac | pmac-mpw) cpu=powerpc vendor=apple ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) cpu=m68000 vendor=att ;; 3b*) cpu=we32k vendor=att ;; bluegene*) cpu=powerpc vendor=ibm basic_os=cnk ;; decsystem10* | dec10*) cpu=pdp10 vendor=dec basic_os=tops10 ;; decsystem20* | dec20*) cpu=pdp10 vendor=dec basic_os=tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) cpu=m68k vendor=motorola ;; dpx2*) cpu=m68k vendor=bull basic_os=sysv3 ;; encore | umax | mmax) cpu=ns32k vendor=encore ;; elxsi) cpu=elxsi vendor=elxsi basic_os=${basic_os:-bsd} ;; fx2800) cpu=i860 vendor=alliant ;; genix) cpu=ns32k vendor=ns ;; h3050r* | hiux*) cpu=hppa1.1 vendor=hitachi basic_os=hiuxwe2 ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) cpu=hppa1.0 vendor=hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) cpu=m68000 vendor=hp ;; hp9k3[2-9][0-9]) cpu=m68k vendor=hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) cpu=hppa1.0 vendor=hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) cpu=hppa1.1 vendor=hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp cpu=hppa1.1 vendor=hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp cpu=hppa1.1 vendor=hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) cpu=hppa1.1 vendor=hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) cpu=hppa1.0 vendor=hp ;; i*86v32) cpu=`echo "$1" | sed -e 's/86.*/86/'` vendor=pc basic_os=sysv32 ;; i*86v4*) cpu=`echo "$1" | sed -e 's/86.*/86/'` vendor=pc basic_os=sysv4 ;; i*86v) cpu=`echo "$1" | sed -e 's/86.*/86/'` vendor=pc basic_os=sysv ;; i*86sol2) cpu=`echo "$1" | sed -e 's/86.*/86/'` vendor=pc basic_os=solaris2 ;; j90 | j90-cray) cpu=j90 vendor=cray basic_os=${basic_os:-unicos} ;; iris | iris4d) cpu=mips vendor=sgi case $basic_os in irix*) ;; *) basic_os=irix4 ;; esac ;; miniframe) cpu=m68000 vendor=convergent ;; *mint | mint[0-9]* | *MiNT | *MiNT[0-9]*) cpu=m68k vendor=atari basic_os=mint ;; news-3600 | risc-news) cpu=mips vendor=sony basic_os=newsos ;; next | m*-next) cpu=m68k vendor=next case $basic_os in openstep*) ;; nextstep*) ;; ns2*) basic_os=nextstep2 ;; *) basic_os=nextstep3 ;; esac ;; np1) cpu=np1 vendor=gould ;; op50n-* | op60c-*) cpu=hppa1.1 vendor=oki basic_os=proelf ;; pa-hitachi) cpu=hppa1.1 vendor=hitachi basic_os=hiuxwe2 ;; pbd) cpu=sparc vendor=tti ;; pbb) cpu=m68k vendor=tti ;; pc532) cpu=ns32k vendor=pc532 ;; pn) cpu=pn vendor=gould ;; power) cpu=power vendor=ibm ;; ps2) cpu=i386 vendor=ibm ;; rm[46]00) cpu=mips vendor=siemens ;; rtpc | rtpc-*) cpu=romp vendor=ibm ;; sde) cpu=mipsisa32 vendor=sde basic_os=${basic_os:-elf} ;; simso-wrs) cpu=sparclite vendor=wrs basic_os=vxworks ;; tower | tower-32) cpu=m68k vendor=ncr ;; vpp*|vx|vx-*) cpu=f301 vendor=fujitsu ;; w65) cpu=w65 vendor=wdc ;; w89k-*) cpu=hppa1.1 vendor=winbond basic_os=proelf ;; none) cpu=none vendor=none ;; leon|leon[3-9]) cpu=sparc vendor=$basic_machine ;; leon-*|leon[3-9]-*) cpu=sparc vendor=`echo "$basic_machine" | sed 's/-.*//'` ;; *-*) # shellcheck disable=SC2162 IFS="-" read cpu vendor <&2 exit 1 ;; esac ;; esac # Here we canonicalize certain aliases for manufacturers. case $vendor in digital*) vendor=dec ;; commodore*) vendor=cbm ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if test x$basic_os != x then # First recognize some ad-hoc caes, or perhaps split kernel-os, or else just # set os. case $basic_os in gnu/linux*) kernel=linux os=`echo "$basic_os" | sed -e 's|gnu/linux|gnu|'` ;; os2-emx) kernel=os2 os=`echo "$basic_os" | sed -e 's|os2-emx|emx|'` ;; nto-qnx*) kernel=nto os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'` ;; *-*) # shellcheck disable=SC2162 IFS="-" read kernel os <&2 exit 1 ;; esac # As a final step for OS-related things, validate the OS-kernel combination # (given a valid OS), if there is a kernel. case $kernel-$os in linux-gnu* | linux-dietlibc* | linux-android* | linux-newlib* | linux-musl* | linux-uclibc* ) ;; uclinux-uclibc* ) ;; -dietlibc* | -newlib* | -musl* | -uclibc* ) # These are just libc implementations, not actual OSes, and thus # require a kernel. echo "Invalid configuration \`$1': libc \`$os' needs explicit kernel." 1>&2 exit 1 ;; kfreebsd*-gnu* | kopensolaris*-gnu*) ;; vxworks-simlinux | vxworks-simwindows | vxworks-spe) ;; nto-qnx*) ;; os2-emx) ;; *-eabi* | *-gnueabi*) ;; -*) # Blank kernel with real OS is always fine. ;; *-*) echo "Invalid configuration \`$1': Kernel \`$kernel' not known to work with OS \`$os'." 1>&2 exit 1 ;; esac # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. case $vendor in unknown) case $cpu-$os in *-riscix*) vendor=acorn ;; *-sunos*) vendor=sun ;; *-cnk* | *-aix*) vendor=ibm ;; *-beos*) vendor=be ;; *-hpux*) vendor=hp ;; *-mpeix*) vendor=hp ;; *-hiux*) vendor=hitachi ;; *-unos*) vendor=crds ;; *-dgux*) vendor=dg ;; *-luna*) vendor=omron ;; *-genix*) vendor=ns ;; *-clix*) vendor=intergraph ;; *-mvs* | *-opened*) vendor=ibm ;; *-os400*) vendor=ibm ;; s390-* | s390x-*) vendor=ibm ;; *-ptx*) vendor=sequent ;; *-tpf*) vendor=ibm ;; *-vxsim* | *-vxworks* | *-windiss*) vendor=wrs ;; *-aux*) vendor=apple ;; *-hms*) vendor=hitachi ;; *-mpw* | *-macos*) vendor=apple ;; *-*mint | *-mint[0-9]* | *-*MiNT | *-MiNT[0-9]*) vendor=atari ;; *-vos*) vendor=stratus ;; esac ;; esac echo "$cpu-$vendor-${kernel:+$kernel-}$os" exit # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: axel-2.17.13/build-aux/depcomp0000755000175000017500000005602014560423122011550 #! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2018-03-07.03; # UTC # Copyright (C) 1999-2021 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: axel-2.17.13/build-aux/install-sh0000755000175000017500000003577614560423122012216 #!/bin/sh # install - install a program, script, or datafile scriptversion=2020-11-14.01; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. tab=' ' nl=' ' IFS=" $tab$nl" # Set DOITPROG to "echo" to test this script. doit=${DOITPROG-} doit_exec=${doit:-exec} # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_mkdir= # Desired mode of installed file. mode=0755 # Create dirs (including intermediate dirs) using mode 755. # This is like GNU 'install' as of coreutils 8.32 (2020). mkdir_umask=22 backupsuffix= chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false is_target_a_directory=possibly usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -p pass -p to $cpprog. -s $stripprog installed files. -S SUFFIX attempt to back up existing files, with suffix SUFFIX. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG By default, rm is invoked with -f; when overridden with RMPROG, it's up to you to specify -f if you want it. If -S is not specified, no backups are attempted. Email bug reports to bug-automake@gnu.org. Automake home page: https://www.gnu.org/software/automake/ " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -p) cpprog="$cpprog -p";; -s) stripcmd=$stripprog;; -S) backupsuffix="$2" shift;; -t) is_target_a_directory=always dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) is_target_a_directory=never;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done # We allow the use of options -d and -T together, by making -d # take the precedence; this is for compatibility with GNU install. if test -n "$dir_arg"; then if test -n "$dst_arg"; then echo "$0: target directory not allowed when installing a directory." >&2 exit 1 fi fi if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then if test $# -gt 1 || test "$is_target_a_directory" = always; then if test ! -d "$dst_arg"; then echo "$0: $dst_arg: Is not a directory." >&2 exit 1 fi fi fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? # Don't chown directories that already exist. if test $dstdir_status = 0; then chowncmd="" fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename. if test -d "$dst"; then if test "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dstbase=`basename "$src"` case $dst in */) dst=$dst$dstbase;; *) dst=$dst/$dstbase;; esac dstdir_status=0 else dstdir=`dirname "$dst"` test -d "$dstdir" dstdir_status=$? fi fi case $dstdir in */) dstdirslash=$dstdir;; *) dstdirslash=$dstdir/;; esac obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false # The $RANDOM variable is not portable (e.g., dash). Use it # here however when possible just to lower collision chance. tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap ' ret=$? rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null exit $ret ' 0 # Because "mkdir -p" follows existing symlinks and we likely work # directly in world-writeable /tmp, make sure that the '$tmpdir' # directory is successfully created first before we actually test # 'mkdir -p'. if (umask $mkdir_umask && $mkdirprog $mkdir_mode "$tmpdir" && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. test_tmpdir="$tmpdir/a" ls_ld_tmpdir=`ls -ld "$test_tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null fi trap '' 0;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac oIFS=$IFS IFS=/ set -f set fnord $dstdir shift set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=${dstdirslash}_inst.$$_ rmtmp=${dstdirslash}_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && { test -z "$stripcmd" || { # Create $dsttmp read-write so that cp doesn't create it read-only, # which would cause strip to fail. if test -z "$doit"; then : >"$dsttmp" # No need to fork-exec 'touch'. else $doit touch "$dsttmp" fi } } && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # If $backupsuffix is set, and the file being installed # already exists, attempt a backup. Don't worry if it fails, # e.g., if mv doesn't support -f. if test -n "$backupsuffix" && test -f "$dst"; then $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null fi # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: axel-2.17.13/build-aux/missing0000755000175000017500000001533614560423122011577 #! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2018-03-07.03; # UTC # Copyright (C) 1996-2021 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autoheader autom4te automake makeinfo bison yacc flex lex help2man Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=https://www.perl.org/ flex_URL=https://github.com/westes/flex gnu_software_URL=https://www.gnu.org/software program_details () { case $1 in aclocal|automake) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" case $normalized_program in autoconf*) echo "You should only need it if you modified 'configure.ac'," echo "or m4 files included by it." program_details 'autoconf' ;; autoheader*) echo "You should only need it if you modified 'acconfig.h' or" echo "$configure_deps." program_details 'autoheader' ;; automake*) echo "You should only need it if you modified 'Makefile.am' or" echo "$configure_deps." program_details 'automake' ;; aclocal*) echo "You should only need it if you modified 'acinclude.m4' or" echo "$configure_deps." program_details 'aclocal' ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'autom4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # Local variables: # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: axel-2.17.13/build-aux/config.rpath0000755000175000017500000003343414560423122012507 #! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2002 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit , 1996 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # # The first argument passed to this file is the canonical host specification, # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld # should be set by the caller. # # The set of defined variables is at the end of this script. # All known linkers require a `.a' archive for static linking (except M$VC, # which needs '.lib'). libext=a shlibext= host="$1" host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` wl= if test "$GCC" = yes; then wl='-Wl,' else case "$host_os" in aix3* | aix4* | aix5*) wl='-Wl,' ;; hpux9* | hpux10* | hpux11*) wl='-Wl,' ;; irix5* | irix6*) wl='-Wl,' ;; linux*) echo '__INTEL_COMPILER' > conftest.$ac_ext if $CC -E conftest.$ac_ext >/dev/null | grep __INTEL_COMPILER >/dev/null then : else # Intel icc wl='-Qoption,ld,' fi ;; osf3* | osf4* | osf5*) wl='-Wl,' ;; solaris*) wl='-Wl,' ;; sunos4*) wl='-Qoption ld ' ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) if test "x$host_vendor" = xsni; then wl='-LD' else wl='-Wl,' fi ;; esac fi hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no case "$host_os" in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then case "$host_os" in aix3* | aix4* | aix5*) # On AIX, the GNU linker is very broken ld_shlibs=no ;; amigaos*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can use # them. ld_shlibs=no ;; beos*) if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; cygwin* | mingw* | pw32*) # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' ;; solaris* | sysv5*) if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then ld_shlibs=no elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; sunos4*) hardcode_direct=yes ;; *) if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = yes; then hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' fi else case "$host_os" in aix3*) # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done esac fi hardcode_direct=yes hardcode_libdir_separator=':' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct=yes else # We have old collect2 hardcode_direct=unsupported hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi esac fi if test "$aix_use_runtimelinking" = yes; then hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' else hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' fi fi ;; amigaos*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # see comment about different semantics on the GNU ld section ld_shlibs=no ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' libext=lib ;; darwin* | rhapsody*) hardcode_direct=yes ;; freebsd1*) ld_shlibs=no ;; freebsd2.2*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; freebsd2*) hardcode_direct=yes hardcode_minus_L=yes ;; freebsd*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; hpux9* | hpux10* | hpux11*) hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes hardcode_minus_L=yes # Not in the search PATH, but as the default # location of the library. ;; irix5* | irix6*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; netbsd*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; newsos6) hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; openbsd*) hardcode_direct=yes if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then hardcode_libdir_flag_spec='${wl}-rpath,$libdir' else case "$host_os" in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) hardcode_libdir_flag_spec='-R$libdir' ;; *) hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; osf3*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) if test "$GCC" = yes; then hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else # Both cc and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; sco3.2v5*) ;; solaris*) hardcode_libdir_flag_spec='-R$libdir' ;; sunos4*) hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes ;; sysv4) if test "x$host_vendor" = xsno; then hardcode_direct=yes # is this really true??? else hardcode_direct=no # Motorola manual says yes, but my tests say they lie fi ;; sysv4.3*) ;; sysv5*) hardcode_libdir_flag_spec= ;; uts4*) hardcode_libdir_flag_spec='-L$libdir' ;; dgux*) hardcode_libdir_flag_spec='-L$libdir' ;; sysv4*MP*) if test -d /usr/nec; then ld_shlibs=yes fi ;; sysv4.2uw2*) hardcode_direct=yes hardcode_minus_L=no ;; sysv5uw7* | unixware7*) ;; *) ld_shlibs=no ;; esac fi # Check dynamic linker characteristics libname_spec='lib$name' sys_lib_dlsearch_path_spec="/lib /usr/lib" sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" case "$host_os" in aix3*) shlibext=so ;; aix4* | aix5*) shlibext=so ;; amigaos*) shlibext=ixlibrary ;; beos*) shlibext=so ;; bsdi4*) shlibext=so sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" ;; cygwin* | mingw* | pw32*) case $GCC,$host_os in yes,cygwin*) shlibext=dll.a ;; yes,mingw*) shlibext=dll sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"` ;; yes,pw32*) shlibext=dll ;; *) shlibext=dll ;; esac ;; darwin* | rhapsody*) shlibext=dylib ;; freebsd1*) ;; freebsd*) shlibext=so ;; gnu*) shlibext=so ;; hpux9* | hpux10* | hpux11*) shlibext=sl ;; irix5* | irix6*) shlibext=so case "$host_os" in irix5*) libsuff= shlibsuff= ;; *) case $LD in *-32|*"-32 ") libsuff= shlibsuff= ;; *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 ;; *-64|*"-64 ") libsuff=64 shlibsuff=64 ;; *) libsuff= shlibsuff= ;; esac ;; esac sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" ;; linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) ;; linux-gnu*) shlibext=so ;; netbsd*) shlibext=so ;; newsos6) shlibext=so ;; openbsd*) shlibext=so ;; os2*) libname_spec='$name' shlibext=dll ;; osf3* | osf4* | osf5*) shlibext=so sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; sco3.2v5*) shlibext=so ;; solaris*) shlibext=so ;; sunos4*) shlibext=so ;; sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) shlibext=so case "$host_vendor" in motorola) sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; uts4*) shlibext=so ;; dgux*) shlibext=so ;; sysv4*MP*) if test -d /usr/nec; then shlibext=so fi ;; esac sed_quote_subst='s/\(["`$\\]\)/\\\1/g' escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_sys_lib_search_path_spec=`echo "X$sys_lib_search_path_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_sys_lib_dlsearch_path_spec=`echo "X$sys_lib_dlsearch_path_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' < .SH HELP THIS PROJECT If you intent to help, please, read the CONTRIBUTING.md file. On Debian systems, this file will be available at /usr/share/doc/\fBaxel\fP/ directory. axel-2.17.13/doc/Makefile.am0000644000175000017500000000065214560423122011102 EXTRA_DIST += \ doc/axelrc.example \ doc/axel.txt dist_man_MANS = doc/axel.1 PACKAGE_DESC = lightweight command line download accelerator doc_reldate = @RELDATE_PRETTY@ .txt.1: tmp=$$(mktemp tmpXXXXXX) && \ > "$$tmp" \ txt2man -t "$(<:.txt=)" -s 1 \ -d "$(doc_reldate)" \ -P "$(PACKAGE_NAME)" \ -r "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \ -v "$(PACKAGE_DESC)" $< &&\ mv "$$tmp" $@ || { rm -f "$$tmp"; exit 1; } axel-2.17.13/doc/axelrc.example0000644000175000017500000001065314560423122011703 ############################################################################ ## ## ## Example configuration file for Axel - A light download accelerator ## ## ## ############################################################################ # reconnect_delay sets the number of seconds before trying again to build # a new connection to the server. # # reconnect_delay = 20 # You can set a maximum speed (bytes per second) here, Axel will try to be # at most 5% faster or 5% slower. # # max_speed = 0 # You can set the maximum number of connections Axel will try to set up # here. There's a value precompiled in the program too, setting this too # high requires recompilation. PLEASE respect FTP server operators and other # users: Don't set this one too high!!! 4 is enough in most cases. # # num_connections = 4 # Set the maximum number of redirects that Axel is allowed to follow. The # default value is 20. # # max_redirect = 20 # If no data comes from a connection for this number of seconds, abort (and # resume) the connection. # # connection_timeout = 45 # Set proxies. no_proxy is a comma-separated list of domains which are # local, axel won't use any proxy for them. You don't have to specify full # hostnames there. # Choose the IP protocol to use among IPv4 and IPv6. When a protocol is # chosen, no connection attempt will be performed with the other. Possible # value are "ipv4" or "ipv6". By default anyone will be used based on # the address returned by the resolv library. # # use_protocol= ipv4 # # Note: If the HTTP_PROXY environment variable is set correctly already, # you don't have to set it again here. The setting should be in the same # format as the HTTP_PROXY var, like 'http://host.domain.com:8080/', # although a string like 'host.domain.com:8080' should work too.. # # Sometimes HTTP proxies support FTP downloads too, so the proxy you # configure here will be used for FTP downloads too. # # If you have to use a SOCKS server for some reason, the program should # work perfectly through socksify without even knowing about that server. # I haven't tried it myself, so I would love to hear from you about the # results. # # http_proxy = # no_proxy = # Keep CGI arguments in the local filename? # # strip_cgi_parameters = 1 # When downloading a HTTP directory/index page, (like http://localhost/~me/) # what local filename do we have to store it in? # # default_filename = default # Save state every x seconds. Set this to 0 to disable state saving during # download. State files will always be saved when the program terminates # (unless the download is finished, of course) so this is only useful to # protect yourself against sudden system crashes. # # save_state_interval = 10 # Buffer size: Maximum amount of bytes to read from a connection. One single # buffer is used for all the connections (no separate per-connection buffer). # A smaller buffer might improve the accuracy of the speed limiter, but a # larger buffer is a better choice for fast connections. # # buffer_size = 5120 # By default some status messages about the download are printed. You can # disable this by setting this one to zero. # # verbose = 1 # FTP searcher # # search_timeout - Maximum time (seconds) to wait for a speed test # search_threads - Maximum number of speed tests at once # search_amount - Number of URL's to request from filesearching.com # search_top - Number of different URL's to use for download # # search_timeout = 10 # search_threads = 3 # search_amount = 15 # search_top = 3 # If you have multiple interfaces to the Internet, you can make Axel use all # of them by listing them here (interface name or IP address). If one of the # interfaces is faster than the other(s), you can list it more than once and # it will be used more often. # # This option is blank by default, which means Axel uses the first match in # the routing table. # # interfaces = # If you don't like the wget-alike interface, you can set this to 1 to get # a scp-alike interface. # # alternate_output = 1 # # Set this to 1 to avoid axel to download a file if one with the same name # already exists in the current folder and no state file is found. # Normally, axel will add . to the name of the file in cases where # that file already exists. With the no_clobber option, axel will skip # downloading this file altogether. # # no_clobber = 1 axel-2.17.13/doc/axel.txt0000644000175000017500000001261014560423122010535 NAME axel - light command line download accelerator SYNOPSIS axel [OPTIONS] url1 [url2] [url...] DESCRIPTION Axel is a program that downloads a file from a FTP or HTTP server through multiple connection. Each connection downloads its own part of the file. Unlike most other programs, Axel downloads all the data directly to the destination file. It saves some time at the end because the program does not have to concatenate all the downloaded parts. Axel supports HTTP, HTTPS, FTP and FTPS protocols. OPTIONS One argument is required, the URL to the file you want to download. When downloading from FTP, the filename may contain wildcards and the program will try to resolve the full filename. Multiple mirror URLs to an identical file can be specified as well and the program will use all those URLs for the download. Please note that the program does not check whether the files are equal. Other options: --max-speed=x, -s x Specify a speed (bytes per second) to try to keep the average speed around this speed. This is useful if you do not want the program to suck up all of your bandwidth. --num-connections=x, -n x Specify an alternative number of connections. --max-redirect=x Specify an alternative number of redirections to follow when connecting to the server (default is 20). --output=x, -o x Downloaded data will be put in a local file with the same name, unless you specify a different name using this option. You can specify a directory as well, the program will append the filename. --search[=x], -S[x] Axel can do a search for mirrors using the filesearching.com search engine. This search will be done if you use this option. You can specify how many different mirrors should be used for the download as well. The search for mirrors can be time-consuming because the program tests every server's speed, and it checks whether the file's still available. --ipv6, -6 Use the IPv6 protocol only when connecting to the host. --ipv4, -4 Use the IPv4 protocol only when connecting to the host. --no-proxy, -N Do not use any proxy server to download the file. Not possible when a transparent proxy is active somewhere, of course. --insecure, -k Do not verify the SSL certificate. Only use this if you are getting certificate errors and you are sure of the sites authenticity. --no-clobber, -c Skip download if a file with the same name already exists in the current folder and no state file is found. --verbose, -v Show more status messages. Use it more than once to see more details. --quiet, -q No output to stdout. --alternate, -a This will show an alternate progress indicator. A bar displays the progress and status of the different threads, along with current speed and an estimate for the remaining download time. --header=x, -H x Add an additional HTTP header. This option should be in the form "Header: Value". See RFC 2616 section 4.2 and 14 for details on the format and standardized headers. --user-agent=x, -U x Set the HTTP user agent to use. Some websites serve different content based upon this parameter. The default value will include "Axel", its version and the platform. --help, -h A brief summary of all the options. --timeout=x, -T x Set I/O and connection timeout --version, -V Get version information. NOTE Long (double dash) options are supported only if your platform knows about the getopt_long call. If it does not (like *BSD), only the short options can be used. RETURN VALUE The program returns 0 when the download was successful, 1 if something really went wrong and 2 if the download was interrupted. If something else comes back, it must be a bug. EXAMPLES The trivial usage to download a file is similar to: $ axel http://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-9.1.0-amd64-netinst.iso $ axel ftp://ftp.nl.kernel.org/pub/linux/kernel/v2.2/linux-2.2.20.tar.bz2 This will use the Belgian, Dutch, English and German kernel.org mirrors to download a Linux 2.4.17 kernel image. $ axel ftp://ftp.{be,nl,uk,de}.kernel.org/pub/linux/kernel/v2.4/linux-2.4.17.tar.bz2 This will do a search for the linux-2.4.17.tar.bz2 file on filesearching.com and it'll use the four (if possible) fastest mirrors for the download (possibly including ftp.kernel.org). $ axel -S4 ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.17.tar.bz2 FILES /etc/axelrc System-wide configuration file. ~/.axelrc Personal configuration file. These files are not documented in a manpage, but the example file which comes with the program contains enough information. The position of the system-wide configuration file might be different. In source code this example file is at doc/ directory. It's generally installed under /usr/share/doc/axel/examples/, or the equivalent for your system. COPYRIGHT Axel was originally written by Wilmer van der Gaast and other authors over time. Please, see the AUTHORS and CREDITS files. The project homepage is HELP THIS PROJECT If you intent to help, please, read the CONTRIBUTING.md file. On Debian systems, this file will be available at /usr/share/doc/axel/ directory. axel-2.17.13/lib/0000755000175000017500000000000014560423122007124 5axel-2.17.13/lib/ASN1_STRING_get0_data.c0000644000175000017500000000075714560423122012721 /* * Copyright 2020 Ismael Luceno * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #ifdef HAVE_WOLFSSL #include #include #include #include #else #include #include #endif #include "compat-ssl.h" const unsigned char * ASN1_STRING_get0_data(const ASN1_STRING *x) { return ASN1_STRING_data((ASN1_STRING *)x); } axel-2.17.13/lib/strlcat.c0000644000175000017500000000341514560423122010667 /* $OpenBSD: strlcat.c,v 1.15 2015/03/02 21:41:08 millert Exp $ */ /* * Copyright (c) 1998, 2015 Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * * SPDX-License-Identifier: ISC */ #include #include #include "compat-bsd.h" /* * Appends src to string dst of size dsize (unlike strncat, dsize is the * full size of dst, not space left). At most dsize-1 characters * will be copied. Always NUL terminates (unless dsize <= strlen(dst)). * Returns strlen(src) + MIN(dsize, strlen(initial dst)). * If retval >= dsize, truncation occurred. */ size_t strlcat(char *dst, const char *src, size_t dsize) { const char *odst = dst; const char *osrc = src; size_t n = dsize; size_t dlen; /* Find the end of dst and adjust bytes left but don't go past end. */ while (n-- != 0 && *dst != '\0') dst++; dlen = dst - odst; n = dsize - dlen; if (n-- == 0) return(dlen + strlen(src)); while (*src != '\0') { if (n != 0) { *dst++ = *src; n--; } src++; } *dst = '\0'; return(dlen + (src - osrc)); /* count does not include NUL */ } axel-2.17.13/lib/strlcpy.c0000644000175000017500000000317214560423122010713 /* $OpenBSD: strlcpy.c,v 1.12 2015/01/15 03:54:12 millert Exp $ */ /* * Copyright (c) 1998, 2015 Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * * SPDX-License-Identifier: ISC */ #include #include #include "compat-bsd.h" /* * Copy string src to buffer dst of size dsize. At most dsize-1 * chars will be copied. Always NUL terminates (unless dsize == 0). * Returns strlen(src); if retval >= dsize, truncation occurred. */ size_t strlcpy(char *dst, const char *src, size_t dsize) { const char *osrc = src; size_t nleft = dsize; /* Copy as many bytes as will fit. */ if (nleft != 0) { while (--nleft != 0) { if ((*dst++ = *src++) == '\0') break; } } /* Not enough room in dst, add NUL and traverse rest of src. */ if (nleft == 0) { if (dsize != 0) *dst = '\0'; /* NUL-terminate dst */ while (*src++) ; } return(src - osrc - 1); /* count does not include NUL */ } axel-2.17.13/m4/0000755000175000017500000000000014560423122006676 5axel-2.17.13/m4/gettext.m40000644000175000017500000005330114560423122010546 # gettext.m4 serial 13 (gettext-0.11.1) dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General dnl Public License, this file may be distributed as part of a program dnl that contains a configuration script generated by Autoconf, under dnl the same distribution terms as the rest of that program. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2002. dnl Macro to add for using GNU gettext. dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The dnl default (if it is not specified or empty) is 'no-libtool'. dnl INTLSYMBOL should be 'external' for packages with no intl directory, dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. dnl If INTLSYMBOL is 'use-libtool', then a libtool library dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, dnl depending on --{enable,disable}-{shared,static} and on the presence of dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library dnl $(top_builddir)/intl/libintl.a will be created. dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext dnl implementations (in libc or libintl) without the ngettext() function dnl will be ignored. dnl INTLDIR is used to find the intl libraries. If empty, dnl the value `$(top_builddir)/intl/' is used. dnl dnl The result of the configuration is one of three cases: dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled dnl and used. dnl Catalog format: GNU --> install in $(datadir) dnl Catalog extension: .mo after installation, .gmo in source tree dnl 2) GNU gettext has been found in the system's C library. dnl Catalog format: GNU --> install in $(datadir) dnl Catalog extension: .mo after installation, .gmo in source tree dnl 3) No internationalization, always use English msgid. dnl Catalog format: none dnl Catalog extension: none dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. dnl The use of .gmo is historical (it was needed to avoid overwriting the dnl GNU format catalogs when building on a platform with an X/Open gettext), dnl but we keep it in order not to force irrelevant filename changes on the dnl maintainers. dnl AC_DEFUN([AM_GNU_GETTEXT], [ dnl Argument checking. ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT ])])])])]) ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT ])])]) define(gt_included_intl, ifelse([$1], [external], [no], [yes])) define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], [])) AC_REQUIRE([AM_PO_SUBDIRS])dnl ifelse(gt_included_intl, yes, [ AC_REQUIRE([AM_INTL_SUBDIR])dnl ]) dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE(nls, [ --disable-nls do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT($USE_NLS) AC_SUBST(USE_NLS) ifelse(gt_included_intl, yes, [ BUILD_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no ]) LIBINTL= LTLIBINTL= POSUB= dnl If we use NLS figure out what method if test "$USE_NLS" = "yes"; then gt_use_preinstalled_gnugettext=no ifelse(gt_included_intl, yes, [ AC_MSG_CHECKING([whether included gettext is requested]) AC_ARG_WITH(included-gettext, [ --with-included-gettext use the GNU gettext library included here], nls_cv_force_use_gnu_gettext=$withval, nls_cv_force_use_gnu_gettext=no) AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" if test "$nls_cv_force_use_gnu_gettext" != "yes"; then ]) dnl User does not insist on using GNU NLS library. Figure out what dnl to use. If GNU gettext is available we use this. Else we have dnl to fall back to GNU NLS library. dnl Add a version number to the cache macros. define([gt_api_version], ifelse([$2], [need-ngettext], 2, 1)) define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc]) define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl]) AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc, [AC_TRY_LINK([#include extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings;], [bindtextdomain ("", ""); return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings], gt_cv_func_gnugettext_libc=yes, gt_cv_func_gnugettext_libc=no)]) if test "$gt_cv_func_gnugettext_libc" != "yes"; then dnl Sometimes libintl requires libiconv, so first search for libiconv. ifelse(gt_included_intl, yes, , [ AM_ICONV_LINK ]) dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) dnl because that would add "-liconv" to LIBINTL and LTLIBINTL dnl even if libiconv doesn't exist. AC_LIB_LINKFLAGS_BODY([intl]) AC_CACHE_CHECK([for GNU gettext in libintl], gt_cv_func_gnugettext_libintl, [gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" dnl Now see whether libintl exists and does not depend on libiconv. AC_TRY_LINK([#include extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias ();], [bindtextdomain ("", ""); return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)], gt_cv_func_gnugettext_libintl=yes, gt_cv_func_gnugettext_libintl=no) dnl Now see whether libintl exists and depends on libiconv. if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then LIBS="$LIBS $LIBICONV" AC_TRY_LINK([#include extern int _nl_msg_cat_cntr; extern int *_nl_domain_bindings; extern #ifdef __cplusplus "C" #endif const char *_nl_expand_alias ();], [bindtextdomain ("", ""); return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)], [LIBINTL="$LIBINTL $LIBICONV" LTLIBINTL="$LTLIBINTL $LTLIBICONV" gt_cv_func_gnugettext_libintl=yes ]) fi CPPFLAGS="$gt_save_CPPFLAGS" LIBS="$gt_save_LIBS"]) fi dnl If an already present or preinstalled GNU gettext() is found, dnl use it. But if this macro is used in GNU gettext, and GNU dnl gettext is already preinstalled in libintl, we update this dnl libintl. (Cf. the install rule in intl/Makefile.in.) if test "$gt_cv_func_gnugettext_libc" = "yes" \ || { test "$gt_cv_func_gnugettext_libintl" = "yes" \ && test "$PACKAGE" != gettext; }; then gt_use_preinstalled_gnugettext=yes else dnl Reset the values set by searching for libintl. LIBINTL= LTLIBINTL= INCINTL= fi ifelse(gt_included_intl, yes, [ if test "$gt_use_preinstalled_gnugettext" != "yes"; then dnl GNU gettext is not found in the C library. dnl Fall back on included GNU gettext library. nls_cv_use_gnu_gettext=yes fi fi if test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions used to generate GNU NLS library. INTLOBJS="\$(GETTOBJS)" BUILD_INCLUDED_LIBINTL=yes USE_INCLUDED_LIBINTL=yes LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV" LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV" LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` fi if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then dnl Mark actions to use GNU gettext tools. CATOBJEXT=.gmo fi ]) if test "$gt_use_preinstalled_gnugettext" = "yes" \ || test "$nls_cv_use_gnu_gettext" = "yes"; then AC_DEFINE(ENABLE_NLS, 1, [Define to 1 if translation of program messages to the user's native language is requested.]) else USE_NLS=no fi fi if test "$USE_NLS" = "yes"; then if test "$gt_use_preinstalled_gnugettext" = "yes"; then if test "$gt_cv_func_gnugettext_libintl" = "yes"; then AC_MSG_CHECKING([how to link with libintl]) AC_MSG_RESULT([$LIBINTL]) AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) fi dnl For backward compatibility. Some packages may be using this. AC_DEFINE(HAVE_GETTEXT, 1, [Define if the GNU gettext() function is already present or preinstalled.]) AC_DEFINE(HAVE_DCGETTEXT, 1, [Define if the GNU dcgettext() function is already present or preinstalled.]) fi dnl We need to process the po/ directory. POSUB=po fi ifelse(gt_included_intl, yes, [ dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL dnl to 'yes' because some of the testsuite requires it. if test "$PACKAGE" = gettext; then BUILD_INCLUDED_LIBINTL=yes fi dnl Make all variables we use known to autoconf. AC_SUBST(BUILD_INCLUDED_LIBINTL) AC_SUBST(USE_INCLUDED_LIBINTL) AC_SUBST(CATOBJEXT) AC_SUBST(INTLOBJS) dnl For backward compatibility. Some configure.ins may be using this. nls_cv_header_intl= nls_cv_header_libgt= dnl For backward compatibility. Some Makefiles may be using this. DATADIRNAME=share AC_SUBST(DATADIRNAME) dnl For backward compatibility. Some Makefiles may be using this. INSTOBJEXT=.mo AC_SUBST(INSTOBJEXT) dnl For backward compatibility. Some Makefiles may be using this. GENCAT=gencat AC_SUBST(GENCAT) dnl Enable libtool support if the surrounding package wishes it. INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX) ]) dnl For backward compatibility. Some Makefiles may be using this. INTLLIBS="$LIBINTL" AC_SUBST(INTLLIBS) dnl Make all documented variables known to autoconf. AC_SUBST(LIBINTL) AC_SUBST(LTLIBINTL) AC_SUBST(POSUB) ]) dnl Checks for all prerequisites of the po subdirectory, dnl except for USE_NLS. AC_DEFUN([AM_PO_SUBDIRS], [ AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl AC_REQUIRE([AM_MKINSTALLDIRS])dnl dnl Perform the following tests also if --disable-nls has been given, dnl because they are needed for "make dist" to work. dnl Search for GNU msgfmt in the PATH. dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. dnl The second test excludes FreeBSD msgfmt. AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) dnl Search for GNU xgettext 0.11 or newer in the PATH. dnl The first test excludes Solaris xgettext and early GNU xgettext versions. dnl The second test excludes FreeBSD xgettext. AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [$ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], :) dnl Remove leftover from FreeBSD xgettext call. rm -f messages.po dnl Search for GNU msgmerge 0.11 or newer in the PATH. AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :) dnl This could go away some day; the PATH_PROG_WITH_TEST already does it. dnl Test whether we really found GNU msgfmt. if test "$GMSGFMT" != ":"; then dnl If it is no GNU msgfmt we define it as : so that the dnl Makefiles still can work. if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then : ; else GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` AC_MSG_RESULT( [found $GMSGFMT program is not GNU msgfmt; ignore it]) GMSGFMT=":" fi fi dnl This could go away some day; the PATH_PROG_WITH_TEST already does it. dnl Test whether we really found GNU xgettext. if test "$XGETTEXT" != ":"; then dnl If it is no GNU xgettext we define it as : so that the dnl Makefiles still can work. if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then : ; else AC_MSG_RESULT( [found xgettext program is not GNU xgettext; ignore it]) XGETTEXT=":" fi dnl Remove leftover from FreeBSD xgettext call. rm -f messages.po fi AC_OUTPUT_COMMANDS([ for ac_file in $CONFIG_FILES; do # Support "outfile[:infile[:infile...]]" case "$ac_file" in *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; esac # PO directories have a Makefile.in generated from Makefile.in.in. case "$ac_file" in */Makefile.in) # Adjust a relative srcdir. ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` # In autoconf-2.13 it is called $ac_given_srcdir. # In autoconf-2.50 it is called $srcdir. test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" case "$ac_given_srcdir" in .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; /*) top_srcdir="$ac_given_srcdir" ;; *) top_srcdir="$ac_dots$ac_given_srcdir" ;; esac if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then rm -f "$ac_dir/POTFILES" test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend # on $ac_dir but don't depend on user-specified configuration # parameters. if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then # The LINGUAS file contains the set of available languages. if test -n "$ALL_LINGUAS"; then test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" fi ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` # Hide the ALL_LINGUAS assigment from automake. eval 'ALL_LINGUAS''=$ALL_LINGUAS_' fi case "$ac_given_srcdir" in .) srcdirpre= ;; *) srcdirpre='$(srcdir)/' ;; esac POFILES= GMOFILES= UPDATEPOFILES= DUMMYPOFILES= for lang in $ALL_LINGUAS; do POFILES="$POFILES $srcdirpre$lang.po" GMOFILES="$GMOFILES $srcdirpre$lang.gmo" UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" DUMMYPOFILES="$DUMMYPOFILES $lang.nop" done # CATALOGS depends on both $ac_dir and the user's LINGUAS # environment variable. INST_LINGUAS= if test -n "$ALL_LINGUAS"; then for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "$LINGUAS"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then INST_LINGUAS="$INST_LINGUAS $presentlang" fi done fi CATALOGS= if test -n "$INST_LINGUAS"; then for lang in $INST_LINGUAS; do CATALOGS="$CATALOGS $lang.gmo" done fi test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do if test -f "$f"; then case "$f" in *.orig | *.bak | *~) ;; *) cat "$f" >> "$ac_dir/Makefile" ;; esac fi done fi ;; esac done], [# Capture the value of obsolete $ALL_LINGUAS because we need it to compute # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it # from automake. eval 'ALL_LINGUAS''="$ALL_LINGUAS"' # Capture the value of LINGUAS because we need it to compute CATALOGS. LINGUAS="${LINGUAS-%UNSET%}" ]) ]) dnl Checks for all prerequisites of the intl subdirectory, dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS, dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL. AC_DEFUN([AM_INTL_SUBDIR], [ AC_REQUIRE([AC_PROG_INSTALL])dnl AC_REQUIRE([AM_MKINSTALLDIRS])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_PROG_RANLIB])dnl AC_REQUIRE([AC_ISC_POSIX])dnl AC_REQUIRE([AC_HEADER_STDC])dnl AC_REQUIRE([AC_C_CONST])dnl AC_REQUIRE([AC_C_INLINE])dnl AC_REQUIRE([AC_TYPE_OFF_T])dnl AC_REQUIRE([AC_TYPE_SIZE_T])dnl AC_REQUIRE([AC_FUNC_ALLOCA])dnl AC_REQUIRE([AC_FUNC_MMAP])dnl AC_REQUIRE([jm_GLIBC21])dnl AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ stdlib.h string.h unistd.h sys/param.h]) AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \ geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \ strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next]) AM_ICONV AM_LANGINFO_CODESET AM_LC_MESSAGES dnl intl/plural.c is generated from intl/plural.y. It requires bison, dnl because plural.y uses bison specific features. It requires at least dnl bison-1.26 because earlier versions generate a plural.c that doesn't dnl compile. dnl bison is only needed for the maintainer (who touches plural.y). But in dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put dnl the rule in general Makefile. Now, some people carelessly touch the dnl files or have a broken "make" program, hence the plural.c rule will dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not dnl present or too old. AC_CHECK_PROGS([INTLBISON], [bison]) if test -z "$INTLBISON"; then ac_verc_fail=yes else dnl Found it, now check the version. AC_MSG_CHECKING([version of bison]) changequote(<<,>>)dnl ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` case $ac_prog_version in '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) changequote([,])dnl ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; esac AC_MSG_RESULT([$ac_prog_version]) fi if test $ac_verc_fail = yes; then INTLBISON=: fi ]) AC_DEFUN([AM_MKINSTALLDIRS], [ dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly dnl find the mkinstalldirs script in another subdir but $(top_srcdir). dnl Try to locate is. MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi AC_SUBST(MKINSTALLDIRS) ]) axel-2.17.13/m4/iconv.m40000644000175000017500000000641314560423122010202 # iconv.m4 serial AM3 (gettext-0.11) dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General dnl Public License, this file may be distributed as part of a program dnl that contains a configuration script generated by Autoconf, under dnl the same distribution terms as the rest of that program. dnl From Bruno Haible. AC_DEFUN([AM_ICONV_LINK], [ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and dnl those with the standalone portable GNU libiconv installed). dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_LIB_LINKFLAGS_BODY([iconv]) dnl Add $INCICONV to CPPFLAGS before performing the following checks, dnl because if the user has installed libiconv and not disabled its use dnl via --without-libiconv-prefix, he wants to use it. The first dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed. am_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no AC_TRY_LINK([#include #include ], [iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);], am_cv_func_iconv=yes) if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" AC_TRY_LINK([#include #include ], [iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);], am_cv_lib_iconv=yes am_cv_func_iconv=yes) LIBS="$am_save_LIBS" fi ]) if test "$am_cv_func_iconv" = yes; then AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.]) fi if test "$am_cv_lib_iconv" = yes; then AC_MSG_CHECKING([how to link with libiconv]) AC_MSG_RESULT([$LIBICONV]) else dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV dnl either. CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi AC_SUBST(LIBICONV) AC_SUBST(LTLIBICONV) ]) AC_DEFUN([AM_ICONV], [ AC_REQUIRE([AM_ICONV_LINK]) if test "$am_cv_func_iconv" = yes; then AC_MSG_CHECKING([for iconv declaration]) AC_CACHE_VAL(am_cv_proto_iconv, [ AC_TRY_COMPILE([ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); #else size_t iconv(); #endif ], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const") am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` AC_MSG_RESULT([$]{ac_t:- }[$]am_cv_proto_iconv) AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, [Define as const if the declaration of iconv() needs const.]) fi ]) axel-2.17.13/m4/lib-ld.m40000644000175000017500000000626014560423122010227 # lib-ld.m4 serial 1 (gettext-0.11) dnl Copyright (C) 1996-2002 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General dnl Public License, this file may be distributed as part of a program dnl that contains a configuration script generated by Autoconf, under dnl the same distribution terms as the rest of that program. dnl Subroutines of libtool.m4, dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision dnl with libtool.m4. dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, [# I'd rather use --version here, but apparently some GNU ld's only accept -v. if $LD -v 2>&1 &5; then acl_cv_prog_gnu_ld=yes else acl_cv_prog_gnu_ld=no fi]) with_gnu_ld=$acl_cv_prog_gnu_ld ]) dnl From libtool-1.4. Sets the variable LD. AC_DEFUN([AC_LIB_PROG_LD], [AC_ARG_WITH(gnu-ld, [ --with-gnu-ld assume the C compiler uses GNU ld [default=no]], test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no) AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by GCC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]* | [A-Za-z]:[\\/]*)] [re_direlt='/[^/][^/]*/\.\./'] # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(acl_cv_path_LD, [if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then test "$with_gnu_ld" != no && break else test "$with_gnu_ld" != yes && break fi fi done IFS="$ac_save_ifs" else acl_cv_path_LD="$LD" # Let the user override the test with a path. fi]) LD="$acl_cv_path_LD" if test -n "$LD"; then AC_MSG_RESULT($LD) else AC_MSG_RESULT(no) fi test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) AC_LIB_PROG_LD_GNU ]) axel-2.17.13/m4/lib-link.m40000644000175000017500000005276314560423122010576 # lib-link.m4 serial 1 (gettext-0.11) dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General dnl Public License, this file may be distributed as part of a program dnl that contains a configuration script generated by Autoconf, under dnl the same distribution terms as the rest of that program. dnl From Bruno Haible. dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and dnl augments the CPPFLAGS variable. AC_DEFUN([AC_LIB_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) define([Name],[translit([$1],[./-], [___])]) define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ac_cv_lib[]Name[]_libs="$LIB[]NAME" ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" ac_cv_lib[]Name[]_cppflags="$INC[]NAME" ]) LIB[]NAME="$ac_cv_lib[]Name[]_libs" LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" INC[]NAME="$ac_cv_lib[]Name[]_cppflags" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the dnl results of this search when this library appears as a dependency. HAVE_LIB[]NAME=yes undefine([Name]) undefine([NAME]) ]) dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) dnl searches for libname and the libraries corresponding to explicit and dnl implicit dependencies, together with the specified include files and dnl the ability to compile and link the specified testcode. If found, it dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) define([Name],[translit([$1],[./-], [___])]) define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME dnl accordingly. AC_LIB_LINKFLAGS_BODY([$1], [$2]) dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, dnl because if the user has installed lib[]Name and not disabled its use dnl via --without-lib[]Name-prefix, he wants to use it. ac_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ ac_save_LIBS="$LIBS" LIBS="$LIBS $LIB[]NAME" AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) LIBS="$ac_save_LIBS" ]) if test "$ac_cv_lib[]Name" = yes; then HAVE_LIB[]NAME=yes AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) AC_MSG_CHECKING([how to link with lib[]$1]) AC_MSG_RESULT([$LIB[]NAME]) else HAVE_LIB[]NAME=no dnl If $LIB[]NAME didn't lead to a usable library, we don't need dnl $INC[]NAME either. CPPFLAGS="$ac_save_CPPFLAGS" LIB[]NAME= LTLIB[]NAME= fi AC_SUBST([HAVE_LIB]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) undefine([Name]) undefine([NAME]) ]) dnl Determine the platform dependent parameters needed to use rpath: dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator, dnl hardcode_direct, hardcode_minus_L, dnl sys_lib_search_path_spec, sys_lib_dlsearch_path_spec. AC_DEFUN([AC_LIB_RPATH], [ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done ]) wl="$acl_cv_wl" libext="$acl_cv_libext" shlibext="$acl_cv_shlibext" hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" ]) dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_ARG_WITH([lib$1-prefix], [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib --without-lib$1-prefix don't search for lib$1 in includedir and libdir], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/lib" fi fi ]) dnl Search the library and its dependencies in $additional_libdir and dnl $LDFLAGS. Using breadth-first-seach. LIB[]NAME= LTLIB[]NAME= INC[]NAME= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='$1 $2' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" dnl See if it was already located by an earlier AC_LIB_LINKFLAGS dnl or AC_LIB_HAVE_LINKFLAGS call. uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" else dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined dnl that this library doesn't exist. So just drop it. : fi else dnl Search the library lib$name in $additional_libdir and $LDFLAGS dnl and the already constructed $LIBNAME/$LTLIBNAME. found_dir= found_la= found_so= found_a= if test $use_additional = yes; then if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then found_dir="$additional_libdir" found_so="$additional_libdir/lib$name.$shlibext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi else if test -f "$additional_libdir/lib$name.$libext"; then found_dir="$additional_libdir" found_a="$additional_libdir/lib$name.$libext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then found_dir="$dir" found_so="$dir/lib$name.$shlibext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi else if test -f "$dir/lib$name.$libext"; then found_dir="$dir" found_a="$dir/lib$name.$libext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then dnl Found the library. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then dnl Linking with a shared library. We attempt to hardcode its dnl directory into the executable's runpath, unless it's the dnl standard /usr/lib. if test "X$found_dir" = "X/usr/lib"; then dnl No hardcoding is needed. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl Use an explicit option to hardcode DIR into the resulting dnl binary. dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi dnl The hardcoding into $LIBNAME is system dependent. if test "$hardcode_direct" = yes; then dnl Using DIR/libNAME.so during linking hardcodes DIR into the dnl resulting binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then dnl Use an explicit option to hardcode DIR into the resulting dnl binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else dnl Rely on "-L$found_dir". dnl But don't add it if it's already contained in the LDFLAGS dnl or the already constructed $LIBNAME haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" fi if test "$hardcode_minus_L" != no; then dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH dnl here, because this doesn't fit in flags passed to the dnl compiler. So give up. No hardcoding. This affects only dnl very old systems. dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then dnl Linking with a static library. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" else dnl We shouldn't come here, but anyway it's good to have a dnl fallback. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" fi fi dnl Assume the include files are nearby. additional_includedir= case "$found_dir" in */lib | */lib/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then dnl Potentially add $additional_includedir to $INCNAME. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's /usr/local/include and we are using GCC on Linux, dnl 3. if it's already present in $CPPFLAGS or the already dnl constructed $INCNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INC[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $INCNAME. INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" fi fi fi fi fi dnl Look for dependencies. if test -n "$found_la"; then dnl Read the .la file. It defines the variables dnl dlname, library_names, old_library, dependency_libs, current, dnl age, revision, installed, dlopen, dlpreopen, libdir. save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" dnl We use only dependency_libs. for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's /usr/local/lib and we are using GCC on Linux, dnl 3. if it's already present in $LDFLAGS or the already dnl constructed $LIBNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/lib"; then haveit= if test "X$additional_libdir" = "X/usr/local/lib"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LIBNAME. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LTLIBNAME. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" fi fi fi fi ;; -l*) dnl Handle this in the next round. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) dnl Handle this in the next round. Throw away the .la's dnl directory; it is already contained in a preceding -L dnl option. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) dnl Most likely an immediate library name. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" ;; esac done fi else dnl Didn't find the library; assume it is in the system directories dnl known to the linker and runtime loader. (All the system dnl directories known to the linker should also be known to the dnl runtime loader, otherwise the system is severely misconfigured.) LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user must dnl pass all path elements in one option. We can arrange that for a dnl single library, but not when more than one $LIBNAMEs are used. alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" done dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl. acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" else dnl The -rpath options are cumulative. for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then dnl When using libtool, the option that works for both libraries and dnl executables is -R. The -R options are cumulative. for found_dir in $ltrpathdirs; do LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" done fi ]) dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, dnl unless already present in VAR. dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes dnl contains two or three consecutive elements that belong together. AC_DEFUN([AC_LIB_APPENDTOVAR], [ for element in [$2]; do haveit= for x in $[$1]; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then [$1]="${[$1]}${[$1]:+ }$element" fi done ]) axel-2.17.13/m4/lib-prefix.m40000644000175000017500000001175514560423122011132 # lib-prefix.m4 serial 1 (gettext-0.11) dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General dnl Public License, this file may be distributed as part of a program dnl that contains a configuration script generated by Autoconf, under dnl the same distribution terms as the rest of that program. dnl From Bruno Haible. dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed dnl to access previously installed libraries. The basic assumption is that dnl a user will want packages to use other packages he previously installed dnl with the same --prefix option. dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate dnl libraries, but is otherwise very convenient. AC_DEFUN([AC_LIB_PREFIX], [ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_ARG_WITH([lib-prefix], [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib --without-lib-prefix don't search for libraries in includedir and libdir], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/lib" fi fi ]) if test $use_additional = yes; then dnl Potentially add $additional_includedir to $CPPFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's already present in $CPPFLAGS, dnl 3. if it's /usr/local/include and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= for x in $CPPFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $CPPFLAGS. CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" fi fi fi fi dnl Potentially add $additional_libdir to $LDFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's already present in $LDFLAGS, dnl 3. if it's /usr/local/lib and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/lib"; then haveit= for x in $LDFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_libdir" = "X/usr/local/lib"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LDFLAGS. LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" fi fi fi fi fi ]) dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, dnl acl_final_exec_prefix, containing the values to which $prefix and dnl $exec_prefix will expand at the end of the configure script. AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" ]) dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the dnl variables prefix and exec_prefix bound to the values they will have dnl at the end of the configure script. AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" $1 exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" ]) axel-2.17.13/m4/progtest.m40000644000175000017500000000407414560423122010734 # progtest.m4 serial 2 (gettext-0.10.40) dnl Copyright (C) 1996-2002 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General dnl Public License, this file may be distributed as part of a program dnl that contains a configuration script generated by Autoconf, under dnl the same distribution terms as the rest of that program. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1996. # Search path for a program which passes the given test. dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) AC_DEFUN([AM_PATH_PROG_WITH_TEST], [# Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in /*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in ifelse([$5], , $PATH, [$5]); do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$]$1) else AC_MSG_RESULT(no) fi AC_SUBST($1)dnl ]) axel-2.17.13/scripts/0000755000175000017500000000000014560423122010045 5axel-2.17.13/scripts/pocheck.awk0000644000175000017500000000022514560423122012104 END { exit broken } BEGIN { OFS=":" } /^$/ || /^"Content-Type:/ { if (!/charset=(UTF|utf)-8/) { print FILENAME, FNR, $0 ++broken } nextfile } axel-2.17.13/src/0000755000175000017500000000000014560423122007145 5axel-2.17.13/src/Makefile.am0000644000175000017500000000153514560423122011125 bin_PROGRAMS = axel axel_SOURCES = \ compat-android.h \ compat-bsd.h \ compat-ssl.h \ src/abuf.c \ src/abuf.h \ src/axel.c \ src/axel.h \ src/sleep.h \ src/sleep.c \ src/conf.c \ src/conf.h \ src/conn.c \ src/conn.h \ src/ftp.c \ src/ftp.h \ src/hash.c \ src/hash.h \ src/http.c \ src/http.h \ src/random.c \ src/search.c \ src/search.h \ src/ssl.h \ src/tcp.c \ src/tcp.h \ src/text.c axel_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) AM_CFLAGS = $(WARN_CFLAGS) \ -Wno-declaration-after-statement \ -Wno-error=cast-align \ -Wno-error=inline if WITH_SSL axel_SOURCES += \ src/dn-match.c \ src/ssl.c \ src/ssl_verify.c AM_CFLAGS += $(SSL_CFLAGS) endif axel_LDADD = $(LIBOBJS) $(SSL_LIBS) $(LIBINTL) $(PTHREAD_LIBS) axel_CC = $(PTHREAD_CC) AM_CPPFLAGS = -DLOCALEDIR=\""$(localedir)"\" AM_CPPFLAGS += -D_BSD_SOURCE -D_DEFAULT_SOURCE axel-2.17.13/src/abuf.c0000644000175000017500000000525614560423122010156 /* Axel -- A lighter download accelerator for Linux and other Unices Copyright 2020 Ismael Luceno This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * SPDX-License-Identifier: GPL-2.0-or-later */ #define _ISOC99_SOURCE #include "config.h" #include #include #include #include #include "axel.h" /** * Abstract buffer allocation/free. * @returns 0 if OK, a negative value on error. */ int abuf_setup(abuf_t *abuf, size_t len) { char *p; if (len) { p = realloc(abuf->p, len); if (!p) return -ENOMEM; } else { free(abuf->p); p = NULL; } abuf->p = p; abuf->len = len; return 0; } int abuf_printf(abuf_t *abuf, const char *fmt, ...) { va_list ap; va_start(ap, fmt); for (;;) { size_t len = vsnprintf(abuf->p, abuf->len, fmt, ap); if (len < abuf->len) break; int r = abuf_setup(abuf, len + 1); if (r < 0) return r; } va_end(ap); return 0; } /** * String concatenation. The buffer must contain a valid C string. * @returns 0 if OK, or negative value on error. */ int abuf_strcat(abuf_t *abuf, const char *src) { size_t nread = strlcat(abuf->p, src, abuf->len); if (nread > abuf->len) { size_t done = abuf->len - 1; int ret = abuf_setup(abuf, nread); if (ret < 0) return ret; memcpy(abuf->p + done, src + done, nread - done); } return 0; } axel-2.17.13/src/abuf.h0000644000175000017500000000353414560423122010160 /* Axel -- A lighter download accelerator for Linux and other Unices Copyright 2020 Ismael Luceno This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef AXEL_ABUF_H #define AXEL_ABUF_H typedef struct { char *p; size_t len; } abuf_t; int abuf_setup(abuf_t *abuf, size_t len); int abuf_printf(abuf_t *abuf, const char *fmt, ...) PRINTF_FUNC(2); int abuf_strcat(abuf_t *abuf, const char *src); #define ABUF_FREE 0 #endif /* AXEL_ABUF_H */ axel-2.17.13/src/axel.c0000644000175000017500000006017614560423122010174 /* Axel -- A lighter download accelerator for Linux and other Unices Copyright 2001-2007 Wilmer van der Gaast Copyright 2007-2009 Y Giridhar Appaji Nag Copyright 2008-2009 Philipp Hagemeister Copyright 2015-2017 Joao Eriberto Mota Filho Copyright 2016 Denis Denisov Copyright 2016 Ivan Gimenez Copyright 2016 Sjjad Hashemian Copyright 2016 Stephen Thirlwall Copyright 2017 Antonio Quartulli Copyright 2017-2019 Ismael Luceno Copyright 2017 nemermollon Copyright 2018 Shankar Copyright 2019 Evangelos Foutras This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Main control */ #include "config.h" #include "axel.h" #include "assert.h" #include "sleep.h" /* Axel */ static void save_state(axel_t *axel); static void *setup_thread(void *); #ifdef __GNUC__ __attribute__((format(printf, 2, 3))) #endif /* __GNUC__ */ static void axel_message(axel_t *axel, const char *format, ...); static void axel_divide(axel_t *axel); static char *buffer = NULL; #define MIN_CHUNK_WORTH (100 * 1024) /* 100 KB */ static char * stfile_makename(const char *bname) { const char suffix[] = ".st"; const size_t bname_len = strlen(bname); char *buf = malloc(bname_len + sizeof(suffix)); if (!buf) { perror("stfile_open"); abort(); } memcpy(buf, bname, bname_len); memcpy(buf + bname_len, suffix, sizeof(suffix)); return buf; } static int stfile_unlink(const char *bname) { char *stname = stfile_makename(bname); int ret = unlink(stname); free(stname); return ret; } static int stfile_access(const char *bname, int mode) { char *stname = stfile_makename(bname); int ret = access(stname, mode); free(stname); return ret; } static int stfile_open(const char *bname, int flags, mode_t mode) { char *stname = stfile_makename(bname); int fd = open(stname, flags, mode); free(stname); return fd; } /* Create a new axel_t structure */ axel_t * axel_new(conf_t *conf, int count, const search_t *res) { axel_t *axel; int status; url_t *u; char *s; int i; if (!count || !res) return NULL; axel = calloc(1, sizeof(axel_t)); if (!axel) goto nomem; axel->conf = conf; axel->conn = calloc(axel->conf->num_connections, sizeof(conn_t)); if (!axel->conn) goto nomem; for (i = 0; i < axel->conf->num_connections; i++) pthread_mutex_init(&axel->conn[i].lock, NULL); if (axel->conf->max_speed > 0) { /* max_speed / buffer_size < .5 */ if (16 * axel->conf->max_speed / axel->conf->buffer_size < 8) { if (axel->conf->verbose >= 2) axel_message(axel, _("Buffer resized for this speed.")); axel->conf->buffer_size = axel->conf->max_speed; } uint64_t delay = UINT64_C(1073741824) * axel->conf->buffer_size * axel->conf->num_connections / axel->conf->max_speed; axel->delay_time.tv_sec = delay / 1073741824; axel->delay_time.tv_nsec = delay % 1073741824; } if (buffer == NULL) { buffer = malloc(axel->conf->buffer_size); if (!buffer) goto nomem; } u = malloc(sizeof(url_t) * count); if (!u) goto nomem; axel->url = u; for (i = 0; i < count; i++) { strlcpy(u[i].text, res[i].url, sizeof(u[i].text)); u[i].next = &u[i + 1]; } u[count - 1].next = u; axel->conn[0].conf = axel->conf; if (!conn_set(&axel->conn[0], axel->url->text)) { axel_message(axel, _("Could not parse URL.\n")); axel->ready = -1; return axel; } axel->conn[0].local_if = axel->conf->interfaces->text; axel->conf->interfaces = axel->conf->interfaces->next; strlcpy(axel->filename, axel->conn[0].file, sizeof(axel->filename)); http_decode(axel->filename); if ((s = strchr(axel->filename, '?')) != NULL && axel->conf->strip_cgi_parameters) *s = 0; /* Get rid of CGI parameters */ if (*axel->filename == 0) /* Index page == no fn */ strlcpy(axel->filename, axel->conf->default_filename, sizeof(axel->filename)); if (axel->conf->no_clobber && access(axel->filename, F_OK) == 0) { int ret = stfile_access(axel->filename, F_OK); if (ret) { printf(_("File '%s' already there; not retrieving.\n"), axel->filename); axel->ready = -1; return axel; } printf(_("Incomplete download found, ignoring " "no-clobber option\n")); } do { if (!conn_init(&axel->conn[0])) { axel_message(axel, "%s", axel->conn[0].message); axel->ready = -1; return axel; } /* This does more than just checking the file size, it all * depends on the protocol used. */ status = conn_info(&axel->conn[0]); if (!status) { char msg[80]; int code = conn_info_status_get(msg, sizeof(msg), axel->conn); fprintf(stderr, _("ERROR %d: %s.\n"), code, msg); axel->ready = -1; return axel; } } while (status == -1); /* re-init in case of protocol change. This can * happen only once because the FTP protocol * can't redirect back to HTTP */ conn_url(axel->url->text, sizeof(axel->url->text) - 1, axel->conn); axel->size = axel->conn[0].size; if (axel->conf->verbose > 0) { if (axel->size != LLONG_MAX) { char hsize[32]; axel_size_human(hsize, sizeof(hsize), axel->size); axel_message(axel, _("File size: %s (%jd bytes)"), hsize, axel->size); } else { axel_message(axel, _("File size: unavailable")); } } /* Wildcards in URL --> Get complete filename */ if (axel->filename[strcspn(axel->filename, "*?")]) strlcpy(axel->filename, axel->conn[0].file, sizeof(axel->filename)); if (*axel->conn[0].output_filename != 0) { strlcpy(axel->filename, axel->conn[0].output_filename, sizeof(axel->filename)); } return axel; nomem: axel_close(axel); printf("%s\n", strerror(errno)); return NULL; } /* Open a local file to store the downloaded data */ int axel_open(axel_t *axel) { int i, fd; ssize_t nread; if (axel->conf->verbose > 0) axel_message(axel, _("Opening output file %s"), axel->filename); axel->outfd = -1; /* Check whether server knows about RESTart and switch back to single connection download if necessary */ if (!axel->conn[0].supported) { axel_message(axel, _("Server unsupported, " "starting from scratch with one connection.")); axel->conf->num_connections = 1; void *new_conn = realloc(axel->conn, sizeof(conn_t)); if (!new_conn) return 0; axel->conn = new_conn; axel_divide(axel); } else if ((fd = stfile_open(axel->filename, O_RDONLY, 0)) != -1) { int old_format = 0; off_t stsize = lseek(fd, 0, SEEK_END); lseek(fd, 0, SEEK_SET); nread = read(fd, &axel->conf->num_connections, sizeof(axel->conf->num_connections)); if (nread != sizeof(axel->conf->num_connections)) { printf(_("%s.st: Error, truncated state file\n"), axel->filename); close(fd); return 0; } if (axel->conf->num_connections < 1) { fprintf(stderr, _("Bogus number of connections stored in state file\n")); close(fd); return 0; } if (stsize < (off_t)(sizeof(axel->conf->num_connections) + sizeof(axel->bytes_done) + 2 * axel->conf->num_connections * sizeof(axel->conn[0].currentbyte))) { /* FIXME this might be wrong, the file may have been * truncated, we need another way to check. */ #ifndef NDEBUG printf(_("State file has old format.\n")); #endif old_format = 1; } void *new_conn = realloc(axel->conn, sizeof(conn_t) * axel->conf->num_connections); if (!new_conn) { close(fd); return 0; } axel->conn = new_conn; memset(axel->conn + 1, 0, sizeof(conn_t) * (axel->conf->num_connections - 1)); if (old_format) axel_divide(axel); nread = read(fd, &axel->bytes_done, sizeof(axel->bytes_done)); assert(nread == sizeof(axel->bytes_done)); for (i = 0; i < axel->conf->num_connections; i++) { nread = read(fd, &axel->conn[i].currentbyte, sizeof(axel->conn[i].currentbyte)); assert(nread == sizeof(axel->conn[i].currentbyte)); if (!old_format) { nread = read(fd, &axel->conn[i].lastbyte, sizeof(axel->conn[i].lastbyte)); assert(nread == sizeof(axel->conn[i].lastbyte)); } } axel_message(axel, _("State file found: %jd bytes downloaded, %jd to go."), axel->bytes_done, axel->size - axel->bytes_done); close(fd); if ((axel->outfd = open(axel->filename, O_WRONLY, 0666)) == -1) { axel_message(axel, _("Error opening local file")); return 0; } } /* If outfd == -1 we have to start from scrath now */ if (axel->outfd == -1) { axel_divide(axel); if ((axel->outfd = open(axel->filename, O_CREAT | O_WRONLY, 0666)) == -1) { axel_message(axel, _("Error opening local file")); return 0; } /* And check whether the filesystem can handle seeks to past-EOF areas.. Speeds things up. :) AFAIK this should just not happen: */ if (lseek(axel->outfd, axel->size, SEEK_SET) == -1 && axel->conf->num_connections > 1) { /* But if the OS/fs does not allow to seek behind EOF, we have to fill the file with zeroes before starting. Slow.. */ axel_message(axel, _("Crappy filesystem/OS.. Working around. :-(")); lseek(axel->outfd, 0, SEEK_SET); memset(buffer, 0, axel->conf->buffer_size); off_t j = axel->size; while (j > 0) { ssize_t nwrite; if ((nwrite = write(axel->outfd, buffer, min(j, axel->conf->buffer_size))) < 0) { if (errno == EINTR || errno == EAGAIN) continue; axel_message(axel, _("Error creating local file")); return 0; } j -= nwrite; } } } return 1; } /** * Steals half of the largest available chunk of work of at least * MIN_CHUNK_WORTH size, from an active connection to feed a finished one. * * Must be called with the conn_t lock held. */ static void reactivate_connection(axel_t *axel, int thread) { /* TODO Make the minimum also depend on the connection speed */ off_t max_remaining = MIN_CHUNK_WORTH - 1; int idx = -1; if (axel->conn[thread].enabled || axel->conn[thread].currentbyte < axel->conn[thread].lastbyte) return; for (int j = 0; j < axel->conf->num_connections; j++) { off_t remaining = axel->conn[j].lastbyte - axel->conn[j].currentbyte; if (remaining > max_remaining) { max_remaining = remaining; idx = j; } } if (idx == -1) return; #ifndef NDEBUG printf(_("\nReactivate connection %d\n"), thread); #endif axel->conn[thread].lastbyte = axel->conn[idx].lastbyte; axel->conn[idx].lastbyte = axel->conn[idx].currentbyte + max_remaining / 2; axel->conn[thread].currentbyte = axel->conn[idx].lastbyte; } /* Start downloading */ void axel_start(axel_t *axel) { int i; url_t *url_ptr; /* HTTP might've redirected and FTP handles wildcards, so re-scan the URL for every conn */ url_ptr = axel->url; for (i = 0; i < axel->conf->num_connections; i++) { conn_set(&axel->conn[i], url_ptr->text); url_ptr = url_ptr->next; axel->conn[i].local_if = axel->conf->interfaces->text; axel->conf->interfaces = axel->conf->interfaces->next; axel->conn[i].conf = axel->conf; if (i) axel->conn[i].supported = true; } if (axel->conf->verbose > 0) axel_message(axel, _("Starting download")); for (i = 0; i < axel->conf->num_connections; i++) { if (axel->conn[i].currentbyte >= axel->conn[i].lastbyte) { pthread_mutex_lock(&axel->conn[i].lock); reactivate_connection(axel, i); pthread_mutex_unlock(&axel->conn[i].lock); } else if (axel->conn[i].currentbyte < axel->conn[i].lastbyte) { if (axel->conf->verbose >= 2) { axel_message(axel, _("Connection %i downloading from %s:%i using interface %s"), i, axel->conn[i].host, axel->conn[i].port, axel->conn[i].local_if); } axel->conn[i].state = true; if (pthread_create (axel->conn[i].setup_thread, NULL, setup_thread, &axel->conn[i]) != 0) { axel_message(axel, _("pthread error!!!")); axel->ready = -1; } } } /* The real downloading will start now, so let's start counting */ axel->start_time = axel_gettime(); axel->ready = 0; } /* Main 'loop' */ void axel_do(axel_t *axel) { fd_set fds[1]; int hifd, i; off_t remaining, size; struct timeval timeval[1]; url_t *url_ptr; struct timespec delay = {.tv_sec = 0, .tv_nsec = 100000000}; unsigned long long int max_speed_ratio; /* Create statefile if necessary */ if (axel_gettime() > axel->next_state) { save_state(axel); axel->next_state = axel_gettime() + axel->conf->save_state_interval; } /* Wait for data on (one of) the connections */ FD_ZERO(fds); hifd = 0; for (i = 0; i < axel->conf->num_connections; i++) { /* skip connection if setup thread hasn't released the lock yet */ if (!pthread_mutex_trylock(&axel->conn[i].lock)) { if (axel->conn[i].enabled) { FD_SET(axel->conn[i].tcp->fd, fds); hifd = max(hifd, axel->conn[i].tcp->fd); } pthread_mutex_unlock(&axel->conn[i].lock); } } if (hifd == 0) { /* No connections yet. Wait... */ if (axel_sleep(delay) < 0) { axel_message(axel, _("Error while waiting for connection: %s"), strerror(errno)); axel->ready = -1; return; } goto conn_check; } timeval->tv_sec = 0; timeval->tv_usec = 100000; if (select(hifd + 1, fds, NULL, NULL, timeval) == -1) { /* A select() error probably means it was interrupted * by a signal, or that something else's very wrong... */ axel->ready = -1; return; } /* Handle connections which need attention */ for (i = 0; i < axel->conf->num_connections; i++) { /* skip connection if setup thread hasn't released the lock yet */ if (pthread_mutex_trylock(&axel->conn[i].lock)) continue; if (!axel->conn[i].enabled) goto next_conn; if (!FD_ISSET(axel->conn[i].tcp->fd, fds)) { time_t timeout = axel->conn[i].last_transfer + axel->conf->connection_timeout; if (axel_gettime() > timeout) { if (axel->conf->verbose) axel_message(axel, _("Connection %i timed out"), i); conn_disconnect(&axel->conn[i]); } goto next_conn; } axel->conn[i].last_transfer = axel_gettime(); size = tcp_read(axel->conn[i].tcp, buffer, axel->conf->buffer_size); if (size == -1) { if (axel->conf->verbose) { axel_message(axel, _("Error on connection %i! " "Connection closed"), i); } conn_disconnect(&axel->conn[i]); goto next_conn; } if (size == 0) { if (axel->conf->verbose) { /* Only abnormal behaviour if: */ if (axel->conn[i].currentbyte < axel->conn[i].lastbyte && axel->size != LLONG_MAX) { axel_message(axel, _("Connection %i unexpectedly closed"), i); } else { axel_message(axel, _("Connection %i finished"), i); } } if (!axel->conn[0].supported) { axel->ready = 1; } conn_disconnect(&axel->conn[i]); reactivate_connection(axel, i); goto next_conn; } /* remaining == Bytes to go */ remaining = axel->conn[i].lastbyte - axel->conn[i].currentbyte; if (remaining < size) { if (axel->conf->verbose) { axel_message(axel, _("Connection %i finished"), i); } conn_disconnect(&axel->conn[i]); size = remaining; /* Don't terminate, still stuff to write! */ } /* This should always succeed.. */ lseek(axel->outfd, axel->conn[i].currentbyte, SEEK_SET); if (write(axel->outfd, buffer, size) != size) { axel_message(axel, _("Write error!")); axel->ready = -1; pthread_mutex_unlock(&axel->conn[i].lock); return; } axel->conn[i].currentbyte += size; axel->bytes_done += size; if (remaining == size) reactivate_connection(axel, i); next_conn: pthread_mutex_unlock(&axel->conn[i].lock); } if (axel->ready) return; conn_check: /* Look for aborted connections and attempt to restart them. */ url_ptr = axel->url; for (i = 0; i < axel->conf->num_connections; i++) { /* skip connection if setup thread hasn't released the lock yet */ if (pthread_mutex_trylock(&axel->conn[i].lock)) continue; if (!axel->conn[i].enabled && axel->conn[i].currentbyte < axel->conn[i].lastbyte) { if (!axel->conn[i].state) { // Wait for termination of this thread pthread_join(*(axel->conn[i].setup_thread), NULL); conn_set(&axel->conn[i], url_ptr->text); url_ptr = url_ptr->next; /* axel->conn[i].local_if = axel->conf->interfaces->text; axel->conf->interfaces = axel->conf->interfaces->next; */ if (axel->conf->verbose >= 2) axel_message(axel, _("Connection %i downloading from %s:%i using interface %s"), i, axel->conn[i].host, axel->conn[i].port, axel->conn[i].local_if); axel->conn[i].state = true; if (pthread_create (axel->conn[i].setup_thread, NULL, setup_thread, &axel->conn[i]) == 0) { axel->conn[i].last_transfer = axel_gettime(); } else { axel_message(axel, _("pthread error!!!")); axel->ready = -1; } } else { if (axel_gettime() > (axel->conn[i].last_transfer + axel->conf->reconnect_delay)) { pthread_cancel(*axel->conn[i].setup_thread); axel->conn[i].state = false; pthread_join(*axel->conn[i]. setup_thread, NULL); } } } pthread_mutex_unlock(&axel->conn[i].lock); } /* Calculate current average speed and finish_time */ axel->bytes_per_second = (off_t)((double)(axel->bytes_done - axel->start_byte) / (axel_gettime() - axel->start_time)); if (axel->bytes_per_second != 0) axel->finish_time = (int)(axel->start_time + (double)(axel->size - axel->start_byte) / axel->bytes_per_second); else axel->finish_time = INT_MAX; /* Check speed. If too high, delay for some time to slow things down a bit. I think a 5% deviation should be acceptable. */ if (axel->conf->max_speed > 0) { max_speed_ratio = 1000 * axel->bytes_per_second / axel->conf->max_speed; if (max_speed_ratio > 1050) { axel->delay_time.tv_nsec += 10000000; if (axel->delay_time.tv_nsec >= 1000000000) { axel->delay_time.tv_sec++; axel->delay_time.tv_nsec -= 1000000000; } } else if (max_speed_ratio < 950) { if (axel->delay_time.tv_nsec >= 10000000) { axel->delay_time.tv_nsec -= 10000000; } else if (axel->delay_time.tv_sec > 0) { axel->delay_time.tv_sec--; axel->delay_time.tv_nsec += 999000000; } else { axel->delay_time.tv_sec = 0; axel->delay_time.tv_nsec = 0; } } if (axel_sleep(axel->delay_time) < 0) { axel_message(axel, _("Error while enforcing throttling: %s"), strerror(errno)); axel->ready = -1; return; } } /* Ready? */ if (axel->bytes_done == axel->size) axel->ready = 1; } /* Close an axel connection */ void axel_close(axel_t *axel) { if (!axel) return; /* this function can't be called with a partly initialized axel */ assert(axel->conn); /* Terminate threads and close connections */ for (int i = 0; i < axel->conf->num_connections; i++) { /* don't try to kill non existing thread */ if (*axel->conn[i].setup_thread != 0) { pthread_cancel(*axel->conn[i].setup_thread); pthread_join(*axel->conn[i].setup_thread, NULL); } conn_disconnect(&axel->conn[i]); } free(axel->url); /* Delete state file if necessary */ if (axel->ready == 1) { stfile_unlink(axel->filename); } /* Else: Create it.. */ else if (axel->bytes_done > 0) { save_state(axel); } print_messages(axel); close(axel->outfd); if (!PROTO_IS_FTP(axel->conn->proto) || axel->conn->proxy) { abuf_setup(axel->conn->http->request, ABUF_FREE); abuf_setup(axel->conn->http->headers, ABUF_FREE); } free(axel->conn); free(axel); free(buffer); } /* time() with more precision */ double axel_gettime(void) { struct timeval time[1]; gettimeofday(time, NULL); return (double)time->tv_sec + (double)time->tv_usec / 1000000; } /** * Save the state of the current download. */ static void save_state(axel_t *axel) { /* No use for such a file if the server doesn't support resuming anyway.. */ if (!axel->conn[0].supported) return; int fd; fd = stfile_open(axel->filename, O_CREAT | O_TRUNC | O_WRONLY, 0666); if (fd == -1) { return; /* Not 100% fatal.. */ } ssize_t nwrite; (void)nwrite; /* workaround unused variable warning */ nwrite = write(fd, &axel->conf->num_connections, sizeof(axel->conf->num_connections)); assert(nwrite == sizeof(axel->conf->num_connections)); nwrite = write(fd, &axel->bytes_done, sizeof(axel->bytes_done)); assert(nwrite == sizeof(axel->bytes_done)); for (int i = 0; i < axel->conf->num_connections; i++) { nwrite = write(fd, &axel->conn[i].currentbyte, sizeof(axel->conn[i].currentbyte)); assert(nwrite == sizeof(axel->conn[i].currentbyte)); nwrite = write(fd, &axel->conn[i].lastbyte, sizeof(axel->conn[i].lastbyte)); assert(nwrite == sizeof(axel->conn[i].lastbyte)); } close(fd); } /* Thread used to set up a connection */ static void * setup_thread(void *c) { conn_t *conn = c; int oldstate; /* Allow this thread to be killed at any time. */ pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &oldstate); pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &oldstate); pthread_mutex_lock(&conn->lock); if (conn_setup(conn)) { conn->last_transfer = axel_gettime(); if (conn_exec(conn)) { conn->last_transfer = axel_gettime(); conn->enabled = true; goto out; } } conn_disconnect(conn); out: conn->state = false; pthread_mutex_unlock(&conn->lock); return NULL; } /* Add a message to the axel->message structure */ static void axel_message(axel_t *axel, const char *format, ...) { message_t *m; va_list params; if (!axel) goto nomem; m = calloc(1, sizeof(message_t)); if (!m) goto nomem; va_start(params, format); vsnprintf(m->text, MAX_STRING, format, params); va_end(params); if (axel->message == NULL) { axel->message = axel->last_message = m; } else { axel->last_message->next = m; axel->last_message = m; } return; nomem: /* Flush previous messages */ print_messages(axel); va_start(params, format); vprintf(format, params); va_end(params); } /* Divide the file and set the locations for each connection */ static void axel_divide(axel_t *axel) { /* Optimize the number of connections in case the file is small */ off_t maxconns = max(1u, axel->size / MIN_CHUNK_WORTH); if (maxconns < axel->conf->num_connections) axel->conf->num_connections = maxconns; /* Calculate each segment's size */ off_t seg_len = axel->size / axel->conf->num_connections; if (!seg_len) { printf(_("Too few bytes remaining, forcing a single connection\n")); axel->conf->num_connections = 1; seg_len = axel->size; conn_t *new_conn = realloc(axel->conn, sizeof(*axel->conn)); if (new_conn) axel->conn = new_conn; } for (int i = 0; i < axel->conf->num_connections; i++) { axel->conn[i].currentbyte = seg_len * i; axel->conn[i].lastbyte = seg_len * i + seg_len; } /* Last connection downloads remaining bytes */ size_t tail = axel->size % seg_len; axel->conn[axel->conf->num_connections - 1].lastbyte += tail; #ifndef NDEBUG for (int i = 0; i < axel->conf->num_connections; i++) { printf(_("Downloading %jd-%jd using conn. %i\n"), axel->conn[i].currentbyte, axel->conn[i].lastbyte, i); } #endif } axel-2.17.13/src/axel.h0000644000175000017500000001027514560423122010174 /* Axel -- A lighter download accelerator for Linux and other Unices Copyright 2001-2007 Wilmer van der Gaast Copyright 2008 Y Giridhar Appaji Nag Copyright 2008-2009 Philipp Hagemeister Copyright 2015-2017 Joao Eriberto Mota Filho Copyright 2016 Stephen Thirlwall Copyright 2017 Antonio Quartulli Copyright 2017-2019 Ismael Luceno This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Main include file */ #ifndef AXEL_AXEL_H #define AXEL_AXEL_H #include #include #include #include #include #ifndef NOGETOPTLONG #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "compat-android.h" #include "compat-bsd.h" #include "compat-ssl.h" /* GCC function attributes */ #ifdef HAVE_FUNC_ATTRIBUTE_FORMAT #define PRINTF_FUNC(argn) __attribute__((format(__printf__, argn, argn+1))) #else #define PRINTF_FUNC(argn) #endif /* Internationalization */ #ifdef ENABLE_NLS #define _(x) gettext(x) #include #include #else #define _(x) (x) #endif /* Compiled-in settings */ #define MAX_STRING ((size_t)1024) #define MAX_ADD_HEADERS 10 #define MAX_REDIRECT 20 #define DEFAULT_IO_TIMEOUT 120 #define DEFAULT_USER_AGENT "Axel/" VERSION " (" ARCH ")" typedef struct { void *next; char text[MAX_STRING]; } message_t; typedef message_t url_t; typedef message_t if_t; #include "abuf.h" #include "conf.h" #include "tcp.h" #include "ftp.h" #include "http.h" #include "conn.h" #include "ssl.h" #include "search.h" #define min(a, b) \ ({ \ __typeof__(a) __a = (a); \ __typeof__(b) __b = (b); \ __a < __b ? __a : __b; \ }) #define max(a, b) \ ({ \ __typeof__(a) __a = (a); \ __typeof__(b) __b = (b); \ __a > __b ? __a : __b; \ }) typedef struct { conn_t *conn; conf_t *conf; char filename[MAX_STRING]; double start_time; int next_state, finish_time; off_t bytes_done, start_byte, size; long long int bytes_per_second; struct timespec delay_time; int outfd; int ready; message_t *message, *last_message; url_t *url; } axel_t; axel_t *axel_new(conf_t *conf, int count, const search_t *urls); int axel_open(axel_t *axel); void axel_start(axel_t *axel); void axel_do(axel_t *axel); void axel_close(axel_t *axel); void print_messages(axel_t *axel); double axel_gettime(void); ssize_t axel_rand64(uint64_t *); int axel_rnd_init(void); #define DN_MATCH_MALFORMED -1 int dn_match(const char *hostname, const char *pat, size_t pat_len); char *axel_size_human(char *dst, size_t len, size_t value); #endif /* AXEL_AXEL_H */ axel-2.17.13/src/sleep.h0000644000175000017500000000324514560423122010352 /* Axel -- A lighter download accelerator for Linux and other Unices Copyright 2017, 2020 Ismael Luceno This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef AXEL_SLEEP_H #define AXEL_SLEEP_H int axel_sleep(struct timespec delay); #endif /* AXEL_SLEEP_H */ axel-2.17.13/src/sleep.c0000644000175000017500000000345014560423122010343 /* Axel -- A lighter download accelerator for Linux and other Unices Copyright 2017, 2020 Ismael Luceno This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" #define _POSIX_C_SOURCE 200112L #include #include #include "sleep.h" int axel_sleep(struct timespec delay) { int res; while ((res = nanosleep(&delay, &delay)) && errno == EINTR) ; return res; } axel-2.17.13/src/conf.c0000644000175000017500000002152314560423122010161 /* Axel -- A lighter download accelerator for Linux and other Unices Copyright 2001-2007 Wilmer van der Gaast Copyright 2008 Philipp Hagemeister Copyright 2008 Y Giridhar Appaji Nag Copyright 2016 Ivan Gimenez Copyright 2016 Stephen Thirlwall Copyright 2017 Antonio Quartulli Copyright 2017-2019 Ismael Luceno Copyright 2019 Terry This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Configuration handling file */ #include "config.h" #include "axel.h" /* Some nifty macro's.. */ #define MATCH if (0); #define KEY(name) \ else if (!strcmp(key, #name)) \ dst = &conf->name; static int parse_interfaces(conf_t *conf, char *s); #ifdef __GNUC__ __attribute__((format(scanf, 2, 3))) #endif /* __GNUC__ */ static int axel_fscanf(FILE *fp, const char *format, ...) { va_list params; int ret; va_start(params, format); ret = vfscanf(fp, format, params); va_end(params); ret = !(ret == EOF && ferror(fp)); if (!ret) { fprintf(stderr, _("I/O error while reading config file: %s\n"), strerror(errno)); } return ret; } static int parse_progress_style(conf_t *conf, const char *value) { if (!strcasecmp(value, "auto")) {/* no-op */} else if (!strcasecmp(value, "alternative")) conf->progress_style = AXEL_PROGRESS_STYLE_ALTERNATIVE; else if (!strcasecmp(value, "classic")) conf->progress_style = AXEL_PROGRESS_STYLE_CLASSIC; else if (!strcasecmp(value, "percent")) conf->progress_style = AXEL_PROGRESS_STYLE_PERCENTAGE; else fprintf(stderr, _("Unknown progress bar style \"%s\"\n"), value); return 1; } static int parse_protocol(conf_t *conf, const char *value) { if (strcasecmp(value, "ipv4") == 0) conf->ai_family = AF_INET; else if (strcasecmp(value, "ipv6") == 0) conf->ai_family = AF_INET6; else { fprintf(stderr, _("Unknown protocol \"%s\"\n"), value); return 0; } return 1; } int conf_loadfile(conf_t *conf, const char *file) { int line = 0, ret = 1; FILE *fp; char s[MAX_STRING], key[MAX_STRING]; fp = fopen(file, "r"); if (fp == NULL) return 1; /* Not a real failure */ while (!feof(fp)) { char *tmp, *value = NULL; void *dst; line++; *s = 0; if (!(ret = axel_fscanf(fp, "%100[^\n#]s", s))) break; if (!(ret = axel_fscanf(fp, "%*[^\n]s"))) break; if ((fgetc(fp) != '\n') && !feof(fp)) { /* Skip newline */ fprintf(stderr, "Expected newline\n"); goto error; } tmp = strchr(s, '='); if (tmp == NULL) continue; /* Probably empty? */ sscanf(s, "%[^= \t]s", key); /* Skip the "=" and any spaces following it */ while (isspace(*++tmp)); /* XXX isspace('\0') is false */ value = tmp; /* Get to the end of the value string */ while (*tmp && !isspace(*tmp)) tmp++; *tmp = '\0'; /* String options */ MATCH KEY(default_filename) KEY(http_proxy) KEY(no_proxy) else goto num_keys; /* Save string option */ strlcpy(dst, value, MAX_STRING); continue; /* Numeric options */ num_keys: MATCH KEY(strip_cgi_parameters) KEY(save_state_interval) KEY(connection_timeout) KEY(reconnect_delay) KEY(max_redirect) KEY(buffer_size) KEY(max_speed) KEY(verbose) KEY(insecure) KEY(no_clobber) KEY(search_timeout) KEY(search_threads) KEY(search_amount) KEY(search_top) else goto long_num_keys; /* Save numeric option */ *((int *)dst) = atoi(value); continue; /* Long numeric options */ long_num_keys: MATCH KEY(max_speed) else goto other_keys; /* Save numeric option */ *((unsigned long long *)dst) = strtoull(value, NULL, 10); continue; other_keys: /* Option defunct but shouldn't be an error */ if (strcmp(key, "speed_type") == 0) continue; else if (strcmp(key, "interfaces") == 0) { if (parse_interfaces(conf, value)) continue; } else if (strcmp(key, "progress_style") == 0) { if (parse_progress_style(conf, value)) continue; } else if (strcmp(key, "use_protocol") == 0) { if (parse_protocol(conf, value)) continue; } else if (strcmp(key, "num_connections") == 0) { int num = atoi(value); if (num <= USHRT_MAX) { conf->num_connections = num; continue; } fprintf(stderr, _("Requested too many connections, max is %i\n"), USHRT_MAX); } else if (!strcmp(key, "user_agent")) { conf_hdr_make(conf->add_header[HDR_USER_AGENT], "User-Agent", DEFAULT_USER_AGENT); continue; } #if 0 /* FIXME broken code */ get_config_number(add_header_count); for (int i = 0; i < conf->add_header_count; i++) get_config_string(add_header[i]); #endif error: fprintf(stderr, _("Error in %s line %i.\n"), file, line); ret = 0; break; } fclose(fp); return ret; } int conf_init(conf_t *conf) { char *s2; int i; /* Set defaults */ memset(conf, 0, sizeof(conf_t)); strlcpy(conf->default_filename, "default", sizeof(conf->default_filename)); *conf->http_proxy = 0; *conf->no_proxy = 0; conf->strip_cgi_parameters = 1; conf->save_state_interval = 10; conf->connection_timeout = 45; conf->reconnect_delay = 20; conf->num_connections = 4; conf->max_redirect = MAX_REDIRECT; conf->io_timeout = DEFAULT_IO_TIMEOUT; conf->buffer_size = 5120; conf->max_speed = 0; conf->verbose = 1; conf->insecure = 0; conf->no_clobber = 0; conf->search_timeout = 10; conf->search_threads = 3; conf->search_amount = 15; conf->search_top = 3; conf->ai_family = AF_UNSPEC; conf_hdr_make(conf->add_header[HDR_USER_AGENT], "User-Agent", DEFAULT_USER_AGENT); conf->add_header_count = HDR_count_init; conf->interfaces = calloc(1, sizeof(if_t)); if (!conf->interfaces) return 0; conf->interfaces->next = conf->interfaces; /* Detect if stdout is a tty, set the default indicator to alternate. * Otherwise, keep it to original. */ conf->progress_style = isatty(STDOUT_FILENO) ? AXEL_PROGRESS_STYLE_ALTERNATIVE : AXEL_PROGRESS_STYLE_CLASSIC; if ((s2 = getenv("http_proxy")) || (s2 = getenv("HTTP_PROXY"))) strlcpy(conf->http_proxy, s2, sizeof(conf->http_proxy)); if (!conf_loadfile(conf, ETCDIR "/axelrc")) return 0; if ((s2 = getenv("HOME")) != NULL) { char s[MAX_STRING]; int ret; ret = snprintf(s, sizeof(s), "%s/.axelrc", s2); if (ret >= (int)sizeof(s)) { fprintf(stderr, _("HOME env variable too long\n") ); return 0; } if (!conf_loadfile(conf, s)) return 0; } /* Convert no_proxy to a 0-separated-and-00-terminated list.. */ for (i = 0; conf->no_proxy[i]; i++) if (conf->no_proxy[i] == ',') conf->no_proxy[i] = 0; conf->no_proxy[i + 1] = 0; return 1; } /* release resources allocated by conf_init() */ void conf_free(conf_t *conf) { free(conf->interfaces); } static int parse_interfaces(conf_t *conf, char *s) { char *s2; if_t *iface; iface = conf->interfaces->next; while (iface != conf->interfaces) { if_t *i; i = iface->next; free(iface); iface = i; } free(conf->interfaces); if (!*s) { conf->interfaces = calloc(1, sizeof(if_t)); if (!conf->interfaces) return 0; conf->interfaces->next = conf->interfaces; return 1; } conf->interfaces = iface = malloc(sizeof(if_t)); if (!conf->interfaces) return 0; while (1) { while ((*s == ' ' || *s == '\t') && *s) s++; for (s2 = s; *s2 != ' ' && *s2 != '\t' && *s2; s2++) ; *s2 = 0; if (*s < '0' || *s > '9') get_if_ip(iface->text, sizeof(iface->text), s); else strlcpy(iface->text, s, sizeof(iface->text)); s = s2 + 1; if (*s) { iface->next = malloc(sizeof(if_t)); if (!iface->next) return 0; iface = iface->next; } else { iface->next = conf->interfaces; break; } } return 1; } axel-2.17.13/src/conf.h0000644000175000017500000000555614560423122010176 /* Axel -- A lighter download accelerator for Linux and other Unices Copyright 2001-2007 Wilmer van der Gaast Copyright 2008 Philipp Hagemeister Copyright 2008 Y Giridhar Appaji Nag Copyright 2016 Stephen Thirlwall Copyright 2017 Antonio Quartulli Copyright 2017-2019 Ismael Luceno This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Configuration handling include file */ #ifndef AXEL_CONF_H #define AXEL_CONF_H typedef struct { char default_filename[MAX_STRING]; char http_proxy[MAX_STRING]; char no_proxy[MAX_STRING]; uint16_t num_connections; int strip_cgi_parameters; int save_state_interval; int connection_timeout; int reconnect_delay; int max_redirect; int buffer_size; unsigned long long max_speed; int verbose; int insecure; int no_clobber; enum { AXEL_PROGRESS_STYLE_CLASSIC, AXEL_PROGRESS_STYLE_ALTERNATIVE, AXEL_PROGRESS_STYLE_PERCENTAGE, } progress_style; if_t *interfaces; sa_family_t ai_family; int search_timeout; int search_threads; int search_amount; int search_top; unsigned io_timeout; int add_header_count; char add_header[MAX_ADD_HEADERS][MAX_STRING]; } conf_t; int conf_loadfile(conf_t *conf, const char *file); int conf_init(conf_t *conf); void conf_free(conf_t *conf); enum { HDR_USER_AGENT, HDR_count_init, }; inline static void conf_hdr_make(char *dst, const char *k, const char *v) { snprintf(dst, sizeof(((conf_t *)0)->add_header[0]), "%s: %s", k, v); } #endif /* AXEL_CONF_H */ axel-2.17.13/src/conn.c0000644000175000017500000003173314560423122010175 /* Axel -- A lighter download accelerator for Linux and other Unices Copyright 2001-2007 Wilmer van der Gaast Copyright 2007-2008 Y Giridhar Appaji Nag Copyright 2008 Philipp Hagemeister Copyright 2015 Joao Eriberto Mota Filho Copyright 2016 Phillip Berndt Copyright 2016 Sjjad Hashemian Copyright 2016 Stephen Thirlwall Copyright 2017 Antonio Quartulli Copyright 2017-2018 Ismael Luceno Copyright 2018 Shankar This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Connection stuff */ #include "config.h" #include "axel.h" #include "hash.h" /** * Convert an URL to a conn_t structure. */ int conn_set(conn_t *conn, const char *set_url) { char url[MAX_STRING]; char *i, *j; /* protocol:// */ if ((i = strstr(set_url, "://")) == NULL) { conn->proto = PROTO_DEFAULT; conn->port = PROTO_DEFAULT_PORT; strlcpy(url, set_url, sizeof(url)); } else { int proto_len = i - set_url; if (strncmp(set_url, "ftp", proto_len) == 0) { conn->proto = PROTO_FTP; conn->port = PROTO_FTP_PORT; } else if (strncmp(set_url, "http", proto_len) == 0) { conn->proto = PROTO_HTTP; conn->port = PROTO_HTTP_PORT; } else if (strncmp(set_url, "ftps", proto_len) == 0) { conn->proto = PROTO_FTPS; conn->port = PROTO_FTPS_PORT; } else if (strncmp(set_url, "https", proto_len) == 0) { conn->proto = PROTO_HTTPS; conn->port = PROTO_HTTPS_PORT; } else { fprintf(stderr, _("Unsupported protocol\n")); return 0; } #ifndef HAVE_SSL if (PROTO_IS_SECURE(conn->proto)) { fprintf(stderr, _("Secure protocol is not supported\n")); return 0; } #endif strlcpy(url, i + 3, sizeof(url)); } /* Split */ if ((i = strchr(url, '/')) == NULL) { strcpy(conn->dir, "/"); } else { *i = 0; snprintf(conn->dir, MAX_STRING, "/%s", i + 1); } j = strchr(conn->dir, '?'); if (j != NULL) *j = 0; i = strrchr(conn->dir, '/'); if (i != NULL) *i = 0; if (j != NULL) *j = '?'; if (i == NULL) { strlcpy(conn->file, conn->dir, sizeof(conn->file)); strcpy(conn->dir, "/"); } else { strlcpy(conn->file, i + 1, sizeof(conn->file)); strlcat(conn->dir, "/", sizeof(conn->dir)); } /* Check for username in host field */ // FIXME: optimize if (strrchr(url, '@') != NULL) { strlcpy(conn->user, url, sizeof(conn->user)); i = strrchr(conn->user, '@'); *i = 0; strlcpy(url, i + 1, sizeof(url)); *conn->pass = 0; } else { /* If not: Fill in defaults */ if (PROTO_IS_FTP(conn->proto)) { /* Dash the password: Save traffic by trying to avoid multi-line responses */ strcpy(conn->user, "anonymous"); strcpy(conn->pass, "mailto:axel@axel.project"); } else { *conn->user = *conn->pass = 0; } } /* Password? */ if ((i = strchr(conn->user, ':')) != NULL) { *i = 0; strlcpy(conn->pass, i + 1, sizeof(conn->pass)); } // Look for IPv6 literal hostname if (*url == '[') { strlcpy(conn->host, url + 1, sizeof(conn->host)); if ((i = strrchr(conn->host, ']')) != NULL) { *i++ = 0; } else { return 0; } } else { strlcpy(conn->host, url, sizeof(conn->host)); i = conn->host; while (*i && *i != ':') { i++; } } /* Port number? */ if (*i == ':') { *i = 0; sscanf(i + 1, "%i", &conn->port); i = conn->host; } return conn->port > 0; } const char * scheme_from_proto(int proto) { switch (proto) { case PROTO_FTP: return "ftp://"; case PROTO_FTPS: return "ftps://"; default: case PROTO_HTTP: return "http://"; case PROTO_HTTPS: return "https://"; } } /* Generate a nice URL string. */ int conn_url(char *dst, size_t len, conn_t *conn) { const char *prefix = "", *postfix = ""; const char *scheme = scheme_from_proto(conn->proto); size_t scheme_len = strlcpy(dst, scheme, len); if (scheme_len > len) return -1; len -= scheme_len; char *p = dst + scheme_len; if (*conn->user != 0 && strcmp(conn->user, "anonymous") != 0) { int plen = snprintf(p, len, "%s:%s@", conn->user, conn->pass); if (plen < 0) return -1; len -= plen; p += plen; } if (is_ipv6_addr(conn->host)) { prefix = "["; postfix = "]"; } return snprintf(p, len, "%s%s%s:%i%s%s", prefix, conn->host, postfix, conn->port, conn->dir, conn->file); } /* Simple... */ void conn_disconnect(conn_t *conn) { if (PROTO_IS_FTP(conn->proto) && !conn->proxy) ftp_disconnect(conn->ftp); else http_disconnect(conn->http); conn->tcp = NULL; conn->enabled = false; } int conn_init(conn_t *conn) { char *proxy = conn->conf->http_proxy, *host = conn->conf->no_proxy; int i; if (*conn->conf->http_proxy == 0) { proxy = NULL; } else if (*conn->conf->no_proxy != 0) { for (i = 0;; i++) if (conn->conf->no_proxy[i] == 0) { if (strstr(conn->host, host) != NULL) proxy = NULL; host = &conn->conf->no_proxy[i + 1]; if (conn->conf->no_proxy[i + 1] == 0) break; } } conn->proxy = proxy != NULL; if (PROTO_IS_FTP(conn->proto) && !conn->proxy) { conn->ftp->local_if = conn->local_if; conn->ftp->ftp_mode = FTP_PASSIVE; conn->ftp->tcp.ai_family = conn->conf->ai_family; if (!ftp_connect(conn->ftp, conn->proto, conn->host, conn->port, conn->user, conn->pass, conn->conf->io_timeout)) { conn->message = conn->ftp->message; conn_disconnect(conn); return 0; } conn->message = conn->ftp->message; if (!ftp_cwd(conn->ftp, conn->dir)) { conn_disconnect(conn); return 0; } } else { conn->http->local_if = conn->local_if; conn->http->tcp.ai_family = conn->conf->ai_family; if (!http_connect(conn->http, conn->proto, proxy, conn->host, conn->port, conn->user, conn->pass, conn->conf->io_timeout)) { conn->message = conn->http->headers->p; conn_disconnect(conn); return 0; } conn->message = conn->http->headers->p; conn->tcp = &conn->http->tcp; } return 1; } /** * Setup the connection. * * Must be called with the conn_t lock held. */ int conn_setup(conn_t *conn) { if (conn->ftp->tcp.fd <= 0 && conn->http->tcp.fd <= 0) if (!conn_init(conn)) return 0; if (PROTO_IS_FTP(conn->proto) && !conn->proxy) { /* Set up data connection */ if (!ftp_data(conn->ftp, conn->conf->io_timeout)) return 0; conn->tcp = &conn->ftp->data_tcp; if (conn->currentbyte) { ftp_command(conn->ftp, "REST %jd", conn->currentbyte); if (ftp_wait(conn->ftp) / 100 != 3 && conn->ftp->status / 100 != 2) return 0; } } else { char s[MAX_STRING * 2]; int i; snprintf(s, sizeof(s), "%s%s", conn->dir, conn->file); conn->http->firstbyte = conn->supported ? conn->currentbyte : -1; conn->http->lastbyte = conn->lastbyte; abuf_setup(conn->http->request, 2048); http_get(conn->http, s); for (i = 0; i < conn->conf->add_header_count; i++) http_addheader(conn->http, "%s", conn->conf->add_header[i]); } return 1; } int conn_exec(conn_t *conn) { if (PROTO_IS_FTP(conn->proto) && !conn->proxy) { if (!ftp_command(conn->ftp, "RETR %s", conn->file)) return 0; return ftp_wait(conn->ftp) / 100 == 1; } else { abuf_setup(conn->http->headers, 1024); if (!http_exec(conn->http)) return 0; return conn->http->status / 100 == 2; } } static int conn_info_ftp(conn_t *conn) { ftp_command(conn->ftp, "REST %d", 1); if (ftp_wait(conn->ftp) / 100 == 3 || conn->ftp->status / 100 == 2) { conn->supported = true; ftp_command(conn->ftp, "REST %d", 0); ftp_wait(conn->ftp); } else { conn->supported = false; } if (!ftp_cwd(conn->ftp, conn->dir)) return 0; conn->size = ftp_size(conn->ftp, conn->file, conn->conf->max_redirect, conn->conf->io_timeout); if (conn->size < 0) conn->supported = false; if (conn->size == -1) return 0; else if (conn->size == -2) conn->size = LLONG_MAX; return 1; } struct urlseq { uint64_t secret[1]; char buf[MAX_STRING]; int num_urls; uint32_t visited_urls[]; }; static void * urlseq_teardown(struct urlseq **u) { free(*u); return *u = NULL; } static struct urlseq * urlseq_init(unsigned int urlcount) { struct urlseq *u; u = malloc(sizeof(*u) + sizeof(u->visited_urls[0]) * urlcount); if (!u || axel_rand64(u->secret) < (ssize_t)sizeof(u->secret[0])) return urlseq_teardown(&u); u->num_urls = 0; return u; } static int urlseq_check_loop(struct urlseq *u, conn_t *conn) { if (!u) return 0; int url_len = conn_url(u->buf, sizeof(u->buf), conn); if (url_len <= 0) return 0; uint32_t url_hash = axel_hash32(u->buf, url_len, u->secret); for (int j = 0; j < u->num_urls; j++) { if (u->visited_urls[j] == url_hash) return 1; } u->visited_urls[u->num_urls++] = url_hash; return 0; } /* Get file size and other information */ int conn_info(conn_t *conn) { /* It's all a bit messed up.. But it works. */ if (PROTO_IS_FTP(conn->proto) && !conn->proxy) { return conn_info_ftp(conn); } char s[1005]; long long int i = 0; struct urlseq *urlseq = urlseq_init(conn->conf->max_redirect); do { const char *t; conn->supported = true; conn->currentbyte = 0; pthread_mutex_lock(&conn->lock); int setup_ret = conn_setup(conn); pthread_mutex_unlock(&conn->lock); if (!setup_ret) return 0; conn_exec(conn); conn_disconnect(conn); http_filename(conn->http, conn->output_filename); /* Code 3xx == redirect */ if (conn->http->status / 100 != 3) break; if ((t = http_header(conn->http, "location:")) == NULL) return 0; sscanf(t, "%1000s", s); if (s[0] == '/') { abuf_printf(conn->http->headers, "%s%s:%i%s", scheme_from_proto(conn->proto), conn->host, conn->port, s); strlcpy(s, conn->http->headers->p, sizeof(s)); } else if (strstr(s, "://") == NULL) { conn_url(conn->http->headers->p, conn->http->headers->len, conn); strlcat(conn->http->headers->p, s, conn->http->headers->len); strlcpy(s, conn->http->headers->p, sizeof(s)); } if (!conn_set(conn, s)) { return 0; } /* check if the download has been redirected to FTP and * report it back to the caller */ if (PROTO_IS_FTP(conn->proto) && !conn->proxy) { return -1; } if (++i >= conn->conf->max_redirect) { fprintf(stderr, _("Too many redirects.\n")); return 0; } /* Check if the current URL has already been visited */ if (urlseq_check_loop(urlseq, conn)) { fprintf(stderr, _("Redirect loop detected.\n")); return 0; } } while (conn->http->status / 100 == 3); /* Free the memory allocated for the redirect loop detection */ urlseq_teardown(&urlseq); /* Check for non-recoverable errors */ if (conn->http->status != 416 && conn->http->status / 100 != 2) return 0; conn->size = http_size_from_range(conn->http); /* We assume partial requests are supported if a Content-Range * header is present. */ conn->supported = conn->http->status == 206 || conn->size > 0; if (conn->size <= 0) { /* Sanity check */ switch (conn->http->status) { case 200: /* OK -> unsupported */ case 416: /* Range Not Satisfiable -> broken? */ conn->supported = false; case 206: /* Partial Content */ break; default: /* unexpected */ return 0; } } /* If Content-Range is missing or disagrees with Content-Length, it's a * server bug; we take the larger and hope for the best. */ conn->size = max(conn->size, http_size(conn->http)); if (conn->size <= 0) { conn->size = LLONG_MAX; conn->supported = false; } return 1; } int conn_info_status_get(char *msg, size_t size, conn_t *conn) { if (is_proto_http(conn->proto)) { char *p = conn->http->headers->p; /* Skip protocol and code */ while (*p++ != ' '); while (*p++ != ' '); size_t len = strcspn(p, "\r\n"); if (len) { strlcpy(msg, p, min(len + 1, size)); return conn->http->status; } } strlcpy(msg, _("Unknown Error"), size); return -1; } axel-2.17.13/src/conn.h0000644000175000017500000000721314560423122010176 /* Axel -- A lighter download accelerator for Linux and other Unices Copyright 2001-2007 Wilmer van der Gaast Copyright 2008 Y Giridhar Appaji Nag Copyright 2016 Sjjad Hashemian Copyright 2016 Stephen Thirlwall Copyright 2017 Antonio Quartulli Copyright 2017 Ismael Luceno This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * SPDX-License-Identifier: GPL-2.0-or-later */ /* Connection stuff */ #ifndef AXEL_CONN_H #define AXEL_CONN_H #define PROTO_SECURE_MASK (1<<0) /* bit 0 - 0 = insecure, 1 = secure */ #define PROTO_PROTO_MASK (1<<1) /* bit 1 = 0 = ftp, 1 = http */ #define PROTO_INSECURE (0<<0) #define PROTO_SECURE (1<<0) #define PROTO_PROTO_FTP (0<<1) #define PROTO_PROTO_HTTP (1<<1) #define PROTO_IS_FTP(proto) \ (((proto) & PROTO_PROTO_MASK) == PROTO_PROTO_FTP) #define PROTO_IS_SECURE(proto) \ (((proto) & PROTO_SECURE_MASK) == PROTO_SECURE) #define PROTO_FTP (PROTO_PROTO_FTP|PROTO_INSECURE) #define PROTO_FTP_PORT 21 #define PROTO_FTPS (PROTO_PROTO_FTP|PROTO_SECURE) #define PROTO_FTPS_PORT 990 #define PROTO_HTTP (PROTO_PROTO_HTTP|PROTO_INSECURE) #define PROTO_HTTP_PORT 80 #define PROTO_HTTPS (PROTO_PROTO_HTTP|PROTO_SECURE) #define PROTO_HTTPS_PORT 443 #define PROTO_DEFAULT PROTO_HTTP #define PROTO_DEFAULT_PORT PROTO_HTTP_PORT static inline int is_proto_http(int proto) { return (proto & PROTO_PROTO_MASK) == PROTO_PROTO_HTTP; } typedef struct { conf_t *conf; int proto; int port; int proxy; char host[MAX_STRING]; char dir[MAX_STRING]; char file[MAX_STRING]; char user[MAX_STRING]; char pass[MAX_STRING]; char output_filename[MAX_STRING]; ftp_t ftp[1]; http_t http[1]; off_t size; /* File size, not 'connection size'.. */ off_t currentbyte; off_t lastbyte; tcp_t *tcp; bool enabled; bool supported; int last_transfer; char *message; char *local_if; bool state; pthread_t setup_thread[1]; pthread_mutex_t lock; } conn_t; int conn_set(conn_t *conn, const char *set_url); int conn_url(char *dst, size_t len, conn_t *conn); void conn_disconnect(conn_t *conn); int conn_init(conn_t *conn); int conn_setup(conn_t *conn); int conn_exec(conn_t *conn); int conn_info(conn_t *conn); int conn_info_status_get(char *msg, size_t size, conn_t *conn); const char *scheme_from_proto(int proto); #endif /* AXEL_CONN_H */ axel-2.17.13/src/ftp.c0000644000175000017500000002070314560423122010024 /* Axel -- A lighter download accelerator for Linux and other Unices Copyright 2001-2007 Wilmer van der Gaast Copyright 2007-2008 Y Giridhar Appaji Nag Copyright 2016 Stephen Thirlwall Copyright 2017 Antonio Quartulli Copyright 2017-2019 Ismael Luceno This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * SPDX-License-Identifier: GPL-2.0-or-later */ /* FTP control file */ #include "config.h" #include "axel.h" int ftp_connect(ftp_t *conn, int proto, char *host, int port, char *user, char *pass, unsigned io_timeout) { conn->data_tcp.fd = -1; conn->message = malloc(MAX_STRING); if (!conn->message) return 0; conn->proto = proto; if (tcp_connect(&conn->tcp, host, port, PROTO_IS_SECURE(conn->proto), conn->local_if, io_timeout) == -1) return 0; if (ftp_wait(conn) / 100 != 2) return 0; ftp_command(conn, "USER %s", user); if (ftp_wait(conn) / 100 != 2) { if (conn->status / 100 == 3) { ftp_command(conn, "PASS %s", pass); if (ftp_wait(conn) / 100 != 2) return 0; } else { return 0; } } /* ASCII mode sucks. Just use Binary.. */ ftp_command(conn, "TYPE I"); if (ftp_wait(conn) / 100 != 2) return 0; return 1; } void ftp_disconnect(ftp_t *conn) { tcp_close(&conn->tcp); tcp_close(&conn->data_tcp); if (conn->message) { free(conn->message); conn->message = NULL; } *conn->cwd = 0; } /* Change current working directory */ int ftp_cwd(ftp_t *conn, char *cwd) { /* Necessary at all? */ if (strncmp(conn->cwd, cwd, MAX_STRING) == 0) return 1; ftp_command(conn, "CWD %s", cwd); if (ftp_wait(conn) / 100 != 2) { fprintf(stderr, _("Can't change directory to %s\n"), cwd); return 0; } strlcpy(conn->cwd, cwd, sizeof(conn->cwd)); return 1; } /* Get file size. Should work with all reasonable servers now */ off_t ftp_size(ftp_t *conn, char *file, int maxredir, unsigned io_timeout) { off_t i, j, size = MAX_STRING; char *reply, *s, fn[MAX_STRING]; /* Try the SIZE command first, if possible */ if (!strchr(file, '*') && !strchr(file, '?')) { ftp_command(conn, "SIZE %s", file); if (ftp_wait(conn) / 100 == 2) { sscanf(conn->message, "%*i %jd", &i); return i; } else if (conn->status / 10 != 50) { fprintf(stderr, _("File not found.\n")); return -1; } } if (maxredir == 0) { fprintf(stderr, _("Too many redirects.\n")); return -1; } if (!ftp_data(conn, io_timeout)) return -1; ftp_command(conn, "LIST %s", file); if (ftp_wait(conn) / 100 != 1) return -1; /* Read reply from the server. */ reply = calloc(1, size); if (!reply) return -1; *reply = '\n'; i = 1; while ((j = tcp_read(&conn->data_tcp, reply + i, size - i - 3)) > 0) { i += j; reply[i] = 0; if (size - i <= 10) { size *= 2; char *tmp = realloc(reply, size); if (!tmp) { free(reply); return -1; } reply = tmp; memset(reply + size / 2, 0, size / 2); } } tcp_close(&conn->data_tcp); if (ftp_wait(conn) / 100 != 2) { free(reply); return -1; } #ifndef NDEBUG fprintf(stderr, "%s", reply); #endif /* Count the number of probably legal matches: Files&Links only */ j = 0; for (i = 1; reply[i] && reply[i + 1]; i++) if (reply[i] == '-' || reply[i] == 'l') j++; else while (reply[i] != '\n' && reply[i]) i++; /* No match or more than one match */ if (j != 1) { if (j == 0) fprintf(stderr, _("File not found.\n")); else fprintf(stderr, _("Multiple matches for this URL.\n")); free(reply); return -1; } /* Symlink handling */ if ((s = strstr(reply, "\nl")) != NULL) { /* Get the real filename */ sscanf(s, "%*s %*i %*s %*s %*i %*s %*i %*s %100s", fn); // FIXME: replace by strlcpy strcpy(file, fn); /* Get size of the file linked to */ strlcpy(fn, strstr(s, "->") + 3, sizeof(fn)); fn[sizeof(fn) - 1] = '\0'; free(reply); if ((reply = strchr(fn, '\r')) != NULL) *reply = 0; if ((reply = strchr(fn, '\n')) != NULL) *reply = 0; return ftp_size(conn, fn, maxredir - 1, io_timeout); } /* Normal file, so read the size! And read filename because of possible wildcards. */ else { s = strstr(reply, "\n-"); i = sscanf(s, "%*s %*i %*s %*s %jd %*s %*i %*s %100s", &size, fn); if (i < 2) { i = sscanf(s, "%*s %*i %jd %*i %*s %*i %*i %100s", &size, fn); if (i < 2) { return -2; } } // FIXME: replace by strlcpy strcpy(file, fn); free(reply); return size; } } /* Open a data connection. Only Passive mode supported yet, easier.. */ int ftp_data(ftp_t *conn, unsigned io_timeout) { int i, info[6]; char host[MAX_STRING]; /* Already done? */ if (conn->data_tcp.fd > 0) return 0; /* if (conn->ftp_mode == FTP_PASSIVE) { */ ftp_command(conn, "PASV"); if (ftp_wait(conn) / 100 != 2) return 0; *host = 0; for (i = 0; conn->message[i]; i++) { if (sscanf(&conn->message[i], "%i,%i,%i,%i,%i,%i", &info[0], &info[1], &info[2], &info[3], &info[4], &info[5]) == 6) { snprintf(host, sizeof(host), "%i.%i.%i.%i", info[0], info[1], info[2], info[3]); break; } } if (!*host) { fprintf(stderr, _("Error opening passive data connection.\n")); return 0; } if (tcp_connect(&conn->data_tcp, host, info[4] * 256 + info[5], PROTO_IS_SECURE(conn->proto), conn->local_if, io_timeout) == -1) return 0; return 1; /* } else { fprintf(stderr, _("Active FTP not implemented yet.\n")); return 0; } */ } /* Send a command to the server */ int ftp_command(ftp_t *conn, const char *format, ...) { va_list params; char cmd[MAX_STRING]; va_start(params, format); vsnprintf(cmd, sizeof(cmd) - 3, format, params); strlcat(cmd, "\r\n", sizeof(cmd)); va_end(params); #ifndef NDEBUG fprintf(stderr, "fd(%i)<--%s", conn->tcp.fd, cmd); #endif if (tcp_write(&conn->tcp, cmd, strlen(cmd)) != (ssize_t)strlen(cmd)) { fprintf(stderr, _("Error writing command %s\n"), cmd); return 0; } else { return 1; } } /* Read status from server. Should handle multi-line replies correctly. Multi-line replies suck... */ int ftp_wait(ftp_t *conn) { int size = MAX_STRING, r = 0, complete, i, j; { void *new_msg = realloc(conn->message, size); if (!new_msg) return -1; conn->message = new_msg; } do { do { r += i = tcp_read(&conn->tcp, conn->message + r, 1); if (i <= 0) { fprintf(stderr, _("Connection gone.\n")); return -1; } if ((r + 10) >= size) { size += MAX_STRING; void *new_msg = realloc(conn->message, size); if (!new_msg) return -1; conn->message = new_msg; } } while (conn->message[r - 1] != '\n'); conn->message[r] = 0; sscanf(conn->message, "%i", &conn->status); if (conn->message[3] == ' ') complete = 1; else complete = 0; for (i = 0; conn->message[i]; i++) if (conn->message[i] == '\n') { if (complete == 1) { complete = 2; break; } if (conn->message[i + 4] == ' ') { j = -1; sscanf(&conn->message[i + 1], "%3i", &j); if (j == conn->status) complete = 1; } } } while (complete != 2); #ifndef NDEBUG fprintf(stderr, "fd(%i)-->%s", conn->tcp.fd, conn->message); #endif int k = strcspn(conn->message, "\r\n"); conn->message[k] = 0; conn->message = realloc(conn->message, k + 1); return conn->status; } axel-2.17.13/src/ftp.h0000644000175000017500000000472214560423122010034 /* Axel -- A lighter download accelerator for Linux and other Unices Copyright 2001-2007 Wilmer van der Gaast Copyright 2008 Y Giridhar Appaji Nag Copyright 2016 Stephen Thirlwall Copyright 2017 Antonio Quartulli Copyright 2017-2019 Ismael Luceno This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * SPDX-License-Identifier: GPL-2.0-or-later */ /* FTP control include file */ #ifndef AXEL_FTP_H #define AXEL_FTP_H #define FTP_PASSIVE 1 #define FTP_PORT 2 typedef struct { char cwd[MAX_STRING]; char *message; int status; tcp_t tcp; tcp_t data_tcp; int proto; int ftp_mode; char *local_if; } ftp_t; int ftp_connect(ftp_t *conn, int proto, char *host, int port, char *user, char *pass, unsigned io_timeout); void ftp_disconnect(ftp_t *conn); int ftp_wait(ftp_t *conn); #ifdef __GNUC__ __attribute__((format(printf, 2, 3))) #endif /* __GNUC__ */ int ftp_command(ftp_t *conn, const char *format, ...); int ftp_cwd(ftp_t *conn, char *cwd); int ftp_data(ftp_t *conn, unsigned io_timeout); off_t ftp_size(ftp_t *conn, char *file, int maxredir, unsigned io_timeout); #endif /* AXEL_FTP_H */ axel-2.17.13/src/hash.c0000644000175000017500000000710014560423122010152 /* Axel -- A lighter download accelerator for Linux and other Unices * * SipHash-2-4-32 hashing function * * Copyright 2016 Jean-Philippe Aumasson * Copyright 2022 Ismael Luceno * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * In addition, as a special exception, the copyright holders give * permission to link the code of portions of this program with the * OpenSSL library under certain conditions as described in each * individual source file, and distribute linked combinations including * the two. * * You must obey the GNU General Public License in all respects for all * of the code used other than OpenSSL. If you modify file(s) with this * exception, you may extend this exception to your version of the * file(s), but you are not obligated to do so. If you do not wish to do * so, delete this exception statement from your version. If you delete * this exception statement from all source files in the program, then * also delete it here. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * SPDX-License-Identifier: GPL-2.0-or-later */ #include #include #include "hash.h" /* default: SipHash-2-4 */ #define cROUNDS 2 #define dROUNDS 4 #define FORCE_INLINE __attribute__((always_inline)) inline FORCE_INLINE static uint32_t ROTL(uint32_t x, uint8_t b) { return x << b | x >> (32 - b); } static inline uint32_t U8TO32_LE(const uint8_t *p) { return p[0] | p[1] << 8 | p[2] << 16 | p[3] << 24; } /** * Convert from/to little endian. */ FORCE_INLINE uint32_t cu32swap(uint32_t n) { const union { int i; char c; } u = { 1 }; return u.c ? n : n>>24 | (n>>8&0xff00) | (n<<8&0xff0000) | n<<24; } #define cpu_to_u32le cu32swap #define u32le_to_cpu cu32swap FORCE_INLINE static void SIPROUND(uint32_t v[4]); /** * Computes a SipHash-like value. */ uint32_t axel_hash32(const void *src, size_t len, const uint64_t *kk) { const uint8_t *ni = src; const int tail = len & 3; const unsigned char *end = ni + (len & ~3); uint32_t b = len << 24; uint32_t v[4]; v[0] = u32le_to_cpu(kk[0]); v[1] = u32le_to_cpu(kk[0] >> 32); v[2] = UINT32_C(0x6c796765) ^ v[0]; v[3] = UINT32_C(0x74656462) ^ v[1]; for (; ni != end; ni += 4) { uint32_t m = U8TO32_LE(ni); v[3] ^= m; for (int i = 0; i < cROUNDS; ++i) SIPROUND(v); v[0] ^= m; } switch (tail) { case 3: b |= ((uint32_t)ni[2]) << 16; /* fallthru */ case 2: b |= ((uint32_t)ni[1]) << 8; /* fallthru */ case 1: b |= ((uint32_t)ni[0]); default: break; } v[3] ^= b; for (int i = 0; i < cROUNDS; ++i) SIPROUND(v); v[0] ^= b; v[2] ^= 0xff; for (int i = 0; i < dROUNDS; ++i) SIPROUND(v); b = v[1] ^ v[3]; return cpu_to_u32le(b); } void SIPROUND(uint32_t v[4]) { v[0] += v[1]; v[1] = ROTL(v[1], 5); v[1] ^= v[0]; v[0] = ROTL(v[0], 16); v[2] += v[3]; v[3] = ROTL(v[3], 8); v[3] ^= v[2]; v[0] += v[3]; v[3] = ROTL(v[3], 7); v[3] ^= v[0]; v[2] += v[1]; v[1] = ROTL(v[1], 13); v[1] ^= v[2]; v[2] = ROTL(v[2], 16); } axel-2.17.13/src/hash.h0000644000175000017500000000015614560423122010163 #ifndef AXEL_HASH_H #include uint32_t axel_hash32(const void *, size_t, const uint64_t *); #endif axel-2.17.13/src/http.c0000644000175000017500000002317714560423122010222 /* Axel -- A lighter download accelerator for Linux and other Unices Copyright 2001-2007 Wilmer van der Gaast Copyright 2008 Y Giridhar Appaji Nag Copyright 2008-2009 Philipp Hagemeister Copyright 2015 Joao Eriberto Mota Filho Copyright 2016 Ivan Gimenez Copyright 2016 Phillip Berndt Copyright 2016 Sjjad Hashemian Copyright 2016 Stephen Thirlwall Copyright 2017 Antonio Quartulli Copyright 2017 David Polverari Copyright 2017-2019 Ismael Luceno Copyright 2018-2019 Shankar This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * SPDX-License-Identifier: GPL-2.0-or-later */ /* HTTP control file */ #include "config.h" #include "axel.h" #define HDR_CHUNK 512 inline static int is_default_port(int proto, int port) { return ((proto == PROTO_HTTP && port == PROTO_HTTP_PORT) || (proto == PROTO_HTTPS && port == PROTO_HTTPS_PORT)); } inline static char chain_next(const char ***p) { while (**p && !***p) ++(*p); return **p ? *(**p)++ : 0; } static void http_auth_token(char *token, const char *user, const char *pass) { const char base64_encode[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "abcdefghijklmnopqrstuvwxyz" "0123456789+/"; const char *auth[] = { user, ":", pass, NULL }; const char **p = auth; while (*p) { char a = chain_next(&p); if (!a) break; *token++ = base64_encode[a >> 2]; char b = chain_next(&p); *token++ = base64_encode[((a & 3) << 4) | (b >> 4)]; if (!b) { *token++ = '='; *token++ = '='; break; } else { char c = chain_next(&p); *token++ = base64_encode[((b & 15) << 2) | (c >> 6)]; if (!c) { *token++ = '='; break; } else *token++ = base64_encode[c & 63]; } } } int http_connect(http_t *conn, int proto, char *proxy, char *host, int port, char *user, char *pass, unsigned io_timeout) { const char *puser = NULL, *ppass = ""; conn_t tconn[1]; strlcpy(conn->host, host, sizeof(conn->host)); conn->port = port; conn->proto = proto; if (proxy && *proxy) { if (!conn_set(tconn, proxy)) { fprintf(stderr, _("Invalid proxy string: %s\n"), proxy); return 0; } host = tconn->host; port = tconn->port; proto = tconn->proto; puser = tconn->user; ppass = tconn->pass; conn->proxy = 1; } if (tcp_connect(&conn->tcp, host, port, PROTO_IS_SECURE(proto), conn->local_if, io_timeout) == -1) return 0; if (*user == 0) { *conn->auth = 0; } else { http_auth_token(conn->auth, user, pass); } if (!conn->proxy || !puser || *puser == 0) { *conn->proxy_auth = 0; } else { http_auth_token(conn->proxy_auth, puser, ppass); } return 1; } void http_disconnect(http_t *conn) { tcp_close(&conn->tcp); } void http_get(http_t *conn, char *lurl) { const char *prefix = "", *postfix = ""; // If host is ipv6 literal add square brackets if (is_ipv6_addr(conn->host)) { prefix = "["; postfix = "]"; } *conn->request->p = 0; if (conn->proxy) { const char *proto = scheme_from_proto(conn->proto); if (is_default_port(conn->proto, conn->port)) { http_addheader(conn, "GET %s%s%s%s%s HTTP/1.0", proto, prefix, conn->host, postfix, lurl); } else { http_addheader(conn, "GET %s%s%s%s:%i%s HTTP/1.0", proto, prefix, conn->host, postfix, conn->port, lurl); } } else { http_addheader(conn, "GET %s HTTP/1.0", lurl); if (is_default_port(conn->proto, conn->port)) { http_addheader(conn, "Host: %s%s%s", prefix, conn->host, postfix); } else { http_addheader(conn, "Host: %s%s%s:%i", prefix, conn->host, postfix, conn->port); } } if (*conn->auth) http_addheader(conn, "Authorization: Basic %s", conn->auth); if (*conn->proxy_auth) http_addheader(conn, "Proxy-Authorization: Basic %s", conn->proxy_auth); http_addheader(conn, "Accept: */*"); http_addheader(conn, "Accept-Encoding: identity"); if (conn->lastbyte && conn->firstbyte >= 0) { http_addheader(conn, "Range: bytes=%jd-%jd", conn->firstbyte, conn->lastbyte - 1); } else if (conn->firstbyte >= 0) { http_addheader(conn, "Range: bytes=%jd-", conn->firstbyte); } } void http_addheader(http_t *conn, const char *format, ...) { char s[MAX_STRING]; va_list params; va_start(params, format); vsnprintf(s, sizeof(s) - 3, format, params); strlcat(s, "\r\n", sizeof(s)); va_end(params); if (abuf_strcat(conn->request, s) < 0) { fprintf(stderr, "Out of memory\n"); } } int http_exec(http_t *conn) { char *s2; #ifndef NDEBUG fprintf(stderr, "--- Sending request ---\n%s--- End of request ---\n", conn->request->p); #endif strlcat(conn->request->p, "\r\n", conn->request->len); const size_t reqlen = strlen(conn->request->p); size_t nwrite = 0; while (nwrite < reqlen) { ssize_t tmp; tmp = tcp_write(&conn->tcp, conn->request->p + nwrite, reqlen - nwrite); if (tmp < 0) { if (errno == EINTR || errno == EAGAIN) continue; fprintf(stderr, _("Connection gone while writing.\n")); return 0; } nwrite += tmp; } *conn->headers->p = 0; /* Read the headers byte by byte to make sure we don't touch the actual data */ for (char *s = conn->headers->p;;) { if (tcp_read(&conn->tcp, s, 1) <= 0) { fprintf(stderr, _("Connection gone.\n")); return 0; } if (*s == '\r') { continue; } else if (*s == '\n') { if (s > conn->headers->p && s[-1] == '\n') { *s = 0; break; } } s++; size_t pos = s - conn->headers->p; if (pos + 10 < conn->headers->len) { int tmp = abuf_setup(conn->headers, conn->headers->len + HDR_CHUNK); if (tmp < 0) { fprintf(stderr, "Out of memory\n"); return 0; } s = conn->headers->p + pos; } } #ifndef NDEBUG fprintf(stderr, "--- Reply headers ---\n%s--- End of headers ---\n", conn->headers->p); #endif sscanf(conn->headers->p, "%*s %3i", &conn->status); s2 = strchr(conn->headers->p, '\n'); if (s2) *s2 = 0; const size_t reslen = s2 - conn->headers->p + 1; if (conn->request->len < reqlen) { int ret = abuf_setup(conn->request, reslen); if (ret < 0) return 0; } memcpy(conn->request->p, conn->headers->p, reslen); *s2 = '\n'; return 1; } const char * http_header(const http_t *conn, const char *header) { const char *p = conn->headers->p; size_t hlen = strlen(header); do { if (strncasecmp(p, header, hlen) == 0) return p + hlen; while (*p != '\n' && *p) p++; if (*p == '\n') p++; } while (*p); return NULL; } off_t http_size(http_t *conn) { const char *i; off_t j; if ((i = http_header(conn, "Content-Length:")) == NULL) return -2; sscanf(i, "%jd", &j); return j; } off_t http_size_from_range(http_t *conn) { const char *i; if ((i = http_header(conn, "Content-Range:")) == NULL) return -2; i = strchr(i, '/'); if (!i++) return -2; off_t j = strtoll(i, NULL, 10); if (!j && *i != '0') return -3; return j; } /** * Extract file name from Content-Disposition HTTP header. * * Header format: * Content-Disposition: inline * Content-Disposition: attachment * Content-Disposition: attachment; filename="filename.jpg" */ void http_filename(const http_t *conn, char *filename) { const char *h; if ((h = http_header(conn, "Content-Disposition:")) != NULL) { sscanf(h, "%*s%*[ \t]filename%*[ \t=\"\'-]%254[^\n\"\']", filename); /* Trim spaces at the end of string */ const char space[] = "\t "; for (char *n, *p = filename; (p = strpbrk(p, space)); p = n) { n = p + strspn(p, space); if (!*n) { *p = 0; break; } } /* Replace common invalid characters in filename https://en.wikipedia.org/wiki/Filename#Reserved_characters_and_words */ const char invalid[] = "/\\?%*:|<>"; const char replacement = '_'; for (char *i = filename; (i = strpbrk(i, invalid)); i++) { *i = replacement; } } } inline static char decode_nibble(char n) { if (n <= '9') return n - '0'; if (n >= 'a') n -= 'a' - 'A'; return n - 'A' + 10; } inline static char encode_nibble(char n) { return n > 9 ? n + 'a' - 10 : n + '0'; } inline static void encode_byte(char dst[3], char n) { *dst++ = '%'; *dst++ = encode_nibble(n >> 4); *dst = encode_nibble(n & 15); } /* Decode%20a%20file%20name */ void http_decode(char *s) { for (; *s && *s != '%'; s++) ; if (!*s) return; char *p = s; do { if (!s[1] || !s[2]) break; *p++ = (decode_nibble(s[1]) << 4) | decode_nibble(s[2]); s += 3; while (*s && *s != '%') *p++ = *s++; } while (*s == '%'); *p = 0; } axel-2.17.13/src/http.h0000644000175000017500000000536714560423122010230 /* Axel -- A lighter download accelerator for Linux and other Unices Copyright 2001-2007 Wilmer van der Gaast Copyright 2008 Y Giridhar Appaji Nag Copyright 2016 Phillip Berndt Copyright 2016 Sjjad Hashemian Copyright 2016 Stephen Thirlwall Copyright 2017 Antonio Quartulli Copyright 2017-2019 Ismael Luceno This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * SPDX-License-Identifier: GPL-2.0-or-later */ /* HTTP control include file */ #ifndef AXEL_HTTP_H #define AXEL_HTTP_H typedef struct { char host[MAX_STRING]; char auth[MAX_STRING]; abuf_t request[1], headers[1]; int port; int proto; /* FTP through HTTP proxies */ int proxy; char proxy_auth[MAX_STRING]; off_t firstbyte; off_t lastbyte; int status; tcp_t tcp; char *local_if; } http_t; int http_connect(http_t *conn, int proto, char *proxy, char *host, int port, char *user, char *pass, unsigned io_timeout); void http_disconnect(http_t *conn); void http_get(http_t *conn, char *lurl); #ifdef __GNUC__ __attribute__((format(printf, 2, 3))) #endif /* __GNUC__ */ void http_addheader(http_t *conn, const char *format, ...); int http_exec(http_t *conn); const char *http_header(const http_t *conn, const char *header); void http_filename(const http_t *conn, char *filename); off_t http_size(http_t *conn); off_t http_size_from_range(http_t *conn); void http_decode(char *s); #endif /* AXEL_HTTP_H */ axel-2.17.13/src/random.c0000644000175000017500000000053014560423122010507 #include #include #include "config.h" #include "axel.h" static int rnd_fd = -1; int axel_rnd_init(void) { const char rnd_dev[] = "/dev/random"; rnd_fd = open(rnd_dev, O_RDONLY); if (rnd_fd == -1) perror(rnd_dev); return rnd_fd; } ssize_t axel_rand64(uint64_t *out) { return read(rnd_fd, out, sizeof(*out)); } axel-2.17.13/src/search.c0000644000175000017500000001763714560423122010514 /* Axel -- A lighter download accelerator for Linux and other Unices Copyright 2001-2007 Wilmer van der Gaast Copyright 2008 Y Giridhar Appaji Nag Copyright 2010 Philipp Hagemeister Copyright 2016 Stephen Thirlwall Copyright 2017 Antonio Quartulli Copyright 2017-2019 Ismael Luceno Copyright 2017 Joao Eriberto Mota Filho This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * SPDX-License-Identifier: GPL-2.0-or-later */ /* filesearching.com searcher */ #include "config.h" #include "axel.h" #include "sleep.h" static void *search_speedtest(void *r); static int search_sortlist_qsort(const void *a, const void *b); #ifdef STANDALONE int main(int argc, char *argv[]) { conf_t conf[1]; search_t *res; int i, j, num_mirrors, ret = 1; if (argc != 2) { fprintf(stderr, _("Incorrect amount of arguments\n")); return 1; } conf_init(conf); ssl_init(conf); res = calloc(conf->search_amount + 1, sizeof(search_t)); if (!res) goto out; res->conf = conf; i = search_makelist(res, argv[1]); if (i == -1) { fprintf(stderr, _("File not found\n")); goto out; } num_mirrors = search_getspeeds(res, i); if (num_mirrors < 0) { fprintf(stderr, _("Speed testing failed\n")); goto out; } printf(_("%i usable mirrors:\n"), num_mirrors); search_sortlist(res, i); for (j = 0; j < i; j++) printf("%-70.70s %5i\n", res[j].url, res[j].speed); ret = 0; out: free(res); return ret; } #endif int search_makelist(search_t *results, char *orig_url) { int size = 8192; conn_t conn[1]; double t; const char *start, *end; memset(conn, 0, sizeof(conn_t)); conn->conf = results->conf; t = axel_gettime(); if (!conn_set(conn, orig_url) || !conn_init(conn) || !conn_info(conn)) return -1; size_t orig_len = strlcpy(results[0].url, orig_url, sizeof(results[0].url)); results[0].speed = 1 + 1000 * (axel_gettime() - t); results[0].size = conn->size; int nresults = 1; char *s = malloc(size); if (!s) return 1; /* TODO improve matches */ snprintf(s, size, "http://www.filesearching.com/cgi-bin/s?" "w=a&" /* TODO describe */ "x=15&y=15&" /* TODO describe */ /* Size in bytes: */ "s=on&" /* Exact search: */ "e=on&" /* Language: */ "l=en&" /* Search Type: */ "t=f&" /* Sorting: */ "o=n&" /* Filename: */ "q=%s&" /* Num. of results: */ "m=%i&" /* Size (min/max): */ "s1=%jd&s2=%jd", conn->file, results->conf->search_amount, conn->size, conn->size); conn_disconnect(conn); memset(conn, 0, sizeof(conn_t)); conn->conf = results->conf; if (!conn_set(conn, s)) goto done; { pthread_mutex_lock(&conn->lock); int tmp = conn_setup(conn); pthread_mutex_unlock(&conn->lock); if (!tmp || !conn_exec(conn)) goto done; } { int j = 0; for (int i; (i = tcp_read(conn->tcp, s + j, size - j)) > 0;) { j += i; if (j + 10 >= size) { size *= 2; char *tmp = realloc(s, size); if (!tmp) goto done; s = tmp; memset(s + size / 2, 0, size / 2); } } s[j] = '\0'; } conn_disconnect(conn); start = strstr(s, "
");
	/* Incomplete list */
	if (!end)
		goto done;

	for (const char *url, *eol;
	     start < end && nresults < results->conf->search_amount;
	     start = eol + 1) {
		eol = strchr(start, '\n');
		if (eol > end || !eol)
			eol = end;
		do {
			url = start;
			start = strstr(start, "
#include 
#include 
#else
#include 
#endif


void ssl_init(conf_t *conf);
SSL *ssl_connect(int fd, char *hostname);
void ssl_disconnect(SSL *ssl);
bool ssl_validate_hostname(const char *hostname, const X509 *server_cert);

#endif				/* AXEL_SSL_H */
axel-2.17.13/src/tcp.c0000644000175000017500000001444614560423122010030 /*
  Axel -- A lighter download accelerator for Linux and other Unices

  Copyright 2001-2007 Wilmer van der Gaast
  Copyright 2010      Mark Smith
  Copyright 2016-2017 Stephen Thirlwall
  Copyright 2017      Antonio Quartulli
  Copyright 2017-2019 Ismael Luceno
  Copyright 2018      Shankar
  Copyright 2019      Park Ju Hyung

  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version 2
  of the License, or (at your option) any later version.

  In addition, as a special exception, the copyright holders give
  permission to link the code of portions of this program with the
  OpenSSL library under certain conditions as described in each
  individual source file, and distribute linked combinations including
  the two.

  You must obey the GNU General Public License in all respects for all
  of the code used other than OpenSSL. If you modify file(s) with this
  exception, you may extend this exception to your version of the
  file(s), but you are not obligated to do so. If you do not wish to do
  so, delete this exception statement from your version. If you delete
  this exception statement from all source files in the program, then
  also delete it here.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

/* TCP control file */

#define _POSIX_C_SOURCE 200112L

#include "config.h"
#include 
#include 
#include 
#include 
#include 
#include "axel.h"

#ifndef TCP_FASTOPEN_CONNECT
#ifdef __linux__
#define TCP_FASTOPEN_CONNECT 30
#else /* __linux__ */
#define TCP_FASTOPEN_CONNECT 0
#endif /* __linux__ */
#endif /* !TCP_FASTOPEN_CONNECT */

/*
 * Check if the given hostname is ipv6 literal
 * Returns 1 if true and 0 if false
 */
int is_ipv6_addr(const char *hostname) {
	char buf[16]; /* Max buff size needed for inet_pton() */

	return hostname && 1 == inet_pton(AF_INET6, hostname, buf);
}

inline static void
tcp_error(char *hostname, int port, const char *reason)
{
	fprintf(stderr, _("Unable to connect to server %s:%i: %s\n"),
		hostname, port, reason);
}

/* Get a TCP connection */
int
tcp_connect(tcp_t *tcp, char *hostname, int port, int secure, char *local_if,
	    unsigned io_timeout)
{
	struct sockaddr_in local_addr;
	char portstr[10];
	struct addrinfo ai_hints;
	struct addrinfo *gai_results, *gai_result;
	int ret;
	int sock_fd = -1;

	memset(&local_addr, 0, sizeof(local_addr));
	if (local_if) {
		if (!*local_if || tcp->ai_family != AF_INET) {
			local_if = NULL;
		} else {
			local_addr.sin_family = AF_INET;
			local_addr.sin_port = 0;
			local_addr.sin_addr.s_addr = inet_addr(local_if);
		}
	}

	snprintf(portstr, sizeof(portstr), "%d", port);

	memset(&ai_hints, 0, sizeof(ai_hints));
	ai_hints.ai_family = tcp->ai_family;
	ai_hints.ai_socktype = SOCK_STREAM;
	ai_hints.ai_flags = AI_ADDRCONFIG;
	ai_hints.ai_protocol = 0;

	ret = getaddrinfo(hostname, portstr, &ai_hints, &gai_results);
	if (ret != 0) {
		tcp_error(hostname, port, gai_strerror(ret));
		return -1;
	}

	gai_result = gai_results;
	do {
		int tcp_fastopen = -1;

		if (sock_fd != -1) {
			close(sock_fd);
			sock_fd = -1;
		}
		sock_fd = socket(gai_result->ai_family,
				 gai_result->ai_socktype,
				 gai_result->ai_protocol);
		if (sock_fd == -1)
			continue;

		if (local_if && gai_result->ai_family == AF_INET) {
			bind(sock_fd, (struct sockaddr *)&local_addr,
			     sizeof(local_addr));
			/* FIXME report errors */
		}

		if (TCP_FASTOPEN_CONNECT) {
			tcp_fastopen = setsockopt(sock_fd, IPPROTO_TCP,
						  TCP_FASTOPEN_CONNECT,
						  NULL, 0);
		} else if (io_timeout) {
			/* Set O_NONBLOCK so we can timeout */
			fcntl(sock_fd, F_SETFL, O_NONBLOCK);
		}
		ret = connect(sock_fd, gai_result->ai_addr,
			      gai_result->ai_addrlen);

		/* Already connected maybe? */
		if (ret != -1)
			break;

		if (errno != EINPROGRESS)
			continue;

		/* With TFO we must assume success */
		if (tcp_fastopen != -1)
			break;

		/* Wait for the connection */
		fd_set fdset;
		FD_ZERO(&fdset);
		FD_SET(sock_fd, &fdset);
		struct timeval tout = { .tv_sec  = io_timeout };
		ret = select(sock_fd + 1, NULL, &fdset, NULL, &tout);
		/* Success? */
		if (ret != -1)
			break;
	} while ((gai_result = gai_result->ai_next));

	freeaddrinfo(gai_results);

	if (sock_fd == -1) {
		tcp_error(hostname, port, strerror(errno));
		return -1;
	}

	fcntl(sock_fd, F_SETFL, 0);

#ifdef HAVE_SSL
	if (secure) {
		tcp->ssl = ssl_connect(sock_fd, hostname);
		if (tcp->ssl == NULL) {
			close(sock_fd);
			return -1;
		}
	}
#endif				/* HAVE_SSL */
	tcp->fd = sock_fd;

	/* Set I/O timeout */
	struct timeval tout = { .tv_sec  = io_timeout };
	setsockopt(sock_fd, SOL_SOCKET, SO_RCVTIMEO, &tout, sizeof(tout));
	setsockopt(sock_fd, SOL_SOCKET, SO_SNDTIMEO, &tout, sizeof(tout));

	return 1;
}

ssize_t
tcp_read(tcp_t *tcp, void *buffer, int size)
{
#ifdef HAVE_SSL
	if (tcp->ssl != NULL)
		return SSL_read(tcp->ssl, buffer, size);
	else
#endif				/* HAVE_SSL */
		return read(tcp->fd, buffer, size);
}

ssize_t
tcp_write(tcp_t *tcp, void *buffer, int size)
{
#ifdef HAVE_SSL
	if (tcp->ssl != NULL)
		return SSL_write(tcp->ssl, buffer, size);
	else
#endif				/* HAVE_SSL */
		return write(tcp->fd, buffer, size);
}

void
tcp_close(tcp_t *tcp)
{
	if (tcp->fd > 0) {
#ifdef HAVE_SSL
		if (tcp->ssl != NULL) {
			ssl_disconnect(tcp->ssl);
			tcp->ssl = NULL;
		}
#endif
		close(tcp->fd);
		tcp->fd = -1;
	}
}

int
get_if_ip(char *dst, size_t len, const char *iface)
{
	struct ifreq ifr;
	int ret, fd = socket(PF_INET, SOCK_DGRAM, IPPROTO_IP);

	if (fd < 0)
		return 0;

	memset(&ifr, 0, sizeof(struct ifreq));

	strlcpy(ifr.ifr_name, iface, sizeof(ifr.ifr_name));
	ifr.ifr_addr.sa_family = AF_INET;

	ret = !ioctl(fd, SIOCGIFADDR, &ifr);
	if (ret) {
		struct sockaddr_in *x = (struct sockaddr_in *)&ifr.ifr_addr;
		strlcpy(dst, inet_ntoa(x->sin_addr), len);
	}
	close(fd);

	return ret;
}
axel-2.17.13/src/tcp.h0000644000175000017500000000463714560423122010036 /*
  Axel -- A lighter download accelerator for Linux and other Unices

  Copyright 2001-2007 Wilmer van der Gaast
  Copyright 2016      Stephen Thirlwall
  Copyright 2017      Antonio Quartulli
  Copyright 2017-2019 Ismael Luceno
  Copyright 2018      Shankar

  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version 2
  of the License, or (at your option) any later version.

  In addition, as a special exception, the copyright holders give
  permission to link the code of portions of this program with the
  OpenSSL library under certain conditions as described in each
  individual source file, and distribute linked combinations including
  the two.

  You must obey the GNU General Public License in all respects for all
  of the code used other than OpenSSL. If you modify file(s) with this
  exception, you may extend this exception to your version of the
  file(s), but you are not obligated to do so. If you do not wish to do
  so, delete this exception statement from your version. If you delete
  this exception statement from all source files in the program, then
  also delete it here.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

/* TCP control include file */

#ifndef AXEL_TCP_H
#define AXEL_TCP_H

#ifdef HAVE_SSL
#ifdef HAVE_WOLFSSL
#include 
#include 
#include 
#else
#include 
#endif
#endif

typedef struct {
	int fd;
	sa_family_t ai_family;
#ifdef HAVE_SSL
	SSL *ssl;
#endif
} tcp_t;

int is_ipv6_addr(const char *hostname);
int tcp_connect(tcp_t *tcp, char *hostname, int port, int secure,
		char *local_if, unsigned io_timeout);
void tcp_close(tcp_t *tcp);

ssize_t tcp_read(tcp_t *tcp, void *buffer, int size);
ssize_t tcp_write(tcp_t *tcp, void *buffer, int size);

int get_if_ip(char *dst, size_t len, const char *iface);

#endif				/* AXEL_TCP_H */
axel-2.17.13/src/text.c0000644000175000017500000004606214560423122010225 /*
  Axel -- A lighter download accelerator for Linux and other Unices

  Copyright 2001-2007 Wilmer van der Gaast
  Copyright 2008      Y Giridhar Appaji Nag
  Copyright 2008-2010 Philipp Hagemeister
  Copyright 2015-2017 Joao Eriberto Mota Filho
  Copyright 2016      Denis Denisov
  Copyright 2016      Mridul Malpotra
  Copyright 2016      Stephen Thirlwall
  Copyright 2017      Antonio Quartulli
  Copyright 2017-2019 Ismael Luceno
  Copyright 2019      Evangelos Foutras
  Copyright 2019      Kun Ma


  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version 2
  of the License, or (at your option) any later version.

  In addition, as a special exception, the copyright holders give
  permission to link the code of portions of this program with the
  OpenSSL library under certain conditions as described in each
  individual source file, and distribute linked combinations including
  the two.

  You must obey the GNU General Public License in all respects for all
  of the code used other than OpenSSL. If you modify file(s) with this
  exception, you may extend this exception to your version of the
  file(s), but you are not obligated to do so. If you do not wish to do
  so, delete this exception statement from your version. If you delete
  this exception statement from all source files in the program, then
  also delete it here.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

/* Text interface */

#include "config.h"
#include 
#include "axel.h"


static void stop(int signal);
static char *time_human(char *dst, size_t len, unsigned int value);
static void print_commas(off_t bytes_done);
static void print_alternate_output(axel_t *axel);
static void print_progress(off_t cur, off_t prev, off_t total, double kbps);
static void print_help(void);
static void print_version(void);
static void print_version_info(void);
static int get_term_width(void);

int run = 1;

#define MAX_REDIR_OPT	256

#ifdef NOGETOPTLONG
#define getopt_long(a, b, c, d, e) getopt(a, b, c)
#else
static struct option axel_options[] = {
	/* name             has_arg flag  val */
	{"max-speed",       1,      NULL, 's'},
	{"num-connections", 1,      NULL, 'n'},
	{"max-redirect",    1,      NULL, MAX_REDIR_OPT},
	{"output",          1,      NULL, 'o'},
	{"search",          2,      NULL, 'S'},
	{"ipv4",            0,      NULL, '4'},
	{"ipv6",            0,      NULL, '6'},
	{"no-proxy",        0,      NULL, 'N'},
	{"quiet",           0,      NULL, 'q'},
	{"verbose",         0,      NULL, 'v'},
	{"help",            0,      NULL, 'h'},
	{"version",         0,      NULL, 'V'},
	{"alternate",       0,      NULL, 'a'},
	{"percentage",      0,      NULL, 'p'},
	{"insecure",        0,      NULL, 'k'},
	{"no-clobber",      0,      NULL, 'c'},
	{"header",          1,      NULL, 'H'},
	{"user-agent",      1,      NULL, 'U'},
	{"timeout",         1,      NULL, 'T'},
	{NULL,              0,      NULL, 0}
};
#endif

/**
 * Unified percentage calculation for all progress indicators.
 */
static
unsigned
calc_percentage(off_t cur, off_t total)
{
	return min(100, (100 * cur + total / 2) / total);
}

int
main(int argc, char *argv[])
{
	char fn[MAX_STRING];
	int do_search = 0;
	search_t *search;
	conf_t conf[1];
	axel_t *axel;
	int j, ret = 1;
	char *s;

	fn[0] = 0;

/* Set up internationalization (i18n) */
#ifdef ENABLE_NLS
	setlocale(LC_ALL, "");
	bindtextdomain(PACKAGE, LOCALEDIR);
	textdomain(PACKAGE);
#endif
	if (axel_rnd_init() == -1)
		return 1;

	if (!conf_init(conf)) {
		return 1;
	}

	opterr = 0;

	j = -1;
	while (1) {
		int option = getopt_long(argc, argv,
					 "s:n:o:S::46NqvhVapkcH:U:T:",
					 axel_options, NULL);
		if (option == -1)
			break;

		switch (option) {
		case 'U':
			conf_hdr_make(conf->add_header[HDR_USER_AGENT],
				      "User-Agent", optarg);
			break;
		case 'H':
			if(!(conf->add_header_countadd_header[conf->add_header_count++], optarg,
				sizeof(conf->add_header[0]));
			break;
		case 's':
			if (!sscanf(optarg, "%llu", &conf->max_speed)) {
				print_help();
				goto free_conf;
			}
			break;
		case 'n':
			if (!sscanf(optarg, "%hu", &conf->num_connections)) {
				print_help();
				goto free_conf;
			}
			break;
		case MAX_REDIR_OPT:
			if (!sscanf(optarg, "%i", &conf->max_redirect)) {
				print_help();
				return 1;
			}
			break;
		case 'o':
			strlcpy(fn, optarg, sizeof(fn));
			break;
		case 'S':
			do_search = 1;
			if (optarg) {
				if (!sscanf(optarg, "%i", &conf->search_top)) {
					print_help();
					goto free_conf;
				}
			}
			break;
		case '6':
			conf->ai_family = AF_INET6;
			break;
		case '4':
			conf->ai_family = AF_INET;
			break;
		case 'a':
			conf->progress_style = AXEL_PROGRESS_STYLE_ALTERNATIVE;
			break;
		case 'p':
			conf->progress_style = AXEL_PROGRESS_STYLE_PERCENTAGE;
			break;
		case 'k':
			conf->insecure = 1;
			break;
		case 'c':
			conf->no_clobber = 1;
			break;
		case 'N':
			*conf->http_proxy = 0;
			break;
		case 'h':
			print_help();
			ret = 0;
			goto free_conf;
		case 'v':
			if (j == -1)
				j = 1;
			else
				j++;
			break;
		case 'V':
			print_version_info();
			ret = 0;
			goto free_conf;
		case 'q':
			close(1);
			conf->verbose = -1;
			if (open("/dev/null", O_WRONLY) != 1) {
				fprintf(stderr,
					_("Can't redirect stdout to /dev/null.\n"));
				goto free_conf;
			}
			break;
		case 'T':
			conf->io_timeout = strtoul(optarg, NULL, 0);
			break;
		default:
			print_help();
			goto free_conf;
		}
	}

	/* disable alternate outputs and verbosity when quiet is specified */
	if (conf->verbose < 0) {
		conf->progress_style = AXEL_PROGRESS_STYLE_CLASSIC;
	} else if (j > -1)
		conf->verbose = j;

	if (conf->num_connections < 1) {
		print_help();
		goto free_conf;
	}

	if (conf->max_redirect < 0) {
		print_help();
		return 1;
	}
#ifdef HAVE_SSL
	ssl_init(conf);
#endif				/* HAVE_SSL */

	if (argc - optind == 0) {
		print_help();
		goto free_conf;
	} else if (strcmp(argv[optind], "-") == 0) {
		s = malloc(MAX_STRING);
		if (!s)
			goto free_conf;

		if (scanf("%1024[^\n]s", s) != 1) {
			fprintf(stderr,
				_("Error when trying to read URL (Too long?).\n"));
			free(s);
			goto free_conf;
		}
	} else {
		s = argv[optind];
		if (strlen(s) > MAX_STRING) {
			fprintf(stderr,
				_("Can't handle URLs of length over %zu\n"),
				MAX_STRING);
			goto free_conf;
		}
	}

	if (conf->progress_style != AXEL_PROGRESS_STYLE_PERCENTAGE)
		printf(_("Initializing download: %s\n"), s);

	if (do_search) {
		search = calloc(conf->search_amount + 1, sizeof(search_t));
		if (!search)
			goto free_conf;

		search[0].conf = conf;
		if (conf->verbose)
			printf(_("Doing search...\n"));
		int i = search_makelist(search, s);
		if (i < 0) {
			fprintf(stderr, _("File not found\n"));
			goto free_conf;
		}
		if (conf->verbose)
			printf(_("Testing speeds, this can take a while...\n"));
		j = search_getspeeds(search, i);
		if (j < 0) {
			fprintf(stderr, _("Speed testing failed\n"));
			return 1;
		}

		search_sortlist(search, i);
		if (conf->verbose) {
			printf(_("%i usable servers found, will use these URLs:\n"),
			       j);
			j = min(j, conf->search_top);
			printf("%-60s %15s\n", "URL", _("Speed"));
			for (i = 0; i < j; i++)
				printf("%-70.70s %5jd\n", search[i].url,
				       search[i].speed);
			printf("\n");
		}
		axel = axel_new(conf, j, search);
		free(search);
		if (!axel || axel->ready == -1) {
			print_messages(axel);
			goto close_axel;
		}
	} else {
		search = calloc(argc - optind, sizeof(search_t));
		if (!search)
			goto free_conf;

		for (int i = 0; i < argc - optind; i++) {
			strlcpy(search[i].url, argv[optind + i],
				sizeof(search[i].url));
			// FIXME check url here
		}
		axel = axel_new(conf, argc - optind, search);
		free(search);
		if (!axel || axel->ready == -1) {
			print_messages(axel);
			goto close_axel;
		}
	}
	print_messages(axel);
	if (s != argv[optind]) {
		free(s);
	}

	/* Check if a file name has been specified */
	if (*fn) {
		struct stat buf;

		if (stat(fn, &buf) == 0) {
			if (S_ISDIR(buf.st_mode)) {
				size_t fnlen = strlen(fn);
				size_t axelfnlen = strlen(axel->filename);

				if (fnlen + 1 + axelfnlen + 1 > MAX_STRING) {
					fprintf(stderr, _("Filename too long!\n"));
					goto close_axel;
				}

				fn[fnlen] = '/';
				memcpy(fn + fnlen + 1, axel->filename,
				       axelfnlen);
				fn[fnlen + 1 + axelfnlen] = '\0';
			}
		}
		char statefn[MAX_STRING + 3];
		snprintf(statefn, sizeof(statefn), "%s.st", fn);
		if (access(fn, F_OK) == 0 && access(statefn, F_OK) != 0) {
			fprintf(stderr, _("No state file, cannot resume!\n"));
			goto close_axel;
		}
		if (access(statefn, F_OK) == 0 && access(fn, F_OK) != 0) {
			printf(_("State file found, but no downloaded data. Starting from scratch.\n"));
			unlink(statefn);
		}
		strlcpy(axel->filename, fn, sizeof(axel->filename));
	} else {
		/* Local file existence check */
		s = axel->filename + strlen(axel->filename);
		for (int i = 0; 1; i++) {
			char statefn[MAX_STRING + 3];
			snprintf(statefn, sizeof(statefn), "%s.st",
				 axel->filename);

			int f_exists = !access(axel->filename, F_OK);
			int st_exists = !access(statefn, F_OK);
			if (f_exists) {
				if (axel->conn[0].supported && st_exists)
						break;
			} else if (!st_exists)
				break;
			snprintf(s, axel->filename + sizeof(axel->filename) - s,
				 ".%i", i);
		}
	}

	if (!axel_open(axel)) {
		print_messages(axel);
		goto close_axel;
	}
	print_messages(axel);
	axel_start(axel);
	print_messages(axel);

	if (conf->progress_style == AXEL_PROGRESS_STYLE_ALTERNATIVE
	    || conf->progress_style == AXEL_PROGRESS_STYLE_PERCENTAGE) {
		putchar('\n');
	} else if (axel->bytes_done > 0) {	/* Print first dots if resuming */
		putchar('\n');
		print_commas(axel->bytes_done);
		fflush(stdout);

	}
	axel->start_byte = axel->bytes_done;

	/* Install save_state signal handler for resuming support */
	signal(SIGINT, stop);
	signal(SIGTERM, stop);

	while (!axel->ready && run) {
		off_t prev;

		prev = axel->bytes_done;
		axel_do(axel);

		if (conf->progress_style == AXEL_PROGRESS_STYLE_PERCENTAGE) {
			if (!axel->message && prev != axel->bytes_done)
				printf("%u\n", calc_percentage(axel->bytes_done, axel->size));
		} else 	if (conf->progress_style == AXEL_PROGRESS_STYLE_ALTERNATIVE) {
			if (!axel->message && prev != axel->bytes_done)
				print_alternate_output(axel);
		} else if (conf->verbose > -1) {
			print_progress(axel->bytes_done, prev, axel->size,
				       (double)axel->bytes_per_second / 1024);
		}

		if (axel->message) {
			if (conf->progress_style == AXEL_PROGRESS_STYLE_ALTERNATIVE) {
				/* clreol-simulation */
				fputs("\e[2K\r", stdout);
			} else {
				putchar('\n');
			}
			print_messages(axel);
			if (!axel->ready) {
				if (conf->progress_style != AXEL_PROGRESS_STYLE_ALTERNATIVE)
					print_commas(axel->bytes_done);
				else
					print_alternate_output(axel);
			}
		} else if (axel->ready) {
			putchar('\n');
		}
		fflush(stdout);
	}

	char hsize[MAX_STRING / 2], htime[MAX_STRING / 2];
	time_human(htime, sizeof(htime), axel_gettime() - axel->start_time);
	axel_size_human(hsize, sizeof(hsize), axel->bytes_done - axel->start_byte);

	printf(_("\nDownloaded %s in %s. (%.2f KB/s)\n"), hsize, htime,
	       (double)axel->bytes_per_second / 1024);

	ret = axel->ready ? 0 : 2;

 close_axel:
	axel_close(axel);
 free_conf:
	conf_free(conf);

	return ret;
}

/* SIGINT/SIGTERM handler */
RETSIGTYPE
stop(int signal)
{
	(void)signal;
	run = 0;
}

/**
 * Integer base-2 logarithm.
 */
static inline
unsigned
log2i(unsigned long long x)
{
	return x ? sizeof(x) * 8 - 1 - __builtin_clzll(x) : 0;
}

/* Convert a number of bytes to a human-readable form */
char *
axel_size_human(char *dst, size_t len, size_t value)
{
	double fval = (double)value;
	const char * const oname[] = {
		"", _("Kilo"), _("Mega"), _("Giga"), _("Tera"),
	};
	const unsigned int order = min(sizeof(oname) / sizeof(oname[0]) - 1,
				       log2i(fval) / 10);

	fval /= (double)(1 << order * 10);
	int ret = snprintf(dst, len, _("%g %sbyte(s)"), fval, oname[order]);
	return ret < 0 ? NULL : dst;
}

/* Convert a number of seconds to a human-readable form */
char *
time_human(char *dst, size_t len, unsigned int value)
{
	unsigned int hh, mm, ss;

	ss = value % 60;
	mm = value / 60 % 60;
	hh = value / 3600;

	int ret;
	if (hh)
		ret = snprintf(dst, len, _("%i:%02i:%02i hour(s)"), hh, mm, ss);
	else if (mm)
		ret = snprintf(dst, len, _("%i:%02i minute(s)"), mm, ss);
	else
		ret = snprintf(dst, len, _("%i second(s)"), ss);

	return ret < 0 ? NULL : dst;
}

/* Part of the infamous wget-like interface. Just put it in a function
	because I need it quite often.. */
void
print_commas(off_t bytes_done)
{
	int i, j;

	printf("       ");
	j = (bytes_done / 1024) % 50;
	if (j == 0)
		j = 50;
	for (i = 0; i < j; i++) {
		if ((i % 10) == 0)
			putchar(' ');
		putchar(',');
	}
}


/**
 * The infamous wget-like 'interface'.. ;)
 */
static
void
print_progress(off_t cur, off_t prev, off_t total, double kbps)
{
	prev /= 1024;
	cur /= 1024;

	bool print_speed = prev > 0;
	for (off_t i = prev; i < cur; i++) {
		if (i % 50 == 0) {
			if (print_speed)
				printf("  [%6.1fKB/s]", kbps);

			if (total == LLONG_MAX)
				printf("\n[ N/A]  ");
			else
				printf("\n[%3u%%]  ",
				       calc_percentage(1024 * i, total));
		} else if (i % 10 == 0) {
			putchar(' ');
		}
		putchar('.');
	}
}

static
char
alt_id(int n)
{
	const char *p = "09AZaz";
	while (*p && n > p[1] - p[0]) {
		n -= p[1] - p[0] + 1;
		p += 2;
	}
	return *p ? *p + n : '*';
}

static void
print_alternate_output_progress(axel_t *axel, char *progress, int width,
				off_t done, off_t total,
				double now)
{
	if (!width)
		width = 1;
	if (!total)
		total = 1;
	for (int i = 0; i < axel->conf->num_connections; i++) {
		int offset = axel->conn[i].currentbyte * width / total;

		if (axel->conn[i].currentbyte < axel->conn[i].lastbyte) {
			if (now <= axel->conn[i].last_transfer
				   + axel->conf->connection_timeout / 2) {
				progress[offset] = alt_id(i);
			} else
				progress[offset] = '#';
		}
		memset(progress + offset + 1, ' ',
		       max(0, axel->conn[i].lastbyte * width / total - offset - 1));
	}

	progress[width] = '\0';
	printf("\r[%3u%%] [%s", calc_percentage(done, total), progress);
}

static void
print_alternate_output(axel_t *axel)
{
	off_t done = axel->bytes_done;
	off_t total = axel->size;
	double now = axel_gettime();
	int width = get_term_width();
	char *progress;

	if (width < 40) {
		fprintf(stderr,
			_("Can't setup alternate output. Deactivating.\n"));
		axel->conf->progress_style = AXEL_PROGRESS_STYLE_CLASSIC;

		return;
	}

	width -= 30;
	progress = malloc(width + 1);
	if (!progress)
		return;

	memset(progress, '.', width);

	if (total != LLONG_MAX) {
		print_alternate_output_progress(axel, progress, width, done,
						total, now);
	} else {
		progress[width] = '\0';
		printf("\r[ N/A] [%s", progress);
	}

	if (axel->bytes_per_second > 1048576)
		printf("] [%6.1fMB/s]",
		       (double)axel->bytes_per_second / (1024 * 1024));
	else if (axel->bytes_per_second > 1024)
		printf("] [%6.1fKB/s]", (double)axel->bytes_per_second / 1024);
	else
		printf("] [%6.1fB/s]", (double)axel->bytes_per_second);

	if (total != LLONG_MAX && done < total) {
		int seconds, minutes, hours, days;
		seconds = axel->finish_time - now;
		minutes = seconds / 60;
		seconds -= minutes * 60;
		hours = minutes / 60;
		minutes -= hours * 60;
		days = hours / 24;
		hours -= days * 24;
		if (days)
			printf(" [%2dd%2d]", days, hours);
		else if (hours)
			printf(" [%2dh%02d]", hours, minutes);
		else
			printf(" [%02d:%02d]", minutes, seconds);
	}

	free(progress);
}

static int
get_term_width(void)
{
	struct winsize w;

	ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
	return w.ws_col;
}

void
print_help(void)
{
	print_version();
#ifdef NOGETOPTLONG
	printf(_("Usage: axel [options] url1 [url2] [url...]\n"
		 "\n"
		 "-s x\tSpecify maximum speed (bytes per second)\n"
		 "-n x\tSpecify maximum number of connections\n"
		 "-o f\tSpecify local output file\n"
		 "-S[n]\tSearch for mirrors and download from n servers\n"
		 "-4\tUse the IPv4 protocol\n"
		 "-6\tUse the IPv6 protocol\n"
		 "-H x\tAdd HTTP header string\n"
		 "-U x\tSet user agent\n"
		 "-N\tJust don't use any proxy server\n"
		 "-k\tDon't verify the SSL certificate\n"
		 "-c\tSkip download if file already exists\n"
		 "-q\tLeave stdout alone\n"
		 "-v\tMore status information\n"
		 "-a\tAlternate progress indicator\n"
		 "-p\tPrint simple percentages instead of progress bar (0-100)\n"
		 "-h\tThis information\n"
		 "-T x\tSet I/O and connection timeout\n"
		 "-V\tVersion information\n"
		 "\n"
		 "Visit https://github.com/axel-download-accelerator/axel/issues\n"));
#else
	printf(_("Usage: axel [options] url1 [url2] [url...]\n"
		 "\n"
		 "--max-speed=x\t\t-s x\tSpecify maximum speed (bytes per second)\n"
		 "--num-connections=x\t-n x\tSpecify maximum number of connections\n"
		 "--max-redirect=x\t\tSpecify maximum number of redirections\n"
		 "--output=f\t\t-o f\tSpecify local output file\n"
		 "--search[=n]\t\t-S[n]\tSearch for mirrors and download from n servers\n"
		 "--ipv4\t\t\t-4\tUse the IPv4 protocol\n"
		 "--ipv6\t\t\t-6\tUse the IPv6 protocol\n"
		 "--header=x\t\t-H x\tAdd HTTP header string\n"
		 "--user-agent=x\t\t-U x\tSet user agent\n"
		 "--no-proxy\t\t-N\tJust don't use any proxy server\n"
		 "--insecure\t\t-k\tDon't verify the SSL certificate\n"
		 "--no-clobber\t\t-c\tSkip download if file already exists\n"
		 "--quiet\t\t\t-q\tLeave stdout alone\n"
		 "--verbose\t\t-v\tMore status information\n"
		 "--alternate\t\t-a\tAlternate progress indicator\n"
		 "--percentage\t\t-p\tPrint simple percentages instead of progress bar (0-100)\n"
		 "--help\t\t\t-h\tThis information\n"
		 "--timeout=x\t\t-T x\tSet I/O and connection timeout\n"
		 "--version\t\t-V\tVersion information\n"
		 "\n"
		 "Visit https://github.com/axel-download-accelerator/axel/issues to report bugs\n"));
#endif
}

void
print_version(void)
{
	printf(_("Axel %s (%s)\n"), VERSION, ARCH);
}

void
print_version_info(void)
{
	print_version();
	printf("\nCopyright 2001-2007 Wilmer van der Gaast,\n"
	       "\t  2007-2009 Giridhar Appaji Nag,\n"
	       "\t  2008-2010 Philipp Hagemeister,\n"
	       "\t  2015-2017 Joao Eriberto Mota Filho,\n"
	       "\t  2016-2017 Stephen Thirlwall,\n"
	       "\t  2017      Antonio Quartulli,\n"
	       "\t  2017-2024 Ismael Luceno,\n"
	       "\t\t    %s\n%s\n\n", _("and others."),
	       _("Please, see the CREDITS file.\n\n"));
}

/* Print any message in the axel structure */
void
print_messages(axel_t *axel)
{
	message_t *m;

	if (!axel)
		return;

	while ((m = axel->message)) {
		printf("%s\n", m->text);
		axel->message = m->next;
		free(m);
	}
}
axel-2.17.13/src/dn-match.c0000644000175000017500000000560514560423122010732 /*
  Axel -- A lighter download accelerator for Linux and other Unices

  Copyright 2020      Ismael Luceno

  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version 2
  of the License, or (at your option) any later version.

  In addition, as a special exception, the copyright holders give
  permission to link the code of portions of this program with the
  OpenSSL library under certain conditions as described in each
  individual source file, and distribute linked combinations including
  the two.

  You must obey the GNU General Public License in all respects for all
  of the code used other than OpenSSL. If you modify file(s) with this
  exception, you may extend this exception to your version of the
  file(s), but you are not obligated to do so. If you do not wish to do
  so, delete this exception statement from your version. If you delete
  this exception statement from all source files in the program, then
  also delete it here.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#include "config.h"
#include 
#include "axel.h"

#define DN_NEQ 1

/**
 * Hostname matching according to RFC-6125 section 6.4.3.
 *
 * For simplicity, at most one wildcard is supported, on the leftmost label
 * only.
 *
 * Hostname must be normalized and ASCII-only.
 *
 * @returns Negative on malformed input, Zero if matched, non-zero otherwise.
 */
int
dn_match(const char *hostname, const char *pat, size_t pat_len)
{
	/* The pattern is partitioned at the first wildcard or dot */
	const size_t left = strcspn(pat, ".*");

	/* We can't match an IDN against a wildcard */
	const char ace_prefix[4] = "xn--";
	if (pat[left] == '*' && !strncasecmp(hostname, ace_prefix, 4))
		return DN_NEQ;

	/* Compare left-side partition */
	if (strncasecmp(hostname, pat, left))
		return DN_NEQ;

	hostname += left;
	pat += left;
	pat_len -= left;

	/* Wildcard? */
	size_t right = 0;
	if (*pat == '*') {
		--pat_len;
		right = strcspn(++pat, ".");
		const size_t rem = strcspn(hostname, ".");
		/* Shorter label in hostname? */
		if (right > rem)
			return DN_NEQ;
		/* Skip the longest match and adjust pat_len */
		hostname += rem - right;
	}

	/* Check premature end of pattern (malformed certificate) */
	if (pat_len == right - strlen(pat + right))
		return DN_MATCH_MALFORMED;

	/* Compare right-side partition */
	return !!strcasecmp(hostname, pat);
}
axel-2.17.13/src/ssl.c0000644000175000017500000000711714560423122010040 /*
  Axel -- A lighter download accelerator for Linux and other Unices

  Copyright 2016      Sjjad Hashemian
  Copyright 2016-2017 Stephen Thirlwall
  Copyright 2017      Antonio Quartulli
  Copyright 2017-2019 Ismael Luceno

  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version 2
  of the License, or (at your option) any later version.

  In addition, as a special exception, the copyright holders give
  permission to link the code of portions of this program with the
  OpenSSL library under certain conditions as described in each
  individual source file, and distribute linked combinations including
  the two.

  You must obey the GNU General Public License in all respects for all
  of the code used other than OpenSSL. If you modify file(s) with this
  exception, you may extend this exception to your version of the
  file(s), but you are not obligated to do so. If you do not wish to do
  so, delete this exception statement from your version. If you delete
  this exception statement from all source files in the program, then
  also delete it here.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

/* SSL interface */

#include "config.h"

#ifdef HAVE_WOLFSSL
#include 
#include 
#include 
#include 
#else
#include 
#include 
#endif

#include "axel.h"

static pthread_mutex_t ssl_lock;
static bool ssl_inited = false;
static conf_t *conf = NULL;

void
ssl_init(conf_t *global_conf)
{
	pthread_mutex_init(&ssl_lock, NULL);
	conf = global_conf;
}

static
void
ssl_startup(void)
{
	pthread_mutex_lock(&ssl_lock);
	if (!ssl_inited) {
		SSL_library_init();
		SSL_load_error_strings();

		ssl_inited = true;
	}
	pthread_mutex_unlock(&ssl_lock);
}

SSL *
ssl_connect(int fd, char *hostname)
{
	X509 *server_cert;
	SSL_CTX *ssl_ctx;
	SSL *ssl;

	ssl_startup();

	ssl_ctx = SSL_CTX_new(SSLv23_client_method());
	if (!conf->insecure) {
		SSL_CTX_set_default_verify_paths(ssl_ctx);
		SSL_CTX_set_verify(ssl_ctx, SSL_VERIFY_PEER, NULL);
	}
	SSL_CTX_set_mode(ssl_ctx, SSL_MODE_AUTO_RETRY);

	ssl = SSL_new(ssl_ctx);
	SSL_set_fd(ssl, fd);
	SSL_set_tlsext_host_name(ssl, hostname);

	int err = SSL_connect(ssl);
	if (err <= 0) {
		fprintf(stderr, _("SSL error: %s\n"),
			ERR_reason_error_string(ERR_get_error()));
		SSL_CTX_free(ssl_ctx);
		return NULL;
	}

	if (conf->insecure) {
		return ssl;
	}

	err = SSL_get_verify_result(ssl);
	if (err != X509_V_OK) {
		fprintf(stderr, _("SSL error: Certificate error\n"));
		SSL_CTX_free(ssl_ctx);
		return NULL;
	}

	server_cert =  SSL_get_peer_certificate(ssl);
	if (server_cert == NULL) {
		fprintf(stderr, _("SSL error: Certificate not found\n"));
		SSL_CTX_free(ssl_ctx);
		return NULL;
	}

	if (!ssl_validate_hostname(hostname, server_cert)) {
		fprintf(stderr, _("SSL error: Hostname verification failed\n"));
		X509_free(server_cert);
		SSL_CTX_free(ssl_ctx);
		return NULL;
	}

	X509_free(server_cert);

	return ssl;
}

void
ssl_disconnect(SSL *ssl)
{
	SSL_shutdown(ssl);
	SSL_free(ssl);
}
axel-2.17.13/src/ssl_verify.c0000644000175000017500000000646214560423122011426 /*
  Helper functions to perform basic hostname validation using OpenSSL.

  Original Author:  Alban Diquet
  Copyright (C) 2012, iSEC Partners.
  Copyright 2020      Ismael Luceno

  Permission is hereby granted, free of charge, to any person obtaining a copy of
  this software and associated documentation files (the "Software"), to deal in
  the Software without restriction, including without limitation the rights to
  use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
  of the Software, and to permit persons to whom the Software is furnished to do
  so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in all
  copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#include "config.h"

#ifdef HAVE_WOLFSSL
#include 
#include 
#include 
#include 
#else
#include 
#include 
#endif

#include "axel.h"

inline static int
match(const char *hostname, ASN1_STRING *certname)
{
	return dn_match(hostname,
			(const char *)ASN1_STRING_get0_data(certname),
			ASN1_STRING_length(certname));
}

/**
 * Match hostname against Certificate's CN field.
 *
 * @returns Negative on malformed input, Zero if matched, non-zero otherwise.
 */
static
int
matches_cn(const char *hostname, const X509 *cert)
{
	/* Find CN field in the Subject field */
	int loc = X509_NAME_get_index_by_NID(X509_get_subject_name(cert),
					     NID_commonName, -1);
	if (loc < 0)
		return 1;

	X509_NAME_ENTRY *entry;
	entry = X509_NAME_get_entry(X509_get_subject_name(cert), loc);
	if (!entry)
		return 1;

	ASN1_STRING *cn = X509_NAME_ENTRY_get_data(entry);
	if (!cn)
		return 1;

	return match(hostname, cn);
}

/**
 * Match hostname against Certificate's SAN fields if available,
 * or CN field otherwise.
 *
 * @returns Negative on malformed input, Zero if matched, non-zero otherwise.
 */
static
int
matches_cert(const char *hostname, const X509 *cert)
{
	/* Try to extract the names within the SAN extension */
	STACK_OF(GENERAL_NAME) *names;
	names = X509_get_ext_d2i(cert, NID_subject_alt_name, NULL, NULL);

	/* Iff extension was not found try the Common Name */
	if (!names)
		return matches_cn(hostname, cert);

	/* Check each name until a match or error */
	const int names_len = sk_GENERAL_NAME_num(names);
	int result = 1;
	for (int i = 0; i < names_len && result > 0; i++) {
		const GENERAL_NAME *cur = sk_GENERAL_NAME_value(names, i);
		/* Check DNS names only */
		if (cur->type == GEN_DNS)
			result = match(hostname, cur->d.dNSName);
	}
	sk_GENERAL_NAME_pop_free(names, GENERAL_NAME_free);
	return result;
}

bool
ssl_validate_hostname(const char *hostname, const X509 *cert)
{
	return hostname && cert && matches_cert(hostname, cert) == 0;
}
axel-2.17.13/Makefile.am0000644000175000017500000000213514560423122010333 AUTOMAKE_OPTIONS = foreign dist-bzip2 dist-xz

# XXX Fix disagreement between aclocal and make
# (aclocal doesn't update based on mtime)
ACLOCAL = touch $@; @ACLOCAL@

SUBDIRS = po

EXTRA_DIST = \
	scripts/pocheck.awk \
	README.md \
	CONTRIBUTING.md

include doc/Makefile.am

distclean-local:
	-rm -rf autom4te.cache
	-rm -f  *~ po/*~ po/*.gmo src/*~

dist-hook:
	rm -rf $(distdir)/.git
	read _ RELDATE _ < $(top_srcdir)/VERSION; \
	TZ= find $(distdir) -exec touch -d "$$RELDATE" '{}' +

MSG = echo '==>'
ERR = ! echo '!!! ERROR:'
.PHONY: relcheck update-po
update-po:
	$(MAKE) -C po update-po
relcheck: update-po
	@$(MSG) 'Checking for non-UTF8 translations...'
	@$(AWK) -f $(top_srcdir)/scripts/pocheck.awk $(top_srcdir)/po/*.po
	@$(MSG) 'Checking the state of the project...'
	@ m=`git status --porcelain=1 | wc -l`; \
	test "$$m" = 0 \
		&& $(MSG) 'the working tree is clean' \
		|| $(ERR) "$$m" 'modified files in the working tree'
	@test -f "$(top_srcdir)/.git/refs/tags/v$(VERSION)" \
		&& $(MSG) 'v$(VERSION) tag found' \
		|| $(ERR) 'v$(VERSION) tag missing'
	@$(MSG) Everything OK


include src/Makefile.am
axel-2.17.13/configure0000755000175000017500000134163614560423122010223 #! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.72 for axel 2.17.13.
#
# Report bugs to .
#
#
# Copyright 2016      Joao Eriberto Mota Filho
# Copyright 2016      Stephen Thirlwall
# Copyright 2017      Antonio Quartulli
# Copyright 2017-2020 Ismael Luceno
# Copyright 2017      Vlad Glagolev
#
# This file is under the same license as Axel.
#
#
#
# Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
# Inc.
#
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
## -------------------- ##
## M4sh Initialization. ##
## -------------------- ##

# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
  emulate sh
  NULLCMD=:
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@"}'='"$@"'
  setopt NO_GLOB_SUBST
else case e in #(
  e) case `(set -o) 2>/dev/null` in #(
  *posix*) :
    set -o posix ;; #(
  *) :
     ;;
esac ;;
esac
fi



# Reset variables that may have inherited troublesome values from
# the environment.

# IFS needs to be set, to space, tab, and newline, in precisely that order.
# (If _AS_PATH_WALK were called with IFS unset, it would have the
# side effect of setting IFS to empty, thus disabling word splitting.)
# Quoting is to prevent editors from complaining about space-tab.
as_nl='
'
export as_nl
IFS=" ""	$as_nl"

PS1='$ '
PS2='> '
PS4='+ '

# Ensure predictable behavior from utilities with locale-dependent output.
LC_ALL=C
export LC_ALL
LANGUAGE=C
export LANGUAGE

# We cannot yet rely on "unset" to work, but we need these variables
# to be unset--not just set to an empty or harmless value--now, to
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
# also avoids known problems related to "unset" and subshell syntax
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
do eval test \${$as_var+y} \
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
done

# Ensure that fds 0, 1, and 2 are open.
if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi

# The user is always right.
if ${PATH_SEPARATOR+false} :; then
  PATH_SEPARATOR=:
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
      PATH_SEPARATOR=';'
  }
fi


# Find who we are.  Look in the path if we contain no directory separator.
as_myself=
case $0 in #((
  *[\\/]* ) as_myself=$0 ;;
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
  done
IFS=$as_save_IFS

     ;;
esac
# We did not find ourselves, most probably we were run as 'sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
  as_myself=$0
fi
if test ! -f "$as_myself"; then
  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  exit 1
fi


# Use a proper internal environment variable to ensure we don't fall
  # into an infinite loop, continuously re-executing ourselves.
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    _as_can_reexec=no; export _as_can_reexec;
    # We cannot yet assume a decent shell, so we have to provide a
# neutralization value for shells without unset; and this also
# works around shells that cannot unset nonexistent variables.
# Preserve -v and -x to the replacement shell.
BASH_ENV=/dev/null
ENV=/dev/null
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
case $- in # ((((
  *v*x* | *x*v* ) as_opts=-vx ;;
  *v* ) as_opts=-v ;;
  *x* ) as_opts=-x ;;
  * ) as_opts= ;;
esac
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
# Admittedly, this is quite paranoid, since all the known shells bail
# out after a failed 'exec'.
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
exit 255
  fi
  # We don't want this to propagate to other subprocesses.
          { _as_can_reexec=; unset _as_can_reexec;}
if test "x$CONFIG_SHELL" = x; then
  as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
  emulate sh
  NULLCMD=:
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
  setopt NO_GLOB_SUBST
else case e in #(
  e) case \`(set -o) 2>/dev/null\` in #(
  *posix*) :
    set -o posix ;; #(
  *) :
     ;;
esac ;;
esac
fi
"
  as_required="as_fn_return () { (exit \$1); }
as_fn_success () { as_fn_return 0; }
as_fn_failure () { as_fn_return 1; }
as_fn_ret_success () { return 0; }
as_fn_ret_failure () { return 1; }

exitcode=0
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
if ( set x; as_fn_ret_success y && test x = \"\$1\" )
then :

else case e in #(
  e) exitcode=1; echo positional parameters were not saved. ;;
esac
fi
test x\$exitcode = x0 || exit 1
blah=\$(echo \$(echo blah))
test x\"\$blah\" = xblah || exit 1
test -x / || exit 1"
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
test \$(( 1 + 1 )) = 2 || exit 1"
  if (eval "$as_required") 2>/dev/null
then :
  as_have_required=yes
else case e in #(
  e) as_have_required=no ;;
esac
fi
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
then :

else case e in #(
  e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_found=false
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
  as_found=:
  case $as_dir in #(
	 /*)
	   for as_base in sh bash ksh sh5; do
	     # Try only shells that exist, to save several forks.
	     as_shell=$as_dir$as_base
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
then :
  CONFIG_SHELL=$as_shell as_have_required=yes
		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
then :
  break 2
fi
fi
	   done;;
       esac
  as_found=false
done
IFS=$as_save_IFS
if $as_found
then :

else case e in #(
  e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
then :
  CONFIG_SHELL=$SHELL as_have_required=yes
fi ;;
esac
fi


      if test "x$CONFIG_SHELL" != x
then :
  export CONFIG_SHELL
             # We cannot yet assume a decent shell, so we have to provide a
# neutralization value for shells without unset; and this also
# works around shells that cannot unset nonexistent variables.
# Preserve -v and -x to the replacement shell.
BASH_ENV=/dev/null
ENV=/dev/null
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
case $- in # ((((
  *v*x* | *x*v* ) as_opts=-vx ;;
  *v* ) as_opts=-v ;;
  *x* ) as_opts=-x ;;
  * ) as_opts= ;;
esac
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
# Admittedly, this is quite paranoid, since all the known shells bail
# out after a failed 'exec'.
printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
exit 255
fi

    if test x$as_have_required = xno
then :
  printf "%s\n" "$0: This script requires a shell more modern than all"
  printf "%s\n" "$0: the shells that I found on your system."
  if test ${ZSH_VERSION+y} ; then
    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
  else
    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
$0: https://github.com/axel-download-accelerator/axel/issues
$0: about your system, including any error possibly output
$0: before this message. Then install a modern shell, or
$0: manually run the script under such a shell if you do
$0: have one."
  fi
  exit 1
fi ;;
esac
fi
fi
SHELL=${CONFIG_SHELL-/bin/sh}
export SHELL
# Unset more variables known to interfere with behavior of common tools.
CLICOLOR_FORCE= GREP_OPTIONS=
unset CLICOLOR_FORCE GREP_OPTIONS

## --------------------- ##
## M4sh Shell Functions. ##
## --------------------- ##
# as_fn_unset VAR
# ---------------
# Portably unset VAR.
as_fn_unset ()
{
  { eval $1=; unset $1;}
}
as_unset=as_fn_unset


# as_fn_set_status STATUS
# -----------------------
# Set $? to STATUS, without forking.
as_fn_set_status ()
{
  return $1
} # as_fn_set_status

# as_fn_exit STATUS
# -----------------
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
as_fn_exit ()
{
  set +e
  as_fn_set_status $1
  exit $1
} # as_fn_exit

# as_fn_mkdir_p
# -------------
# Create "$as_dir" as a directory, including parents if necessary.
as_fn_mkdir_p ()
{

  case $as_dir in #(
  -*) as_dir=./$as_dir;;
  esac
  test -d "$as_dir" || eval $as_mkdir_p || {
    as_dirs=
    while :; do
      case $as_dir in #(
      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
      *) as_qdir=$as_dir;;
      esac
      as_dirs="'$as_qdir' $as_dirs"
      as_dir=`$as_dirname -- "$as_dir" ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
      test -d "$as_dir" && break
    done
    test -z "$as_dirs" || eval "mkdir $as_dirs"
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"


} # as_fn_mkdir_p

# as_fn_executable_p FILE
# -----------------------
# Test if FILE is an executable regular file.
as_fn_executable_p ()
{
  test -f "$1" && test -x "$1"
} # as_fn_executable_p
# as_fn_append VAR VALUE
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
# advantage of any shell optimizations that allow amortized linear growth over
# repeated appends, instead of the typical quadratic growth present in naive
# implementations.
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
then :
  eval 'as_fn_append ()
  {
    eval $1+=\$2
  }'
else case e in #(
  e) as_fn_append ()
  {
    eval $1=\$$1\$2
  } ;;
esac
fi # as_fn_append

# as_fn_arith ARG...
# ------------------
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
then :
  eval 'as_fn_arith ()
  {
    as_val=$(( $* ))
  }'
else case e in #(
  e) as_fn_arith ()
  {
    as_val=`expr "$@" || test $? -eq 1`
  } ;;
esac
fi # as_fn_arith


# as_fn_error STATUS ERROR [LINENO LOG_FD]
# ----------------------------------------
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
# script with STATUS, using 1 if that was 0.
as_fn_error ()
{
  as_status=$1; test $as_status -eq 0 && as_status=1
  if test "$4"; then
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  fi
  printf "%s\n" "$as_me: error: $2" >&2
  as_fn_exit $as_status
} # as_fn_error

if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  as_expr=expr
else
  as_expr=false
fi

if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  as_basename=basename
else
  as_basename=false
fi

if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X/"$0" |
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`

# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits


  as_lineno_1=$LINENO as_lineno_1a=$LINENO
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  sed -n '
    p
    /[$]LINENO/=
  ' <$as_myself |
    sed '
      t clear
      :clear
      s/[$]LINENO.*/&-/
      t lineno
      b
      :lineno
      N
      :loop
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
      t loop
      s/-\n.*//
    ' >$as_me.lineno &&
  chmod +x "$as_me.lineno" ||
    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }

  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  # already done that, so ensure we don't try to do so again and fall
  # in an infinite loop.  This has already happened in practice.
  _as_can_reexec=no; export _as_can_reexec
  # Don't try to exec as it changes $[0], causing all sort of problems
  # (the dirname of $[0] is not the place where we might find the
  # original and so on.  Autoconf is especially sensitive to this).
  . "./$as_me.lineno"
  # Exit status is that of the last command.
  exit
}


# Determine whether it's possible to make 'echo' print without a newline.
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
# for compatibility with existing Makefiles.
ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in #(((((
-n*)
  case `echo 'xy\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  xy)  ECHO_C='\c';;
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
       ECHO_T='	';;
  esac;;
*)
  ECHO_N='-n';;
esac

# For backward compatibility with old third-party macros, we provide
# the shell variables $as_echo and $as_echo_n.  New code should use
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
as_echo='printf %s\n'
as_echo_n='printf %s'

rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
  mkdir conf$$.dir 2>/dev/null
fi
if (echo >conf$$.file) 2>/dev/null; then
  if ln -s conf$$.file conf$$ 2>/dev/null; then
    as_ln_s='ln -s'
    # ... but there are two gotchas:
    # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    # In both cases, we have to default to 'cp -pR'.
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
      as_ln_s='cp -pR'
  elif ln conf$$.file conf$$ 2>/dev/null; then
    as_ln_s=ln
  else
    as_ln_s='cp -pR'
  fi
else
  as_ln_s='cp -pR'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null

if mkdir -p . 2>/dev/null; then
  as_mkdir_p='mkdir -p "$as_dir"'
else
  test -d ./-p && rmdir ./-p
  as_mkdir_p=false
fi

as_test_x='test -x'
as_executable_p=as_fn_executable_p

# Sed expression to map a string onto a valid CPP name.
as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated

# Sed expression to map a string onto a valid variable name.
as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
as_tr_sh="eval sed '$as_sed_sh'" # deprecated


test -n "$DJDIR" || exec 7<&0 &1

# Name of the host.
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
# so uname gets run too.
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`

#
# Initializations.
#
ac_default_prefix=/usr/local
ac_clean_files=
ac_config_libobj_dir=.
LIBOBJS=
cross_compiling=no
subdirs=
MFLAGS=
MAKEFLAGS=

# Identity of this package.
PACKAGE_NAME='axel'
PACKAGE_TARNAME='axel'
PACKAGE_VERSION='2.17.13'
PACKAGE_STRING='axel 2.17.13'
PACKAGE_BUGREPORT='https://github.com/axel-download-accelerator/axel/issues'
PACKAGE_URL=''

ac_unique_file="src/conf.h"
ac_config_libobj_dir=lib
# Factoring default headers for most tests.
ac_includes_default="\
#include 
#ifdef HAVE_STDIO_H
# include 
#endif
#ifdef HAVE_STDLIB_H
# include 
#endif
#ifdef HAVE_STRING_H
# include 
#endif
#ifdef HAVE_INTTYPES_H
# include 
#endif
#ifdef HAVE_STDINT_H
# include 
#endif
#ifdef HAVE_STRINGS_H
# include 
#endif
#ifdef HAVE_SYS_TYPES_H
# include 
#endif
#ifdef HAVE_SYS_STAT_H
# include 
#endif
#ifdef HAVE_UNISTD_H
# include 
#endif"

ac_header_c_list=
enable_year2038=no
ac_subst_vars='am__EXEEXT_FALSE
am__EXEEXT_TRUE
LTLIBOBJS
RELDATE_PRETTY
PTHREAD_CFLAGS
PTHREAD_LIBS
PTHREAD_CXX
PTHREAD_CC
ax_pthread_config
CPP
POSUB
LTLIBINTL
LIBINTL
INTLLIBS
LTLIBICONV
LIBICONV
USE_NLS
MSGMERGE
XGETTEXT
GMSGFMT
MSGFMT
SSL_LIBS
SSL_CFLAGS
SSL_PREFIX
WITH_SSL_FALSE
WITH_SSL_TRUE
LIBOBJS
WARN_SCANNERFLAGS
WARN_LDFLAGS
WARN_CFLAGS
SED
am__fastdepCC_FALSE
am__fastdepCC_TRUE
CCDEPMODE
am__nodep
AMDEPBACKSLASH
AMDEP_FALSE
AMDEP_TRUE
am__include
DEPDIR
OBJEXT
EXEEXT
ac_ct_CC
CPPFLAGS
LDFLAGS
CFLAGS
CC
host_os
host_vendor
host_cpu
host
build_os
build_vendor
build_cpu
build
PKG_CONFIG_LIBDIR
PKG_CONFIG_PATH
PKG_CONFIG
AM_BACKSLASH
AM_DEFAULT_VERBOSITY
AM_DEFAULT_V
AM_V
CSCOPE
ETAGS
CTAGS
am__untar
am__tar
AMTAR
am__leading_dot
SET_MAKE
AWK
mkdir_p
MKDIR_P
INSTALL_STRIP_PROGRAM
STRIP
install_sh
MAKEINFO
AUTOHEADER
AUTOMAKE
AUTOCONF
ACLOCAL
VERSION
PACKAGE
CYGPATH_W
am__isrc
INSTALL_DATA
INSTALL_SCRIPT
INSTALL_PROGRAM
target_alias
host_alias
build_alias
LIBS
ECHO_T
ECHO_N
ECHO_C
DEFS
mandir
localedir
libdir
psdir
pdfdir
dvidir
htmldir
infodir
docdir
oldincludedir
includedir
runstatedir
localstatedir
sharedstatedir
sysconfdir
datadir
datarootdir
libexecdir
sbindir
bindir
program_transform_name
prefix
exec_prefix
PACKAGE_URL
PACKAGE_BUGREPORT
PACKAGE_STRING
PACKAGE_VERSION
PACKAGE_TARNAME
PACKAGE_NAME
PATH_SEPARATOR
SHELL
am__quote'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_ssl
enable_silent_rules
enable_dependency_tracking
enable_largefile
enable_compile_warnings
enable_Werror
enable_debug
with_gnu_ld
enable_nls
with_libiconv_prefix
with_libintl_prefix
enable_year2038
'
      ac_precious_vars='build_alias
host_alias
target_alias
PKG_CONFIG
PKG_CONFIG_PATH
PKG_CONFIG_LIBDIR
CC
CFLAGS
LDFLAGS
LIBS
CPPFLAGS
SSL_PREFIX
SSL_CFLAGS
SSL_LIBS
CPP'


# Initialize some variables set by options.
ac_init_help=
ac_init_version=false
ac_unrecognized_opts=
ac_unrecognized_sep=
# The variables have the same names as the options, with
# dashes changed to underlines.
cache_file=/dev/null
exec_prefix=NONE
no_create=
no_recursion=
prefix=NONE
program_prefix=NONE
program_suffix=NONE
program_transform_name=s,x,x,
silent=
site=
srcdir=
verbose=
x_includes=NONE
x_libraries=NONE

# Installation directory options.
# These are left unexpanded so users can "make install exec_prefix=/foo"
# and all the variables that are supposed to be based on exec_prefix
# by default will actually change.
# Use braces instead of parens because sh, perl, etc. also accept them.
# (The list follows the same order as the GNU Coding Standards.)
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datarootdir='${prefix}/share'
datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
runstatedir='${localstatedir}/run'
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
infodir='${datarootdir}/info'
htmldir='${docdir}'
dvidir='${docdir}'
pdfdir='${docdir}'
psdir='${docdir}'
libdir='${exec_prefix}/lib'
localedir='${datarootdir}/locale'
mandir='${datarootdir}/man'

ac_prev=
ac_dashdash=
for ac_option
do
  # If the previous option needs an argument, assign it.
  if test -n "$ac_prev"; then
    eval $ac_prev=\$ac_option
    ac_prev=
    continue
  fi

  case $ac_option in
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  *=)   ac_optarg= ;;
  *)    ac_optarg=yes ;;
  esac

  case $ac_dashdash$ac_option in
  --)
    ac_dashdash=yes ;;

  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    ac_prev=bindir ;;
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    bindir=$ac_optarg ;;

  -build | --build | --buil | --bui | --bu)
    ac_prev=build_alias ;;
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    build_alias=$ac_optarg ;;

  -cache-file | --cache-file | --cache-fil | --cache-fi \
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    ac_prev=cache_file ;;
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    cache_file=$ac_optarg ;;

  --config-cache | -C)
    cache_file=config.cache ;;

  -datadir | --datadir | --datadi | --datad)
    ac_prev=datadir ;;
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    datadir=$ac_optarg ;;

  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  | --dataroo | --dataro | --datar)
    ac_prev=datarootdir ;;
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    datarootdir=$ac_optarg ;;

  -disable-* | --disable-*)
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
      as_fn_error $? "invalid feature name: '$ac_useropt'"
    ac_useropt_orig=$ac_useropt
    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    case $ac_user_opts in
      *"
"enable_$ac_useropt"
"*) ;;
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
	 ac_unrecognized_sep=', ';;
    esac
    eval enable_$ac_useropt=no ;;

  -docdir | --docdir | --docdi | --doc | --do)
    ac_prev=docdir ;;
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    docdir=$ac_optarg ;;

  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    ac_prev=dvidir ;;
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    dvidir=$ac_optarg ;;

  -enable-* | --enable-*)
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
      as_fn_error $? "invalid feature name: '$ac_useropt'"
    ac_useropt_orig=$ac_useropt
    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    case $ac_user_opts in
      *"
"enable_$ac_useropt"
"*) ;;
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
	 ac_unrecognized_sep=', ';;
    esac
    eval enable_$ac_useropt=\$ac_optarg ;;

  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  | --exec | --exe | --ex)
    ac_prev=exec_prefix ;;
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  | --exec=* | --exe=* | --ex=*)
    exec_prefix=$ac_optarg ;;

  -gas | --gas | --ga | --g)
    # Obsolete; use --with-gas.
    with_gas=yes ;;

  -help | --help | --hel | --he | -h)
    ac_init_help=long ;;
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    ac_init_help=recursive ;;
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    ac_init_help=short ;;

  -host | --host | --hos | --ho)
    ac_prev=host_alias ;;
  -host=* | --host=* | --hos=* | --ho=*)
    host_alias=$ac_optarg ;;

  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    ac_prev=htmldir ;;
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  | --ht=*)
    htmldir=$ac_optarg ;;

  -includedir | --includedir | --includedi | --included | --include \
  | --includ | --inclu | --incl | --inc)
    ac_prev=includedir ;;
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  | --includ=* | --inclu=* | --incl=* | --inc=*)
    includedir=$ac_optarg ;;

  -infodir | --infodir | --infodi | --infod | --info | --inf)
    ac_prev=infodir ;;
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    infodir=$ac_optarg ;;

  -libdir | --libdir | --libdi | --libd)
    ac_prev=libdir ;;
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    libdir=$ac_optarg ;;

  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  | --libexe | --libex | --libe)
    ac_prev=libexecdir ;;
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  | --libexe=* | --libex=* | --libe=*)
    libexecdir=$ac_optarg ;;

  -localedir | --localedir | --localedi | --localed | --locale)
    ac_prev=localedir ;;
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    localedir=$ac_optarg ;;

  -localstatedir | --localstatedir | --localstatedi | --localstated \
  | --localstate | --localstat | --localsta | --localst | --locals)
    ac_prev=localstatedir ;;
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    localstatedir=$ac_optarg ;;

  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    ac_prev=mandir ;;
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    mandir=$ac_optarg ;;

  -nfp | --nfp | --nf)
    # Obsolete; use --without-fp.
    with_fp=no ;;

  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c | -n)
    no_create=yes ;;

  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    no_recursion=yes ;;

  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  | --oldin | --oldi | --old | --ol | --o)
    ac_prev=oldincludedir ;;
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    oldincludedir=$ac_optarg ;;

  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    ac_prev=prefix ;;
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    prefix=$ac_optarg ;;

  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  | --program-pre | --program-pr | --program-p)
    ac_prev=program_prefix ;;
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    program_prefix=$ac_optarg ;;

  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  | --program-suf | --program-su | --program-s)
    ac_prev=program_suffix ;;
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    program_suffix=$ac_optarg ;;

  -program-transform-name | --program-transform-name \
  | --program-transform-nam | --program-transform-na \
  | --program-transform-n | --program-transform- \
  | --program-transform | --program-transfor \
  | --program-transfo | --program-transf \
  | --program-trans | --program-tran \
  | --progr-tra | --program-tr | --program-t)
    ac_prev=program_transform_name ;;
  -program-transform-name=* | --program-transform-name=* \
  | --program-transform-nam=* | --program-transform-na=* \
  | --program-transform-n=* | --program-transform-=* \
  | --program-transform=* | --program-transfor=* \
  | --program-transfo=* | --program-transf=* \
  | --program-trans=* | --program-tran=* \
  | --progr-tra=* | --program-tr=* | --program-t=*)
    program_transform_name=$ac_optarg ;;

  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
    ac_prev=pdfdir ;;
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
    pdfdir=$ac_optarg ;;

  -psdir | --psdir | --psdi | --psd | --ps)
    ac_prev=psdir ;;
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
    psdir=$ac_optarg ;;

  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil)
    silent=yes ;;

  -runstatedir | --runstatedir | --runstatedi | --runstated \
  | --runstate | --runstat | --runsta | --runst | --runs \
  | --run | --ru | --r)
    ac_prev=runstatedir ;;
  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
  | --run=* | --ru=* | --r=*)
    runstatedir=$ac_optarg ;;

  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    ac_prev=sbindir ;;
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  | --sbi=* | --sb=*)
    sbindir=$ac_optarg ;;

  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  | --sharedst | --shareds | --shared | --share | --shar \
  | --sha | --sh)
    ac_prev=sharedstatedir ;;
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  | --sha=* | --sh=*)
    sharedstatedir=$ac_optarg ;;

  -site | --site | --sit)
    ac_prev=site ;;
  -site=* | --site=* | --sit=*)
    site=$ac_optarg ;;

  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    ac_prev=srcdir ;;
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    srcdir=$ac_optarg ;;

  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  | --syscon | --sysco | --sysc | --sys | --sy)
    ac_prev=sysconfdir ;;
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    sysconfdir=$ac_optarg ;;

  -target | --target | --targe | --targ | --tar | --ta | --t)
    ac_prev=target_alias ;;
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    target_alias=$ac_optarg ;;

  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    verbose=yes ;;

  -version | --version | --versio | --versi | --vers | -V)
    ac_init_version=: ;;

  -with-* | --with-*)
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
      as_fn_error $? "invalid package name: '$ac_useropt'"
    ac_useropt_orig=$ac_useropt
    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    case $ac_user_opts in
      *"
"with_$ac_useropt"
"*) ;;
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
	 ac_unrecognized_sep=', ';;
    esac
    eval with_$ac_useropt=\$ac_optarg ;;

  -without-* | --without-*)
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    # Reject names that are not valid shell variable names.
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
      as_fn_error $? "invalid package name: '$ac_useropt'"
    ac_useropt_orig=$ac_useropt
    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    case $ac_user_opts in
      *"
"with_$ac_useropt"
"*) ;;
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
	 ac_unrecognized_sep=', ';;
    esac
    eval with_$ac_useropt=no ;;

  --x)
    # Obsolete; use --with-x.
    with_x=yes ;;

  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  | --x-incl | --x-inc | --x-in | --x-i)
    ac_prev=x_includes ;;
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    x_includes=$ac_optarg ;;

  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    ac_prev=x_libraries ;;
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    x_libraries=$ac_optarg ;;

  -*) as_fn_error $? "unrecognized option: '$ac_option'
Try '$0 --help' for more information"
    ;;

  *=*)
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    # Reject names that are not valid shell variable names.
    case $ac_envvar in #(
      '' | [0-9]* | *[!_$as_cr_alnum]* )
      as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
    esac
    eval $ac_envvar=\$ac_optarg
    export $ac_envvar ;;

  *)
    # FIXME: should be removed in autoconf 3.0.
    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    ;;

  esac
done

if test -n "$ac_prev"; then
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  as_fn_error $? "missing argument to $ac_option"
fi

if test -n "$ac_unrecognized_opts"; then
  case $enable_option_checking in
    no) ;;
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  esac
fi

# Check all directory arguments for consistency.
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
		datadir sysconfdir sharedstatedir localstatedir includedir \
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
		libdir localedir mandir runstatedir
do
  eval ac_val=\$$ac_var
  # Remove trailing slashes.
  case $ac_val in
    */ )
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
      eval $ac_var=\$ac_val;;
  esac
  # Be sure to have absolute directory names.
  case $ac_val in
    [\\/$]* | ?:[\\/]* )  continue;;
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  esac
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
done

# There might be people who depend on the old broken behavior: '$host'
# used to hold the argument of --host etc.
# FIXME: To remove some day.
build=$build_alias
host=$host_alias
target=$target_alias

# FIXME: To remove some day.
if test "x$host_alias" != x; then
  if test "x$build_alias" = x; then
    cross_compiling=maybe
  elif test "x$build_alias" != "x$host_alias"; then
    cross_compiling=yes
  fi
fi

ac_tool_prefix=
test -n "$host_alias" && ac_tool_prefix=$host_alias-

test "$silent" = yes && exec 6>/dev/null


ac_pwd=`pwd` && test -n "$ac_pwd" &&
ac_ls_di=`ls -di .` &&
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  as_fn_error $? "working directory cannot be determined"
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  as_fn_error $? "pwd does not report name of working directory"


# Find the source files, if location was not specified.
if test -z "$srcdir"; then
  ac_srcdir_defaulted=yes
  # Try the directory containing this script, then the parent directory.
  ac_confdir=`$as_dirname -- "$as_myself" ||
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_myself" : 'X\(//\)[^/]' \| \
	 X"$as_myself" : 'X\(//\)$' \| \
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X"$as_myself" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
  srcdir=$ac_confdir
  if test ! -r "$srcdir/$ac_unique_file"; then
    srcdir=..
  fi
else
  ac_srcdir_defaulted=no
fi
if test ! -r "$srcdir/$ac_unique_file"; then
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
fi
ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
ac_abs_confdir=`(
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
	pwd)`
# When building in place, set srcdir=.
if test "$ac_abs_confdir" = "$ac_pwd"; then
  srcdir=.
fi
# Remove unnecessary trailing slashes from srcdir.
# Double slashes in file names in object file debugging info
# mess up M-x gdb in Emacs.
case $srcdir in
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
esac
for ac_var in $ac_precious_vars; do
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
  eval ac_env_${ac_var}_value=\$${ac_var}
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
done

#
# Report the --help message.
#
if test "$ac_init_help" = "long"; then
  # Omit some internal or obsolete options to make the list less imposing.
  # This message is too long to be a string in the A/UX 3.1 sh.
  cat <<_ACEOF
'configure' configures axel 2.17.13 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print 'checking ...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for '--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or '..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [$ac_default_prefix]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, 'make install' will install all the files in
'$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
an installation prefix other than '$ac_default_prefix' using '--prefix',
for instance '--prefix=\$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR            user executables [EPREFIX/bin]
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  --libexecdir=DIR        program executables [EPREFIX/libexec]
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
  --libdir=DIR            object code libraries [EPREFIX/lib]
  --includedir=DIR        C header files [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR           info documentation [DATAROOTDIR/info]
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR            man documentation [DATAROOTDIR/man]
  --docdir=DIR            documentation root [DATAROOTDIR/doc/axel]
  --htmldir=DIR           html documentation [DOCDIR]
  --dvidir=DIR            dvi documentation [DOCDIR]
  --pdfdir=DIR            pdf documentation [DOCDIR]
  --psdir=DIR             ps documentation [DOCDIR]
_ACEOF

  cat <<\_ACEOF

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
_ACEOF
fi

if test -n "$ac_init_help"; then
  case $ac_init_help in
     short | recursive ) echo "Configuration of axel 2.17.13:";;
   esac
  cat <<\_ACEOF

Optional Features:
  --disable-option-checking  ignore unrecognized --enable/--with options
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-silent-rules   less verbose build output (undo: "make V=1")
  --disable-silent-rules  verbose build output (undo: "make V=0")
  --enable-dependency-tracking
                          do not reject slow dependency extractors
  --disable-dependency-tracking
                          speeds up one-time build
  --disable-largefile     omit support for large files
  --enable-compile-warnings=[no/yes/error]
                          Enable compiler warnings and errors
  --disable-Werror        Unconditionally make all compiler warnings non-fatal
  --enable-debug          enable debugging, default: no
  --disable-nls           do not use Native Language Support
  --enable-year2038       support timestamps after 2038

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)

  --with-ssl=[openssl/wolfssl]
                          Which TLS/SSL implementation to use, default:
                          openssl
  --without-ssl           disable TLS support
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
  --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
  --with-libintl-prefix=DIR  search for libintl in DIR/include and DIR/lib
  --without-libintl-prefix     don't search for libintl in includedir and libdir

Some influential environment variables:
  PKG_CONFIG  path to pkg-config utility
  PKG_CONFIG_PATH
              directories to add to pkg-config's search path
  PKG_CONFIG_LIBDIR
              path overriding pkg-config's built-in search path
  CC          C compiler command
  CFLAGS      C compiler flags
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
              nonstandard directory 
  LIBS        libraries to pass to the linker, e.g. -l
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I if
              you have headers in a nonstandard directory 
  SSL_PREFIX  installation prefix of the TLS/SSL library
  SSL_CFLAGS  C compiler flags for SSL, overriding pkg-config
  SSL_LIBS    linker flags for SSL, overriding pkg-config
  CPP         C preprocessor

Use these variables to override the choices made by 'configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to .
_ACEOF
ac_status=$?
fi

if test "$ac_init_help" = "recursive"; then
  # If there are subdirs, report their specific --help.
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    test -d "$ac_dir" ||
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
      continue
    ac_builddir=.

case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
  # A ".." for each directory in $ac_dir_suffix.
  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  case $ac_top_builddir_sub in
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix

case $srcdir in
  .)  # We are building in place.
    ac_srcdir=.
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir
    ac_abs_top_srcdir=$srcdir ;;
  *) # Relative name.
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_build_prefix$srcdir
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix

    cd "$ac_dir" || { ac_status=$?; continue; }
    # Check for configure.gnu first; this name is used for a wrapper for
    # Metaconfig's "Configure" on case-insensitive file systems.
    if test -f "$ac_srcdir/configure.gnu"; then
      echo &&
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
    elif test -f "$ac_srcdir/configure"; then
      echo &&
      $SHELL "$ac_srcdir/configure" --help=recursive
    else
      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    fi || ac_status=$?
    cd "$ac_pwd" || { ac_status=$?; break; }
  done
fi

test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
  cat <<\_ACEOF
axel configure 2.17.13
generated by GNU Autoconf 2.72

Copyright (C) 2023 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.


Copyright 2016      Joao Eriberto Mota Filho
Copyright 2016      Stephen Thirlwall
Copyright 2017      Antonio Quartulli
Copyright 2017-2020 Ismael Luceno
Copyright 2017      Vlad Glagolev

This file is under the same license as Axel.

_ACEOF
  exit
fi

## ------------------------ ##
## Autoconf initialization. ##
## ------------------------ ##

# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_compile ()
{
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  rm -f conftest.$ac_objext conftest.beam
  if { { ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
printf "%s\n" "$ac_try_echo"; } >&5
  (eval "$ac_compile") 2>conftest.err
  ac_status=$?
  if test -s conftest.err; then
    grep -v '^ *+' conftest.err >conftest.er1
    cat conftest.er1 >&5
    mv -f conftest.er1 conftest.err
  fi
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest.$ac_objext
then :
  ac_retval=0
else case e in #(
  e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_retval=1 ;;
esac
fi
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  as_fn_set_status $ac_retval

} # ac_fn_c_try_compile

# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
# -------------------------------------------------------
# Tests whether HEADER exists and can be compiled using the include files in
# INCLUDES, setting the cache variable VAR accordingly.
ac_fn_c_check_header_compile ()
{
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
printf %s "checking for $2... " >&6; }
if eval test \${$3+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$4
#include <$2>
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  eval "$3=yes"
else case e in #(
  e) eval "$3=no" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
fi
eval ac_res=\$$3
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno

} # ac_fn_c_check_header_compile

# ac_fn_c_try_link LINENO
# -----------------------
# Try to link conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_link ()
{
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
  if { { ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
printf "%s\n" "$ac_try_echo"; } >&5
  (eval "$ac_link") 2>conftest.err
  ac_status=$?
  if test -s conftest.err; then
    grep -v '^ *+' conftest.err >conftest.er1
    cat conftest.er1 >&5
    mv -f conftest.er1 conftest.err
  fi
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } && {
	 test -z "$ac_c_werror_flag" ||
	 test ! -s conftest.err
       } && test -s conftest$ac_exeext && {
	 test "$cross_compiling" = yes ||
	 test -x conftest$ac_exeext
       }
then :
  ac_retval=0
else case e in #(
  e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

	ac_retval=1 ;;
esac
fi
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  # interfere with the next link command; also delete a directory that is
  # left behind by Apple's compiler.  We do this before executing the actions.
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  as_fn_set_status $ac_retval

} # ac_fn_c_try_link

# ac_fn_c_find_intX_t LINENO BITS VAR
# -----------------------------------
# Finds a signed integer type with width BITS, setting cache variable VAR
# accordingly.
ac_fn_c_find_intX_t ()
{
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
printf %s "checking for int$2_t... " >&6; }
if eval test \${$3+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) eval "$3=no"
     # Order is important - never check a type that is potentially smaller
     # than half of the expected target width.
     for ac_type in int$2_t 'int' 'long int' \
	 'long long int' 'short int' 'signed char'; do
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$ac_includes_default
	     enum { N = $2 / 2 - 1 };
int
main (void)
{
static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
test_array [0] = 0;
return test_array [0];

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$ac_includes_default
	        enum { N = $2 / 2 - 1 };
int
main (void)
{
static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
test_array [0] = 0;
return test_array [0];

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :

else case e in #(
  e) case $ac_type in #(
  int$2_t) :
    eval "$3=yes" ;; #(
  *) :
    eval "$3=\$ac_type" ;;
esac ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
       if eval test \"x\$"$3"\" = x"no"
then :

else case e in #(
  e) break ;;
esac
fi
     done ;;
esac
fi
eval ac_res=\$$3
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno

} # ac_fn_c_find_intX_t

# ac_fn_c_find_uintX_t LINENO BITS VAR
# ------------------------------------
# Finds an unsigned integer type with width BITS, setting cache variable VAR
# accordingly.
ac_fn_c_find_uintX_t ()
{
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
printf %s "checking for uint$2_t... " >&6; }
if eval test \${$3+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) eval "$3=no"
     # Order is important - never check a type that is potentially smaller
     # than half of the expected target width.
     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$ac_includes_default
int
main (void)
{
static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
test_array [0] = 0;
return test_array [0];

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  case $ac_type in #(
  uint$2_t) :
    eval "$3=yes" ;; #(
  *) :
    eval "$3=\$ac_type" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
       if eval test \"x\$"$3"\" = x"no"
then :

else case e in #(
  e) break ;;
esac
fi
     done ;;
esac
fi
eval ac_res=\$$3
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno

} # ac_fn_c_find_uintX_t

# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
# -------------------------------------------
# Tests whether TYPE exists after having included INCLUDES, setting cache
# variable VAR accordingly.
ac_fn_c_check_type ()
{
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
printf %s "checking for $2... " >&6; }
if eval test \${$3+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) eval "$3=no"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$4
int
main (void)
{
if (sizeof ($2))
	 return 0;
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$4
int
main (void)
{
if (sizeof (($2)))
	    return 0;
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :

else case e in #(
  e) eval "$3=yes" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
fi
eval ac_res=\$$3
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno

} # ac_fn_c_check_type

# ac_fn_c_check_func LINENO FUNC VAR
# ----------------------------------
# Tests whether FUNC exists, setting the cache variable VAR accordingly
ac_fn_c_check_func ()
{
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
printf %s "checking for $2... " >&6; }
if eval test \${$3+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
/* Define $2 to an innocuous variant, in case  declares $2.
   For example, HP-UX 11i  declares gettimeofday.  */
#define $2 innocuous_$2

/* System header to define __stub macros and hopefully few prototypes,
   which can conflict with char $2 (void); below.  */

#include 
#undef $2

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char $2 (void);
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined __stub_$2 || defined __stub___$2
choke me
#endif

int
main (void)
{
return $2 ();
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  eval "$3=yes"
else case e in #(
  e) eval "$3=no" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext ;;
esac
fi
eval ac_res=\$$3
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno

} # ac_fn_c_check_func

# ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
# ------------------------------------------------------------------
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
# accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
ac_fn_check_decl ()
{
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  as_decl_name=`echo $2|sed 's/ *(.*//'`
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
printf %s "checking whether $as_decl_name is declared... " >&6; }
if eval test \${$3+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
  eval ac_save_FLAGS=\$$6
  as_fn_append $6 " $5"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$4
int
main (void)
{
#ifndef $as_decl_name
#ifdef __cplusplus
  (void) $as_decl_use;
#else
  (void) $as_decl_name;
#endif
#endif

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  eval "$3=yes"
else case e in #(
  e) eval "$3=no" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  eval $6=\$ac_save_FLAGS
 ;;
esac
fi
eval ac_res=\$$3
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno

} # ac_fn_check_decl

# ac_fn_c_try_cpp LINENO
# ----------------------
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
ac_fn_c_try_cpp ()
{
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  if { { ac_try="$ac_cpp conftest.$ac_ext"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
printf "%s\n" "$ac_try_echo"; } >&5
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  ac_status=$?
  if test -s conftest.err; then
    grep -v '^ *+' conftest.err >conftest.er1
    cat conftest.er1 >&5
    mv -f conftest.er1 conftest.err
  fi
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } > conftest.i && {
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
	 test ! -s conftest.err
       }
then :
  ac_retval=0
else case e in #(
  e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

    ac_retval=1 ;;
esac
fi
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  as_fn_set_status $ac_retval

} # ac_fn_c_try_cpp
ac_configure_args_raw=
for ac_arg
do
  case $ac_arg in
  *\'*)
    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  esac
  as_fn_append ac_configure_args_raw " '$ac_arg'"
done

case $ac_configure_args_raw in
  *$as_nl*)
    ac_safe_unquote= ;;
  *)
    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
    ac_unsafe_a="$ac_unsafe_z#~"
    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
esac

cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by axel $as_me 2.17.13, which was
generated by GNU Autoconf 2.72.  Invocation command line was

  $ $0$ac_configure_args_raw

_ACEOF
exec 5>>config.log
{
cat <<_ASUNAME
## --------- ##
## Platform. ##
## --------- ##

hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
uname -m = `(uname -m) 2>/dev/null || echo unknown`
uname -r = `(uname -r) 2>/dev/null || echo unknown`
uname -s = `(uname -s) 2>/dev/null || echo unknown`
uname -v = `(uname -v) 2>/dev/null || echo unknown`

/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`

/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`

_ASUNAME

as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    printf "%s\n" "PATH: $as_dir"
  done
IFS=$as_save_IFS

} >&5

cat >&5 <<_ACEOF


## ----------- ##
## Core tests. ##
## ----------- ##

_ACEOF


# Keep a trace of the command line.
# Strip out --no-create and --no-recursion so they do not pile up.
# Strip out --silent because we don't want to record it for future runs.
# Also quote any args containing shell meta-characters.
# Make two passes to allow for proper duplicate-argument suppression.
ac_configure_args=
ac_configure_args0=
ac_configure_args1=
ac_must_keep_next=false
for ac_pass in 1 2
do
  for ac_arg
  do
    case $ac_arg in
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    | -silent | --silent | --silen | --sile | --sil)
      continue ;;
    *\'*)
      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    esac
    case $ac_pass in
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    2)
      as_fn_append ac_configure_args1 " '$ac_arg'"
      if test $ac_must_keep_next = true; then
	ac_must_keep_next=false # Got value, back to normal.
      else
	case $ac_arg in
	  *=* | --config-cache | -C | -disable-* | --disable-* \
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
	  | -with-* | --with-* | -without-* | --without-* | --x)
	    case "$ac_configure_args0 " in
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
	    esac
	    ;;
	  -* ) ac_must_keep_next=true ;;
	esac
      fi
      as_fn_append ac_configure_args " '$ac_arg'"
      ;;
    esac
  done
done
{ ac_configure_args0=; unset ac_configure_args0;}
{ ac_configure_args1=; unset ac_configure_args1;}

# When interrupted or exit'd, cleanup temporary files, and complete
# config.log.  We remove comments because anyway the quotes in there
# would cause problems or look ugly.
# WARNING: Use '\'' to represent an apostrophe within the trap.
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
trap 'exit_status=$?
  # Sanitize IFS.
  IFS=" ""	$as_nl"
  # Save into config.log some information that might help in debugging.
  {
    echo

    printf "%s\n" "## ---------------- ##
## Cache variables. ##
## ---------------- ##"
    echo
    # The following way of writing the cache mishandles newlines in values,
(
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
    eval ac_val=\$$ac_var
    case $ac_val in #(
    *${as_nl}*)
      case $ac_var in #(
      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
      esac
      case $ac_var in #(
      _ | IFS | as_nl) ;; #(
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
      *) { eval $ac_var=; unset $ac_var;} ;;
      esac ;;
    esac
  done
  (set) 2>&1 |
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
    *${as_nl}ac_space=\ *)
      sed -n \
	"s/'\''/'\''\\\\'\'''\''/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
      ;; #(
    *)
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
      ;;
    esac |
    sort
)
    echo

    printf "%s\n" "## ----------------- ##
## Output variables. ##
## ----------------- ##"
    echo
    for ac_var in $ac_subst_vars
    do
      eval ac_val=\$$ac_var
      case $ac_val in
      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
      esac
      printf "%s\n" "$ac_var='\''$ac_val'\''"
    done | sort
    echo

    if test -n "$ac_subst_files"; then
      printf "%s\n" "## ------------------- ##
## File substitutions. ##
## ------------------- ##"
      echo
      for ac_var in $ac_subst_files
      do
	eval ac_val=\$$ac_var
	case $ac_val in
	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
	esac
	printf "%s\n" "$ac_var='\''$ac_val'\''"
      done | sort
      echo
    fi

    if test -s confdefs.h; then
      printf "%s\n" "## ----------- ##
## confdefs.h. ##
## ----------- ##"
      echo
      cat confdefs.h
      echo
    fi
    test "$ac_signal" != 0 &&
      printf "%s\n" "$as_me: caught signal $ac_signal"
    printf "%s\n" "$as_me: exit $exit_status"
  } >&5
  rm -f core *.core core.conftest.* &&
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    exit $exit_status
' 0
for ac_signal in 1 2 13 15; do
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
done
ac_signal=0

# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -f -r conftest* confdefs.h

printf "%s\n" "/* confdefs.h */" > confdefs.h

# Predefined preprocessor variables.

printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h

printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h

printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h

printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h

printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h

printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h


# Let the site file select an alternate cache file if it wants to.
# Prefer an explicitly selected file to automatically selected ones.
if test -n "$CONFIG_SITE"; then
  ac_site_files="$CONFIG_SITE"
elif test "x$prefix" != xNONE; then
  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
else
  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
fi

for ac_site_file in $ac_site_files
do
  case $ac_site_file in #(
  */*) :
     ;; #(
  *) :
    ac_site_file=./$ac_site_file ;;
esac
  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
    sed 's/^/| /' "$ac_site_file" >&5
    . "$ac_site_file" \
      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "failed to load site script $ac_site_file
See 'config.log' for more details" "$LINENO" 5; }
  fi
done

if test -r "$cache_file"; then
  # Some versions of bash will fail to source /dev/null (special files
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
    case $cache_file in
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
      *)                      . "./$cache_file";;
    esac
  fi
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
  >$cache_file
fi

as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
# Test code for whether the C compiler supports C89 (global declarations)
ac_c_conftest_c89_globals='
/* Does the compiler advertise C89 conformance?
   Do not test the value of __STDC__, because some compilers set it to 0
   while being otherwise adequately conformant. */
#if !defined __STDC__
# error "Compiler does not advertise C89 conformance"
#endif

#include 
#include 
struct stat;
/* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
struct buf { int x; };
struct buf * (*rcsopen) (struct buf *, struct stat *, int);
static char *e (char **p, int i)
{
  return p[i];
}
static char *f (char * (*g) (char **, int), char **p, ...)
{
  char *s;
  va_list v;
  va_start (v,p);
  s = g (p, va_arg (v,int));
  va_end (v);
  return s;
}

/* C89 style stringification. */
#define noexpand_stringify(a) #a
const char *stringified = noexpand_stringify(arbitrary+token=sequence);

/* C89 style token pasting.  Exercises some of the corner cases that
   e.g. old MSVC gets wrong, but not very hard. */
#define noexpand_concat(a,b) a##b
#define expand_concat(a,b) noexpand_concat(a,b)
extern int vA;
extern int vbee;
#define aye A
#define bee B
int *pvA = &expand_concat(v,aye);
int *pvbee = &noexpand_concat(v,bee);

/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   function prototypes and stuff, but not \xHH hex character constants.
   These do not provoke an error unfortunately, instead are silently treated
   as an "x".  The following induces an error, until -std is added to get
   proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   array size at least.  It is necessary to write \x00 == 0 to get something
   that is true only with -std.  */
int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];

/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   inside strings and character constants.  */
#define FOO(x) '\''x'\''
int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];

int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};
int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
               int, int);'

# Test code for whether the C compiler supports C89 (body of main).
ac_c_conftest_c89_main='
ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
'

# Test code for whether the C compiler supports C99 (global declarations)
ac_c_conftest_c99_globals='
/* Does the compiler advertise C99 conformance? */
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
# error "Compiler does not advertise C99 conformance"
#endif

// See if C++-style comments work.

#include 
extern int puts (const char *);
extern int printf (const char *, ...);
extern int dprintf (int, const char *, ...);
extern void *malloc (size_t);
extern void free (void *);

// Check varargs macros.  These examples are taken from C99 6.10.3.5.
// dprintf is used instead of fprintf to avoid needing to declare
// FILE and stderr.
#define debug(...) dprintf (2, __VA_ARGS__)
#define showlist(...) puts (#__VA_ARGS__)
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
static void
test_varargs_macros (void)
{
  int x = 1234;
  int y = 5678;
  debug ("Flag");
  debug ("X = %d\n", x);
  showlist (The first, second, and third items.);
  report (x>y, "x is %d but y is %d", x, y);
}

// Check long long types.
#define BIG64 18446744073709551615ull
#define BIG32 4294967295ul
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
#if !BIG_OK
  #error "your preprocessor is broken"
#endif
#if BIG_OK
#else
  #error "your preprocessor is broken"
#endif
static long long int bignum = -9223372036854775807LL;
static unsigned long long int ubignum = BIG64;

struct incomplete_array
{
  int datasize;
  double data[];
};

struct named_init {
  int number;
  const wchar_t *name;
  double average;
};

typedef const char *ccp;

static inline int
test_restrict (ccp restrict text)
{
  // Iterate through items via the restricted pointer.
  // Also check for declarations in for loops.
  for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
    continue;
  return 0;
}

// Check varargs and va_copy.
static bool
test_varargs (const char *format, ...)
{
  va_list args;
  va_start (args, format);
  va_list args_copy;
  va_copy (args_copy, args);

  const char *str = "";
  int number = 0;
  float fnumber = 0;

  while (*format)
    {
      switch (*format++)
	{
	case '\''s'\'': // string
	  str = va_arg (args_copy, const char *);
	  break;
	case '\''d'\'': // int
	  number = va_arg (args_copy, int);
	  break;
	case '\''f'\'': // float
	  fnumber = va_arg (args_copy, double);
	  break;
	default:
	  break;
	}
    }
  va_end (args_copy);
  va_end (args);

  return *str && number && fnumber;
}
'

# Test code for whether the C compiler supports C99 (body of main).
ac_c_conftest_c99_main='
  // Check bool.
  _Bool success = false;
  success |= (argc != 0);

  // Check restrict.
  if (test_restrict ("String literal") == 0)
    success = true;
  char *restrict newvar = "Another string";

  // Check varargs.
  success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
  test_varargs_macros ();

  // Check flexible array members.
  struct incomplete_array *ia =
    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  ia->datasize = 10;
  for (int i = 0; i < ia->datasize; ++i)
    ia->data[i] = i * 1.234;
  // Work around memory leak warnings.
  free (ia);

  // Check named initializers.
  struct named_init ni = {
    .number = 34,
    .name = L"Test wide string",
    .average = 543.34343,
  };

  ni.number = 58;

  int dynamic_array[ni.number];
  dynamic_array[0] = argv[0][0];
  dynamic_array[ni.number - 1] = 543;

  // work around unused variable warnings
  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
	 || dynamic_array[ni.number - 1] != 543);
'

# Test code for whether the C compiler supports C11 (global declarations)
ac_c_conftest_c11_globals='
/* Does the compiler advertise C11 conformance? */
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
# error "Compiler does not advertise C11 conformance"
#endif

// Check _Alignas.
char _Alignas (double) aligned_as_double;
char _Alignas (0) no_special_alignment;
extern char aligned_as_int;
char _Alignas (0) _Alignas (int) aligned_as_int;

// Check _Alignof.
enum
{
  int_alignment = _Alignof (int),
  int_array_alignment = _Alignof (int[100]),
  char_alignment = _Alignof (char)
};
_Static_assert (0 < -_Alignof (int), "_Alignof is signed");

// Check _Noreturn.
int _Noreturn does_not_return (void) { for (;;) continue; }

// Check _Static_assert.
struct test_static_assert
{
  int x;
  _Static_assert (sizeof (int) <= sizeof (long int),
                  "_Static_assert does not work in struct");
  long int y;
};

// Check UTF-8 literals.
#define u8 syntax error!
char const utf8_literal[] = u8"happens to be ASCII" "another string";

// Check duplicate typedefs.
typedef long *long_ptr;
typedef long int *long_ptr;
typedef long_ptr long_ptr;

// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
struct anonymous
{
  union {
    struct { int i; int j; };
    struct { int k; long int l; } w;
  };
  int m;
} v1;
'

# Test code for whether the C compiler supports C11 (body of main).
ac_c_conftest_c11_main='
  _Static_assert ((offsetof (struct anonymous, i)
		   == offsetof (struct anonymous, w.k)),
		  "Anonymous union alignment botch");
  v1.i = 2;
  v1.w.k = 5;
  ok |= v1.i != 5;
'

# Test code for whether the C compiler supports C11 (complete).
ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
${ac_c_conftest_c99_globals}
${ac_c_conftest_c11_globals}

int
main (int argc, char **argv)
{
  int ok = 0;
  ${ac_c_conftest_c89_main}
  ${ac_c_conftest_c99_main}
  ${ac_c_conftest_c11_main}
  return ok;
}
"

# Test code for whether the C compiler supports C99 (complete).
ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
${ac_c_conftest_c99_globals}

int
main (int argc, char **argv)
{
  int ok = 0;
  ${ac_c_conftest_c89_main}
  ${ac_c_conftest_c99_main}
  return ok;
}
"

# Test code for whether the C compiler supports C89 (complete).
ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}

int
main (int argc, char **argv)
{
  int ok = 0;
  ${ac_c_conftest_c89_main}
  return ok;
}
"

as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"

# Auxiliary files required by this configure script.
ac_aux_files="compile config.guess config.sub missing install-sh"

# Locations in which to look for auxiliary files.
ac_aux_dir_candidates="${srcdir}/build-aux"

# Search for a directory containing all of the required auxiliary files,
# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
# If we don't find one directory that contains all the files we need,
# we report the set of missing files from the *first* directory in
# $ac_aux_dir_candidates and give up.
ac_missing_aux_files=""
ac_first_candidate=:
printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
as_found=false
for as_dir in $ac_aux_dir_candidates
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
  as_found=:

  printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
  ac_aux_dir_found=yes
  ac_install_sh=
  for ac_aux in $ac_aux_files
  do
    # As a special case, if "install-sh" is required, that requirement
    # can be satisfied by any of "install-sh", "install.sh", or "shtool",
    # and $ac_install_sh is set appropriately for whichever one is found.
    if test x"$ac_aux" = x"install-sh"
    then
      if test -f "${as_dir}install-sh"; then
        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
        ac_install_sh="${as_dir}install-sh -c"
      elif test -f "${as_dir}install.sh"; then
        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
        ac_install_sh="${as_dir}install.sh -c"
      elif test -f "${as_dir}shtool"; then
        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
        ac_install_sh="${as_dir}shtool install -c"
      else
        ac_aux_dir_found=no
        if $ac_first_candidate; then
          ac_missing_aux_files="${ac_missing_aux_files} install-sh"
        else
          break
        fi
      fi
    else
      if test -f "${as_dir}${ac_aux}"; then
        printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
      else
        ac_aux_dir_found=no
        if $ac_first_candidate; then
          ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
        else
          break
        fi
      fi
    fi
  done
  if test "$ac_aux_dir_found" = yes; then
    ac_aux_dir="$as_dir"
    break
  fi
  ac_first_candidate=false

  as_found=false
done
IFS=$as_save_IFS
if $as_found
then :

else case e in #(
  e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
esac
fi


# These three variables are undocumented and unsupported,
# and are intended to be withdrawn in a future Autoconf release.
# They can cause serious problems if a builder's source tree is in a directory
# whose full name contains unusual characters.
if test -f "${ac_aux_dir}config.guess"; then
  ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
fi
if test -f "${ac_aux_dir}config.sub"; then
  ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
fi
if test -f "$ac_aux_dir/configure"; then
  ac_configure="$SHELL ${ac_aux_dir}configure"
fi

# Check that the precious variables saved in the cache have kept the same
# value.
ac_cache_corrupted=false
for ac_var in $ac_precious_vars; do
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
  eval ac_new_set=\$ac_env_${ac_var}_set
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
  eval ac_new_val=\$ac_env_${ac_var}_value
  case $ac_old_set,$ac_new_set in
    set,)
      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
      ac_cache_corrupted=: ;;
    ,set)
      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
      ac_cache_corrupted=: ;;
    ,);;
    *)
      if test "x$ac_old_val" != "x$ac_new_val"; then
	# differences in whitespace do not lead to failure.
	ac_old_val_w=`echo x $ac_old_val`
	ac_new_val_w=`echo x $ac_new_val`
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
	  ac_cache_corrupted=:
	else
	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
	  eval $ac_var=\$ac_old_val
	fi
	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
      fi;;
  esac
  # Pass precious variables to config.status.
  if test "$ac_new_set" = set; then
    case $ac_new_val in
    *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    *) ac_arg=$ac_var=$ac_new_val ;;
    esac
    case " $ac_configure_args " in
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    esac
  fi
done
if $ac_cache_corrupted; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
  as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
	    and start over" "$LINENO" 5
fi
## -------------------- ##
## Main body of script. ##
## -------------------- ##

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu





ac_config_headers="$ac_config_headers config.h"





# Check whether --with-ssl was given.
if test ${with_ssl+y}
then :
  withval=$with_ssl; case "$withval" in #(
  openssl|wolfssl|yes|no) :
     ;; #(
  *) :
    as_fn_error $? "Invalid argument: --with-ssl=$withval" "$LINENO" 5 ;;
esac
else case e in #(
  e) with_ssl=openssl ;;
esac
fi


am__api_version='1.16'



  # Find a good install program.  We prefer a C program (faster),
# so one script is as good as another.  But avoid the broken or
# incompatible versions:
# SysV /etc/install, /usr/sbin/install
# SunOS /usr/etc/install
# IRIX /sbin/install
# AIX /bin/install
# AmigaOS /C/install, which installs bootblocks on floppy discs
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# OS/2's system install, which has a completely different semantic
# ./install, which can be erroneously created by make from ./install.sh.
# Reject install programs that cannot install multiple files.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
printf %s "checking for a BSD-compatible install... " >&6; }
if test -z "$INSTALL"; then
if test ${ac_cv_path_install+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    # Account for fact that we put trailing slashes in our PATH walk.
case $as_dir in #((
  ./ | /[cC]/* | \
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  /usr/ucb/* ) ;;
  *)
    # OSF1 and SCO ODT 3.0 have their own names for install.
    # Don't use installbsd from OSF since it installs stuff as root
    # by default.
    for ac_prog in ginstall scoinst install; do
      for ac_exec_ext in '' $ac_executable_extensions; do
	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
	  if test $ac_prog = install &&
	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
	    # AIX install.  It has an incompatible calling convention.
	    :
	  elif test $ac_prog = install &&
	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
	    # program-specific install script used by HP pwplus--don't use.
	    :
	  else
	    rm -rf conftest.one conftest.two conftest.dir
	    echo one > conftest.one
	    echo two > conftest.two
	    mkdir conftest.dir
	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
	      test -s conftest.one && test -s conftest.two &&
	      test -s conftest.dir/conftest.one &&
	      test -s conftest.dir/conftest.two
	    then
	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
	      break 3
	    fi
	  fi
	fi
      done
    done
    ;;
esac

  done
IFS=$as_save_IFS

rm -rf conftest.one conftest.two conftest.dir
 ;;
esac
fi
  if test ${ac_cv_path_install+y}; then
    INSTALL=$ac_cv_path_install
  else
    # As a last resort, use the slow shell script.  Don't cache a
    # value for INSTALL within a source directory, because that will
    # break other packages using the cache if that directory is
    # removed, or if the value is a relative name.
    INSTALL=$ac_install_sh
  fi
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
printf "%s\n" "$INSTALL" >&6; }

# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'

test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'

test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
printf %s "checking whether build environment is sane... " >&6; }
# Reject unsafe characters in $srcdir or the absolute working directory
# name.  Accept space and tab only in the latter.
am_lf='
'
case `pwd` in
  *[\\\"\#\$\&\'\`$am_lf]*)
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
esac
case $srcdir in
  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
esac

# Do 'set' in a subshell so we don't clobber the current shell's
# arguments.  Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
   am_has_slept=no
   for am_try in 1 2; do
     echo "timestamp, slept: $am_has_slept" > conftest.file
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
     if test "$*" = "X"; then
	# -L didn't work.
	set X `ls -t "$srcdir/configure" conftest.file`
     fi
     if test "$*" != "X $srcdir/configure conftest.file" \
	&& test "$*" != "X conftest.file $srcdir/configure"; then

	# If neither matched, then we have a broken ls.  This can happen
	# if, for instance, CONFIG_SHELL is bash and it inherits a
	# broken ls alias from the environment.  This has actually
	# happened.  Such a system could not be considered "sane".
	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
  alias in your environment" "$LINENO" 5
     fi
     if test "$2" = conftest.file || test $am_try -eq 2; then
       break
     fi
     # Just in case.
     sleep 1
     am_has_slept=yes
   done
   test "$2" = conftest.file
   )
then
   # Ok.
   :
else
   as_fn_error $? "newly created file is older than distributed files!
Check your system clock" "$LINENO" 5
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
# If we didn't sleep, we still need to ensure time stamps of config.status and
# generated files are strictly newer.
am_sleep_pid=
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  ( sleep 1 ) &
  am_sleep_pid=$!
fi

rm -f conftest.file

test "$program_prefix" != NONE &&
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
# Use a double $ so make ignores it.
test "$program_suffix" != NONE &&
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
# Double any \ or $.
# By default was 's,x,x', remove it if useless.
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`


# Expand $ac_aux_dir to an absolute path.
am_aux_dir=`cd "$ac_aux_dir" && pwd`


  if test x"${MISSING+set}" != xset; then
  MISSING="\${SHELL} '$am_aux_dir/missing'"
fi
# Use eval to expand $SHELL
if eval "$MISSING --is-lightweight"; then
  am_missing_run="$MISSING "
else
  am_missing_run=
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
fi

if test x"${install_sh+set}" != xset; then
  case $am_aux_dir in
  *\ * | *\	*)
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  *)
    install_sh="\${SHELL} $am_aux_dir/install-sh"
  esac
fi

# Installed binaries are usually stripped using 'strip' when the user
# run "make install-strip".  However 'strip' might not be the right
# tool to use in cross-compilation environments, therefore Automake
# will honor the 'STRIP' environment variable to overrule this program.
if test "$cross_compiling" != no; then
  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_STRIP+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$STRIP"; then
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
STRIP=$ac_cv_prog_STRIP
if test -n "$STRIP"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
printf "%s\n" "$STRIP" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


fi
if test -z "$ac_cv_prog_STRIP"; then
  ac_ct_STRIP=$STRIP
  # Extract the first word of "strip", so it can be a program name with args.
set dummy strip; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_ac_ct_STRIP+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$ac_ct_STRIP"; then
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_STRIP="strip"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
if test -n "$ac_ct_STRIP"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
printf "%s\n" "$ac_ct_STRIP" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi

  if test "x$ac_ct_STRIP" = x; then
    STRIP=":"
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    STRIP=$ac_ct_STRIP
  fi
else
  STRIP="$ac_cv_prog_STRIP"
fi

fi
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"


  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
printf %s "checking for a race-free mkdir -p... " >&6; }
if test -z "$MKDIR_P"; then
  if test ${ac_cv_path_mkdir+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_prog in mkdir gmkdir; do
	 for ac_exec_ext in '' $ac_executable_extensions; do
	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
	     'mkdir ('*'coreutils) '* | \
	     *'BusyBox '* | \
	     'mkdir (fileutils) '4.1*)
	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
	       break 3;;
	   esac
	 done
       done
  done
IFS=$as_save_IFS
 ;;
esac
fi

  test -d ./--version && rmdir ./--version
  if test ${ac_cv_path_mkdir+y}; then
    MKDIR_P="$ac_cv_path_mkdir -p"
  else
    # As a last resort, use plain mkdir -p,
    # in the hope it doesn't have the bugs of ancient mkdir.
    MKDIR_P='mkdir -p'
  fi
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
printf "%s\n" "$MKDIR_P" >&6; }

for ac_prog in gawk mawk nawk awk
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_AWK+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$AWK"; then
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_AWK="$ac_prog"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
AWK=$ac_cv_prog_AWK
if test -n "$AWK"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
printf "%s\n" "$AWK" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


  test -n "$AWK" && break
done

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
set x ${MAKE-make}
ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
if eval test \${ac_cv_prog_make_${ac_make}_set+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) cat >conftest.make <<\_ACEOF
SHELL = /bin/sh
all:
	@echo '@@@%%%=$(MAKE)=@@@%%%'
_ACEOF
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
case `${MAKE-make} -f conftest.make 2>/dev/null` in
  *@@@%%%=?*=@@@%%%*)
    eval ac_cv_prog_make_${ac_make}_set=yes;;
  *)
    eval ac_cv_prog_make_${ac_make}_set=no;;
esac
rm -f conftest.make ;;
esac
fi
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
  SET_MAKE=
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
  SET_MAKE="MAKE=${MAKE-make}"
fi

rm -rf .tst 2>/dev/null
mkdir .tst 2>/dev/null
if test -d .tst; then
  am__leading_dot=.
else
  am__leading_dot=_
fi
rmdir .tst 2>/dev/null

# Check whether --enable-silent-rules was given.
if test ${enable_silent_rules+y}
then :
  enableval=$enable_silent_rules;
fi

case $enable_silent_rules in # (((
  yes) AM_DEFAULT_VERBOSITY=0;;
   no) AM_DEFAULT_VERBOSITY=1;;
    *) AM_DEFAULT_VERBOSITY=1;;
esac
am_make=${MAKE-make}
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
printf %s "checking whether $am_make supports nested variables... " >&6; }
if test ${am_cv_make_support_nested_variables+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if printf "%s\n" 'TRUE=$(BAR$(V))
BAR0=false
BAR1=true
V=1
am__doit:
	@$(TRUE)
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  am_cv_make_support_nested_variables=yes
else
  am_cv_make_support_nested_variables=no
fi ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
if test $am_cv_make_support_nested_variables = yes; then
    AM_V='$(V)'
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
else
  AM_V=$AM_DEFAULT_VERBOSITY
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
fi
AM_BACKSLASH='\'

if test "`cd $srcdir && pwd`" != "`pwd`"; then
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  # is not polluted with repeated "-I."
  am__isrc=' -I$(srcdir)'
  # test to see if srcdir already configured
  if test -f $srcdir/config.status; then
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  fi
fi

# test whether we have cygpath
if test -z "$CYGPATH_W"; then
  if (cygpath --version) >/dev/null 2>/dev/null; then
    CYGPATH_W='cygpath -w'
  else
    CYGPATH_W=echo
  fi
fi


# Define the identity of the package.
 PACKAGE='axel'
 VERSION='2.17.13'


printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h


printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h

# Some tools Automake needs.

ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}


AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}


AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}


AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}


MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}

# For better backward compatibility.  To be removed once Automake 1.9.x
# dies out for good.  For more background, see:
# 
# 
mkdir_p='$(MKDIR_P)'

# We need awk for the "check" target (and possibly the TAP driver).  The
# system "awk" is bad on some platforms.
# Always define AMTAR for backward compatibility.  Yes, it's still used
# in the wild :-(  We should find a proper way to deprecate it ...
AMTAR='$${TAR-tar}'


# We'll loop over all known methods to create a tar archive until one works.
_am_tools='gnutar  pax cpio none'

am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'





# Variables for tags utilities; see am/tags.am
if test -z "$CTAGS"; then
  CTAGS=ctags
fi

if test -z "$ETAGS"; then
  ETAGS=etags
fi

if test -z "$CSCOPE"; then
  CSCOPE=cscope
fi



# POSIX will say in a future version that running "rm -f" with no argument
# is OK; and we want to be able to make that assumption in our Makefile
# recipes.  So use an aggressive probe to check that the usage we want is
# actually supported "in the wild" to an acceptable degree.
# See automake bug#10828.
# To make any issue more visible, cause the running configure to be aborted
# by default if the 'rm' program in use doesn't match our expectations; the
# user can still override this though.
if rm -f && rm -fr && rm -rf; then : OK; else
  cat >&2 <<'END'
Oops!

Your 'rm' program seems unable to run without file operands specified
on the command line, even when the '-f' option is present.  This is contrary
to the behaviour of most rm programs out there, and not conforming with
the upcoming POSIX standard: 

Please tell bug-automake@gnu.org about your system, including the value
of your $PATH and any error possibly output before this message.  This
can help us improve future automake versions.

END
  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
    echo 'Configuration will proceed anyway, since you have set the' >&2
    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
    echo >&2
  else
    cat >&2 <<'END'
Aborting the configuration process, to ensure you take notice of the issue.

You can download and install GNU coreutils to get an 'rm' implementation
that behaves properly: .

If you want to complete the configuration process using your problematic
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
to "yes", and re-run configure.

END
    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
  fi
fi








if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
	if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_PKG_CONFIG+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) case $PKG_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

  ;;
esac ;;
esac
fi
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
if test -n "$PKG_CONFIG"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
printf "%s\n" "$PKG_CONFIG" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


fi
if test -z "$ac_cv_path_PKG_CONFIG"; then
  ac_pt_PKG_CONFIG=$PKG_CONFIG
  # Extract the first word of "pkg-config", so it can be a program name with args.
set dummy pkg-config; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) case $ac_pt_PKG_CONFIG in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

  ;;
esac ;;
esac
fi
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
if test -n "$ac_pt_PKG_CONFIG"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi

  if test "x$ac_pt_PKG_CONFIG" = x; then
    PKG_CONFIG=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    PKG_CONFIG=$ac_pt_PKG_CONFIG
  fi
else
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
fi

fi
if test -n "$PKG_CONFIG"; then
	_pkg_min_version=0.9.0
	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
	else
		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
		PKG_CONFIG=""
	fi
fi
if test -z "$PKG_CONFIG"
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pkg-config is needed for auto-configuration of dependencies" >&5
printf "%s\n" "$as_me: WARNING: pkg-config is needed for auto-configuration of dependencies" >&2;}
fi
export PKG_CONFIG_PATH

# Check whether --enable-silent-rules was given.
if test ${enable_silent_rules+y}
then :
  enableval=$enable_silent_rules;
fi

case $enable_silent_rules in # (((
  yes) AM_DEFAULT_VERBOSITY=0;;
   no) AM_DEFAULT_VERBOSITY=1;;
    *) AM_DEFAULT_VERBOSITY=0;;
esac
am_make=${MAKE-make}
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
printf %s "checking whether $am_make supports nested variables... " >&6; }
if test ${am_cv_make_support_nested_variables+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if printf "%s\n" 'TRUE=$(BAR$(V))
BAR0=false
BAR1=true
V=1
am__doit:
	@$(TRUE)
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  am_cv_make_support_nested_variables=yes
else
  am_cv_make_support_nested_variables=no
fi ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
if test $am_cv_make_support_nested_variables = yes; then
    AM_V='$(V)'
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
else
  AM_V=$AM_DEFAULT_VERBOSITY
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
fi
AM_BACKSLASH='\'


# OS-specific stuff


  # Make sure we can run config.sub.
$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
  as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
printf %s "checking build system type... " >&6; }
if test ${ac_cv_build+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ac_build_alias=$build_alias
test "x$ac_build_alias" = x &&
  ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
test "x$ac_build_alias" = x &&
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
  as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
 ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
printf "%s\n" "$ac_cv_build" >&6; }
case $ac_cv_build in
*-*-*) ;;
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
esac
build=$ac_cv_build
ac_save_IFS=$IFS; IFS='-'
set x $ac_cv_build
shift
build_cpu=$1
build_vendor=$2
shift; shift
# Remember, the first character of IFS is used to create $*,
# except with old shells:
build_os=$*
IFS=$ac_save_IFS
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac


{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
printf %s "checking host system type... " >&6; }
if test ${ac_cv_host+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test "x$host_alias" = x; then
  ac_cv_host=$ac_cv_build
else
  ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
    as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
fi
 ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
printf "%s\n" "$ac_cv_host" >&6; }
case $ac_cv_host in
*-*-*) ;;
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
esac
host=$ac_cv_host
ac_save_IFS=$IFS; IFS='-'
set x $ac_cv_host
shift
host_cpu=$1
host_vendor=$2
shift; shift
# Remember, the first character of IFS is used to create $*,
# except with old shells:
host_os=$*
IFS=$ac_save_IFS
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac



printf "%s\n" "#define ARCH \"$host_os\"" >>confdefs.h


# Make system extensions available to the code
case "$host_os" in #(
  freebsd*) :


printf "%s\n" "#define __BSD_VISIBLE 1" >>confdefs.h

   ;; #(
  darwin*) :


printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h

   ;; #(
  solaris*) :

    LIBS="$LIBS -lsocket -lnsl"
   ;; #(
  hpux*) :

    if test -d /usr/local/lib/hpux32
then :

      LDFLAGS="$LDFLAGS -L/usr/local/lib/hpux32"

fi
   ;; #(
  *mingw32) :


printf "%s\n" "#define _WIN32_WINNT 0x0600" >>confdefs.h

   ;; #(
  *) :
     ;;
esac









DEPDIR="${am__leading_dot}deps"

ac_config_commands="$ac_config_commands depfiles"

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
cat > confinc.mk << 'END'
am__doit:
	@echo this is the am__doit target >confinc.out
.PHONY: am__doit
END
am__include="#"
am__quote=
# BSD make does it like this.
echo '.include "confinc.mk" # ignored' > confmf.BSD
# Other make implementations (GNU, Solaris 10, AIX) do it like this.
echo 'include confinc.mk # ignored' > confmf.GNU
_am_result=no
for s in GNU BSD; do
  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }
  case $?:`cat confinc.out 2>/dev/null` in #(
  '0:this is the am__doit target') :
    case $s in #(
  BSD) :
    am__include='.include' am__quote='"' ;; #(
  *) :
    am__include='include' am__quote='' ;;
esac ;; #(
  *) :
     ;;
esac
  if test "$am__include" != "#"; then
    _am_result="yes ($s style)"
    break
  fi
done
rm -f confinc.* confmf.*
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
printf "%s\n" "${_am_result}" >&6; }

# Check whether --enable-dependency-tracking was given.
if test ${enable_dependency_tracking+y}
then :
  enableval=$enable_dependency_tracking;
fi

if test "x$enable_dependency_tracking" != xno; then
  am_depcomp="$ac_aux_dir/depcomp"
  AMDEPBACKSLASH='\'
  am__nodep='_no'
fi
 if test "x$enable_dependency_tracking" != xno; then
  AMDEP_TRUE=
  AMDEP_FALSE='#'
else
  AMDEP_TRUE='#'
  AMDEP_FALSE=
fi


ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
printf "%s\n" "$CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


fi
if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_ac_ct_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="gcc"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
printf "%s\n" "$ac_ct_CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi

  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    CC=$ac_ct_CC
  fi
else
  CC="$ac_cv_prog_CC"
fi

if test -z "$CC"; then
          if test -n "$ac_tool_prefix"; then
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
set dummy ${ac_tool_prefix}cc; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}cc"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
printf "%s\n" "$CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


  fi
fi
if test -z "$CC"; then
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  ac_prog_rejected=no
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
       ac_prog_rejected=yes
       continue
     fi
    ac_cv_prog_CC="cc"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

if test $ac_prog_rejected = yes; then
  # We found a bogon in the path, so make sure we never use it.
  set dummy $ac_cv_prog_CC
  shift
  if test $# != 0; then
    # We chose a different compiler from the bogus one.
    # However, it has the same basename, so the bogon will be chosen
    # first if we set CC to just the basename; use the full file name.
    shift
    ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
  fi
fi
fi ;;
esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
printf "%s\n" "$CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


fi
if test -z "$CC"; then
  if test -n "$ac_tool_prefix"; then
  for ac_prog in cl.exe
  do
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
printf "%s\n" "$CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


    test -n "$CC" && break
  done
fi
if test -z "$CC"; then
  ac_ct_CC=$CC
  for ac_prog in cl.exe
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_ac_ct_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="$ac_prog"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
printf "%s\n" "$ac_ct_CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


  test -n "$ac_ct_CC" && break
done

  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    CC=$ac_ct_CC
  fi
fi

fi
if test -z "$CC"; then
  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
set dummy ${ac_tool_prefix}clang; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}clang"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
printf "%s\n" "$CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


fi
if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "clang", so it can be a program name with args.
set dummy clang; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_ac_ct_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="clang"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
printf "%s\n" "$ac_ct_CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi

  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    CC=$ac_ct_CC
  fi
else
  CC="$ac_cv_prog_CC"
fi

fi


test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "no acceptable C compiler found in \$PATH
See 'config.log' for more details" "$LINENO" 5; }

# Provide some information about the compiler.
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
set X $ac_compile
ac_compiler=$2
for ac_option in --version -v -V -qversion -version; do
  { { ac_try="$ac_compiler $ac_option >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
printf "%s\n" "$ac_try_echo"; } >&5
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  ac_status=$?
  if test -s conftest.err; then
    sed '10a\
... rest of stderr output deleted ...
         10q' conftest.err >conftest.er1
    cat conftest.er1 >&5
  fi
  rm -f conftest.er1 conftest.err
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
done

cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
# Try to create an executable without -o first, disregard a.out.
# It will help us diagnose broken compilers, and finding out an intuition
# of exeext.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
printf %s "checking whether the C compiler works... " >&6; }
ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`

# The possible output files:
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"

ac_rmfiles=
for ac_file in $ac_files
do
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  esac
done
rm -f $ac_rmfiles

if { { ac_try="$ac_link_default"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
printf "%s\n" "$ac_try_echo"; } >&5
  (eval "$ac_link_default") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
then :
  # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
# So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
# so that the user can short-circuit this test for compilers unknown to
# Autoconf.
for ac_file in $ac_files ''
do
  test -f "$ac_file" || continue
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
	;;
    [ab].out )
	# We found the default executable, but exeext='' is most
	# certainly right.
	break;;
    *.* )
	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
	then :; else
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	fi
	# We set ac_cv_exeext here because the later test for it is not
	# safe: cross compilers may not add the suffix if given an '-o'
	# argument, so we may need to know it at that point already.
	# Even if this section looks crufty: it has the advantage of
	# actually working.
	break;;
    * )
	break;;
  esac
done
test "$ac_cv_exeext" = no && ac_cv_exeext=

else case e in #(
  e) ac_file='' ;;
esac
fi
if test -z "$ac_file"
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error 77 "C compiler cannot create executables
See 'config.log' for more details" "$LINENO" 5; }
else case e in #(
  e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; } ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
printf %s "checking for C compiler default output file name... " >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
printf "%s\n" "$ac_file" >&6; }
ac_exeext=$ac_cv_exeext

rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
ac_clean_files=$ac_clean_files_save
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
printf %s "checking for suffix of executables... " >&6; }
if { { ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
printf "%s\n" "$ac_try_echo"; } >&5
  (eval "$ac_link") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
then :
  # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
# catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
# work properly (i.e., refer to 'conftest.exe'), while it won't with
# 'rm'.
for ac_file in conftest.exe conftest conftest.*; do
  test -f "$ac_file" || continue
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
	  break;;
    * ) break;;
  esac
done
else case e in #(
  e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
See 'config.log' for more details" "$LINENO" 5; } ;;
esac
fi
rm -f conftest conftest$ac_cv_exeext
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
printf "%s\n" "$ac_cv_exeext" >&6; }

rm -f conftest.$ac_ext
EXEEXT=$ac_cv_exeext
ac_exeext=$EXEEXT
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
int
main (void)
{
FILE *f = fopen ("conftest.out", "w");
 if (!f)
  return 1;
 return ferror (f) || fclose (f) != 0;

  ;
  return 0;
}
_ACEOF
ac_clean_files="$ac_clean_files conftest.out"
# Check that the compiler produces executables we can run.  If not, either
# the compiler is broken, or we cross compile.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
printf %s "checking whether we are cross compiling... " >&6; }
if test "$cross_compiling" != yes; then
  { { ac_try="$ac_link"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
printf "%s\n" "$ac_try_echo"; } >&5
  (eval "$ac_link") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
  if { ac_try='./conftest$ac_cv_exeext'
  { { case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
printf "%s\n" "$ac_try_echo"; } >&5
  (eval "$ac_try") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }; }; then
    cross_compiling=no
  else
    if test "$cross_compiling" = maybe; then
	cross_compiling=yes
    else
	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error 77 "cannot run C compiled programs.
If you meant to cross compile, use '--host'.
See 'config.log' for more details" "$LINENO" 5; }
    fi
  fi
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
printf "%s\n" "$cross_compiling" >&6; }

rm -f conftest.$ac_ext conftest$ac_cv_exeext \
  conftest.o conftest.obj conftest.out
ac_clean_files=$ac_clean_files_save
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
printf %s "checking for suffix of object files... " >&6; }
if test ${ac_cv_objext+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
rm -f conftest.o conftest.obj
if { { ac_try="$ac_compile"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
printf "%s\n" "$ac_try_echo"; } >&5
  (eval "$ac_compile") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
then :
  for ac_file in conftest.o conftest.obj conftest.*; do
  test -f "$ac_file" || continue;
  case $ac_file in
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
       break;;
  esac
done
else case e in #(
  e) printf "%s\n" "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "cannot compute suffix of object files: cannot compile
See 'config.log' for more details" "$LINENO" 5; } ;;
esac
fi
rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
printf "%s\n" "$ac_cv_objext" >&6; }
OBJEXT=$ac_cv_objext
ac_objext=$OBJEXT
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
printf %s "checking whether the compiler supports GNU C... " >&6; }
if test ${ac_cv_c_compiler_gnu+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{
#ifndef __GNUC__
       choke me
#endif

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  ac_compiler_gnu=yes
else case e in #(
  e) ac_compiler_gnu=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
ac_compiler_gnu=$ac_cv_c_compiler_gnu

if test $ac_compiler_gnu = yes; then
  GCC=yes
else
  GCC=
fi
ac_test_CFLAGS=${CFLAGS+y}
ac_save_CFLAGS=$CFLAGS
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
printf %s "checking whether $CC accepts -g... " >&6; }
if test ${ac_cv_prog_cc_g+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ac_save_c_werror_flag=$ac_c_werror_flag
   ac_c_werror_flag=yes
   ac_cv_prog_cc_g=no
   CFLAGS="-g"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_prog_cc_g=yes
else case e in #(
  e) CFLAGS=""
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :

else case e in #(
  e) ac_c_werror_flag=$ac_save_c_werror_flag
	 CFLAGS="-g"
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_prog_cc_g=yes
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   ac_c_werror_flag=$ac_save_c_werror_flag ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
if test $ac_test_CFLAGS; then
  CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
  if test "$GCC" = yes; then
    CFLAGS="-g -O2"
  else
    CFLAGS="-g"
  fi
else
  if test "$GCC" = yes; then
    CFLAGS="-O2"
  else
    CFLAGS=
  fi
fi
ac_prog_cc_stdc=no
if test x$ac_prog_cc_stdc = xno
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
printf %s "checking for $CC option to enable C11 features... " >&6; }
if test ${ac_cv_prog_cc_c11+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ac_cv_prog_cc_c11=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$ac_c_conftest_c11_program
_ACEOF
for ac_arg in '' -std=gnu11
do
  CC="$ac_save_CC $ac_arg"
  if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_prog_cc_c11=$ac_arg
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam
  test "x$ac_cv_prog_cc_c11" != "xno" && break
done
rm -f conftest.$ac_ext
CC=$ac_save_CC ;;
esac
fi

if test "x$ac_cv_prog_cc_c11" = xno
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
else case e in #(
  e) if test "x$ac_cv_prog_cc_c11" = x
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
else case e in #(
  e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
     CC="$CC $ac_cv_prog_cc_c11" ;;
esac
fi
  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
  ac_prog_cc_stdc=c11 ;;
esac
fi
fi
if test x$ac_prog_cc_stdc = xno
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
printf %s "checking for $CC option to enable C99 features... " >&6; }
if test ${ac_cv_prog_cc_c99+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ac_cv_prog_cc_c99=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$ac_c_conftest_c99_program
_ACEOF
for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
do
  CC="$ac_save_CC $ac_arg"
  if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_prog_cc_c99=$ac_arg
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam
  test "x$ac_cv_prog_cc_c99" != "xno" && break
done
rm -f conftest.$ac_ext
CC=$ac_save_CC ;;
esac
fi

if test "x$ac_cv_prog_cc_c99" = xno
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
else case e in #(
  e) if test "x$ac_cv_prog_cc_c99" = x
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
else case e in #(
  e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
     CC="$CC $ac_cv_prog_cc_c99" ;;
esac
fi
  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
  ac_prog_cc_stdc=c99 ;;
esac
fi
fi
if test x$ac_prog_cc_stdc = xno
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
printf %s "checking for $CC option to enable C89 features... " >&6; }
if test ${ac_cv_prog_cc_c89+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ac_cv_prog_cc_c89=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$ac_c_conftest_c89_program
_ACEOF
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
  CC="$ac_save_CC $ac_arg"
  if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_prog_cc_c89=$ac_arg
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam
  test "x$ac_cv_prog_cc_c89" != "xno" && break
done
rm -f conftest.$ac_ext
CC=$ac_save_CC ;;
esac
fi

if test "x$ac_cv_prog_cc_c89" = xno
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
else case e in #(
  e) if test "x$ac_cv_prog_cc_c89" = x
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
else case e in #(
  e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
     CC="$CC $ac_cv_prog_cc_c89" ;;
esac
fi
  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
  ac_prog_cc_stdc=c89 ;;
esac
fi
fi

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


  ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
printf %s "checking whether $CC understands -c and -o together... " >&6; }
if test ${am_cv_prog_cc_c_o+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
  # Make sure it works both with $CC and with simple cc.
  # Following AC_PROG_CC_C_O, we do the test twice because some
  # compilers refuse to overwrite an existing .o file with -o,
  # though they will create one.
  am_cv_prog_cc_c_o=yes
  for am_i in 1 2; do
    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } \
         && test -f conftest2.$ac_objext; then
      : OK
    else
      am_cv_prog_cc_c_o=no
      break
    fi
  done
  rm -f core conftest*
  unset am_i ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
if test "$am_cv_prog_cc_c_o" != yes; then
   # Losing compiler, so override with the script.
   # FIXME: It is wrong to rewrite CC.
   # But if we don't then we get into trouble of one sort or another.
   # A longer-term fix would be to have automake use am__CC in this case,
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   CC="$am_aux_dir/compile $CC"
fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


depcc="$CC"   am_compiler_list=

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
printf %s "checking dependency style of $depcc... " >&6; }
if test ${am_cv_CC_dependencies_compiler_type+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  # We make a subdir and do the tests there.  Otherwise we can end up
  # making bogus files that we don't know about and never remove.  For
  # instance it was reported that on HP-UX the gcc test will end up
  # making a dummy file named 'D' -- because '-MD' means "put the output
  # in D".
  rm -rf conftest.dir
  mkdir conftest.dir
  # Copy depcomp to subdir because otherwise we won't find it if we're
  # using a relative directory.
  cp "$am_depcomp" conftest.dir
  cd conftest.dir
  # We will build objects and dependencies in a subdirectory because
  # it helps to detect inapplicable dependency modes.  For instance
  # both Tru64's cc and ICC support -MD to output dependencies as a
  # side effect of compilation, but ICC will put the dependencies in
  # the current directory while Tru64 will put them in the object
  # directory.
  mkdir sub

  am_cv_CC_dependencies_compiler_type=none
  if test "$am_compiler_list" = ""; then
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  fi
  am__universal=false
  case " $depcc " in #(
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
     esac

  for depmode in $am_compiler_list; do
    # Setup a source with many dependencies, because some compilers
    # like to wrap large dependency lists on column 80 (with \), and
    # we should not choose a depcomp mode which is confused by this.
    #
    # We need to recreate these files for each test, as the compiler may
    # overwrite some of them when testing with obscure command lines.
    # This happens at least with the AIX C compiler.
    : > sub/conftest.c
    for i in 1 2 3 4 5 6; do
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
      # Solaris 10 /bin/sh.
      echo '/* dummy */' > sub/conftst$i.h
    done
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf

    # We check with '-c' and '-o' for the sake of the "dashmstdout"
    # mode.  It turns out that the SunPro C++ compiler does not properly
    # handle '-M -o', and we need to detect this.  Also, some Intel
    # versions had trouble with output in subdirs.
    am__obj=sub/conftest.${OBJEXT-o}
    am__minus_obj="-o $am__obj"
    case $depmode in
    gcc)
      # This depmode causes a compiler race in universal mode.
      test "$am__universal" = false || continue
      ;;
    nosideeffect)
      # After this tag, mechanisms are not by side-effect, so they'll
      # only be used when explicitly requested.
      if test "x$enable_dependency_tracking" = xyes; then
	continue
      else
	break
      fi
      ;;
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
      # This compiler won't grok '-c -o', but also, the minuso test has
      # not run yet.  These depmodes are late enough in the game, and
      # so weak that their functioning should not be impacted.
      am__obj=conftest.${OBJEXT-o}
      am__minus_obj=
      ;;
    none) break ;;
    esac
    if depmode=$depmode \
       source=sub/conftest.c object=$am__obj \
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
         >/dev/null 2>conftest.err &&
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
      # icc doesn't choke on unknown options, it will just issue warnings
      # or remarks (even with -Werror).  So we grep stderr for any message
      # that says an option was ignored or not supported.
      # When given -MP, icc 7.0 and 7.1 complain thusly:
      #   icc: Command line warning: ignoring option '-M'; no argument required
      # The diagnosis changed in icc 8.0:
      #   icc: Command line remark: option '-MP' not supported
      if (grep 'ignoring option' conftest.err ||
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
        am_cv_CC_dependencies_compiler_type=$depmode
        break
      fi
    fi
  done

  cd ..
  rm -rf conftest.dir
else
  am_cv_CC_dependencies_compiler_type=none
fi
 ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type

 if
  test "x$enable_dependency_tracking" != xno \
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  am__fastdepCC_TRUE=
  am__fastdepCC_FALSE='#'
else
  am__fastdepCC_TRUE='#'
  am__fastdepCC_FALSE=
fi



ac_header= ac_cache=
for ac_item in $ac_header_c_list
do
  if test $ac_cache; then
    ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
    if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
      printf "%s\n" "#define $ac_item 1" >> confdefs.h
    fi
    ac_header= ac_cache=
  elif test $ac_header; then
    ac_cache=$ac_item
  else
    ac_header=$ac_item
  fi
done








if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
then :

printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h

fi






  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
if test ${ac_cv_safe_to_define___extensions__+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

#         define __EXTENSIONS__ 1
          $ac_includes_default
int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_safe_to_define___extensions__=yes
else case e in #(
  e) ac_cv_safe_to_define___extensions__=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }

  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
if test ${ac_cv_should_define__xopen_source+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ac_cv_should_define__xopen_source=no
    if test $ac_cv_header_wchar_h = yes
then :
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

          #include 
          mbstate_t x;
int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :

else case e in #(
  e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

            #define _XOPEN_SOURCE 500
            #include 
            mbstate_t x;
int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_should_define__xopen_source=yes
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
fi ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }

  printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h

  printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h

  printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h

  printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h

  printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h

  printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h

  printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h

  printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h

  printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h

  printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h

  printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h

  printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h

  printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h

  printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h

  printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h

  printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h

  if test $ac_cv_header_minix_config_h = yes
then :
  MINIX=yes
    printf "%s\n" "#define _MINIX 1" >>confdefs.h

    printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h

    printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h

else case e in #(
  e) MINIX= ;;
esac
fi
  if test $ac_cv_safe_to_define___extensions__ = yes
then :
  printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h

fi
  if test $ac_cv_should_define__xopen_source = yes
then :
  printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h

fi


# Compiler checks
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
printf "%s\n" "$CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


fi
if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_ac_ct_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="gcc"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
printf "%s\n" "$ac_ct_CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi

  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    CC=$ac_ct_CC
  fi
else
  CC="$ac_cv_prog_CC"
fi

if test -z "$CC"; then
          if test -n "$ac_tool_prefix"; then
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
set dummy ${ac_tool_prefix}cc; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}cc"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
printf "%s\n" "$CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


  fi
fi
if test -z "$CC"; then
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  ac_prog_rejected=no
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
       ac_prog_rejected=yes
       continue
     fi
    ac_cv_prog_CC="cc"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

if test $ac_prog_rejected = yes; then
  # We found a bogon in the path, so make sure we never use it.
  set dummy $ac_cv_prog_CC
  shift
  if test $# != 0; then
    # We chose a different compiler from the bogus one.
    # However, it has the same basename, so the bogon will be chosen
    # first if we set CC to just the basename; use the full file name.
    shift
    ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
  fi
fi
fi ;;
esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
printf "%s\n" "$CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


fi
if test -z "$CC"; then
  if test -n "$ac_tool_prefix"; then
  for ac_prog in cl.exe
  do
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
printf "%s\n" "$CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


    test -n "$CC" && break
  done
fi
if test -z "$CC"; then
  ac_ct_CC=$CC
  for ac_prog in cl.exe
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_ac_ct_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="$ac_prog"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
printf "%s\n" "$ac_ct_CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


  test -n "$ac_ct_CC" && break
done

  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    CC=$ac_ct_CC
  fi
fi

fi
if test -z "$CC"; then
  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
set dummy ${ac_tool_prefix}clang; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}clang"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
CC=$ac_cv_prog_CC
if test -n "$CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
printf "%s\n" "$CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


fi
if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "clang", so it can be a program name with args.
set dummy clang; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_ac_ct_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="clang"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
ac_ct_CC=$ac_cv_prog_ac_ct_CC
if test -n "$ac_ct_CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
printf "%s\n" "$ac_ct_CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi

  if test "x$ac_ct_CC" = x; then
    CC=""
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    CC=$ac_ct_CC
  fi
else
  CC="$ac_cv_prog_CC"
fi

fi


test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "no acceptable C compiler found in \$PATH
See 'config.log' for more details" "$LINENO" 5; }

# Provide some information about the compiler.
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
set X $ac_compile
ac_compiler=$2
for ac_option in --version -v -V -qversion -version; do
  { { ac_try="$ac_compiler $ac_option >&5"
case "(($ac_try" in
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  *) ac_try_echo=$ac_try;;
esac
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
printf "%s\n" "$ac_try_echo"; } >&5
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  ac_status=$?
  if test -s conftest.err; then
    sed '10a\
... rest of stderr output deleted ...
         10q' conftest.err >conftest.er1
    cat conftest.er1 >&5
  fi
  rm -f conftest.er1 conftest.err
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
done

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
printf %s "checking whether the compiler supports GNU C... " >&6; }
if test ${ac_cv_c_compiler_gnu+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{
#ifndef __GNUC__
       choke me
#endif

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  ac_compiler_gnu=yes
else case e in #(
  e) ac_compiler_gnu=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
ac_compiler_gnu=$ac_cv_c_compiler_gnu

if test $ac_compiler_gnu = yes; then
  GCC=yes
else
  GCC=
fi
ac_test_CFLAGS=${CFLAGS+y}
ac_save_CFLAGS=$CFLAGS
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
printf %s "checking whether $CC accepts -g... " >&6; }
if test ${ac_cv_prog_cc_g+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ac_save_c_werror_flag=$ac_c_werror_flag
   ac_c_werror_flag=yes
   ac_cv_prog_cc_g=no
   CFLAGS="-g"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_prog_cc_g=yes
else case e in #(
  e) CFLAGS=""
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :

else case e in #(
  e) ac_c_werror_flag=$ac_save_c_werror_flag
	 CFLAGS="-g"
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_prog_cc_g=yes
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   ac_c_werror_flag=$ac_save_c_werror_flag ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
if test $ac_test_CFLAGS; then
  CFLAGS=$ac_save_CFLAGS
elif test $ac_cv_prog_cc_g = yes; then
  if test "$GCC" = yes; then
    CFLAGS="-g -O2"
  else
    CFLAGS="-g"
  fi
else
  if test "$GCC" = yes; then
    CFLAGS="-O2"
  else
    CFLAGS=
  fi
fi
ac_prog_cc_stdc=no
if test x$ac_prog_cc_stdc = xno
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
printf %s "checking for $CC option to enable C11 features... " >&6; }
if test ${ac_cv_prog_cc_c11+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ac_cv_prog_cc_c11=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$ac_c_conftest_c11_program
_ACEOF
for ac_arg in '' -std=gnu11
do
  CC="$ac_save_CC $ac_arg"
  if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_prog_cc_c11=$ac_arg
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam
  test "x$ac_cv_prog_cc_c11" != "xno" && break
done
rm -f conftest.$ac_ext
CC=$ac_save_CC ;;
esac
fi

if test "x$ac_cv_prog_cc_c11" = xno
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
else case e in #(
  e) if test "x$ac_cv_prog_cc_c11" = x
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
else case e in #(
  e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
     CC="$CC $ac_cv_prog_cc_c11" ;;
esac
fi
  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
  ac_prog_cc_stdc=c11 ;;
esac
fi
fi
if test x$ac_prog_cc_stdc = xno
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
printf %s "checking for $CC option to enable C99 features... " >&6; }
if test ${ac_cv_prog_cc_c99+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ac_cv_prog_cc_c99=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$ac_c_conftest_c99_program
_ACEOF
for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
do
  CC="$ac_save_CC $ac_arg"
  if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_prog_cc_c99=$ac_arg
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam
  test "x$ac_cv_prog_cc_c99" != "xno" && break
done
rm -f conftest.$ac_ext
CC=$ac_save_CC ;;
esac
fi

if test "x$ac_cv_prog_cc_c99" = xno
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
else case e in #(
  e) if test "x$ac_cv_prog_cc_c99" = x
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
else case e in #(
  e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
     CC="$CC $ac_cv_prog_cc_c99" ;;
esac
fi
  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
  ac_prog_cc_stdc=c99 ;;
esac
fi
fi
if test x$ac_prog_cc_stdc = xno
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
printf %s "checking for $CC option to enable C89 features... " >&6; }
if test ${ac_cv_prog_cc_c89+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ac_cv_prog_cc_c89=no
ac_save_CC=$CC
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$ac_c_conftest_c89_program
_ACEOF
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
do
  CC="$ac_save_CC $ac_arg"
  if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_prog_cc_c89=$ac_arg
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam
  test "x$ac_cv_prog_cc_c89" != "xno" && break
done
rm -f conftest.$ac_ext
CC=$ac_save_CC ;;
esac
fi

if test "x$ac_cv_prog_cc_c89" = xno
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
printf "%s\n" "unsupported" >&6; }
else case e in #(
  e) if test "x$ac_cv_prog_cc_c89" = x
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
printf "%s\n" "none needed" >&6; }
else case e in #(
  e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
     CC="$CC $ac_cv_prog_cc_c89" ;;
esac
fi
  ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
  ac_prog_cc_stdc=c89 ;;
esac
fi
fi

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


  ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
printf %s "checking whether $CC understands -c and -o together... " >&6; }
if test ${am_cv_prog_cc_c_o+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
  # Make sure it works both with $CC and with simple cc.
  # Following AC_PROG_CC_C_O, we do the test twice because some
  # compilers refuse to overwrite an existing .o file with -o,
  # though they will create one.
  am_cv_prog_cc_c_o=yes
  for am_i in 1 2; do
    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } \
         && test -f conftest2.$ac_objext; then
      : OK
    else
      am_cv_prog_cc_c_o=no
      break
    fi
  done
  rm -f core conftest*
  unset am_i ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
if test "$am_cv_prog_cc_c_o" != yes; then
   # Losing compiler, so override with the script.
   # FIXME: It is wrong to rewrite CC.
   # But if we don't then we get into trouble of one sort or another.
   # A longer-term fix would be to have automake use am__CC in this case,
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   CC="$am_aux_dir/compile $CC"
fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


depcc="$CC"   am_compiler_list=

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
printf %s "checking dependency style of $depcc... " >&6; }
if test ${am_cv_CC_dependencies_compiler_type+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  # We make a subdir and do the tests there.  Otherwise we can end up
  # making bogus files that we don't know about and never remove.  For
  # instance it was reported that on HP-UX the gcc test will end up
  # making a dummy file named 'D' -- because '-MD' means "put the output
  # in D".
  rm -rf conftest.dir
  mkdir conftest.dir
  # Copy depcomp to subdir because otherwise we won't find it if we're
  # using a relative directory.
  cp "$am_depcomp" conftest.dir
  cd conftest.dir
  # We will build objects and dependencies in a subdirectory because
  # it helps to detect inapplicable dependency modes.  For instance
  # both Tru64's cc and ICC support -MD to output dependencies as a
  # side effect of compilation, but ICC will put the dependencies in
  # the current directory while Tru64 will put them in the object
  # directory.
  mkdir sub

  am_cv_CC_dependencies_compiler_type=none
  if test "$am_compiler_list" = ""; then
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  fi
  am__universal=false
  case " $depcc " in #(
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
     esac

  for depmode in $am_compiler_list; do
    # Setup a source with many dependencies, because some compilers
    # like to wrap large dependency lists on column 80 (with \), and
    # we should not choose a depcomp mode which is confused by this.
    #
    # We need to recreate these files for each test, as the compiler may
    # overwrite some of them when testing with obscure command lines.
    # This happens at least with the AIX C compiler.
    : > sub/conftest.c
    for i in 1 2 3 4 5 6; do
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
      # Solaris 10 /bin/sh.
      echo '/* dummy */' > sub/conftst$i.h
    done
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf

    # We check with '-c' and '-o' for the sake of the "dashmstdout"
    # mode.  It turns out that the SunPro C++ compiler does not properly
    # handle '-M -o', and we need to detect this.  Also, some Intel
    # versions had trouble with output in subdirs.
    am__obj=sub/conftest.${OBJEXT-o}
    am__minus_obj="-o $am__obj"
    case $depmode in
    gcc)
      # This depmode causes a compiler race in universal mode.
      test "$am__universal" = false || continue
      ;;
    nosideeffect)
      # After this tag, mechanisms are not by side-effect, so they'll
      # only be used when explicitly requested.
      if test "x$enable_dependency_tracking" = xyes; then
	continue
      else
	break
      fi
      ;;
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
      # This compiler won't grok '-c -o', but also, the minuso test has
      # not run yet.  These depmodes are late enough in the game, and
      # so weak that their functioning should not be impacted.
      am__obj=conftest.${OBJEXT-o}
      am__minus_obj=
      ;;
    none) break ;;
    esac
    if depmode=$depmode \
       source=sub/conftest.c object=$am__obj \
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
         >/dev/null 2>conftest.err &&
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
      # icc doesn't choke on unknown options, it will just issue warnings
      # or remarks (even with -Werror).  So we grep stderr for any message
      # that says an option was ignored or not supported.
      # When given -MP, icc 7.0 and 7.1 complain thusly:
      #   icc: Command line warning: ignoring option '-M'; no argument required
      # The diagnosis changed in icc 8.0:
      #   icc: Command line remark: option '-MP' not supported
      if (grep 'ignoring option' conftest.err ||
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
        am_cv_CC_dependencies_compiler_type=$depmode
        break
      fi
    fi
  done

  cd ..
  rm -rf conftest.dir
else
  am_cv_CC_dependencies_compiler_type=none
fi
 ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type

 if
  test "x$enable_dependency_tracking" != xno \
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  am__fastdepCC_TRUE=
  am__fastdepCC_FALSE='#'
else
  am__fastdepCC_TRUE='#'
  am__fastdepCC_FALSE=
fi



if test "x$ac_cv_prog_cc_c99" = "xno"
then :

    as_fn_error $? "C99 compiler required" "$LINENO" 5

fi

# Large file support
# Check whether --enable-largefile was given.
if test ${enable_largefile+y}
then :
  enableval=$enable_largefile;
fi
if test "$enable_largefile,$enable_year2038" != no,no
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
printf %s "checking for $CC option to enable large file support... " >&6; }
if test ${ac_cv_sys_largefile_opts+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ac_save_CC="$CC"
  ac_opt_found=no
  for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
    if test x"$ac_opt" != x"none needed"
then :
  CC="$ac_save_CC $ac_opt"
fi
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
#ifndef FTYPE
# define FTYPE off_t
#endif
 /* Check that FTYPE can represent 2**63 - 1 correctly.
    We can't simply define LARGE_FTYPE to be 9223372036854775807,
    since some C++ compilers masquerading as C compilers
    incorrectly reject 9223372036854775807.  */
#define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
  int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
		       && LARGE_FTYPE % 2147483647 == 1)
		      ? 1 : -1];
int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  if test x"$ac_opt" = x"none needed"
then :
  # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
	 CC="$CC -DFTYPE=ino_t"
	 if ac_fn_c_try_compile "$LINENO"
then :

else case e in #(
  e) CC="$CC -D_FILE_OFFSET_BITS=64"
	    if ac_fn_c_try_compile "$LINENO"
then :
  ac_opt='-D_FILE_OFFSET_BITS=64'
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam
fi
      ac_cv_sys_largefile_opts=$ac_opt
      ac_opt_found=yes
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
    test $ac_opt_found = no || break
  done
  CC="$ac_save_CC"

  test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }

ac_have_largefile=yes
case $ac_cv_sys_largefile_opts in #(
  "none needed") :
     ;; #(
  "supported through gnulib") :
     ;; #(
  "support not detected") :
    ac_have_largefile=no ;; #(
  "-D_FILE_OFFSET_BITS=64") :

printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
 ;; #(
  "-D_LARGE_FILES=1") :

printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
 ;; #(
  "-n32") :
    CC="$CC -n32" ;; #(
  *) :
    as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
esac

if test "$enable_year2038" != no
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
printf %s "checking for $CC option for timestamps after 2038... " >&6; }
if test ${ac_cv_sys_year2038_opts+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ac_save_CPPFLAGS="$CPPFLAGS"
  ac_opt_found=no
  for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
    if test x"$ac_opt" != x"none needed"
then :
  CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
fi
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

  #include 
  /* Check that time_t can represent 2**32 - 1 correctly.  */
  #define LARGE_TIME_T \\
    ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
  int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
                           && LARGE_TIME_T % 65537 == 0)
                          ? 1 : -1];

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_sys_year2038_opts="$ac_opt"
      ac_opt_found=yes
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
    test $ac_opt_found = no || break
  done
  CPPFLAGS="$ac_save_CPPFLAGS"
  test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }

ac_have_year2038=yes
case $ac_cv_sys_year2038_opts in #(
  "none needed") :
     ;; #(
  "support not detected") :
    ac_have_year2038=no ;; #(
  "-D_TIME_BITS=64") :

printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
 ;; #(
  "-D__MINGW_USE_VC2005_COMPAT") :

printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
 ;; #(
  "-U_USE_32_BIT_TIME_T"*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
will stop working after mid-January 2038. Remove
_USE_32BIT_TIME_T from the compiler flags.
See 'config.log' for more details" "$LINENO" 5; } ;; #(
  *) :
    as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
esac

fi

fi

# Compiler Warnings




        # $is_release = (.git directory does not exist)
        if test -d ${srcdir}/.git || (test -f ${srcdir}/.git && grep \.git/worktrees ${srcdir}/.git)
then :
  ax_is_release=no
else case e in #(
  e) ax_is_release=yes ;;
esac
fi


{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
printf %s "checking for a sed that does not truncate output... " >&6; }
if test ${ac_cv_path_SED+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
     for ac_i in 1 2 3 4 5 6 7; do
       ac_script="$ac_script$as_nl$ac_script"
     done
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
     { ac_script=; unset ac_script;}
     if test -z "$SED"; then
  ac_path_SED_found=false
  # Loop through the user's path and test for each of PROGNAME-LIST
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_prog in sed gsed
   do
    for ac_exec_ext in '' $ac_executable_extensions; do
      ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
      as_fn_executable_p "$ac_path_SED" || continue
# Check for GNU ac_path_SED and select it if it is found.
  # Check for GNU $ac_path_SED
case `"$ac_path_SED" --version 2>&1` in #(
*GNU*)
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
#(
*)
  ac_count=0
  printf %s 0123456789 >"conftest.in"
  while :
  do
    cat "conftest.in" "conftest.in" >"conftest.tmp"
    mv "conftest.tmp" "conftest.in"
    cp "conftest.in" "conftest.nl"
    printf "%s\n" '' >> "conftest.nl"
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    as_fn_arith $ac_count + 1 && ac_count=$as_val
    if test $ac_count -gt ${ac_path_SED_max-0}; then
      # Best one so far, save it but keep looking for a better one
      ac_cv_path_SED="$ac_path_SED"
      ac_path_SED_max=$ac_count
    fi
    # 10*(2^10) chars as input seems more than enough
    test $ac_count -gt 10 && break
  done
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac

      $ac_path_SED_found && break 3
    done
  done
  done
IFS=$as_save_IFS
  if test -z "$ac_cv_path_SED"; then
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
  fi
else
  ac_cv_path_SED=$SED
fi
 ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
printf "%s\n" "$ac_cv_path_SED" >&6; }
 SED="$ac_cv_path_SED"
  rm -f conftest.sed


    # C support is enabled by default.


    # Only enable C++ support if AC_PROG_CXX is called. The redefinition of
    # AC_PROG_CXX is so that a fatal error is emitted if this macro is called
    # before AC_PROG_CXX, which would otherwise cause no C++ warnings to be
    # checked.




    # Default value for IS-RELEASE is $ax_is_release
    ax_compiler_flags_is_release=$ax_is_release

    # Check whether --enable-compile-warnings was given.
if test ${enable_compile_warnings+y}
then :
  enableval=$enable_compile_warnings;
else case e in #(
  e) if test "$ax_compiler_flags_is_release" = "yes"
then :
  enable_compile_warnings="yes"
else case e in #(
  e) enable_compile_warnings="error" ;;
esac
fi ;;
esac
fi

    # Check whether --enable-Werror was given.
if test ${enable_Werror+y}
then :
  enableval=$enable_Werror;
else case e in #(
  e) enable_Werror=maybe ;;
esac
fi


    # Return the user's chosen warning level
    if test "$enable_Werror" = "no" -a \
                "$enable_compile_warnings" = "error"
then :

        enable_compile_warnings="yes"

fi

    ax_enable_compile_warnings=$enable_compile_warnings










    # Variable names


    ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

      #ifndef __cplusplus
       #error "no C++"
       #endif
int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  ax_compiler_cxx=yes;
else case e in #(
  e) ax_compiler_cxx=no; ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext

    # Always pass -Werror=unknown-warning-option to get Clang to fail on bad
    # flags, otherwise they are always appended to the warn_cflags variable, and
    # Clang warns on them for every compilation unit.
    # If this is passed to GCC, it will explode, so the flag must be enabled
    # conditionally.
    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5
printf %s "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; }
if test ${ax_cv_check_cflags___Werror_unknown_warning_option+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$CFLAGS
  CFLAGS="$CFLAGS  -Werror=unknown-warning-option"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  ax_cv_check_cflags___Werror_unknown_warning_option=yes
else case e in #(
  e) ax_cv_check_cflags___Werror_unknown_warning_option=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  CFLAGS=$ax_check_save_flags ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5
printf "%s\n" "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; }
if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes
then :

        ax_compiler_flags_test="-Werror=unknown-warning-option"

else case e in #(
  e)
        ax_compiler_flags_test=""
     ;;
esac
fi


    # Check that -Wno-suggest-attribute=format is supported
    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wno-suggest-attribute=format" >&5
printf %s "checking whether C compiler accepts -Wno-suggest-attribute=format... " >&6; }
if test ${ax_cv_check_cflags___Wno_suggest_attribute_format+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$CFLAGS
  CFLAGS="$CFLAGS  -Wno-suggest-attribute=format"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  ax_cv_check_cflags___Wno_suggest_attribute_format=yes
else case e in #(
  e) ax_cv_check_cflags___Wno_suggest_attribute_format=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  CFLAGS=$ax_check_save_flags ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Wno_suggest_attribute_format" >&5
printf "%s\n" "$ax_cv_check_cflags___Wno_suggest_attribute_format" >&6; }
if test "x$ax_cv_check_cflags___Wno_suggest_attribute_format" = xyes
then :

        ax_compiler_no_suggest_attribute_flags="-Wno-suggest-attribute=format"

else case e in #(
  e)
        ax_compiler_no_suggest_attribute_flags=""
     ;;
esac
fi


    # Base flags




for flag in          -fno-strict-aliasing              ; do
  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | sed "$as_sed_sh"`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
printf %s "checking whether C compiler accepts $flag... " >&6; }
if eval test \${$as_CACHEVAR+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$CFLAGS
  CFLAGS="$CFLAGS $ax_compiler_flags_test $flag"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  eval "$as_CACHEVAR=yes"
else case e in #(
  e) eval "$as_CACHEVAR=no" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  CFLAGS=$ax_check_save_flags ;;
esac
fi
eval ac_res=\$$as_CACHEVAR
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
then :

if test ${WARN_CFLAGS+y}
then :

  case " $WARN_CFLAGS " in #(
  *" $flag "*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
  (: WARN_CFLAGS already contains $flag) 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } ;; #(
  *) :

     as_fn_append WARN_CFLAGS " $flag"
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
  (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
     ;;
esac

else case e in #(
  e)
  WARN_CFLAGS=$flag
  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
  (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
   ;;
esac
fi

else case e in #(
  e) : ;;
esac
fi

done


    if test "$ax_enable_compile_warnings" != "no"
then :

        if test "$ax_compiler_cxx" = "no" ; then
            # C-only flags. Warn in C++




for flag in                  -Wnested-externs                 -Wmissing-prototypes                 -Wstrict-prototypes                 -Wdeclaration-after-statement                 -Wimplicit-function-declaration                 -Wold-style-definition                 -Wjump-misses-init             ; do
  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | sed "$as_sed_sh"`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
printf %s "checking whether C compiler accepts $flag... " >&6; }
if eval test \${$as_CACHEVAR+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$CFLAGS
  CFLAGS="$CFLAGS $ax_compiler_flags_test $flag"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  eval "$as_CACHEVAR=yes"
else case e in #(
  e) eval "$as_CACHEVAR=no" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  CFLAGS=$ax_check_save_flags ;;
esac
fi
eval ac_res=\$$as_CACHEVAR
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
then :

if test ${WARN_CFLAGS+y}
then :

  case " $WARN_CFLAGS " in #(
  *" $flag "*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
  (: WARN_CFLAGS already contains $flag) 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } ;; #(
  *) :

     as_fn_append WARN_CFLAGS " $flag"
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
  (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
     ;;
esac

else case e in #(
  e)
  WARN_CFLAGS=$flag
  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
  (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
   ;;
esac
fi

else case e in #(
  e) : ;;
esac
fi

done

        fi

        # "yes" flags




for flag in              -Wall             -Wextra             -Wundef             -Wwrite-strings             -Wpointer-arith             -Wmissing-declarations             -Wredundant-decls             -Wno-unused-parameter             -Wno-missing-field-initializers             -Wformat=2             -Wcast-align             -Wformat-nonliteral             -Wformat-security             -Wsign-compare             -Wstrict-aliasing             -Wshadow             -Winline             -Wpacked             -Wmissing-format-attribute             -Wmissing-noreturn             -Winit-self             -Wredundant-decls             -Wmissing-include-dirs             -Wunused-but-set-variable             -Warray-bounds             -Wreturn-type             -Wswitch-enum             -Wswitch-default             -Wduplicated-cond             -Wduplicated-branches             -Wlogical-op             -Wrestrict             -Wnull-dereference             -Wdouble-promotion                                                                ; do
  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | sed "$as_sed_sh"`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
printf %s "checking whether C compiler accepts $flag... " >&6; }
if eval test \${$as_CACHEVAR+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$CFLAGS
  CFLAGS="$CFLAGS $ax_compiler_flags_test $flag"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  eval "$as_CACHEVAR=yes"
else case e in #(
  e) eval "$as_CACHEVAR=no" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  CFLAGS=$ax_check_save_flags ;;
esac
fi
eval ac_res=\$$as_CACHEVAR
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
then :

if test ${WARN_CFLAGS+y}
then :

  case " $WARN_CFLAGS " in #(
  *" $flag "*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
  (: WARN_CFLAGS already contains $flag) 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } ;; #(
  *) :

     as_fn_append WARN_CFLAGS " $flag"
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
  (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
     ;;
esac

else case e in #(
  e)
  WARN_CFLAGS=$flag
  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
  (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
   ;;
esac
fi

else case e in #(
  e) : ;;
esac
fi

done


fi
    if test "$ax_enable_compile_warnings" = "error"
then :

        # "error" flags; -Werror has to be appended unconditionally because
        # it's not possible to test for
        #
        # suggest-attribute=format is disabled because it gives too many false
        # positives

if test ${WARN_CFLAGS+y}
then :

  case " $WARN_CFLAGS " in #(
  *" -Werror "*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains -Werror"; } >&5
  (: WARN_CFLAGS already contains -Werror) 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } ;; #(
  *) :

     as_fn_append WARN_CFLAGS " -Werror"
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
  (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
     ;;
esac

else case e in #(
  e)
  WARN_CFLAGS=-Werror
  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
  (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
   ;;
esac
fi






for flag in              $ax_compiler_no_suggest_attribute_flags         ; do
  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | sed "$as_sed_sh"`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
printf %s "checking whether C compiler accepts $flag... " >&6; }
if eval test \${$as_CACHEVAR+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$CFLAGS
  CFLAGS="$CFLAGS $ax_compiler_flags_test $flag"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  eval "$as_CACHEVAR=yes"
else case e in #(
  e) eval "$as_CACHEVAR=no" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  CFLAGS=$ax_check_save_flags ;;
esac
fi
eval ac_res=\$$as_CACHEVAR
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
then :

if test ${WARN_CFLAGS+y}
then :

  case " $WARN_CFLAGS " in #(
  *" $flag "*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
  (: WARN_CFLAGS already contains $flag) 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } ;; #(
  *) :

     as_fn_append WARN_CFLAGS " $flag"
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
  (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
     ;;
esac

else case e in #(
  e)
  WARN_CFLAGS=$flag
  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
  (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
   ;;
esac
fi

else case e in #(
  e) : ;;
esac
fi

done


fi

    # In the flags below, when disabling specific flags, always add *both*
    # -Wno-foo and -Wno-error=foo. This fixes the situation where (for example)
    # we enable -Werror, disable a flag, and a build bot passes CFLAGS=-Wall,
    # which effectively turns that flag back on again as an error.
    for flag in $WARN_CFLAGS; do
        case $flag in #(
  -Wno-*=*) :
     ;; #(
  -Wno-*) :





for flag in -Wno-error=$(printf "%s\n" $flag | $SED 's/^-Wno-//'); do
  as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | sed "$as_sed_sh"`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
printf %s "checking whether C compiler accepts $flag... " >&6; }
if eval test \${$as_CACHEVAR+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$CFLAGS
  CFLAGS="$CFLAGS $ax_compiler_flags_test $flag"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  eval "$as_CACHEVAR=yes"
else case e in #(
  e) eval "$as_CACHEVAR=no" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  CFLAGS=$ax_check_save_flags ;;
esac
fi
eval ac_res=\$$as_CACHEVAR
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
then :

if test ${WARN_CFLAGS+y}
then :

  case " $WARN_CFLAGS " in #(
  *" $flag "*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
  (: WARN_CFLAGS already contains $flag) 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } ;; #(
  *) :

     as_fn_append WARN_CFLAGS " $flag"
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
  (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
     ;;
esac

else case e in #(
  e)
  WARN_CFLAGS=$flag
  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
  (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
   ;;
esac
fi

else case e in #(
  e) : ;;
esac
fi

done

                 ;; #(
  *) :
     ;;
esac
    done

    ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


    # Substitute the variables













    # Variable names


    # Always pass -Werror=unknown-warning-option to get Clang to fail on bad
    # flags, otherwise they are always appended to the warn_ldflags variable,
    # and Clang warns on them for every compilation unit.
    # If this is passed to GCC, it will explode, so the flag must be enabled
    # conditionally.
    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Werror=unknown-warning-option" >&5
printf %s "checking whether C compiler accepts -Werror=unknown-warning-option... " >&6; }
if test ${ax_cv_check_cflags___Werror_unknown_warning_option+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$CFLAGS
  CFLAGS="$CFLAGS  -Werror=unknown-warning-option"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  ax_cv_check_cflags___Werror_unknown_warning_option=yes
else case e in #(
  e) ax_cv_check_cflags___Werror_unknown_warning_option=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  CFLAGS=$ax_check_save_flags ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___Werror_unknown_warning_option" >&5
printf "%s\n" "$ax_cv_check_cflags___Werror_unknown_warning_option" >&6; }
if test "x$ax_cv_check_cflags___Werror_unknown_warning_option" = xyes
then :

        ax_compiler_flags_test="-Werror=unknown-warning-option"

else case e in #(
  e)
        ax_compiler_flags_test=""
     ;;
esac
fi


    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--as-needed" >&5
printf %s "checking whether the linker accepts -Wl,--as-needed... " >&6; }
if test ${ax_cv_check_ldflags___Wl___as_needed+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$LDFLAGS
  LDFLAGS="$LDFLAGS  -Wl,--as-needed"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  ax_cv_check_ldflags___Wl___as_needed=yes
else case e in #(
  e) ax_cv_check_ldflags___Wl___as_needed=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
  LDFLAGS=$ax_check_save_flags ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___as_needed" >&5
printf "%s\n" "$ax_cv_check_ldflags___Wl___as_needed" >&6; }
if test "x$ax_cv_check_ldflags___Wl___as_needed" = xyes
then :





for flag in -Wl,--as-needed; do
  as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | sed "$as_sed_sh"`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
printf %s "checking whether the linker accepts $flag... " >&6; }
if eval test \${$as_CACHEVAR+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$LDFLAGS
  LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  eval "$as_CACHEVAR=yes"
else case e in #(
  e) eval "$as_CACHEVAR=no" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
  LDFLAGS=$ax_check_save_flags ;;
esac
fi
eval ac_res=\$$as_CACHEVAR
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
then :

if test ${AM_LDFLAGS+y}
then :

  case " $AM_LDFLAGS " in #(
  *" $flag "*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
  (: AM_LDFLAGS already contains $flag) 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } ;; #(
  *) :

     as_fn_append AM_LDFLAGS " $flag"
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
  (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
     ;;
esac

else case e in #(
  e)
  AM_LDFLAGS=$flag
  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
  (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
   ;;
esac
fi

else case e in #(
  e) : ;;
esac
fi

done


else case e in #(
  e) : ;;
esac
fi

    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,relro" >&5
printf %s "checking whether the linker accepts -Wl,-z,relro... " >&6; }
if test ${ax_cv_check_ldflags___Wl__z_relro+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$LDFLAGS
  LDFLAGS="$LDFLAGS  -Wl,-z,relro"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  ax_cv_check_ldflags___Wl__z_relro=yes
else case e in #(
  e) ax_cv_check_ldflags___Wl__z_relro=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
  LDFLAGS=$ax_check_save_flags ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_relro" >&5
printf "%s\n" "$ax_cv_check_ldflags___Wl__z_relro" >&6; }
if test "x$ax_cv_check_ldflags___Wl__z_relro" = xyes
then :





for flag in -Wl,-z,relro; do
  as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | sed "$as_sed_sh"`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
printf %s "checking whether the linker accepts $flag... " >&6; }
if eval test \${$as_CACHEVAR+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$LDFLAGS
  LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  eval "$as_CACHEVAR=yes"
else case e in #(
  e) eval "$as_CACHEVAR=no" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
  LDFLAGS=$ax_check_save_flags ;;
esac
fi
eval ac_res=\$$as_CACHEVAR
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
then :

if test ${AM_LDFLAGS+y}
then :

  case " $AM_LDFLAGS " in #(
  *" $flag "*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
  (: AM_LDFLAGS already contains $flag) 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } ;; #(
  *) :

     as_fn_append AM_LDFLAGS " $flag"
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
  (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
     ;;
esac

else case e in #(
  e)
  AM_LDFLAGS=$flag
  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
  (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
   ;;
esac
fi

else case e in #(
  e) : ;;
esac
fi

done


else case e in #(
  e) : ;;
esac
fi

    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,now" >&5
printf %s "checking whether the linker accepts -Wl,-z,now... " >&6; }
if test ${ax_cv_check_ldflags___Wl__z_now+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$LDFLAGS
  LDFLAGS="$LDFLAGS  -Wl,-z,now"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  ax_cv_check_ldflags___Wl__z_now=yes
else case e in #(
  e) ax_cv_check_ldflags___Wl__z_now=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
  LDFLAGS=$ax_check_save_flags ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_now" >&5
printf "%s\n" "$ax_cv_check_ldflags___Wl__z_now" >&6; }
if test "x$ax_cv_check_ldflags___Wl__z_now" = xyes
then :





for flag in -Wl,-z,now; do
  as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | sed "$as_sed_sh"`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
printf %s "checking whether the linker accepts $flag... " >&6; }
if eval test \${$as_CACHEVAR+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$LDFLAGS
  LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  eval "$as_CACHEVAR=yes"
else case e in #(
  e) eval "$as_CACHEVAR=no" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
  LDFLAGS=$ax_check_save_flags ;;
esac
fi
eval ac_res=\$$as_CACHEVAR
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
then :

if test ${AM_LDFLAGS+y}
then :

  case " $AM_LDFLAGS " in #(
  *" $flag "*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
  (: AM_LDFLAGS already contains $flag) 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } ;; #(
  *) :

     as_fn_append AM_LDFLAGS " $flag"
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
  (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
     ;;
esac

else case e in #(
  e)
  AM_LDFLAGS=$flag
  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
  (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
   ;;
esac
fi

else case e in #(
  e) : ;;
esac
fi

done


else case e in #(
  e) : ;;
esac
fi

    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,noexecstack" >&5
printf %s "checking whether the linker accepts -Wl,-z,noexecstack... " >&6; }
if test ${ax_cv_check_ldflags___Wl__z_noexecstack+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$LDFLAGS
  LDFLAGS="$LDFLAGS  -Wl,-z,noexecstack"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  ax_cv_check_ldflags___Wl__z_noexecstack=yes
else case e in #(
  e) ax_cv_check_ldflags___Wl__z_noexecstack=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
  LDFLAGS=$ax_check_save_flags ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_noexecstack" >&5
printf "%s\n" "$ax_cv_check_ldflags___Wl__z_noexecstack" >&6; }
if test "x$ax_cv_check_ldflags___Wl__z_noexecstack" = xyes
then :





for flag in -Wl,-z,noexecstack; do
  as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | sed "$as_sed_sh"`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
printf %s "checking whether the linker accepts $flag... " >&6; }
if eval test \${$as_CACHEVAR+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$LDFLAGS
  LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  eval "$as_CACHEVAR=yes"
else case e in #(
  e) eval "$as_CACHEVAR=no" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
  LDFLAGS=$ax_check_save_flags ;;
esac
fi
eval ac_res=\$$as_CACHEVAR
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
then :

if test ${AM_LDFLAGS+y}
then :

  case " $AM_LDFLAGS " in #(
  *" $flag "*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
  (: AM_LDFLAGS already contains $flag) 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } ;; #(
  *) :

     as_fn_append AM_LDFLAGS " $flag"
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
  (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
     ;;
esac

else case e in #(
  e)
  AM_LDFLAGS=$flag
  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
  (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
   ;;
esac
fi

else case e in #(
  e) : ;;
esac
fi

done


else case e in #(
  e) : ;;
esac
fi

    # textonly, retpolineplt not yet

    # macOS and cygwin linker do not have --as-needed
    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--no-as-needed" >&5
printf %s "checking whether the linker accepts -Wl,--no-as-needed... " >&6; }
if test ${ax_cv_check_ldflags___Wl___no_as_needed+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$LDFLAGS
  LDFLAGS="$LDFLAGS  -Wl,--no-as-needed"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  ax_cv_check_ldflags___Wl___no_as_needed=yes
else case e in #(
  e) ax_cv_check_ldflags___Wl___no_as_needed=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
  LDFLAGS=$ax_check_save_flags ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___no_as_needed" >&5
printf "%s\n" "$ax_cv_check_ldflags___Wl___no_as_needed" >&6; }
if test "x$ax_cv_check_ldflags___Wl___no_as_needed" = xyes
then :

        ax_compiler_flags_as_needed_option="-Wl,--no-as-needed"

else case e in #(
  e)
        ax_compiler_flags_as_needed_option=""
     ;;
esac
fi


    # macOS linker speaks with a different accent
    ax_compiler_flags_fatal_warnings_option=""
    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--fatal-warnings" >&5
printf %s "checking whether the linker accepts -Wl,--fatal-warnings... " >&6; }
if test ${ax_cv_check_ldflags___Wl___fatal_warnings+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$LDFLAGS
  LDFLAGS="$LDFLAGS  -Wl,--fatal-warnings"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  ax_cv_check_ldflags___Wl___fatal_warnings=yes
else case e in #(
  e) ax_cv_check_ldflags___Wl___fatal_warnings=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
  LDFLAGS=$ax_check_save_flags ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___fatal_warnings" >&5
printf "%s\n" "$ax_cv_check_ldflags___Wl___fatal_warnings" >&6; }
if test "x$ax_cv_check_ldflags___Wl___fatal_warnings" = xyes
then :

        ax_compiler_flags_fatal_warnings_option="-Wl,--fatal-warnings"

else case e in #(
  e) : ;;
esac
fi

    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-fatal_warnings" >&5
printf %s "checking whether the linker accepts -Wl,-fatal_warnings... " >&6; }
if test ${ax_cv_check_ldflags___Wl__fatal_warnings+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$LDFLAGS
  LDFLAGS="$LDFLAGS  -Wl,-fatal_warnings"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  ax_cv_check_ldflags___Wl__fatal_warnings=yes
else case e in #(
  e) ax_cv_check_ldflags___Wl__fatal_warnings=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
  LDFLAGS=$ax_check_save_flags ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__fatal_warnings" >&5
printf "%s\n" "$ax_cv_check_ldflags___Wl__fatal_warnings" >&6; }
if test "x$ax_cv_check_ldflags___Wl__fatal_warnings" = xyes
then :

        ax_compiler_flags_fatal_warnings_option="-Wl,-fatal_warnings"

else case e in #(
  e) : ;;
esac
fi


    # Base flags




for flag in          $ax_compiler_flags_as_needed_option              ; do
  as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | sed "$as_sed_sh"`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
printf %s "checking whether the linker accepts $flag... " >&6; }
if eval test \${$as_CACHEVAR+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$LDFLAGS
  LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  eval "$as_CACHEVAR=yes"
else case e in #(
  e) eval "$as_CACHEVAR=no" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
  LDFLAGS=$ax_check_save_flags ;;
esac
fi
eval ac_res=\$$as_CACHEVAR
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
then :

if test ${WARN_LDFLAGS+y}
then :

  case " $WARN_LDFLAGS " in #(
  *" $flag "*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5
  (: WARN_LDFLAGS already contains $flag) 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } ;; #(
  *) :

     as_fn_append WARN_LDFLAGS " $flag"
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
  (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
     ;;
esac

else case e in #(
  e)
  WARN_LDFLAGS=$flag
  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
  (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
   ;;
esac
fi

else case e in #(
  e) : ;;
esac
fi

done


    if test "$ax_enable_compile_warnings" != "no"
then :

        # "yes" flags




for flag in       ; do
  as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | sed "$as_sed_sh"`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
printf %s "checking whether the linker accepts $flag... " >&6; }
if eval test \${$as_CACHEVAR+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$LDFLAGS
  LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  eval "$as_CACHEVAR=yes"
else case e in #(
  e) eval "$as_CACHEVAR=no" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
  LDFLAGS=$ax_check_save_flags ;;
esac
fi
eval ac_res=\$$as_CACHEVAR
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
then :

if test ${WARN_LDFLAGS+y}
then :

  case " $WARN_LDFLAGS " in #(
  *" $flag "*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5
  (: WARN_LDFLAGS already contains $flag) 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } ;; #(
  *) :

     as_fn_append WARN_LDFLAGS " $flag"
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
  (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
     ;;
esac

else case e in #(
  e)
  WARN_LDFLAGS=$flag
  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
  (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
   ;;
esac
fi

else case e in #(
  e) : ;;
esac
fi

done


fi
    if test "$ax_enable_compile_warnings" = "error"
then :

        # "error" flags; -Werror has to be appended unconditionally because
        # it's not possible to test for
        #
        # suggest-attribute=format is disabled because it gives too many false
        # positives




for flag in              $ax_compiler_flags_fatal_warnings_option         ; do
  as_CACHEVAR=`printf "%s\n" "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | sed "$as_sed_sh"`
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
printf %s "checking whether the linker accepts $flag... " >&6; }
if eval test \${$as_CACHEVAR+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
  ax_check_save_flags=$LDFLAGS
  LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  eval "$as_CACHEVAR=yes"
else case e in #(
  e) eval "$as_CACHEVAR=no" ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
  LDFLAGS=$ax_check_save_flags ;;
esac
fi
eval ac_res=\$$as_CACHEVAR
	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
printf "%s\n" "$ac_res" >&6; }
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
then :

if test ${WARN_LDFLAGS+y}
then :

  case " $WARN_LDFLAGS " in #(
  *" $flag "*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS already contains \$flag"; } >&5
  (: WARN_LDFLAGS already contains $flag) 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } ;; #(
  *) :

     as_fn_append WARN_LDFLAGS " $flag"
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
  (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
     ;;
esac

else case e in #(
  e)
  WARN_LDFLAGS=$flag
  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_LDFLAGS=\"\$WARN_LDFLAGS\""; } >&5
  (: WARN_LDFLAGS="$WARN_LDFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
   ;;
esac
fi

else case e in #(
  e) : ;;
esac
fi

done


fi

    # Substitute the variables






    # Variable names


    # Base flags

if test ${WARN_SCANNERFLAGS+y}
then :

  case " $WARN_SCANNERFLAGS " in #(
  *"  "*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains "; } >&5
  (: WARN_SCANNERFLAGS already contains ) 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } ;; #(
  *) :

     as_fn_append WARN_SCANNERFLAGS " "
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
  (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
     ;;
esac

else case e in #(
  e)
  WARN_SCANNERFLAGS=
  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
  (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
   ;;
esac
fi


    if test "$ax_enable_compile_warnings" != "no"
then :

        # "yes" flags

if test ${WARN_SCANNERFLAGS+y}
then :

  case " $WARN_SCANNERFLAGS " in #(
  *"              --warn-all                                                              "*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains              --warn-all                                                             "; } >&5
  (: WARN_SCANNERFLAGS already contains              --warn-all                                                             ) 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } ;; #(
  *) :

     as_fn_append WARN_SCANNERFLAGS "              --warn-all                                                             "
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
  (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
     ;;
esac

else case e in #(
  e)
  WARN_SCANNERFLAGS=             --warn-all
  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
  (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
   ;;
esac
fi


fi
    if test "$ax_enable_compile_warnings" = "error"
then :

        # "error" flags

if test ${WARN_SCANNERFLAGS+y}
then :

  case " $WARN_SCANNERFLAGS " in #(
  *"              --warn-error          "*) :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS already contains              --warn-error         "; } >&5
  (: WARN_SCANNERFLAGS already contains              --warn-error         ) 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; } ;; #(
  *) :

     as_fn_append WARN_SCANNERFLAGS "              --warn-error         "
     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
  (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
     ;;
esac

else case e in #(
  e)
  WARN_SCANNERFLAGS=             --warn-error
  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : WARN_SCANNERFLAGS=\"\$WARN_SCANNERFLAGS\""; } >&5
  (: WARN_SCANNERFLAGS="$WARN_SCANNERFLAGS") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
   ;;
esac
fi


fi

    # Substitute the variables




# Debugging code
# Check whether --enable-debug was given.
if test ${enable_debug+y}
then :
  enableval=$enable_debug;
fi

if ! test "x$enable_debug" = xyes
then :


printf "%s\n" "#define NDEBUG 1" >>confdefs.h


fi

# GCC function attributes



    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __attribute__((format))" >&5
printf %s "checking for __attribute__((format))... " >&6; }
if test ${ax_cv_have_func_attribute_format+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */


                    int foo(const char *p, ...) __attribute__((format(printf, 1, 2)));

int
main (void)
{

  ;
  return 0;
}

_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
                                      if grep -- -Wattributes conftest.err
then :
  ax_cv_have_func_attribute_format=no
else case e in #(
  e) ax_cv_have_func_attribute_format=yes ;;
esac
fi
else case e in #(
  e) ax_cv_have_func_attribute_format=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
     ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have_func_attribute_format" >&5
printf "%s\n" "$ax_cv_have_func_attribute_format" >&6; }

    if test yes = $ax_cv_have_func_attribute_format
then :

printf "%s\n" "#define HAVE_FUNC_ATTRIBUTE_FORMAT 1" >>confdefs.h

fi




# Built-in functions



    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_clzll" >&5
printf %s "checking for __builtin_clzll... " >&6; }
if test ${ax_cv_have___builtin_clzll+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{

            __builtin_clzll(0)

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  ax_cv_have___builtin_clzll=yes
else case e in #(
  e) ax_cv_have___builtin_clzll=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
     ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have___builtin_clzll" >&5
printf "%s\n" "$ax_cv_have___builtin_clzll" >&6; }

    if test yes = $ax_cv_have___builtin_clzll
then :

printf "%s\n" "#define HAVE___BUILTIN_CLZLL 1" >>confdefs.h

fi




if test "x$ax_cv_have___builtin_clzll" = xno
then :

    as_fn_error $? "Support for __builtin_clzll is required" "$LINENO" 5

fi


# Checks for other programs.


# Checks for libraries.

# Checks for header files.
       for ac_header in arpa/inet.h fcntl.h limits.h locale.h netdb.h netinet/in.h stdlib.h sys/ioctl.h sys/socket.h sys/time.h unistd.h
do :
  as_ac_Header=`printf "%s\n" "ac_cv_header_$ac_header" | sed "$as_sed_sh"`
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
if eval test \"x\$"$as_ac_Header"\" = x"yes"
then :
  cat >>confdefs.h <<_ACEOF
#define `printf "%s\n" "HAVE_$ac_header" | sed "$as_sed_cpp"` 1
_ACEOF

else case e in #(
  e)
    as_fn_error $? "$ac_header is required." "$LINENO" 5
 ;;
esac
fi

done

# Checks for typedefs, structures, and compiler characteristics.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
printf %s "checking for inline... " >&6; }
if test ${ac_cv_c_inline+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#ifndef __cplusplus
typedef int foo_t;
static $ac_kw foo_t static_foo (void) {return 0; }
$ac_kw foo_t foo (void) {return 0; }
#endif

_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_c_inline=$ac_kw
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
  test "$ac_cv_c_inline" != no && break
done
 ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
printf "%s\n" "$ac_cv_c_inline" >&6; }

case $ac_cv_c_inline in
  inline | yes) ;;
  *)
    case $ac_cv_c_inline in
      no) ac_val=;;
      *) ac_val=$ac_cv_c_inline;;
    esac
    cat >>confdefs.h <<_ACEOF
#ifndef __cplusplus
#define inline $ac_val
#endif
_ACEOF
    ;;
esac


# Ensure optional C99 integer types we need
ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
case $ac_cv_c_int8_t in #(
  no|yes) ;; #(
  *)

printf "%s\n" "#define int8_t $ac_cv_c_int8_t" >>confdefs.h
;;
esac

ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
case $ac_cv_c_uint8_t in #(
  no|yes) ;; #(
  *)

printf "%s\n" "#define _UINT8_T 1" >>confdefs.h


printf "%s\n" "#define uint8_t $ac_cv_c_uint8_t" >>confdefs.h
;;
  esac

ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
case $ac_cv_c_int16_t in #(
  no|yes) ;; #(
  *)

printf "%s\n" "#define int16_t $ac_cv_c_int16_t" >>confdefs.h
;;
esac

ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
case $ac_cv_c_uint16_t in #(
  no|yes) ;; #(
  *)


printf "%s\n" "#define uint16_t $ac_cv_c_uint16_t" >>confdefs.h
;;
  esac

ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
case $ac_cv_c_int32_t in #(
  no|yes) ;; #(
  *)

printf "%s\n" "#define int32_t $ac_cv_c_int32_t" >>confdefs.h
;;
esac

ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
case $ac_cv_c_uint32_t in #(
  no|yes) ;; #(
  *)

printf "%s\n" "#define _UINT32_T 1" >>confdefs.h


printf "%s\n" "#define uint32_t $ac_cv_c_uint32_t" >>confdefs.h
;;
  esac

ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
case $ac_cv_c_int64_t in #(
  no|yes) ;; #(
  *)

printf "%s\n" "#define int64_t $ac_cv_c_int64_t" >>confdefs.h
;;
esac

ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
case $ac_cv_c_uint64_t in #(
  no|yes) ;; #(
  *)

printf "%s\n" "#define _UINT64_T 1" >>confdefs.h


printf "%s\n" "#define uint64_t $ac_cv_c_uint64_t" >>confdefs.h
;;
  esac


# POSIX types
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
if test "x$ac_cv_type_size_t" = xyes
then :

else case e in #(
  e)
printf "%s\n" "#define size_t unsigned int" >>confdefs.h
 ;;
esac
fi

ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
if test "x$ac_cv_type_ssize_t" = xyes
then :

else case e in #(
  e)
printf "%s\n" "#define ssize_t int" >>confdefs.h
 ;;
esac
fi

ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
if test "x$ac_cv_type_mode_t" = xyes
then :

else case e in #(
  e)
printf "%s\n" "#define mode_t int" >>confdefs.h
 ;;
esac
fi

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
printf %s "checking return type of signal handlers... " >&6; }
if test ${ac_cv_type_signal+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
#include 

int
main (void)
{
return *(signal (0, 0)) (0) == 1;
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  ac_cv_type_signal=int
else case e in #(
  e) ac_cv_type_signal=void ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
printf "%s\n" "$ac_cv_type_signal" >&6; }

printf "%s\n" "#define RETSIGTYPE $ac_cv_type_signal" >>confdefs.h



# Custom type checks and replacements


  ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default
"
if test "x$ac_cv_type_off_t" = xyes
then :

    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for off_t compatibility" >&5
printf %s "checking for off_t compatibility... " >&6; }
if test ${axel_cv_type_compat_off_t+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$ac_includes_default
int
main (void)
{
switch(0) case 0: case (sizeof(off_t) >= sizeof(int64_t)):;
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  axel_cv_type_compat_off_t=yes
else case e in #(
  e) axel_cv_type_compat_off_t=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
     ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $axel_cv_type_compat_off_t" >&5
printf "%s\n" "$axel_cv_type_compat_off_t" >&6; }
    if test "x$axel_cv_type_compat_off_t" = xno
then :
  as_fn_error $? "The off_t type is not fit (sizeof(off_t) >= sizeof(int64_t))." "$LINENO" 5
fi

printf "%s\n" "#define HAVE_OFF_T 1" >>confdefs.h


fi







# OS-specific issues
case "$host_os" in #(
  darwin*) :



  ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "$ac_includes_default
"
if test "x$ac_cv_type_intmax_t" = xyes
then :

    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for intmax_t compatibility" >&5
printf %s "checking for intmax_t compatibility... " >&6; }
if test ${axel_cv_type_compat_intmax_t+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
$ac_includes_default
int
main (void)
{
switch(0) case 0: case (sizeof(intmax_t) >= sizeof(int64_t)):;
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  axel_cv_type_compat_intmax_t=yes
else case e in #(
  e) axel_cv_type_compat_intmax_t=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
     ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $axel_cv_type_compat_intmax_t" >&5
printf "%s\n" "$axel_cv_type_compat_intmax_t" >&6; }
    if test "x$axel_cv_type_compat_intmax_t" = xno
then :
  as_fn_error $? "The intmax_t type is not fit (sizeof(intmax_t) >= sizeof(int64_t))." "$LINENO" 5
fi

printf "%s\n" "#define HAVE_INTMAX_T 1" >>confdefs.h


fi


   ;; #(
  *) :
     ;;
esac

# Checks for library functions.

  for ac_func in getaddrinfo gettimeofday inet_ntoa malloc memset nanosleep realloc select setlocale socket strcasecmp strchr strerror strncasecmp strpbrk strrchr strstr strtoul strtoll
do :
  as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | sed "$as_sed_sh"`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
if eval test \"x\$"$as_ac_var"\" = x"yes"
then :
  cat >>confdefs.h <<_ACEOF
#define `printf "%s\n" "HAVE_$ac_func" | sed "$as_sed_cpp"` 1
_ACEOF

else case e in #(
  e)
    as_fn_error $? "$ac_func is required; it should be part of libc." "$LINENO" 5
 ;;
esac
fi

done

ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
if test "x$ac_cv_func_strlcpy" = xyes
then :
  printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h

else case e in #(
  e) case " $LIBOBJS " in
  *" strlcpy.$ac_objext "* ) ;;
  *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext"
 ;;
esac
 ;;
esac
fi
ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
if test "x$ac_cv_func_strlcat" = xyes
then :
  printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h

else case e in #(
  e) case " $LIBOBJS " in
  *" strlcat.$ac_objext "* ) ;;
  *) LIBOBJS="$LIBOBJS strlcat.$ac_objext"
 ;;
esac
 ;;
esac
fi


# Check for missing features/flags


{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for O_NONBLOCK" >&5
printf %s "checking for O_NONBLOCK... " >&6; }
if test ${axel_cv_macro_O_NONBLOCK+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
int
main (void)
{
(void)O_NONBLOCK;
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  axel_cv_macro_O_NONBLOCK=yes
else case e in #(
  e) axel_cv_macro_O_NONBLOCK=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $axel_cv_macro_O_NONBLOCK" >&5
printf "%s\n" "$axel_cv_macro_O_NONBLOCK" >&6; }
if test "x$axel_cv_macro_O_NONBLOCK" = "xyes"
then :

else case e in #(
  e)
    as_fn_error $? "The O_NONBLOCK macro is required; it should be defined by fcntl.h." "$LINENO" 5
   ;;
esac
fi


# Optional (but included-by-default) ssl support
 if test "x$with_ssl" != xno; then
  WITH_SSL_TRUE=
  WITH_SSL_FALSE='#'
else
  WITH_SSL_TRUE='#'
  WITH_SSL_FALSE=
fi


{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
if test ${ac_cv_c_undeclared_builtin_options+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ac_save_CFLAGS=$CFLAGS
   ac_cv_c_undeclared_builtin_options='cannot detect'
   for ac_arg in '' -fno-builtin; do
     CFLAGS="$ac_save_CFLAGS $ac_arg"
     # This test program should *not* compile successfully.
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

int
main (void)
{
(void) strchr;
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :

else case e in #(
  e) # This test program should compile successfully.
        # No library function is consistently available on
        # freestanding implementations, so test against a dummy
        # declaration.  Include always-available headers on the
        # off chance that they somehow elicit warnings.
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
#include 
#include 
#include 
extern void ac_decl (int, char *);

int
main (void)
{
(void) ac_decl (0, (char *) 0);
  (void) ac_decl;

  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
  if test x"$ac_arg" = x
then :
  ac_cv_c_undeclared_builtin_options='none needed'
else case e in #(
  e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
esac
fi
          break
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
    done
    CFLAGS=$ac_save_CFLAGS
   ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
  case $ac_cv_c_undeclared_builtin_options in #(
  'cannot detect') :
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "cannot make $CC report undeclared builtins
See 'config.log' for more details" "$LINENO" 5; } ;; #(
  'none needed') :
    ac_c_undeclared_builtin_options='' ;; #(
  *) :
    ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
esac

if test "x$with_ssl" != xno
then :

    save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    if test ${SSL_PREFIX+y}
then :

	PKG_CONFIG_PATH="$SSL_PREFIX/lib/pkgconfig$PATH_SEPARATOR$PKG_CONFIG_PATH"

fi

pkg_failed=no
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $with_ssl" >&5
printf %s "checking for $with_ssl... " >&6; }

if test -n "$SSL_CFLAGS"; then
    pkg_cv_SSL_CFLAGS="$SSL_CFLAGS"
 elif test -n "$PKG_CONFIG"; then
    if test -n "$PKG_CONFIG" && \
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$with_ssl\""; } >&5
  ($PKG_CONFIG --exists --print-errors "$with_ssl") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }; then
  pkg_cv_SSL_CFLAGS=`$PKG_CONFIG --cflags "$with_ssl" 2>/dev/null`
		      test "x$?" != "x0" && pkg_failed=yes
else
  pkg_failed=yes
fi
 else
    pkg_failed=untried
fi
if test -n "$SSL_LIBS"; then
    pkg_cv_SSL_LIBS="$SSL_LIBS"
 elif test -n "$PKG_CONFIG"; then
    if test -n "$PKG_CONFIG" && \
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$with_ssl\""; } >&5
  ($PKG_CONFIG --exists --print-errors "$with_ssl") 2>&5
  ac_status=$?
  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }; then
  pkg_cv_SSL_LIBS=`$PKG_CONFIG --libs "$with_ssl" 2>/dev/null`
		      test "x$?" != "x0" && pkg_failed=yes
else
  pkg_failed=yes
fi
 else
    pkg_failed=untried
fi



if test $pkg_failed = yes; then
        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }

if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
        _pkg_short_errors_supported=yes
else
        _pkg_short_errors_supported=no
fi
        if test $_pkg_short_errors_supported = yes; then
	        SSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$with_ssl" 2>&1`
        else
	        SSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$with_ssl" 2>&1`
        fi
	# Put the nasty error message in config.log where it belongs
	echo "$SSL_PKG_ERRORS" >&5

	as_fn_error $? "Package requirements ($with_ssl) were not met:

$SSL_PKG_ERRORS

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables SSL_CFLAGS
and SSL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details." "$LINENO" 5
elif test $pkg_failed = untried; then
        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables SSL_CFLAGS
and SSL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see .
See 'config.log' for more details" "$LINENO" 5; }
else
	SSL_CFLAGS=$pkg_cv_SSL_CFLAGS
	SSL_LIBS=$pkg_cv_SSL_LIBS
        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }

fi

printf "%s\n" "#define HAVE_SSL 1" >>confdefs.h

    case "$with_ssl" in #(
  openssl|yes) :

	    save_LIBS="$LIBS"
	    LIBS="$LIBS $SSL_LIBS"
	    ac_fn_c_check_func "$LINENO" "ASN1_STRING_get0_data" "ac_cv_func_ASN1_STRING_get0_data"
if test "x$ac_cv_func_ASN1_STRING_get0_data" = xyes
then :
  printf "%s\n" "#define HAVE_ASN1_STRING_GET0_DATA 1" >>confdefs.h

else case e in #(
  e) case " $LIBOBJS " in
  *" ASN1_STRING_get0_data.$ac_objext "* ) ;;
  *) LIBOBJS="$LIBOBJS ASN1_STRING_get0_data.$ac_objext"
 ;;
esac
 ;;
esac
fi

	    LIBS="$save_LIBS"
	 ;; #(
  wolfssl) :

	    ac_fn_check_decl "$LINENO" "X509_NAME_get_entry" "ac_cv_have_decl_X509_NAME_get_entry" "
	        #include 
		#include 
		#include 

" "$ac_c_undeclared_builtin_options" "CFLAGS"
if test "x$ac_cv_have_decl_X509_NAME_get_entry" = xyes
then :
  ac_have_decl=1
else case e in #(
  e) ac_have_decl=0 ;;
esac
fi
printf "%s\n" "#define HAVE_DECL_X509_NAME_GET_ENTRY $ac_have_decl" >>confdefs.h
if test $ac_have_decl = 1
then :

else case e in #(
  e)
	        as_fn_error $? "wolfSSL with extra OpenSSL API compatibility required" "$LINENO" 5
	     ;;
esac
fi
ac_fn_check_decl "$LINENO" "X509_get_ext_d2i" "ac_cv_have_decl_X509_get_ext_d2i" "
	        #include 
		#include 
		#include 

" "$ac_c_undeclared_builtin_options" "CFLAGS"
if test "x$ac_cv_have_decl_X509_get_ext_d2i" = xyes
then :
  ac_have_decl=1
else case e in #(
  e) ac_have_decl=0 ;;
esac
fi
printf "%s\n" "#define HAVE_DECL_X509_GET_EXT_D2I $ac_have_decl" >>confdefs.h
if test $ac_have_decl = 1
then :

else case e in #(
  e)
	        as_fn_error $? "wolfSSL with extra OpenSSL API compatibility required" "$LINENO" 5
	     ;;
esac
fi
ac_fn_check_decl "$LINENO" "X509_V_OK
	    " "ac_cv_have_decl_X509_V_OK______" "
	        #include 
		#include 
		#include 

" "$ac_c_undeclared_builtin_options" "CFLAGS"
if test "x$ac_cv_have_decl_X509_V_OK______" = xyes
then :
  ac_have_decl=1
else case e in #(
  e) ac_have_decl=0 ;;
esac
fi
printf "%s\n" "#define HAVE_DECL_X509_V_OK______ $ac_have_decl" >>confdefs.h
if test $ac_have_decl = 1
then :

else case e in #(
  e)
	        as_fn_error $? "wolfSSL with extra OpenSSL API compatibility required" "$LINENO" 5
	     ;;
esac
fi


printf "%s\n" "#define HAVE_WOLFSSL 1" >>confdefs.h

	 ;; #(
  *) :
     ;;
esac
    PKG_CONFIG_PATH="$save_PKG_CONFIG_PATH"

else case e in #(
  e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: TLS/SSL support disabled" >&5
printf "%s\n" "$as_me: TLS/SSL support disabled" >&6;} ;;
esac
fi

# Add Gettext




        # Extract the first word of "msgfmt", so it can be a program name with args.
set dummy msgfmt; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_MSGFMT+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) case "$MSGFMT" in
  /*)
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
  ;;
  *)
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
	break
      fi
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
  ;;
esac ;;
esac
fi
MSGFMT="$ac_cv_path_MSGFMT"
if test "$MSGFMT" != ":"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
printf "%s\n" "$MSGFMT" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi

  # Extract the first word of "gmsgfmt", so it can be a program name with args.
set dummy gmsgfmt; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_GMSGFMT+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) case $GMSGFMT in
  [\\/]* | ?:[\\/]*)
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
  ;;
esac ;;
esac
fi
GMSGFMT=$ac_cv_path_GMSGFMT
if test -n "$GMSGFMT"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
printf "%s\n" "$GMSGFMT" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi



        # Extract the first word of "xgettext", so it can be a program name with args.
set dummy xgettext; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_XGETTEXT+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) case "$XGETTEXT" in
  /*)
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
  ;;
  *)
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
     (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
	break
      fi
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
  ;;
esac ;;
esac
fi
XGETTEXT="$ac_cv_path_XGETTEXT"
if test "$XGETTEXT" != ":"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
printf "%s\n" "$XGETTEXT" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi

    rm -f messages.po

    # Extract the first word of "msgmerge", so it can be a program name with args.
set dummy msgmerge; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_path_MSGMERGE+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) case "$MSGMERGE" in
  /*)
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
  ;;
  *)
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
	ac_cv_path_MSGMERGE="$ac_dir/$ac_word"
	break
      fi
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
  ;;
esac ;;
esac
fi
MSGMERGE="$ac_cv_path_MSGMERGE"
if test "$MSGMERGE" != ":"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
printf "%s\n" "$MSGMERGE" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


      if test "$GMSGFMT" != ":"; then
            if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
       (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
      : ;
    else
      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
printf "%s\n" "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
      GMSGFMT=":"
    fi
  fi

      if test "$XGETTEXT" != ":"; then
            if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
       (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
      : ;
    else
      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
printf "%s\n" "found xgettext program is not GNU xgettext; ignore it" >&6; }
      XGETTEXT=":"
    fi
        rm -f messages.po
  fi

  ac_config_commands="$ac_config_commands default-1"



      if test "X$prefix" = "XNONE"; then
    acl_final_prefix="$ac_default_prefix"
  else
    acl_final_prefix="$prefix"
  fi
  if test "X$exec_prefix" = "XNONE"; then
    acl_final_exec_prefix='${prefix}'
  else
    acl_final_exec_prefix="$exec_prefix"
  fi
  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
  prefix="$acl_save_prefix"


# Check whether --with-gnu-ld was given.
if test ${with_gnu_ld+y}
then :
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
else case e in #(
  e) with_gnu_ld=no ;;
esac
fi

ac_prog=ld
if test "$GCC" = yes; then
  # Check if gcc -print-prog-name=ld gives a path.
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
printf %s "checking for ld used by GCC... " >&6; }
  case $host in
  *-*-mingw*)
    # gcc leaves a trailing carriage return which upsets mingw
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  *)
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  esac
  case $ac_prog in
    # Accept absolute paths.
    [\\/]* | [A-Za-z]:[\\/]*)
      re_direlt='/[^/][^/]*/\.\./'
      # Canonicalize the path of ld
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
      done
      test -z "$LD" && LD="$ac_prog"
      ;;
  "")
    # If it fails, then pretend we aren't using GCC.
    ac_prog=ld
    ;;
  *)
    # If it is relative, then search for the first ld in PATH.
    with_gnu_ld=unknown
    ;;
  esac
elif test "$with_gnu_ld" = yes; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
printf %s "checking for GNU ld... " >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
printf %s "checking for non-GNU ld... " >&6; }
fi
if test ${acl_cv_path_LD+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -z "$LD"; then
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
      acl_cv_path_LD="$ac_dir/$ac_prog"
      # Check to see if the program is GNU ld.  I'd rather use --version,
      # but apparently some GNU ld's only accept -v.
      # Break only if it was the GNU/non-GNU ld that we prefer.
      if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
	test "$with_gnu_ld" != no && break
      else
	test "$with_gnu_ld" != yes && break
      fi
    fi
  done
  IFS="$ac_save_ifs"
else
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
fi ;;
esac
fi

LD="$acl_cv_path_LD"
if test -n "$LD"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
printf "%s\n" "$LD" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
if test ${acl_cv_prog_gnu_ld+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) # I'd rather use --version here, but apparently some GNU ld's only accept -v.
if $LD -v 2>&1 &5; then
  acl_cv_prog_gnu_ld=yes
else
  acl_cv_prog_gnu_ld=no
fi ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; }
with_gnu_ld=$acl_cv_prog_gnu_ld



                                                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
printf %s "checking for shared library run path origin... " >&6; }
if test ${acl_cv_rpath+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
    . ./conftest.sh
    rm -f ./conftest.sh
    acl_cv_rpath=done
   ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
printf "%s\n" "$acl_cv_rpath" >&6; }
  wl="$acl_cv_wl"
  libext="$acl_cv_libext"
  shlibext="$acl_cv_shlibext"
  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
  hardcode_direct="$acl_cv_hardcode_direct"
  hardcode_minus_L="$acl_cv_hardcode_minus_L"
  sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
  sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"












  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
printf %s "checking whether NLS is requested... " >&6; }
    # Check whether --enable-nls was given.
if test ${enable_nls+y}
then :
  enableval=$enable_nls; USE_NLS=$enableval
else case e in #(
  e) USE_NLS=yes ;;
esac
fi

  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
printf "%s\n" "$USE_NLS" >&6; }



  LIBINTL=
  LTLIBINTL=
  POSUB=

    if test "$USE_NLS" = "yes"; then
    gt_use_preinstalled_gnugettext=no






        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
printf %s "checking for GNU gettext in libc... " >&6; }
if test ${gt_cv_func_gnugettext1_libc+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
extern int _nl_msg_cat_cntr;
extern int *_nl_domain_bindings;
int
main (void)
{
bindtextdomain ("", "");
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  gt_cv_func_gnugettext1_libc=yes
else case e in #(
  e) gt_cv_func_gnugettext1_libc=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
printf "%s\n" "$gt_cv_func_gnugettext1_libc" >&6; }

        if test "$gt_cv_func_gnugettext1_libc" != "yes"; then








    use_additional=yes

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"

    eval additional_includedir=\"$includedir\"
    eval additional_libdir=\"$libdir\"

  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"


# Check whether --with-libiconv-prefix was given.
if test ${with_libiconv_prefix+y}
then :
  withval=$with_libiconv_prefix;
    if test "X$withval" = "Xno"; then
      use_additional=no
    else
      if test "X$withval" = "X"; then

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"

          eval additional_includedir=\"$includedir\"
          eval additional_libdir=\"$libdir\"

  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

      else
        additional_includedir="$withval/include"
        additional_libdir="$withval/lib"
      fi
    fi

fi

      LIBICONV=
  LTLIBICONV=
  INCICONV=
  rpathdirs=
  ltrpathdirs=
  names_already_handled=
  names_next_round='iconv '
  while test -n "$names_next_round"; do
    names_this_round="$names_next_round"
    names_next_round=
    for name in $names_this_round; do
      already_handled=
      for n in $names_already_handled; do
        if test "$n" = "$name"; then
          already_handled=yes
          break
        fi
      done
      if test -z "$already_handled"; then
        names_already_handled="$names_already_handled $name"
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
        eval value=\"\$HAVE_LIB$uppername\"
        if test -n "$value"; then
          if test "$value" = yes; then
            eval value=\"\$LIB$uppername\"
            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
            eval value=\"\$LTLIB$uppername\"
            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
          else
                                    :
          fi
        else
                              found_dir=
          found_la=
          found_so=
          found_a=
          if test $use_additional = yes; then
            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
              found_dir="$additional_libdir"
              found_so="$additional_libdir/lib$name.$shlibext"
              if test -f "$additional_libdir/lib$name.la"; then
                found_la="$additional_libdir/lib$name.la"
              fi
            else
              if test -f "$additional_libdir/lib$name.$libext"; then
                found_dir="$additional_libdir"
                found_a="$additional_libdir/lib$name.$libext"
                if test -f "$additional_libdir/lib$name.la"; then
                  found_la="$additional_libdir/lib$name.la"
                fi
              fi
            fi
          fi
          if test "X$found_dir" = "X"; then
            for x in $LDFLAGS $LTLIBICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

              case "$x" in
                -L*)
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
                    found_dir="$dir"
                    found_so="$dir/lib$name.$shlibext"
                    if test -f "$dir/lib$name.la"; then
                      found_la="$dir/lib$name.la"
                    fi
                  else
                    if test -f "$dir/lib$name.$libext"; then
                      found_dir="$dir"
                      found_a="$dir/lib$name.$libext"
                      if test -f "$dir/lib$name.la"; then
                        found_la="$dir/lib$name.la"
                      fi
                    fi
                  fi
                  ;;
              esac
              if test "X$found_dir" != "X"; then
                break
              fi
            done
          fi
          if test "X$found_dir" != "X"; then
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
            if test "X$found_so" != "X"; then
                                                        if test "X$found_dir" = "X/usr/lib"; then
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
              else
                                                                                haveit=
                for x in $ltrpathdirs; do
                  if test "X$x" = "X$found_dir"; then
                    haveit=yes
                    break
                  fi
                done
                if test -z "$haveit"; then
                  ltrpathdirs="$ltrpathdirs $found_dir"
                fi
                                if test "$hardcode_direct" = yes; then
                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
                else
                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
                                                            haveit=
                    for x in $rpathdirs; do
                      if test "X$x" = "X$found_dir"; then
                        haveit=yes
                        break
                      fi
                    done
                    if test -z "$haveit"; then
                      rpathdirs="$rpathdirs $found_dir"
                    fi
                  else
                                                                                haveit=
                    for x in $LDFLAGS $LIBICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                      if test "X$x" = "X-L$found_dir"; then
                        haveit=yes
                        break
                      fi
                    done
                    if test -z "$haveit"; then
                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
                    fi
                    if test "$hardcode_minus_L" != no; then
                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
                    else
                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
                    fi
                  fi
                fi
              fi
            else
              if test "X$found_a" != "X"; then
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
              else
                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
              fi
            fi
                        additional_includedir=
            case "$found_dir" in
              */lib | */lib/)
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
                additional_includedir="$basedir/include"
                ;;
            esac
            if test "X$additional_includedir" != "X"; then
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
                haveit=
                if test "X$additional_includedir" = "X/usr/local/include"; then
                  if test -n "$GCC"; then
                    case $host_os in
                      linux*) haveit=yes;;
                    esac
                  fi
                fi
                if test -z "$haveit"; then
                  for x in $CPPFLAGS $INCICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                    if test "X$x" = "X-I$additional_includedir"; then
                      haveit=yes
                      break
                    fi
                  done
                  if test -z "$haveit"; then
                    if test -d "$additional_includedir"; then
                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
                    fi
                  fi
                fi
              fi
            fi
                        if test -n "$found_la"; then
                                                        save_libdir="$libdir"
              case "$found_la" in
                */* | *\\*) . "$found_la" ;;
                *) . "./$found_la" ;;
              esac
              libdir="$save_libdir"
                            for dep in $dependency_libs; do
                case "$dep" in
                  -L*)
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
                      haveit=
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
                        if test -n "$GCC"; then
                          case $host_os in
                            linux*) haveit=yes;;
                          esac
                        fi
                      fi
                      if test -z "$haveit"; then
                        haveit=
                        for x in $LDFLAGS $LIBICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                          if test "X$x" = "X-L$additional_libdir"; then
                            haveit=yes
                            break
                          fi
                        done
                        if test -z "$haveit"; then
                          if test -d "$additional_libdir"; then
                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
                          fi
                        fi
                        haveit=
                        for x in $LDFLAGS $LTLIBICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                          if test "X$x" = "X-L$additional_libdir"; then
                            haveit=yes
                            break
                          fi
                        done
                        if test -z "$haveit"; then
                          if test -d "$additional_libdir"; then
                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
                          fi
                        fi
                      fi
                    fi
                    ;;
                  -l*)
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
                    ;;
                  *.la)
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
                    ;;
                  *)
                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
                    ;;
                esac
              done
            fi
          else
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
          fi
        fi
      fi
    done
  done
  if test "X$rpathdirs" != "X"; then
    if test -n "$hardcode_libdir_separator"; then
                        alldirs=
      for found_dir in $rpathdirs; do
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
      done
            acl_save_libdir="$libdir"
      libdir="$alldirs"
      eval flag=\"$hardcode_libdir_flag_spec\"
      libdir="$acl_save_libdir"
      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
    else
            for found_dir in $rpathdirs; do
        acl_save_libdir="$libdir"
        libdir="$found_dir"
        eval flag=\"$hardcode_libdir_flag_spec\"
        libdir="$acl_save_libdir"
        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
      done
    fi
  fi
  if test "X$ltrpathdirs" != "X"; then
            for found_dir in $ltrpathdirs; do
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
    done
  fi


          am_save_CPPFLAGS="$CPPFLAGS"

  for element in $INCICONV; do
    haveit=
    for x in $CPPFLAGS; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

      if test "X$x" = "X$element"; then
        haveit=yes
        break
      fi
    done
    if test -z "$haveit"; then
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
    fi
  done


  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
printf %s "checking for iconv... " >&6; }
if test ${am_cv_func_iconv+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)
    am_cv_func_iconv="no, consider installing GNU libiconv"
    am_cv_lib_iconv=no
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
#include 
int
main (void)
{
iconv_t cd = iconv_open("","");
       iconv(cd,NULL,NULL,NULL,NULL);
       iconv_close(cd);
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  am_cv_func_iconv=yes
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
    if test "$am_cv_func_iconv" != yes; then
      am_save_LIBS="$LIBS"
      LIBS="$LIBS $LIBICONV"
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
#include 
int
main (void)
{
iconv_t cd = iconv_open("","");
         iconv(cd,NULL,NULL,NULL,NULL);
         iconv_close(cd);
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  am_cv_lib_iconv=yes
        am_cv_func_iconv=yes
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
      LIBS="$am_save_LIBS"
    fi
   ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
printf "%s\n" "$am_cv_func_iconv" >&6; }
  if test "$am_cv_func_iconv" = yes; then

printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h

  fi
  if test "$am_cv_lib_iconv" = yes; then
    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
printf %s "checking how to link with libiconv... " >&6; }
    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
printf "%s\n" "$LIBICONV" >&6; }
  else
            CPPFLAGS="$am_save_CPPFLAGS"
    LIBICONV=
    LTLIBICONV=
  fi






    use_additional=yes

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"

    eval additional_includedir=\"$includedir\"
    eval additional_libdir=\"$libdir\"

  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"


# Check whether --with-libintl-prefix was given.
if test ${with_libintl_prefix+y}
then :
  withval=$with_libintl_prefix;
    if test "X$withval" = "Xno"; then
      use_additional=no
    else
      if test "X$withval" = "X"; then

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"

          eval additional_includedir=\"$includedir\"
          eval additional_libdir=\"$libdir\"

  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

      else
        additional_includedir="$withval/include"
        additional_libdir="$withval/lib"
      fi
    fi

fi

      LIBINTL=
  LTLIBINTL=
  INCINTL=
  rpathdirs=
  ltrpathdirs=
  names_already_handled=
  names_next_round='intl '
  while test -n "$names_next_round"; do
    names_this_round="$names_next_round"
    names_next_round=
    for name in $names_this_round; do
      already_handled=
      for n in $names_already_handled; do
        if test "$n" = "$name"; then
          already_handled=yes
          break
        fi
      done
      if test -z "$already_handled"; then
        names_already_handled="$names_already_handled $name"
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
        eval value=\"\$HAVE_LIB$uppername\"
        if test -n "$value"; then
          if test "$value" = yes; then
            eval value=\"\$LIB$uppername\"
            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
            eval value=\"\$LTLIB$uppername\"
            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
          else
                                    :
          fi
        else
                              found_dir=
          found_la=
          found_so=
          found_a=
          if test $use_additional = yes; then
            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
              found_dir="$additional_libdir"
              found_so="$additional_libdir/lib$name.$shlibext"
              if test -f "$additional_libdir/lib$name.la"; then
                found_la="$additional_libdir/lib$name.la"
              fi
            else
              if test -f "$additional_libdir/lib$name.$libext"; then
                found_dir="$additional_libdir"
                found_a="$additional_libdir/lib$name.$libext"
                if test -f "$additional_libdir/lib$name.la"; then
                  found_la="$additional_libdir/lib$name.la"
                fi
              fi
            fi
          fi
          if test "X$found_dir" = "X"; then
            for x in $LDFLAGS $LTLIBINTL; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

              case "$x" in
                -L*)
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
                    found_dir="$dir"
                    found_so="$dir/lib$name.$shlibext"
                    if test -f "$dir/lib$name.la"; then
                      found_la="$dir/lib$name.la"
                    fi
                  else
                    if test -f "$dir/lib$name.$libext"; then
                      found_dir="$dir"
                      found_a="$dir/lib$name.$libext"
                      if test -f "$dir/lib$name.la"; then
                        found_la="$dir/lib$name.la"
                      fi
                    fi
                  fi
                  ;;
              esac
              if test "X$found_dir" != "X"; then
                break
              fi
            done
          fi
          if test "X$found_dir" != "X"; then
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
            if test "X$found_so" != "X"; then
                                                        if test "X$found_dir" = "X/usr/lib"; then
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
              else
                                                                                haveit=
                for x in $ltrpathdirs; do
                  if test "X$x" = "X$found_dir"; then
                    haveit=yes
                    break
                  fi
                done
                if test -z "$haveit"; then
                  ltrpathdirs="$ltrpathdirs $found_dir"
                fi
                                if test "$hardcode_direct" = yes; then
                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
                else
                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
                                                            haveit=
                    for x in $rpathdirs; do
                      if test "X$x" = "X$found_dir"; then
                        haveit=yes
                        break
                      fi
                    done
                    if test -z "$haveit"; then
                      rpathdirs="$rpathdirs $found_dir"
                    fi
                  else
                                                                                haveit=
                    for x in $LDFLAGS $LIBINTL; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                      if test "X$x" = "X-L$found_dir"; then
                        haveit=yes
                        break
                      fi
                    done
                    if test -z "$haveit"; then
                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
                    fi
                    if test "$hardcode_minus_L" != no; then
                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
                    else
                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
                    fi
                  fi
                fi
              fi
            else
              if test "X$found_a" != "X"; then
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
              else
                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
              fi
            fi
                        additional_includedir=
            case "$found_dir" in
              */lib | */lib/)
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
                additional_includedir="$basedir/include"
                ;;
            esac
            if test "X$additional_includedir" != "X"; then
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
                haveit=
                if test "X$additional_includedir" = "X/usr/local/include"; then
                  if test -n "$GCC"; then
                    case $host_os in
                      linux*) haveit=yes;;
                    esac
                  fi
                fi
                if test -z "$haveit"; then
                  for x in $CPPFLAGS $INCINTL; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                    if test "X$x" = "X-I$additional_includedir"; then
                      haveit=yes
                      break
                    fi
                  done
                  if test -z "$haveit"; then
                    if test -d "$additional_includedir"; then
                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
                    fi
                  fi
                fi
              fi
            fi
                        if test -n "$found_la"; then
                                                        save_libdir="$libdir"
              case "$found_la" in
                */* | *\\*) . "$found_la" ;;
                *) . "./$found_la" ;;
              esac
              libdir="$save_libdir"
                            for dep in $dependency_libs; do
                case "$dep" in
                  -L*)
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
                      haveit=
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
                        if test -n "$GCC"; then
                          case $host_os in
                            linux*) haveit=yes;;
                          esac
                        fi
                      fi
                      if test -z "$haveit"; then
                        haveit=
                        for x in $LDFLAGS $LIBINTL; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                          if test "X$x" = "X-L$additional_libdir"; then
                            haveit=yes
                            break
                          fi
                        done
                        if test -z "$haveit"; then
                          if test -d "$additional_libdir"; then
                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
                          fi
                        fi
                        haveit=
                        for x in $LDFLAGS $LTLIBINTL; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                          if test "X$x" = "X-L$additional_libdir"; then
                            haveit=yes
                            break
                          fi
                        done
                        if test -z "$haveit"; then
                          if test -d "$additional_libdir"; then
                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
                          fi
                        fi
                      fi
                    fi
                    ;;
                  -l*)
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
                    ;;
                  *.la)
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
                    ;;
                  *)
                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
                    ;;
                esac
              done
            fi
          else
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
          fi
        fi
      fi
    done
  done
  if test "X$rpathdirs" != "X"; then
    if test -n "$hardcode_libdir_separator"; then
                        alldirs=
      for found_dir in $rpathdirs; do
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
      done
            acl_save_libdir="$libdir"
      libdir="$alldirs"
      eval flag=\"$hardcode_libdir_flag_spec\"
      libdir="$acl_save_libdir"
      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
    else
            for found_dir in $rpathdirs; do
        acl_save_libdir="$libdir"
        libdir="$found_dir"
        eval flag=\"$hardcode_libdir_flag_spec\"
        libdir="$acl_save_libdir"
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
      done
    fi
  fi
  if test "X$ltrpathdirs" != "X"; then
            for found_dir in $ltrpathdirs; do
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
    done
  fi

          { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
printf %s "checking for GNU gettext in libintl... " >&6; }
if test ${gt_cv_func_gnugettext1_libintl+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) gt_save_CPPFLAGS="$CPPFLAGS"
            CPPFLAGS="$CPPFLAGS $INCINTL"
            gt_save_LIBS="$LIBS"
            LIBS="$LIBS $LIBINTL"
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
extern int _nl_msg_cat_cntr;
extern int *_nl_domain_bindings;
extern
#ifdef __cplusplus
"C"
#endif
const char *_nl_expand_alias ();
int
main (void)
{
bindtextdomain ("", "");
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  gt_cv_func_gnugettext1_libintl=yes
else case e in #(
  e) gt_cv_func_gnugettext1_libintl=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
                        if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
              LIBS="$LIBS $LIBICONV"
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
extern int _nl_msg_cat_cntr;
extern int *_nl_domain_bindings;
extern
#ifdef __cplusplus
"C"
#endif
const char *_nl_expand_alias ();
int
main (void)
{
bindtextdomain ("", "");
return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  LIBINTL="$LIBINTL $LIBICONV"
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
                gt_cv_func_gnugettext1_libintl=yes

fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
            fi
            CPPFLAGS="$gt_save_CPPFLAGS"
            LIBS="$gt_save_LIBS" ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
printf "%s\n" "$gt_cv_func_gnugettext1_libintl" >&6; }
        fi

                                        if test "$gt_cv_func_gnugettext1_libc" = "yes" \
           || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
                && test "$PACKAGE" != gettext; }; then
          gt_use_preinstalled_gnugettext=yes
        else
                    LIBINTL=
          LTLIBINTL=
          INCINTL=
        fi



    if test "$gt_use_preinstalled_gnugettext" = "yes" \
       || test "$nls_cv_use_gnu_gettext" = "yes"; then

printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h

    else
      USE_NLS=no
    fi
  fi

  if test "$USE_NLS" = "yes"; then

    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
printf %s "checking how to link with libintl... " >&6; }
        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
printf "%s\n" "$LIBINTL" >&6; }

  for element in $INCINTL; do
    haveit=
    for x in $CPPFLAGS; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=\"$x\"
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

      if test "X$x" = "X$element"; then
        haveit=yes
        break
      fi
    done
    if test -z "$haveit"; then
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
    fi
  done

      fi


printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h


printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h

    fi

        POSUB=po
  fi



    INTLLIBS="$LIBINTL"








# POSIX threads
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
printf %s "checking how to run the C preprocessor... " >&6; }
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
  CPP=
fi
if test -z "$CPP"; then
  if test ${ac_cv_prog_CPP+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e)     # Double quotes because $CC needs to be expanded
    for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
    do
      ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
  # Use a header file that comes with gcc, so configuring glibc
  # with a fresh cross-compiler works.
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp. "Syntax error" is here to catch this case.
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
		     Syntax error
_ACEOF
if ac_fn_c_try_cpp "$LINENO"
then :

else case e in #(
  e) # Broken: fails on valid input.
continue ;;
esac
fi
rm -f conftest.err conftest.i conftest.$ac_ext

  # OK, works on sane cases.  Now check whether nonexistent headers
  # can be detected and how.
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
_ACEOF
if ac_fn_c_try_cpp "$LINENO"
then :
  # Broken: success on invalid input.
continue
else case e in #(
  e) # Passes both tests.
ac_preproc_ok=:
break ;;
esac
fi
rm -f conftest.err conftest.i conftest.$ac_ext

done
# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.i conftest.err conftest.$ac_ext
if $ac_preproc_ok
then :
  break
fi

    done
    ac_cv_prog_CPP=$CPP
   ;;
esac
fi
  CPP=$ac_cv_prog_CPP
else
  ac_cv_prog_CPP=$CPP
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
printf "%s\n" "$CPP" >&6; }
ac_preproc_ok=false
for ac_c_preproc_warn_flag in '' yes
do
  # Use a header file that comes with gcc, so configuring glibc
  # with a fresh cross-compiler works.
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp. "Syntax error" is here to catch this case.
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
		     Syntax error
_ACEOF
if ac_fn_c_try_cpp "$LINENO"
then :

else case e in #(
  e) # Broken: fails on valid input.
continue ;;
esac
fi
rm -f conftest.err conftest.i conftest.$ac_ext

  # OK, works on sane cases.  Now check whether nonexistent headers
  # can be detected and how.
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
_ACEOF
if ac_fn_c_try_cpp "$LINENO"
then :
  # Broken: success on invalid input.
continue
else case e in #(
  e) # Passes both tests.
ac_preproc_ok=:
break ;;
esac
fi
rm -f conftest.err conftest.i conftest.$ac_ext

done
# Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
rm -f conftest.i conftest.err conftest.$ac_ext
if $ac_preproc_ok
then :

else case e in #(
  e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
See 'config.log' for more details" "$LINENO" 5; } ;;
esac
fi

ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu


{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
printf %s "checking for egrep -e... " >&6; }
if test ${ac_cv_path_EGREP_TRADITIONAL+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -z "$EGREP_TRADITIONAL"; then
  ac_path_EGREP_TRADITIONAL_found=false
  # Loop through the user's path and test for each of PROGNAME-LIST
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_prog in grep ggrep
   do
    for ac_exec_ext in '' $ac_executable_extensions; do
      ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
      as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
# Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
  # Check for GNU $ac_path_EGREP_TRADITIONAL
case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
*GNU*)
  ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
#(
*)
  ac_count=0
  printf %s 0123456789 >"conftest.in"
  while :
  do
    cat "conftest.in" "conftest.in" >"conftest.tmp"
    mv "conftest.tmp" "conftest.in"
    cp "conftest.in" "conftest.nl"
    printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
    "$ac_path_EGREP_TRADITIONAL" -E 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    as_fn_arith $ac_count + 1 && ac_count=$as_val
    if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
      # Best one so far, save it but keep looking for a better one
      ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
      ac_path_EGREP_TRADITIONAL_max=$ac_count
    fi
    # 10*(2^10) chars as input seems more than enough
    test $ac_count -gt 10 && break
  done
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac

      $ac_path_EGREP_TRADITIONAL_found && break 3
    done
  done
  done
IFS=$as_save_IFS
  if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
    :
  fi
else
  ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
fi

    if test "$ac_cv_path_EGREP_TRADITIONAL"
then :
  ac_cv_path_EGREP_TRADITIONAL="$ac_cv_path_EGREP_TRADITIONAL -E"
else case e in #(
  e) if test -z "$EGREP_TRADITIONAL"; then
  ac_path_EGREP_TRADITIONAL_found=false
  # Loop through the user's path and test for each of PROGNAME-LIST
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_prog in egrep
   do
    for ac_exec_ext in '' $ac_executable_extensions; do
      ac_path_EGREP_TRADITIONAL="$as_dir$ac_prog$ac_exec_ext"
      as_fn_executable_p "$ac_path_EGREP_TRADITIONAL" || continue
# Check for GNU ac_path_EGREP_TRADITIONAL and select it if it is found.
  # Check for GNU $ac_path_EGREP_TRADITIONAL
case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in #(
*GNU*)
  ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL" ac_path_EGREP_TRADITIONAL_found=:;;
#(
*)
  ac_count=0
  printf %s 0123456789 >"conftest.in"
  while :
  do
    cat "conftest.in" "conftest.in" >"conftest.tmp"
    mv "conftest.tmp" "conftest.in"
    cp "conftest.in" "conftest.nl"
    printf "%s\n" 'EGREP_TRADITIONAL' >> "conftest.nl"
    "$ac_path_EGREP_TRADITIONAL" 'EGR(EP|AC)_TRADITIONAL$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    as_fn_arith $ac_count + 1 && ac_count=$as_val
    if test $ac_count -gt ${ac_path_EGREP_TRADITIONAL_max-0}; then
      # Best one so far, save it but keep looking for a better one
      ac_cv_path_EGREP_TRADITIONAL="$ac_path_EGREP_TRADITIONAL"
      ac_path_EGREP_TRADITIONAL_max=$ac_count
    fi
    # 10*(2^10) chars as input seems more than enough
    test $ac_count -gt 10 && break
  done
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
esac

      $ac_path_EGREP_TRADITIONAL_found && break 3
    done
  done
  done
IFS=$as_save_IFS
  if test -z "$ac_cv_path_EGREP_TRADITIONAL"; then
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  fi
else
  ac_cv_path_EGREP_TRADITIONAL=$EGREP_TRADITIONAL
fi
 ;;
esac
fi ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5
printf "%s\n" "$ac_cv_path_EGREP_TRADITIONAL" >&6; }
 EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL





ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

ax_pthread_ok=no

# We used to check for pthread.h first, but this fails if pthread.h
# requires special compiler flags (e.g. on Tru64 or Sequent).
# It gets checked for in the link test anyway.

# First of all, check if the user has set any of the PTHREAD_LIBS,
# etcetera environment variables, and if threads linking works using
# them:
if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
        ax_pthread_save_CC="$CC"
        ax_pthread_save_CFLAGS="$CFLAGS"
        ax_pthread_save_LIBS="$LIBS"
        if test "x$PTHREAD_CC" != "x"
then :
  CC="$PTHREAD_CC"
fi
        if test "x$PTHREAD_CXX" != "x"
then :
  CXX="$PTHREAD_CXX"
fi
        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
        LIBS="$PTHREAD_LIBS $LIBS"
        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
printf %s "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.
   The 'extern "C"' is for builds by C++ compilers;
   although this is not generally supported in C code supporting it here
   has little cost and some practical benefit (sr 110532).  */
#ifdef __cplusplus
extern "C"
#endif
char pthread_join (void);
int
main (void)
{
return pthread_join ();
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  ax_pthread_ok=yes
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
printf "%s\n" "$ax_pthread_ok" >&6; }
        if test "x$ax_pthread_ok" = "xno"; then
                PTHREAD_LIBS=""
                PTHREAD_CFLAGS=""
        fi
        CC="$ax_pthread_save_CC"
        CFLAGS="$ax_pthread_save_CFLAGS"
        LIBS="$ax_pthread_save_LIBS"
fi

# We must check for the threads library under a number of different
# names; the ordering is very important because some systems
# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
# libraries is broken (non-POSIX).

# Create a list of thread flags to try. Items with a "," contain both
# C compiler flags (before ",") and linker flags (after ","). Other items
# starting with a "-" are C compiler flags, and remaining items are
# library names, except for "none" which indicates that we try without
# any flags at all, and "pthread-config" which is a program returning
# the flags for the Pth emulation library.

ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"

# The ordering *is* (sometimes) important.  Some notes on the
# individual items follow:

# pthreads: AIX (must check this before -lpthread)
# none: in case threads are in libc; should be tried before -Kthread and
#       other compiler flags to prevent continual compiler warnings
# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
#           (Note: HP C rejects this with "bad form for `-t' option")
# -pthreads: Solaris/gcc (Note: HP C also rejects)
# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
#      doesn't hurt to check since this sometimes defines pthreads and
#      -D_REENTRANT too), HP C (must be checked before -lpthread, which
#      is present but should not be used directly; and before -mthreads,
#      because the compiler interprets this as "-mt" + "-hreads")
# -mthreads: Mingw32/gcc, Lynx/gcc
# pthread: Linux, etcetera
# --thread-safe: KAI C++
# pthread-config: use pthread-config program (for GNU Pth library)

case $host_os in

        freebsd*)

        # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
        # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)

        ax_pthread_flags="-kthread lthread $ax_pthread_flags"
        ;;

        hpux*)

        # From the cc(1) man page: "[-mt] Sets various -D flags to enable
        # multi-threading and also sets -lpthread."

        ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
        ;;

        openedition*)

        # IBM z/OS requires a feature-test macro to be defined in order to
        # enable POSIX threads at all, so give the user a hint if this is
        # not set. (We don't define these ourselves, as they can affect
        # other portions of the system API in unpredictable ways.)

        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

#            if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
             AX_PTHREAD_ZOS_MISSING
#            endif

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP_TRADITIONAL "AX_PTHREAD_ZOS_MISSING" >/dev/null 2>&1
then :
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
printf "%s\n" "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
fi
rm -rf conftest*

        ;;

        solaris*)

        # On Solaris (at least, for some versions), libc contains stubbed
        # (non-functional) versions of the pthreads routines, so link-based
        # tests will erroneously succeed. (N.B.: The stubs are missing
        # pthread_cleanup_push, or rather a function called by this macro,
        # so we could check for that, but who knows whether they'll stub
        # that too in a future libc.)  So we'll check first for the
        # standard Solaris way of linking pthreads (-mt -lpthread).

        ax_pthread_flags="-mt,-lpthread pthread $ax_pthread_flags"
        ;;
esac

# Are we compiling with Clang?

{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
printf %s "checking whether $CC is Clang... " >&6; }
if test ${ax_cv_PTHREAD_CLANG+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ax_cv_PTHREAD_CLANG=no
     # Note that Autoconf sets GCC=yes for Clang as well as GCC
     if test "x$GCC" = "xyes"; then
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
/* Note: Clang 2.7 lacks __clang_[a-z]+__ */
#            if defined(__clang__) && defined(__llvm__)
             AX_PTHREAD_CC_IS_CLANG
#            endif

_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  $EGREP_TRADITIONAL "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1
then :
  ax_cv_PTHREAD_CLANG=yes
fi
rm -rf conftest*

     fi
     ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
printf "%s\n" "$ax_cv_PTHREAD_CLANG" >&6; }
ax_pthread_clang="$ax_cv_PTHREAD_CLANG"


# GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)

# Note that for GCC and Clang -pthread generally implies -lpthread,
# except when -nostdlib is passed.
# This is problematic using libtool to build C++ shared libraries with pthread:
# [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460
# [2] https://bugzilla.redhat.com/show_bug.cgi?id=661333
# [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468555
# To solve this, first try -pthread together with -lpthread for GCC

if test "x$GCC" = "xyes"
then :
  ax_pthread_flags="-pthread,-lpthread -pthread -pthreads $ax_pthread_flags"
fi

# Clang takes -pthread (never supported any other flag), but we'll try with -lpthread first

if test "x$ax_pthread_clang" = "xyes"
then :
  ax_pthread_flags="-pthread,-lpthread -pthread"
fi


# The presence of a feature test macro requesting re-entrant function
# definitions is, on some systems, a strong hint that pthreads support is
# correctly enabled

case $host_os in
        darwin* | hpux* | linux* | osf* | solaris*)
        ax_pthread_check_macro="_REENTRANT"
        ;;

        aix*)
        ax_pthread_check_macro="_THREAD_SAFE"
        ;;

        *)
        ax_pthread_check_macro="--"
        ;;
esac
if test "x$ax_pthread_check_macro" = "x--"
then :
  ax_pthread_check_cond=0
else case e in #(
  e) ax_pthread_check_cond="!defined($ax_pthread_check_macro)" ;;
esac
fi


if test "x$ax_pthread_ok" = "xno"; then
for ax_pthread_try_flag in $ax_pthread_flags; do

        case $ax_pthread_try_flag in
                none)
                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
printf %s "checking whether pthreads work without any flags... " >&6; }
                ;;

                *,*)
                PTHREAD_CFLAGS=`echo $ax_pthread_try_flag | sed "s/^\(.*\),\(.*\)$/\1/"`
                PTHREAD_LIBS=`echo $ax_pthread_try_flag | sed "s/^\(.*\),\(.*\)$/\2/"`
                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"" >&5
printf %s "checking whether pthreads work with \"$PTHREAD_CFLAGS\" and \"$PTHREAD_LIBS\"... " >&6; }
                ;;

                -*)
                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
printf %s "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
                PTHREAD_CFLAGS="$ax_pthread_try_flag"
                ;;

                pthread-config)
                # Extract the first word of "pthread-config", so it can be a program name with args.
set dummy pthread-config; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_ax_pthread_config+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$ax_pthread_config"; then
  ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_ax_pthread_config="yes"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

  test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
fi ;;
esac
fi
ax_pthread_config=$ac_cv_prog_ax_pthread_config
if test -n "$ax_pthread_config"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
printf "%s\n" "$ax_pthread_config" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


                if test "x$ax_pthread_config" = "xno"
then :
  continue
fi
                PTHREAD_CFLAGS="`pthread-config --cflags`"
                PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
                ;;

                *)
                { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
printf %s "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
                PTHREAD_LIBS="-l$ax_pthread_try_flag"
                ;;
        esac

        ax_pthread_save_CFLAGS="$CFLAGS"
        ax_pthread_save_LIBS="$LIBS"
        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
        LIBS="$PTHREAD_LIBS $LIBS"

        # Check for various functions.  We must include pthread.h,
        # since some functions may be macros.  (On the Sequent, we
        # need a special flag -Kthread to make this header compile.)
        # We check for pthread_join because it is in -lpthread on IRIX
        # while pthread_create is in libc.  We check for pthread_attr_init
        # due to DEC craziness with -lpthreads.  We check for
        # pthread_cleanup_push because it is one of the few pthread
        # functions on Solaris that doesn't have a non-functional libc stub.
        # We try pthread_create on general principles.

        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
#                       if $ax_pthread_check_cond
#                        error "$ax_pthread_check_macro must be defined"
#                       endif
                        static void *some_global = NULL;
                        static void routine(void *a)
                          {
                             /* To avoid any unused-parameter or
                                unused-but-set-parameter warning.  */
                             some_global = a;
                          }
                        static void *start_routine(void *a) { return a; }
int
main (void)
{
pthread_t th; pthread_attr_t attr;
                        pthread_create(&th, 0, start_routine, 0);
                        pthread_join(th, 0);
                        pthread_attr_init(&attr);
                        pthread_cleanup_push(routine, 0);
                        pthread_cleanup_pop(0) /* ; */
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  ax_pthread_ok=yes
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext

        CFLAGS="$ax_pthread_save_CFLAGS"
        LIBS="$ax_pthread_save_LIBS"

        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
printf "%s\n" "$ax_pthread_ok" >&6; }
        if test "x$ax_pthread_ok" = "xyes"
then :
  break
fi

        PTHREAD_LIBS=""
        PTHREAD_CFLAGS=""
done
fi


# Clang needs special handling, because older versions handle the -pthread
# option in a rather... idiosyncratic way

if test "x$ax_pthread_clang" = "xyes"; then

        # Clang takes -pthread; it has never supported any other flag

        # (Note 1: This will need to be revisited if a system that Clang
        # supports has POSIX threads in a separate library.  This tends not
        # to be the way of modern systems, but it's conceivable.)

        # (Note 2: On some systems, notably Darwin, -pthread is not needed
        # to get POSIX threads support; the API is always present and
        # active.  We could reasonably leave PTHREAD_CFLAGS empty.  But
        # -pthread does define _REENTRANT, and while the Darwin headers
        # ignore this macro, third-party headers might not.)

        # However, older versions of Clang make a point of warning the user
        # that, in an invocation where only linking and no compilation is
        # taking place, the -pthread option has no effect ("argument unused
        # during compilation").  They expect -pthread to be passed in only
        # when source code is being compiled.
        #
        # Problem is, this is at odds with the way Automake and most other
        # C build frameworks function, which is that the same flags used in
        # compilation (CFLAGS) are also used in linking.  Many systems
        # supported by AX_PTHREAD require exactly this for POSIX threads
        # support, and in fact it is often not straightforward to specify a
        # flag that is used only in the compilation phase and not in
        # linking.  Such a scenario is extremely rare in practice.
        #
        # Even though use of the -pthread flag in linking would only print
        # a warning, this can be a nuisance for well-run software projects
        # that build with -Werror.  So if the active version of Clang has
        # this misfeature, we search for an option to squash it.

        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
printf %s "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
if test ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
             # Create an alternate version of $ac_link that compiles and
             # links in two steps (.c -> .o, .o -> exe) instead of one
             # (.c -> exe), because the warning occurs only in the second
             # step
             ax_pthread_save_ac_link="$ac_link"
             ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
             ax_pthread_link_step=`printf "%s\n" "$ac_link" | sed "$ax_pthread_sed"`
             ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
             ax_pthread_save_CFLAGS="$CFLAGS"
             for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
                if test "x$ax_pthread_try" = "xunknown"
then :
  break
fi
                CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
                ac_link="$ax_pthread_save_ac_link"
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
int main(void){return 0;}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  ac_link="$ax_pthread_2step_ac_link"
                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
int main(void){return 0;}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  break
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext

fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
             done
             ac_link="$ax_pthread_save_ac_link"
             CFLAGS="$ax_pthread_save_CFLAGS"
             if test "x$ax_pthread_try" = "x"
then :
  ax_pthread_try=no
fi
             ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
             ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
printf "%s\n" "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }

        case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
                no | unknown) ;;
                *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
        esac

fi # $ax_pthread_clang = yes



# Various other checks:
if test "x$ax_pthread_ok" = "xyes"; then
        ax_pthread_save_CFLAGS="$CFLAGS"
        ax_pthread_save_LIBS="$LIBS"
        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
        LIBS="$PTHREAD_LIBS $LIBS"

        # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
printf %s "checking for joinable pthread attribute... " >&6; }
if test ${ax_cv_PTHREAD_JOINABLE_ATTR+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ax_cv_PTHREAD_JOINABLE_ATTR=unknown
             for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
int
main (void)
{
int attr = $ax_pthread_attr; return attr /* ; */
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
             done
             ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
printf "%s\n" "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
        if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
               test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
               test "x$ax_pthread_joinable_attr_defined" != "xyes"
then :

printf "%s\n" "#define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR" >>confdefs.h

               ax_pthread_joinable_attr_defined=yes

fi

        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
printf %s "checking whether more special flags are required for pthreads... " >&6; }
if test ${ax_cv_PTHREAD_SPECIAL_FLAGS+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) ax_cv_PTHREAD_SPECIAL_FLAGS=no
             case $host_os in
             solaris*)
             ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
             ;;
             esac
             ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
printf "%s\n" "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
        if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
               test "x$ax_pthread_special_flags_added" != "xyes"
then :
  PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
               ax_pthread_special_flags_added=yes
fi

        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
printf %s "checking for PTHREAD_PRIO_INHERIT... " >&6; }
if test ${ax_cv_PTHREAD_PRIO_INHERIT+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
#include 
int
main (void)
{
int i = PTHREAD_PRIO_INHERIT;
                                               return i;
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
then :
  ax_cv_PTHREAD_PRIO_INHERIT=yes
else case e in #(
  e) ax_cv_PTHREAD_PRIO_INHERIT=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
    conftest$ac_exeext conftest.$ac_ext
             ;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
printf "%s\n" "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
        if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
               test "x$ax_pthread_prio_inherit_defined" != "xyes"
then :

printf "%s\n" "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h

               ax_pthread_prio_inherit_defined=yes

fi

        CFLAGS="$ax_pthread_save_CFLAGS"
        LIBS="$ax_pthread_save_LIBS"

        # More AIX lossage: compile with *_r variant
        if test "x$GCC" != "xyes"; then
            case $host_os in
                aix*)
                case "x/$CC" in #(
  x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
    #handle absolute path differently from PATH based program lookup
                     case "x$CC" in #(
  x/*) :

			   if as_fn_executable_p ${CC}_r
then :
  PTHREAD_CC="${CC}_r"
fi
			   if test "x${CXX}" != "x"
then :
  if as_fn_executable_p ${CXX}_r
then :
  PTHREAD_CXX="${CXX}_r"
fi
fi
			  ;; #(
  *) :

			   for ac_prog in ${CC}_r
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_PTHREAD_CC+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$PTHREAD_CC"; then
  ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_PTHREAD_CC="$ac_prog"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
if test -n "$PTHREAD_CC"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
printf "%s\n" "$PTHREAD_CC" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


  test -n "$PTHREAD_CC" && break
done
test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"

			   if test "x${CXX}" != "x"
then :
  for ac_prog in ${CXX}_r
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
printf %s "checking for $ac_word... " >&6; }
if test ${ac_cv_prog_PTHREAD_CXX+y}
then :
  printf %s "(cached) " >&6
else case e in #(
  e) if test -n "$PTHREAD_CXX"; then
  ac_cv_prog_PTHREAD_CXX="$PTHREAD_CXX" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_PTHREAD_CXX="$ac_prog"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi ;;
esac
fi
PTHREAD_CXX=$ac_cv_prog_PTHREAD_CXX
if test -n "$PTHREAD_CXX"; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CXX" >&5
printf "%s\n" "$PTHREAD_CXX" >&6; }
else
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
fi


  test -n "$PTHREAD_CXX" && break
done
test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"

fi

                      ;;
esac
                     ;; #(
  *) :
     ;;
esac
                ;;
            esac
        fi
fi

test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"






# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
if test "x$ax_pthread_ok" = "xyes"; then

printf "%s\n" "#define HAVE_PTHREAD 1" >>confdefs.h

        :
else
        ax_pthread_ok=no

fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu



#### Definitions ####


# BSD vs GNU date
if date -j >/dev/null 2>&1
then :

  pdate() { date -j -f '%Y-%m-%dT%H:%M:%SZ' "$@"; }

else case e in #(
  e)
  pdate() { date -d "$@"; }
 ;;
esac
fi
RELDATE_PRETTY=$(pdate '2024-02-06T12:30:10Z' '+%B %e, %Y')


# etc path

printf "%s\n" "#define ETCDIR \"/etc\"" >>confdefs.h


#####################

ac_config_files="$ac_config_files Makefile po/Makefile.in"

cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs, see configure's option --config-cache.
# It is not useful on other systems.  If it contains results you don't
# want to keep, you may remove or edit it.
#
# config.status only pays attention to the cache file if you give it
# the --recheck option to rerun configure.
#
# 'ac_cv_env_foo' variables (set or unset) will be overridden when
# loading this file, other *unset* 'ac_cv_foo' will be assigned the
# following values.

_ACEOF

# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, we kill variables containing newlines.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
    eval ac_val=\$$ac_var
    case $ac_val in #(
    *${as_nl}*)
      case $ac_var in #(
      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
      esac
      case $ac_var in #(
      _ | IFS | as_nl) ;; #(
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
      *) { eval $ac_var=; unset $ac_var;} ;;
      esac ;;
    esac
  done

  (set) 2>&1 |
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    *${as_nl}ac_space=\ *)
      # 'set' does not quote correctly, so add quotes: double-quote
      # substitution turns \\\\ into \\, and sed turns \\ into \.
      sed -n \
	"s/'/'\\\\''/g;
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
      ;; #(
    *)
      # 'set' quotes correctly as required by POSIX, so do not add quotes.
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
      ;;
    esac |
    sort
) |
  sed '
     /^ac_cv_env_/b end
     t clear
     :clear
     s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
     t end
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     :end' >>confcache
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  if test -w "$cache_file"; then
    if test "x$cache_file" != "x/dev/null"; then
      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
      if test ! -f "$cache_file" || test -h "$cache_file"; then
	cat confcache >"$cache_file"
      else
        case $cache_file in #(
        */* | ?:*)
	  mv -f confcache "$cache_file"$$ &&
	  mv -f "$cache_file"$$ "$cache_file" ;; #(
        *)
	  mv -f confcache "$cache_file" ;;
	esac
      fi
    fi
  else
    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
  fi
fi
rm -f confcache

test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'

DEFS=-DHAVE_CONFIG_H

ac_libobjs=
ac_ltlibobjs=
U=
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  # 1. Remove the extension, and $U if already installed.
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
  #    will be set to the directory where LIBOBJS objects are built.
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
done
LIBOBJS=$ac_libobjs

LTLIBOBJS=$ac_ltlibobjs


{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
printf %s "checking that generated files are newer than configure... " >&6; }
   if test -n "$am_sleep_pid"; then
     # Hide warnings about reused PIDs.
     wait $am_sleep_pid 2>/dev/null
   fi
   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
printf "%s\n" "done" >&6; }
 if test -n "$EXEEXT"; then
  am__EXEEXT_TRUE=
  am__EXEEXT_FALSE='#'
else
  am__EXEEXT_TRUE='#'
  am__EXEEXT_FALSE=
fi

if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  as_fn_error $? "conditional \"AMDEP\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
# Check whether --enable-year2038 was given.
if test ${enable_year2038+y}
then :
  enableval=$enable_year2038;
fi

if test -z "${WITH_SSL_TRUE}" && test -z "${WITH_SSL_FALSE}"; then
  as_fn_error $? "conditional \"WITH_SSL\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi

: "${CONFIG_STATUS=./config.status}"
ac_write_fail=0
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
as_write_fail=0
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
#! $SHELL
# Generated by $as_me.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.

debug=false
ac_cs_recheck=false
ac_cs_silent=false

SHELL=\${CONFIG_SHELL-$SHELL}
export SHELL
_ASEOF
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
## -------------------- ##
## M4sh Initialization. ##
## -------------------- ##

# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
then :
  emulate sh
  NULLCMD=:
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  # is contrary to our usage.  Disable this feature.
  alias -g '${1+"$@"}'='"$@"'
  setopt NO_GLOB_SUBST
else case e in #(
  e) case `(set -o) 2>/dev/null` in #(
  *posix*) :
    set -o posix ;; #(
  *) :
     ;;
esac ;;
esac
fi



# Reset variables that may have inherited troublesome values from
# the environment.

# IFS needs to be set, to space, tab, and newline, in precisely that order.
# (If _AS_PATH_WALK were called with IFS unset, it would have the
# side effect of setting IFS to empty, thus disabling word splitting.)
# Quoting is to prevent editors from complaining about space-tab.
as_nl='
'
export as_nl
IFS=" ""	$as_nl"

PS1='$ '
PS2='> '
PS4='+ '

# Ensure predictable behavior from utilities with locale-dependent output.
LC_ALL=C
export LC_ALL
LANGUAGE=C
export LANGUAGE

# We cannot yet rely on "unset" to work, but we need these variables
# to be unset--not just set to an empty or harmless value--now, to
# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
# also avoids known problems related to "unset" and subshell syntax
# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
do eval test \${$as_var+y} \
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
done

# Ensure that fds 0, 1, and 2 are open.
if (exec 3>&0) 2>/dev/null; then :; else exec 0&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi

# The user is always right.
if ${PATH_SEPARATOR+false} :; then
  PATH_SEPARATOR=:
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
      PATH_SEPARATOR=';'
  }
fi


# Find who we are.  Look in the path if we contain no directory separator.
as_myself=
case $0 in #((
  *[\\/]* ) as_myself=$0 ;;
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
  done
IFS=$as_save_IFS

     ;;
esac
# We did not find ourselves, most probably we were run as 'sh COMMAND'
# in which case we are not to be found in the path.
if test "x$as_myself" = x; then
  as_myself=$0
fi
if test ! -f "$as_myself"; then
  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  exit 1
fi



# as_fn_error STATUS ERROR [LINENO LOG_FD]
# ----------------------------------------
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
# script with STATUS, using 1 if that was 0.
as_fn_error ()
{
  as_status=$1; test $as_status -eq 0 && as_status=1
  if test "$4"; then
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  fi
  printf "%s\n" "$as_me: error: $2" >&2
  as_fn_exit $as_status
} # as_fn_error


# as_fn_set_status STATUS
# -----------------------
# Set $? to STATUS, without forking.
as_fn_set_status ()
{
  return $1
} # as_fn_set_status

# as_fn_exit STATUS
# -----------------
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
as_fn_exit ()
{
  set +e
  as_fn_set_status $1
  exit $1
} # as_fn_exit

# as_fn_unset VAR
# ---------------
# Portably unset VAR.
as_fn_unset ()
{
  { eval $1=; unset $1;}
}
as_unset=as_fn_unset

# as_fn_append VAR VALUE
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
# advantage of any shell optimizations that allow amortized linear growth over
# repeated appends, instead of the typical quadratic growth present in naive
# implementations.
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
then :
  eval 'as_fn_append ()
  {
    eval $1+=\$2
  }'
else case e in #(
  e) as_fn_append ()
  {
    eval $1=\$$1\$2
  } ;;
esac
fi # as_fn_append

# as_fn_arith ARG...
# ------------------
# Perform arithmetic evaluation on the ARGs, and store the result in the
# global $as_val. Take advantage of shells that can avoid forks. The arguments
# must be portable across $(()) and expr.
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
then :
  eval 'as_fn_arith ()
  {
    as_val=$(( $* ))
  }'
else case e in #(
  e) as_fn_arith ()
  {
    as_val=`expr "$@" || test $? -eq 1`
  } ;;
esac
fi # as_fn_arith


if expr a : '\(a\)' >/dev/null 2>&1 &&
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  as_expr=expr
else
  as_expr=false
fi

if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  as_basename=basename
else
  as_basename=false
fi

if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  as_dirname=dirname
else
  as_dirname=false
fi

as_me=`$as_basename -- "$0" ||
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
	 X"$0" : 'X\(//\)$' \| \
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X/"$0" |
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`

# Avoid depending upon Character Ranges.
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
as_cr_digits='0123456789'
as_cr_alnum=$as_cr_Letters$as_cr_digits


# Determine whether it's possible to make 'echo' print without a newline.
# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
# for compatibility with existing Makefiles.
ECHO_C= ECHO_N= ECHO_T=
case `echo -n x` in #(((((
-n*)
  case `echo 'xy\c'` in
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
  xy)  ECHO_C='\c';;
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
       ECHO_T='	';;
  esac;;
*)
  ECHO_N='-n';;
esac

# For backward compatibility with old third-party macros, we provide
# the shell variables $as_echo and $as_echo_n.  New code should use
# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
as_echo='printf %s\n'
as_echo_n='printf %s'

rm -f conf$$ conf$$.exe conf$$.file
if test -d conf$$.dir; then
  rm -f conf$$.dir/conf$$.file
else
  rm -f conf$$.dir
  mkdir conf$$.dir 2>/dev/null
fi
if (echo >conf$$.file) 2>/dev/null; then
  if ln -s conf$$.file conf$$ 2>/dev/null; then
    as_ln_s='ln -s'
    # ... but there are two gotchas:
    # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    # In both cases, we have to default to 'cp -pR'.
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
      as_ln_s='cp -pR'
  elif ln conf$$.file conf$$ 2>/dev/null; then
    as_ln_s=ln
  else
    as_ln_s='cp -pR'
  fi
else
  as_ln_s='cp -pR'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null


# as_fn_mkdir_p
# -------------
# Create "$as_dir" as a directory, including parents if necessary.
as_fn_mkdir_p ()
{

  case $as_dir in #(
  -*) as_dir=./$as_dir;;
  esac
  test -d "$as_dir" || eval $as_mkdir_p || {
    as_dirs=
    while :; do
      case $as_dir in #(
      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
      *) as_qdir=$as_dir;;
      esac
      as_dirs="'$as_qdir' $as_dirs"
      as_dir=`$as_dirname -- "$as_dir" ||
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$as_dir" : 'X\(//\)[^/]' \| \
	 X"$as_dir" : 'X\(//\)$' \| \
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X"$as_dir" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
      test -d "$as_dir" && break
    done
    test -z "$as_dirs" || eval "mkdir $as_dirs"
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"


} # as_fn_mkdir_p
if mkdir -p . 2>/dev/null; then
  as_mkdir_p='mkdir -p "$as_dir"'
else
  test -d ./-p && rmdir ./-p
  as_mkdir_p=false
fi


# as_fn_executable_p FILE
# -----------------------
# Test if FILE is an executable regular file.
as_fn_executable_p ()
{
  test -f "$1" && test -x "$1"
} # as_fn_executable_p
as_test_x='test -x'
as_executable_p=as_fn_executable_p

# Sed expression to map a string onto a valid CPP name.
as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated

# Sed expression to map a string onto a valid variable name.
as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
as_tr_sh="eval sed '$as_sed_sh'" # deprecated


exec 6>&1
## ----------------------------------- ##
## Main body of $CONFIG_STATUS script. ##
## ----------------------------------- ##
_ASEOF
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1

cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# Save the log message, to keep $0 and so on meaningful, and to
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by axel $as_me 2.17.13, which was
generated by GNU Autoconf 2.72.  Invocation command line was

  CONFIG_FILES    = $CONFIG_FILES
  CONFIG_HEADERS  = $CONFIG_HEADERS
  CONFIG_LINKS    = $CONFIG_LINKS
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  $ $0 $@

on `(hostname || uname -n) 2>/dev/null | sed 1q`
"

_ACEOF

case $ac_config_files in *"
"*) set x $ac_config_files; shift; ac_config_files=$*;;
esac

case $ac_config_headers in *"
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
esac


cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
# Files that config.status was made for.
config_files="$ac_config_files"
config_headers="$ac_config_headers"
config_commands="$ac_config_commands"

_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
ac_cs_usage="\
'$as_me' instantiates files and other configuration actions
from templates according to the current configuration.  Unless the files
and actions are specified as TAGs, all are instantiated by default.

Usage: $0 [OPTION]... [TAG]...

  -h, --help       print this help, then exit
  -V, --version    print version number and configuration settings, then exit
      --config     print configuration, then exit
  -q, --quiet, --silent
                   do not print progress messages
  -d, --debug      don't remove temporary files
      --recheck    update $as_me by reconfiguring in the same conditions
      --file=FILE[:TEMPLATE]
                   instantiate the configuration file FILE
      --header=FILE[:TEMPLATE]
                   instantiate the configuration header FILE

Configuration files:
$config_files

Configuration headers:
$config_headers

Configuration commands:
$config_commands

Report bugs to ."

_ACEOF
ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
axel config.status 2.17.13
configured by $0, generated by GNU Autoconf 2.72,
  with options \\"\$ac_cs_config\\"

Copyright (C) 2023 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."

ac_pwd='$ac_pwd'
srcdir='$srcdir'
INSTALL='$INSTALL'
MKDIR_P='$MKDIR_P'
AWK='$AWK'
test -n "\$AWK" || AWK=awk
_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# The default lists apply if the user does not specify any file.
ac_need_defaults=:
while test $# != 0
do
  case $1 in
  --*=?*)
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    ac_shift=:
    ;;
  --*=)
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    ac_optarg=
    ac_shift=:
    ;;
  *)
    ac_option=$1
    ac_optarg=$2
    ac_shift=shift
    ;;
  esac

  case $ac_option in
  # Handling of the options.
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    ac_cs_recheck=: ;;
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    printf "%s\n" "$ac_cs_version"; exit ;;
  --config | --confi | --conf | --con | --co | --c )
    printf "%s\n" "$ac_cs_config"; exit ;;
  --debug | --debu | --deb | --de | --d | -d )
    debug=: ;;
  --file | --fil | --fi | --f )
    $ac_shift
    case $ac_optarg in
    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    '') as_fn_error $? "missing file argument" ;;
    esac
    as_fn_append CONFIG_FILES " '$ac_optarg'"
    ac_need_defaults=false;;
  --header | --heade | --head | --hea )
    $ac_shift
    case $ac_optarg in
    *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    esac
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
    ac_need_defaults=false;;
  --he | --h)
    # Conflict between --help and --header
    as_fn_error $? "ambiguous option: '$1'
Try '$0 --help' for more information.";;
  --help | --hel | -h )
    printf "%s\n" "$ac_cs_usage"; exit ;;
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
    ac_cs_silent=: ;;

  # This is an error.
  -*) as_fn_error $? "unrecognized option: '$1'
Try '$0 --help' for more information." ;;

  *) as_fn_append ac_config_targets " $1"
     ac_need_defaults=false ;;

  esac
  shift
done

ac_configure_extra_args=

if $ac_cs_silent; then
  exec 6>/dev/null
  ac_configure_extra_args="$ac_configure_extra_args --silent"
fi

_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
if \$ac_cs_recheck; then
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  shift
  \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
  CONFIG_SHELL='$SHELL'
  export CONFIG_SHELL
  exec "\$@"
fi

_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
exec 5>>config.log
{
  echo
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
## Running $as_me. ##
_ASBOX
  printf "%s\n" "$ac_log"
} >&5

_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
#
# INIT-COMMANDS
#
AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
# Capture the value of obsolete $ALL_LINGUAS because we need it to compute
    # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
    # from automake.
    eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
    LINGUAS="${LINGUAS-%UNSET%}"


_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1

# Handling of arguments.
for ac_config_target in $ac_config_targets
do
  case $ac_config_target in
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;

  *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
  esac
done


# If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used.  Set only those that are not.
# We use the long form for the default assignment because of an extremely
# bizarre bug on SunOS 4.1.3.
if $ac_need_defaults; then
  test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
  test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
  test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
fi

# Have a temporary directory for convenience.  Make it in the build tree
# simply because there is no reason against having it here, and in addition,
# creating and moving files from /tmp can sometimes cause problems.
# Hook for its removal unless debugging.
# Note that there is a small window in which the directory will not be cleaned:
# after its creation but before its name has been assigned to '$tmp'.
$debug ||
{
  tmp= ac_tmp=
  trap 'exit_status=$?
  : "${ac_tmp:=$tmp}"
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
' 0
  trap 'as_fn_exit 1' 1 2 13 15
}
# Create a (secure) tmp directory for tmp files.

{
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  test -d "$tmp"
}  ||
{
  tmp=./conf$$-$RANDOM
  (umask 077 && mkdir "$tmp")
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
ac_tmp=$tmp

# Set up the scripts for CONFIG_FILES section.
# No need to generate them if there are no CONFIG_FILES.
# This happens for instance with './config.status config.h'.
if test -n "$CONFIG_FILES"; then


ac_cr=`echo X | tr X '\015'`
# On cygwin, bash can eat \r inside `` if the user requested igncr.
# But we know of no other shell where ac_cr would be empty at this
# point, so we can use a bashism as a fallback.
if test "x$ac_cr" = x; then
  eval ac_cr=\$\'\\r\'
fi
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  ac_cs_awk_cr='\\r'
else
  ac_cs_awk_cr=$ac_cr
fi

echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
_ACEOF


{
  echo "cat >conf$$subs.awk <<_ACEOF" &&
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  echo "_ACEOF"
} >conf$$subs.sh ||
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
  . ./conf$$subs.sh ||
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5

  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  if test $ac_delim_n = $ac_delim_num; then
    break
  elif $ac_last_try; then
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  else
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  fi
done
rm -f conf$$subs.sh

cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
_ACEOF
sed -n '
h
s/^/S["/; s/!.*/"]=/
p
g
s/^[^!]*!//
:repl
t repl
s/'"$ac_delim"'$//
t delim
:nl
h
s/\(.\{148\}\)..*/\1/
t more1
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
p
n
b repl
:more1
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
p
g
s/.\{148\}//
t nl
:delim
h
s/\(.\{148\}\)..*/\1/
t more2
s/["\\]/\\&/g; s/^/"/; s/$/"/
p
b
:more2
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
p
g
s/.\{148\}//
t delim
' >$CONFIG_STATUS || ac_write_fail=1
rm -f conf$$subs.awk
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
_ACAWK
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  for (key in S) S_is_set[key] = 1
  FS = ""

}
{
  line = $ 0
  nfields = split(line, field, "@")
  substed = 0
  len = length(field[1])
  for (i = 2; i < nfields; i++) {
    key = field[i]
    keylen = length(key)
    if (S_is_set[key]) {
      value = S[key]
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
      len += length(value) + length(field[++i])
      substed = 1
    } else
      len += 1 + keylen
  }

  print line
}

_ACAWK
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
else
  cat
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
_ACEOF

# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
# trailing colons and then remove the whole line if VPATH becomes empty
# (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
h
s///
s/^/:/
s/[	 ]*$/:/
s/:\$(srcdir):/:/g
s/:\${srcdir}:/:/g
s/:@srcdir@:/:/g
s/^:*//
s/:*$//
x
s/\(=[	 ]*\).*/\1/
G
s/\n//
s/^[^=]*=[	 ]*$//
}'
fi

cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
fi # test -n "$CONFIG_FILES"

# Set up the scripts for CONFIG_HEADERS section.
# No need to generate them if there are no CONFIG_HEADERS.
# This happens for instance with './config.status Makefile'.
if test -n "$CONFIG_HEADERS"; then
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
BEGIN {
_ACEOF

# Transform confdefs.h into an awk script 'defines.awk', embedded as
# here-document in config.status, that substitutes the proper values into
# config.h.in to produce config.h.

# Create a delimiter string that does not exist in confdefs.h, to ease
# handling of long lines.
ac_delim='%!_!# '
for ac_last_try in false false :; do
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  if test -z "$ac_tt"; then
    break
  elif $ac_last_try; then
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  else
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  fi
done

# For the awk script, D is an array of macro values keyed by name,
# likewise P contains macro parameters if any.  Preserve backslash
# newline sequences.

ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
sed -n '
s/.\{148\}/&'"$ac_delim"'/g
t rset
:rset
s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
t def
d
:def
s/\\$//
t bsnl
s/["\\]/\\&/g
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
D["\1"]=" \3"/p
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
d
:bsnl
s/["\\]/\\&/g
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
D["\1"]=" \3\\\\\\n"\\/p
t cont
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
t cont
d
:cont
n
s/.\{148\}/&'"$ac_delim"'/g
t clear
:clear
s/\\$//
t bsnlc
s/["\\]/\\&/g; s/^/"/; s/$/"/p
d
:bsnlc
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
b cont
' >$CONFIG_STATUS || ac_write_fail=1

cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  for (key in D) D_is_set[key] = 1
  FS = ""
}
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  line = \$ 0
  split(line, arg, " ")
  if (arg[1] == "#") {
    defundef = arg[2]
    mac1 = arg[3]
  } else {
    defundef = substr(arg[1], 2)
    mac1 = arg[2]
  }
  split(mac1, mac2, "(") #)
  macro = mac2[1]
  prefix = substr(line, 1, index(line, defundef) - 1)
  if (D_is_set[macro]) {
    # Preserve the white space surrounding the "#".
    print prefix "define", macro P[macro] D[macro]
    next
  } else {
    # Replace #undef with comments.  This is necessary, for example,
    # in the case of _POSIX_SOURCE, which is predefined and required
    # on some systems where configure will not decide to define it.
    if (defundef == "undef") {
      print "/*", prefix defundef, macro, "*/"
      next
    }
  }
}
{ print }
_ACAWK
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
fi # test -n "$CONFIG_HEADERS"


eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
shift
for ac_tag
do
  case $ac_tag in
  :[FHLC]) ac_mode=$ac_tag; continue;;
  esac
  case $ac_mode$ac_tag in
  :[FHL]*:*);;
  :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
  :[FH]-) ac_tag=-:-;;
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  esac
  ac_save_IFS=$IFS
  IFS=:
  set x $ac_tag
  IFS=$ac_save_IFS
  shift
  ac_file=$1
  shift

  case $ac_mode in
  :L) ac_source=$1;;
  :[FH])
    ac_file_inputs=
    for ac_f
    do
      case $ac_f in
      -) ac_f="$ac_tmp/stdin";;
      *) # Look for the file first in the build tree, then in the source tree
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
	 # because $ac_f cannot contain ':'.
	 test -f "$ac_f" ||
	   case $ac_f in
	   [\\/$]*) false;;
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
	   esac ||
	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
      esac
      case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
      as_fn_append ac_file_inputs " '$ac_f'"
    done

    # Let's still pretend it is 'configure' which instantiates (i.e., don't
    # use $as_me), people would be surprised to read:
    #    /* config.h.  Generated by config.status.  */
    configure_input='Generated from '`
	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
	`' by configure.'
    if test x"$ac_file" != x-; then
      configure_input="$ac_file.  $configure_input"
      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
printf "%s\n" "$as_me: creating $ac_file" >&6;}
    fi
    # Neutralize special characters interpreted by sed in replacement strings.
    case $configure_input in #(
    *\&* | *\|* | *\\* )
       ac_sed_conf_input=`printf "%s\n" "$configure_input" |
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
    *) ac_sed_conf_input=$configure_input;;
    esac

    case $ac_tag in
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
    esac
    ;;
  esac

  ac_dir=`$as_dirname -- "$ac_file" ||
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$ac_file" : 'X\(//\)[^/]' \| \
	 X"$ac_file" : 'X\(//\)$' \| \
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X"$ac_file" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
  as_dir="$ac_dir"; as_fn_mkdir_p
  ac_builddir=.

case "$ac_dir" in
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
*)
  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
  # A ".." for each directory in $ac_dir_suffix.
  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  case $ac_top_builddir_sub in
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  esac ;;
esac
ac_abs_top_builddir=$ac_pwd
ac_abs_builddir=$ac_pwd$ac_dir_suffix
# for backward compatibility:
ac_top_builddir=$ac_top_build_prefix

case $srcdir in
  .)  # We are building in place.
    ac_srcdir=.
    ac_top_srcdir=$ac_top_builddir_sub
    ac_abs_top_srcdir=$ac_pwd ;;
  [\\/]* | ?:[\\/]* )  # Absolute name.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir
    ac_abs_top_srcdir=$srcdir ;;
  *) # Relative name.
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_build_prefix$srcdir
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
esac
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix


  case $ac_mode in
  :F)
  #
  # CONFIG_FILE
  #

  case $INSTALL in
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  esac
  ac_MKDIR_P=$MKDIR_P
  case $MKDIR_P in
  [\\/$]* | ?:[\\/]* ) ;;
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  esac
_ACEOF

cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# If the template does not know about datarootdir, expand it.
# FIXME: This hack should be removed a few years after 2.60.
ac_datarootdir_hack=; ac_datarootdir_seen=
ac_sed_dataroot='
/datarootdir/ {
  p
  q
}
/@datadir@/p
/@docdir@/p
/@infodir@/p
/@localedir@/p
/@mandir@/p'
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
*datarootdir*) ac_datarootdir_seen=yes;;
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  ac_datarootdir_hack='
  s&@datadir@&$datadir&g
  s&@docdir@&$docdir&g
  s&@infodir@&$infodir&g
  s&@localedir@&$localedir&g
  s&@mandir@&$mandir&g
  s&\\\${datarootdir}&$datarootdir&g' ;;
esac
_ACEOF

# Neutralize VPATH when '$srcdir' = '.'.
# Shell code in configure.ac might set extrasub.
# FIXME: do we really want to maintain this feature?
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_sed_extra="$ac_vpsub
$extrasub
_ACEOF
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
s|@configure_input@|$ac_sed_conf_input|;t t
s&@top_builddir@&$ac_top_builddir_sub&;t t
s&@top_build_prefix@&$ac_top_build_prefix&;t t
s&@srcdir@&$ac_srcdir&;t t
s&@abs_srcdir@&$ac_abs_srcdir&;t t
s&@top_srcdir@&$ac_top_srcdir&;t t
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
s&@builddir@&$ac_builddir&;t t
s&@abs_builddir@&$ac_abs_builddir&;t t
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
s&@INSTALL@&$ac_INSTALL&;t t
s&@MKDIR_P@&$ac_MKDIR_P&;t t
$ac_datarootdir_hack
"
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5

test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
which seems to be undefined.  Please make sure it is defined" >&5
printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
which seems to be undefined.  Please make sure it is defined" >&2;}

  rm -f "$ac_tmp/stdin"
  case $ac_file in
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  esac \
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 ;;
  :H)
  #
  # CONFIG_HEADER
  #
  if test x"$ac_file" != x-; then
    {
      printf "%s\n" "/* $configure_input  */" >&1 \
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
    } >"$ac_tmp/config.h" \
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
    else
      rm -f "$ac_file"
      mv "$ac_tmp/config.h" "$ac_file" \
	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
    fi
  else
    printf "%s\n" "/* $configure_input  */" >&1 \
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
      || as_fn_error $? "could not create -" "$LINENO" 5
  fi
# Compute "$ac_file"'s index in $config_headers.
_am_arg="$ac_file"
_am_stamp_count=1
for _am_header in $config_headers :; do
  case $_am_header in
    $_am_arg | $_am_arg:* )
      break ;;
    * )
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  esac
done
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$_am_arg" : 'X\(//\)[^/]' \| \
	 X"$_am_arg" : 'X\(//\)$' \| \
	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X"$_am_arg" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`/stamp-h$_am_stamp_count
 ;;

  :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
 ;;
  esac


  case $ac_file$ac_mode in
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  # Older Autoconf quotes --file arguments for eval, but not when files
  # are listed without --file.  Let's play safe and only enable the eval
  # if we detect the quoting.
  # TODO: see whether this extra hack can be removed once we start
  # requiring Autoconf 2.70 or later.
  case $CONFIG_FILES in #(
  *\'*) :
    eval set x "$CONFIG_FILES" ;; #(
  *) :
    set x $CONFIG_FILES ;; #(
  *) :
     ;;
esac
  shift
  # Used to flag and report bootstrapping failures.
  am_rc=0
  for am_mf
  do
    # Strip MF so we end up with the name of the file.
    am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
    # Check whether this is an Automake generated Makefile which includes
    # dependency-tracking related rules and includes.
    # Grep'ing the whole file directly is not great: AIX grep has a line
    # limit of 2048, but all sed's we know have understand at least 4000.
    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
      || continue
    am_dirpart=`$as_dirname -- "$am_mf" ||
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
	 X"$am_mf" : 'X\(//\)[^/]' \| \
	 X"$am_mf" : 'X\(//\)$' \| \
	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X"$am_mf" |
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)[^/].*/{
	    s//\1/
	    q
	  }
	  /^X\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
    am_filepart=`$as_basename -- "$am_mf" ||
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
	 X"$am_mf" : 'X\(//\)$' \| \
	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
printf "%s\n" X/"$am_mf" |
    sed '/^.*\/\([^/][^/]*\)\/*$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\/\)$/{
	    s//\1/
	    q
	  }
	  /^X\/\(\/\).*/{
	    s//\1/
	    q
	  }
	  s/.*/./; q'`
    { echo "$as_me:$LINENO: cd "$am_dirpart" \
      && sed -e '/# am--include-marker/d' "$am_filepart" \
        | $MAKE -f - am--depfiles" >&5
   (cd "$am_dirpart" \
      && sed -e '/# am--include-marker/d' "$am_filepart" \
        | $MAKE -f - am--depfiles) >&5 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); } || am_rc=$?
  done
  if test $am_rc -ne 0; then
    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
as_fn_error $? "Something went wrong bootstrapping makefile fragments
    for automatic dependency tracking.  If GNU make was not used, consider
    re-running the configure script with MAKE=\"gmake\" (or whatever is
    necessary).  You can also try re-running configure with the
    '--disable-dependency-tracking' option to at least be able to build
    the package (albeit without support for automatic dependency tracking).
See 'config.log' for more details" "$LINENO" 5; }
  fi
  { am_dirpart=; unset am_dirpart;}
  { am_filepart=; unset am_filepart;}
  { am_mf=; unset am_mf;}
  { am_rc=; unset am_rc;}
  rm -f conftest-deps.mk
}
 ;;
    "default-1":C)
    for ac_file in $CONFIG_FILES; do
      # Support "outfile[:infile[:infile...]]"
      case "$ac_file" in
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
      esac
      # PO directories have a Makefile.in generated from Makefile.in.in.
      case "$ac_file" in */Makefile.in)
        # Adjust a relative srcdir.
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
        # In autoconf-2.13 it is called $ac_given_srcdir.
        # In autoconf-2.50 it is called $srcdir.
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
        case "$ac_given_srcdir" in
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
          /*) top_srcdir="$ac_given_srcdir" ;;
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
        esac
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
          rm -f "$ac_dir/POTFILES"
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
          # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
          # on $ac_dir but don't depend on user-specified configuration
          # parameters.
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
            # The LINGUAS file contains the set of available languages.
            if test -n "$ALL_LINGUAS"; then
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
            fi
            ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
            # Hide the ALL_LINGUAS assigment from automake.
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
          fi
          case "$ac_given_srcdir" in
            .) srcdirpre= ;;
            *) srcdirpre='$(srcdir)/' ;;
          esac
          POFILES=
          GMOFILES=
          UPDATEPOFILES=
          DUMMYPOFILES=
          for lang in $ALL_LINGUAS; do
            POFILES="$POFILES $srcdirpre$lang.po"
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
          done
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
          # environment variable.
          INST_LINGUAS=
          if test -n "$ALL_LINGUAS"; then
            for presentlang in $ALL_LINGUAS; do
              useit=no
              if test "%UNSET%" != "$LINGUAS"; then
                desiredlanguages="$LINGUAS"
              else
                desiredlanguages="$ALL_LINGUAS"
              fi
              for desiredlang in $desiredlanguages; do
                # Use the presentlang catalog if desiredlang is
                #   a. equal to presentlang, or
                #   b. a variant of presentlang (because in this case,
                #      presentlang can be used as a fallback for messages
                #      which are not translated in the desiredlang catalog).
                case "$desiredlang" in
                  "$presentlang"*) useit=yes;;
                esac
              done
              if test $useit = yes; then
                INST_LINGUAS="$INST_LINGUAS $presentlang"
              fi
            done
          fi
          CATALOGS=
          if test -n "$INST_LINGUAS"; then
            for lang in $INST_LINGUAS; do
              CATALOGS="$CATALOGS $lang.gmo"
            done
          fi
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
            if test -f "$f"; then
              case "$f" in
                *.orig | *.bak | *~) ;;
                *) cat "$f" >> "$ac_dir/Makefile" ;;
              esac
            fi
          done
        fi
        ;;
      esac
    done ;;

  esac
done # for ac_tag


as_fn_exit 0
_ACEOF
ac_clean_files=$ac_clean_files_save

test $ac_write_fail = 0 ||
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5


# configure is writing to config.log, and then calls config.status.
# config.status does its own redirection, appending to config.log.
# Unfortunately, on DOS this fails, as config.log is still kept open
# by configure, so config.status won't be able to write to it; its
# output is simply discarded.  So we exec the FD to /dev/null,
# effectively closing config.log, so it can be properly (re)opened and
# appended to by config.status.  When coming back to configure, we
# need to make the FD available again.
if test "$no_create" != yes; then
  ac_cs_success=:
  ac_config_status_args=
  test "$silent" = yes &&
    ac_config_status_args="$ac_config_status_args --quiet"
  exec 5>/dev/null
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  exec 5>>config.log
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  # would make configure fail if this is the last instruction.
  $ac_cs_success || as_fn_exit 1
fi
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi


axel-2.17.13/acinclude.m40000644000175000017500000000750014560423122010471 # TODO: we need a true replacement for AC_INIT...

# _AXEL_ntsinc(FILE) - sinclude not to be tracked by automake
# ---------------------------------------------------------------------
m4_define([_AXEL_ntsinc], defn([m4_sinclude]))

# _AXEL_READL(FILE, HARD-DEP?)
# ---------------------------------------------------------------------
m4_define([_AXEL_READL],
[m4_bpatsubst(m4_quote(m4_if([$2],,
  [_AXEL_ntsinc([$1])],
  [m4_apply([m4_include], [[$1]])])), [ *
])])

# _AXEL_GIT_HEAD
# ---------------------------------------------------------------------
m4_define([_AXEL_GIT_HEAD],
[m4_define([__HEAD], m4_quote(_AXEL_READL([.git/HEAD])))dnl
m4_if(m4_substr(m4_quote(__HEAD), 0, 4), [ref:],
  [m4_quote(_AXEL_READL([.git/]m4_bpatsubst(__HEAD, [^ref: *])))],
  [m4_quote(__HEAD)])[]dnl
m4_undefine([__HEAD])dnl
])

# _AXEL_GIT_TAG(TAG)
# ---------------------------------------------------------------------
m4_define([_AXEL_GIT_TAG],
[m4_quote(_AXEL_READL([.git/refs/tags/$1]))])

# AXEL_VER_READ(FILE)
# ---------------------------------------------------------------------
AC_DEFUN_ONCE([AXEL_VER_READ],
[_AC_INIT_LITERAL([$1])
m4_define([_AXEL_RELSTR],
  m4_quote(_AXEL_READL([$1], 1)))
m4_define([_AXEL_RELDATE],
  m4_quote(
    m4_bpatsubst(
      m4_quote(
        m4_bpatsubst(
          m4_quote(_AXEL_RELSTR),
          [[^ ]* ])), [ .*])))
m4_define([_AXEL_VERSION],
  m4_quote(m4_bpatsubst(m4_quote(_AXEL_RELSTR), [ .*])))
m4_define([_AXEL_COMMIT], m4_quote(_AXEL_GIT_HEAD))
m4_define([_AXEL_VERSUF],
  [m4_if(m4_quote(_AXEL_COMMIT),,,
    [m4_if(m4_quote(_AXEL_COMMIT), m4_quote(_AXEL_GIT_TAG([v]_AXEL_VERSION)),,
      [[+g]m4_quote(m4_substr(_AXEL_COMMIT, 0, 6))])])])
m4_define([AC_PACKAGE_STRING], m4_quote(AC_PACKAGE_NAME AC_PACKAGE_VERSION))
m4_define([AC_PACKAGE_VERSION], m4_quote(_AXEL_VERSION[]_AXEL_VERSUF))
])

# AXEL_PKG(PACKAGE-NAME, BUG-REPORT, [TAR-NAME])
# ---------------------------------------------------------------------
AC_DEFUN_ONCE([AXEL_PKG],
[_AC_INIT_LITERAL([$1])
_AC_INIT_LITERAL([$2])
AC_BEFORE([AXEL_VER_READ])
m4_define([AC_PACKAGE_NAME], [$1])
m4_define([AC_PACKAGE_TARNAME],
  m4_default([$3], [m4_bpatsubst(m4_tolower([$1]),
				 [[^_abcdefghijklmnopqrstuvwxyz0123456789]],
				 [-])]))
m4_define([AC_PACKAGE_BUGREPORT], [$2])
])


# MKINSTALLDIRS isn't needed; remove
AC_DEFUN([AM_MKINSTALLDIRS], [])

# AXEL_CHECK_MACRO(MACRO, HEADER, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
# ---------------------------------------------------------------------
AC_DEFUN([AXEL_CHECK_MACRO],
[_AC_INIT_LITERAL([$1])
_AC_INIT_LITERAL([$2])
AC_CACHE_CHECK([for $1], [axel_cv_macro_$1],
  [AC_COMPILE_IFELSE(
    [AC_LANG_PROGRAM([[#include <]$2[>]], [[(void)]$1;])],
      [axel_cv_macro_$1=yes],
      [axel_cv_macro_$1=no])
  ])
AS_IF([test "x$axel_cv_macro_$1" = "xyes"],
  [$3], m4_default([$4], [
    AC_MSG_ERROR([The $1 macro is required; it should be defined by $2.])
  ]))
])

# AXEL_DEFAULT_TYPE(TYPE-ID, DEFAULT)
# ---------------------------------------------------------------------
AC_DEFUN([AXEL_DEFAULT_TYPE], [
  _AC_INIT_LITERAL([$1])
  AH_VERBATIM(AS_TR_CPP([HAVE_$1_default]),
    [#ifndef ]AS_TR_CPP([HAVE_$1])[
typedef $2 $1;
#endif])
])

# AXEL_CHECK_TYPE(TYPE-ID, COMPAT-TEST, [INCLUDES])
# ---------------------------------------------------------------------
AC_DEFUN([AXEL_CHECK_TYPE], [
  _AC_INIT_LITERAL([$1])
  AC_CHECK_TYPE([$1], [
    AC_CACHE_CHECK([for $1 compatibility], [axel_cv_type_compat_$1], [
      AC_COMPILE_IFELSE(
        [AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$3])],
	  [switch(0) case 0: case ($2):;])],
	[axel_cv_type_compat_$1=yes], [axel_cv_type_compat_$1=no])
    ])
    AS_IF([test "x$axel_cv_type_compat_$1" = xno],
      [AC_MSG_ERROR([The $1 type is not fit ($2).])])
    AC_DEFINE(AS_TR_CPP([HAVE_$1]), [1],
              [Define to 1 if the system has the type `$1'.])
  ],, [AC_INCLUDES_DEFAULT([$3])])
])
axel-2.17.13/VERSION0000644000175000017500000000003514560423122007344 2.17.13 2024-02-06T12:30:10Z
axel-2.17.13/configure.ac0000644000175000017500000001322014560423122010562 # SPDX-License-Identifier: GPL-2.0-or-later
# Autoconf for axel
AC_COPYRIGHT([
Copyright 2016      Joao Eriberto Mota Filho
Copyright 2016      Stephen Thirlwall
Copyright 2017      Antonio Quartulli
Copyright 2017-2020 Ismael Luceno
Copyright 2017      Vlad Glagolev

This file is under the same license as Axel.
])

AC_PREREQ([2.69])
PKG_PREREQ([0.29])
m4_ifdef([AX_IS_RELEASE],, [
    m4_fatal([autoconf-archive is required])
])

AXEL_PKG([axel], [https://github.com/axel-download-accelerator/axel/issues])
AXEL_VER_READ([VERSION])
AC_INIT

AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_SRCDIR([src/conf.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_LIBOBJ_DIR([lib])

dnl Validate arguments; fail early
AC_ARG_WITH([ssl], [
AS_HELP_STRING(
        [--with-ssl=@<:@openssl/wolfssl@:>@],
        [Which TLS/SSL implementation to use, default: openssl])
AS_HELP_STRING(
        [--without-ssl], [disable TLS support])],
    [AS_CASE(["$withval"],
        [openssl|wolfssl|yes|no],,
        [AC_MSG_ERROR([Invalid argument: --with-ssl=$withval])])],
    [with_ssl=openssl])

AM_INIT_AUTOMAKE([subdir-objects])
PKG_PROG_PKG_CONFIG
AS_IF([test -z "$PKG_CONFIG"],
  [AC_MSG_WARN([pkg-config is needed for auto-configuration of dependencies])])
export PKG_CONFIG_PATH

AM_SILENT_RULES([yes])

# OS-specific stuff
AC_CANONICAL_HOST
AC_DEFINE_UNQUOTED([ARCH], ["$host_os"], ["Define architecture"])

# Make system extensions available to the code
AS_CASE(["$host_os"],
  [freebsd*], [
    AC_DEFINE([__BSD_VISIBLE], [1],
              [Workaround to expose legacy BSD typedefs needed by sockets API])
  ],
  [darwin*], [
    AC_DEFINE([_DARWIN_C_SOURCE], [1],
              [Define on Darwin to expose all libc features])
  ],
  [solaris*], [
    LIBS="$LIBS -lsocket -lnsl"
  ],
  [hpux*], [
    AS_IF([test -d /usr/local/lib/hpux32], [
      LDFLAGS="$LDFLAGS -L/usr/local/lib/hpux32"
    ])
  ],
  [*mingw32], [
    AC_DEFINE([_WIN32_WINNT], [0x0600],
              [Request NT 6 API to expose AI_ADDRCONFIG in WinSock2])
  ])
AC_USE_SYSTEM_EXTENSIONS

# Compiler checks
AC_PROG_CC
AC_PROG_CC_C99
AS_IF([test "x$ac_cv_prog_cc_c99" = "xno"], [
    AC_MSG_ERROR([C99 compiler required])
])

# Large file support
AC_SYS_LARGEFILE

# Compiler Warnings
AX_IS_RELEASE([git-directory])
AX_COMPILER_FLAGS()

# Debugging code
AC_ARG_ENABLE(debug,
    AS_HELP_STRING([--enable-debug], [enable debugging, default: no]))
AS_IF([! test "x$enable_debug" = xyes ], [
    AC_DEFINE([NDEBUG], [1], [disable debugging code])
])

# GCC function attributes
AX_GCC_FUNC_ATTRIBUTE([format])

# Built-in functions
AX_GCC_BUILTIN([__builtin_clzll])

AS_IF([test "x$ax_cv_have___builtin_clzll" = xno], [
    AC_MSG_ERROR([Support for __builtin_clzll is required])
])


# Checks for other programs.
AC_PROG_INSTALL

# Checks for libraries.

# Checks for header files.
AC_CHECK_HEADERS([ \
	arpa/inet.h \
	fcntl.h \
	limits.h \
	locale.h \
	netdb.h \
	netinet/in.h \
	stdlib.h \
	sys/ioctl.h \
	sys/socket.h \
	sys/time.h \
	unistd.h \
],, [
    AC_MSG_ERROR([$ac_header is required.])
])

# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE

# Ensure optional C99 integer types we need
AC_TYPE_INT8_T
AC_TYPE_UINT8_T
AC_TYPE_INT16_T
AC_TYPE_UINT16_T
AC_TYPE_INT32_T
AC_TYPE_UINT32_T
AC_TYPE_INT64_T
AC_TYPE_UINT64_T

# POSIX types
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_TYPE_MODE_T
AC_TYPE_SIGNAL

# Custom type checks and replacements
AXEL_CHECK_TYPE([off_t], [sizeof(off_t) >= sizeof(int64_t)])
AXEL_DEFAULT_TYPE([off_t], [int64_t])

# OS-specific issues
AS_CASE(["$host_os"],
  [darwin*], [
    AXEL_CHECK_TYPE([intmax_t], [sizeof(intmax_t) >= sizeof(int64_t)])
  ])

# Checks for library functions.
AC_CHECK_FUNCS([ \
	getaddrinfo \
	gettimeofday \
	inet_ntoa \
	malloc \
	memset \
	nanosleep \
	realloc \
	select \
	setlocale \
	socket \
	strcasecmp \
	strchr \
	strerror \
	strncasecmp \
	strpbrk \
	strrchr \
	strstr \
	strtoul \
	strtoll \
],, [
    AC_MSG_ERROR([$ac_func is required; it should be part of libc.])
])

AC_REPLACE_FUNCS([ \
	strlcpy \
	strlcat \
])

# Check for missing features/flags
AXEL_CHECK_MACRO([O_NONBLOCK], [fcntl.h])

# Optional (but included-by-default) ssl support
AM_CONDITIONAL([WITH_SSL], [test "x$with_ssl" != xno])
AC_ARG_VAR([SSL_PREFIX], [installation prefix of the TLS/SSL library])
AS_IF([test "x$with_ssl" != xno], [
    save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    AS_IF([test ${SSL_PREFIX+y}], [
	PKG_CONFIG_PATH="$SSL_PREFIX/lib/pkgconfig$PATH_SEPARATOR$PKG_CONFIG_PATH"
    ])
    PKG_CHECK_MODULES([SSL], [$with_ssl])
    AC_DEFINE([HAVE_SSL], [1], [SSL])
    AS_CASE(["$with_ssl"],
	[openssl|yes], [
	    save_LIBS="$LIBS"
	    LIBS="$LIBS $SSL_LIBS"
	    AC_REPLACE_FUNCS([ \
		ASN1_STRING_get0_data \
	    ])
	    LIBS="$save_LIBS"
	],
	[wolfssl], [
	    AC_CHECK_DECLS([
		X509_NAME_get_entry,
		X509_get_ext_d2i,
	        X509_V_OK
	    ],, [
	        AC_MSG_ERROR([wolfSSL with extra OpenSSL API compatibility required])
	    ], [
	        #include 
		#include 
		#include 
	    ])
	    AC_DEFINE([HAVE_WOLFSSL], [1], [wolfSSL])
	])
    PKG_CONFIG_PATH="$save_PKG_CONFIG_PATH"
], AC_MSG_NOTICE([TLS/SSL support disabled]))

# Add Gettext
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.11.1])

# POSIX threads
AX_PTHREAD()

#### Definitions ####


# BSD vs GNU date
AS_IF([date -j >/dev/null 2>&1], [
  pdate() { date -j -f '%Y-%m-%dT%H:%M:%SZ' "$@"; }
], [
  pdate() { date -d "$@"; }
])
RELDATE_PRETTY=$(pdate '_AXEL_RELDATE' '+%B %e, %Y')
AC_SUBST([RELDATE_PRETTY])

# etc path
AC_DEFINE_UNQUOTED([ETCDIR], ["/etc"], ["Define /etc directory path"])

#####################

AC_CONFIG_FILES([
	Makefile
	po/Makefile.in
])
AC_OUTPUT
axel-2.17.13/aclocal.m40000644000175000017500000041731714560423122010153 # generated automatically by aclocal 1.16.5 -*- Autoconf -*-

# Copyright (C) 1996-2021 Free Software Foundation, Inc.

# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.72],,
[m4_warning([this file was generated for autoconf 2.72.
You have another version of autoconf.  It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.])])

# ============================================================================
#  https://www.gnu.org/software/autoconf-archive/ax_append_compile_flags.html
# ============================================================================
#
# SYNOPSIS
#
#   AX_APPEND_COMPILE_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT])
#
# DESCRIPTION
#
#   For every FLAG1, FLAG2 it is checked whether the compiler works with the
#   flag.  If it does, the flag is added FLAGS-VARIABLE
#
#   If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
#   CFLAGS) is used.  During the check the flag is always added to the
#   current language's flags.
#
#   If EXTRA-FLAGS is defined, it is added to the current language's default
#   flags (e.g. CFLAGS) when the check is done.  The check is thus made with
#   the flags: "CFLAGS EXTRA-FLAGS FLAG".  This can for example be used to
#   force the compiler to issue an error when a bad flag is given.
#
#   INPUT gives an alternative input source to AC_COMPILE_IFELSE.
#
#   NOTE: This macro depends on the AX_APPEND_FLAG and
#   AX_CHECK_COMPILE_FLAG. Please keep this macro in sync with
#   AX_APPEND_LINK_FLAGS.
#
# LICENSE
#
#   Copyright (c) 2011 Maarten Bosmans 
#
#   Copying and distribution of this file, with or without modification, are
#   permitted in any medium without royalty provided the copyright notice
#   and this notice are preserved.  This file is offered as-is, without any
#   warranty.

#serial 7

AC_DEFUN([AX_APPEND_COMPILE_FLAGS],
[AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG])
AX_REQUIRE_DEFINED([AX_APPEND_FLAG])
for flag in $1; do
  AX_CHECK_COMPILE_FLAG([$flag], [AX_APPEND_FLAG([$flag], [$2])], [], [$3], [$4])
done
])dnl AX_APPEND_COMPILE_FLAGS

# ===========================================================================
#      https://www.gnu.org/software/autoconf-archive/ax_append_flag.html
# ===========================================================================
#
# SYNOPSIS
#
#   AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE])
#
# DESCRIPTION
#
#   FLAG is appended to the FLAGS-VARIABLE shell variable, with a space
#   added in between.
#
#   If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
#   CFLAGS) is used.  FLAGS-VARIABLE is not changed if it already contains
#   FLAG.  If FLAGS-VARIABLE is unset in the shell, it is set to exactly
#   FLAG.
#
#   NOTE: Implementation based on AX_CFLAGS_GCC_OPTION.
#
# LICENSE
#
#   Copyright (c) 2008 Guido U. Draheim 
#   Copyright (c) 2011 Maarten Bosmans 
#
#   Copying and distribution of this file, with or without modification, are
#   permitted in any medium without royalty provided the copyright notice
#   and this notice are preserved.  This file is offered as-is, without any
#   warranty.

#serial 8

AC_DEFUN([AX_APPEND_FLAG],
[dnl
AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_SET_IF
AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])])
AS_VAR_SET_IF(FLAGS,[
  AS_CASE([" AS_VAR_GET(FLAGS) "],
    [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])],
    [
     AS_VAR_APPEND(FLAGS,[" $1"])
     AC_RUN_LOG([: FLAGS="$FLAGS"])
    ])
  ],
  [
  AS_VAR_SET(FLAGS,[$1])
  AC_RUN_LOG([: FLAGS="$FLAGS"])
  ])
AS_VAR_POPDEF([FLAGS])dnl
])dnl AX_APPEND_FLAG

# ===========================================================================
#   https://www.gnu.org/software/autoconf-archive/ax_append_link_flags.html
# ===========================================================================
#
# SYNOPSIS
#
#   AX_APPEND_LINK_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT])
#
# DESCRIPTION
#
#   For every FLAG1, FLAG2 it is checked whether the linker works with the
#   flag.  If it does, the flag is added FLAGS-VARIABLE
#
#   If FLAGS-VARIABLE is not specified, the linker's flags (LDFLAGS) is
#   used. During the check the flag is always added to the linker's flags.
#
#   If EXTRA-FLAGS is defined, it is added to the linker's default flags
#   when the check is done.  The check is thus made with the flags: "LDFLAGS
#   EXTRA-FLAGS FLAG".  This can for example be used to force the linker to
#   issue an error when a bad flag is given.
#
#   INPUT gives an alternative input source to AC_COMPILE_IFELSE.
#
#   NOTE: This macro depends on the AX_APPEND_FLAG and AX_CHECK_LINK_FLAG.
#   Please keep this macro in sync with AX_APPEND_COMPILE_FLAGS.
#
# LICENSE
#
#   Copyright (c) 2011 Maarten Bosmans 
#
#   Copying and distribution of this file, with or without modification, are
#   permitted in any medium without royalty provided the copyright notice
#   and this notice are preserved.  This file is offered as-is, without any
#   warranty.

#serial 7

AC_DEFUN([AX_APPEND_LINK_FLAGS],
[AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG])
AX_REQUIRE_DEFINED([AX_APPEND_FLAG])
for flag in $1; do
  AX_CHECK_LINK_FLAG([$flag], [AX_APPEND_FLAG([$flag], [m4_default([$2], [LDFLAGS])])], [], [$3], [$4])
done
])dnl AX_APPEND_LINK_FLAGS

# ===========================================================================
#  https://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html
# ===========================================================================
#
# SYNOPSIS
#
#   AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
#
# DESCRIPTION
#
#   Check whether the given FLAG works with the current language's compiler
#   or gives an error.  (Warnings, however, are ignored)
#
#   ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
#   success/failure.
#
#   If EXTRA-FLAGS is defined, it is added to the current language's default
#   flags (e.g. CFLAGS) when the check is done.  The check is thus made with
#   the flags: "CFLAGS EXTRA-FLAGS FLAG".  This can for example be used to
#   force the compiler to issue an error when a bad flag is given.
#
#   INPUT gives an alternative input source to AC_COMPILE_IFELSE.
#
#   NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
#   macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG.
#
# LICENSE
#
#   Copyright (c) 2008 Guido U. Draheim 
#   Copyright (c) 2011 Maarten Bosmans 
#
#   Copying and distribution of this file, with or without modification, are
#   permitted in any medium without royalty provided the copyright notice
#   and this notice are preserved.  This file is offered as-is, without any
#   warranty.

#serial 6

AC_DEFUN([AX_CHECK_COMPILE_FLAG],
[AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF
AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl
AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [
  ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS
  _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1"
  AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])],
    [AS_VAR_SET(CACHEVAR,[yes])],
    [AS_VAR_SET(CACHEVAR,[no])])
  _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags])
AS_VAR_IF(CACHEVAR,yes,
  [m4_default([$2], :)],
  [m4_default([$3], :)])
AS_VAR_POPDEF([CACHEVAR])dnl
])dnl AX_CHECK_COMPILE_FLAGS

# ===========================================================================
#    https://www.gnu.org/software/autoconf-archive/ax_check_link_flag.html
# ===========================================================================
#
# SYNOPSIS
#
#   AX_CHECK_LINK_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
#
# DESCRIPTION
#
#   Check whether the given FLAG works with the linker or gives an error.
#   (Warnings, however, are ignored)
#
#   ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
#   success/failure.
#
#   If EXTRA-FLAGS is defined, it is added to the linker's default flags
#   when the check is done.  The check is thus made with the flags: "LDFLAGS
#   EXTRA-FLAGS FLAG".  This can for example be used to force the linker to
#   issue an error when a bad flag is given.
#
#   INPUT gives an alternative input source to AC_LINK_IFELSE.
#
#   NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
#   macro in sync with AX_CHECK_{PREPROC,COMPILE}_FLAG.
#
# LICENSE
#
#   Copyright (c) 2008 Guido U. Draheim 
#   Copyright (c) 2011 Maarten Bosmans 
#
#   Copying and distribution of this file, with or without modification, are
#   permitted in any medium without royalty provided the copyright notice
#   and this notice are preserved.  This file is offered as-is, without any
#   warranty.

#serial 6

AC_DEFUN([AX_CHECK_LINK_FLAG],
[AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF
AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_ldflags_$4_$1])dnl
AC_CACHE_CHECK([whether the linker accepts $1], CACHEVAR, [
  ax_check_save_flags=$LDFLAGS
  LDFLAGS="$LDFLAGS $4 $1"
  AC_LINK_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])],
    [AS_VAR_SET(CACHEVAR,[yes])],
    [AS_VAR_SET(CACHEVAR,[no])])
  LDFLAGS=$ax_check_save_flags])
AS_VAR_IF(CACHEVAR,yes,
  [m4_default([$2], :)],
  [m4_default([$3], :)])
AS_VAR_POPDEF([CACHEVAR])dnl
])dnl AX_CHECK_LINK_FLAGS

# ===========================================================================
#    https://www.gnu.org/software/autoconf-archive/ax_compiler_flags.html
# ===========================================================================
#
# SYNOPSIS
#
#   AX_COMPILER_FLAGS([CFLAGS-VARIABLE], [LDFLAGS-VARIABLE], [IS-RELEASE], [EXTRA-BASE-CFLAGS], [EXTRA-YES-CFLAGS], [UNUSED], [UNUSED], [UNUSED], [EXTRA-BASE-LDFLAGS], [EXTRA-YES-LDFLAGS], [UNUSED], [UNUSED], [UNUSED])
#
# DESCRIPTION
#
#   Check for the presence of an --enable-compile-warnings option to
#   configure, defaulting to "error" in normal operation, or "yes" if
#   IS-RELEASE is equal to "yes".  Return the value in the variable
#   $ax_enable_compile_warnings.
#
#   Depending on the value of --enable-compile-warnings, different compiler
#   warnings are checked to see if they work with the current compiler and,
#   if so, are appended to CFLAGS-VARIABLE and LDFLAGS-VARIABLE.  This
#   allows a consistent set of baseline compiler warnings to be used across
#   a code base, irrespective of any warnings enabled locally by individual
#   developers.  By standardising the warnings used by all developers of a
#   project, the project can commit to a zero-warnings policy, using -Werror
#   to prevent compilation if new warnings are introduced.  This makes
#   catching bugs which are flagged by warnings a lot easier.
#
#   By providing a consistent --enable-compile-warnings argument across all
#   projects using this macro, continuous integration systems can easily be
#   configured the same for all projects.  Automated systems or build
#   systems aimed at beginners may want to pass the --disable-Werror
#   argument to unconditionally prevent warnings being fatal.
#
#   --enable-compile-warnings can take the values:
#
#    * no:      Base compiler warnings only; not even -Wall.
#    * yes:     The above, plus a broad range of useful warnings.
#    * error:   The above, plus -Werror so that all warnings are fatal.
#               Use --disable-Werror to override this and disable fatal
#               warnings.
#
#   The set of base and enabled flags can be augmented using the
#   EXTRA-*-CFLAGS and EXTRA-*-LDFLAGS variables, which are tested and
#   appended to the output variable if --enable-compile-warnings is not
#   "no". Flags should not be disabled using these arguments, as the entire
#   point of AX_COMPILER_FLAGS is to enforce a consistent set of useful
#   compiler warnings on code, using warnings which have been chosen for low
#   false positive rates.  If a compiler emits false positives for a
#   warning, a #pragma should be used in the code to disable the warning
#   locally. See:
#
#     https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas
#
#   The EXTRA-* variables should only be used to supply extra warning flags,
#   and not general purpose compiler flags, as they are controlled by
#   configure options such as --disable-Werror.
#
#   IS-RELEASE can be used to disable -Werror when making a release, which
#   is useful for those hairy moments when you just want to get the release
#   done as quickly as possible.  Set it to "yes" to disable -Werror. By
#   default, it uses the value of $ax_is_release, so if you are using the
#   AX_IS_RELEASE macro, there is no need to pass this parameter. For
#   example:
#
#     AX_IS_RELEASE([git-directory])
#     AX_COMPILER_FLAGS()
#
#   CFLAGS-VARIABLE defaults to WARN_CFLAGS, and LDFLAGS-VARIABLE defaults
#   to WARN_LDFLAGS.  Both variables are AC_SUBST-ed by this macro, but must
#   be manually added to the CFLAGS and LDFLAGS variables for each target in
#   the code base.
#
#   If C++ language support is enabled with AC_PROG_CXX, which must occur
#   before this macro in configure.ac, warning flags for the C++ compiler
#   are AC_SUBST-ed as WARN_CXXFLAGS, and must be manually added to the
#   CXXFLAGS variables for each target in the code base.  EXTRA-*-CFLAGS can
#   be used to augment the base and enabled flags.
#
#   Warning flags for g-ir-scanner (from GObject Introspection) are
#   AC_SUBST-ed as WARN_SCANNERFLAGS.  This variable must be manually added
#   to the SCANNERFLAGS variable for each GIR target in the code base.  If
#   extra g-ir-scanner flags need to be enabled, the AX_COMPILER_FLAGS_GIR
#   macro must be invoked manually.
#
#   AX_COMPILER_FLAGS may add support for other tools in future, in addition
#   to the compiler and linker.  No extra EXTRA-* variables will be added
#   for those tools, and all extra support will still use the single
#   --enable-compile-warnings configure option.  For finer grained control
#   over the flags for individual tools, use AX_COMPILER_FLAGS_CFLAGS,
#   AX_COMPILER_FLAGS_LDFLAGS and AX_COMPILER_FLAGS_* for new tools.
#
#   The UNUSED variables date from a previous version of this macro, and are
#   automatically appended to the preceding non-UNUSED variable. They should
#   be left empty in new uses of the macro.
#
# LICENSE
#
#   Copyright (c) 2014, 2015 Philip Withnall 
#   Copyright (c) 2015 David King 
#
#   Copying and distribution of this file, with or without modification, are
#   permitted in any medium without royalty provided the copyright notice
#   and this notice are preserved.  This file is offered as-is, without any
#   warranty.

#serial 14

# _AX_COMPILER_FLAGS_LANG([LANGNAME])
m4_defun([_AX_COMPILER_FLAGS_LANG],
[m4_ifdef([_AX_COMPILER_FLAGS_LANG_]$1[_enabled], [],
          [m4_define([_AX_COMPILER_FLAGS_LANG_]$1[_enabled], [])dnl
           AX_REQUIRE_DEFINED([AX_COMPILER_FLAGS_]$1[FLAGS])])dnl
])

AC_DEFUN([AX_COMPILER_FLAGS],[
    # C support is enabled by default.
    _AX_COMPILER_FLAGS_LANG([C])
    # Only enable C++ support if AC_PROG_CXX is called. The redefinition of
    # AC_PROG_CXX is so that a fatal error is emitted if this macro is called
    # before AC_PROG_CXX, which would otherwise cause no C++ warnings to be
    # checked.
    AC_PROVIDE_IFELSE([AC_PROG_CXX],
                      [_AX_COMPILER_FLAGS_LANG([CXX])],
                      [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AX_COMPILER_FLAGS_LANG([CXX])])])
    AX_REQUIRE_DEFINED([AX_COMPILER_FLAGS_LDFLAGS])

    # Default value for IS-RELEASE is $ax_is_release
    ax_compiler_flags_is_release=m4_tolower(m4_normalize(ifelse([$3],,
                                                                [$ax_is_release],
                                                                [$3])))

    AC_ARG_ENABLE([compile-warnings],
                  AS_HELP_STRING([--enable-compile-warnings=@<:@no/yes/error@:>@],
                                 [Enable compiler warnings and errors]),,
                  [AS_IF([test "$ax_compiler_flags_is_release" = "yes"],
                         [enable_compile_warnings="yes"],
                         [enable_compile_warnings="error"])])
    AC_ARG_ENABLE([Werror],
                  AS_HELP_STRING([--disable-Werror],
                                 [Unconditionally make all compiler warnings non-fatal]),,
                  [enable_Werror=maybe])

    # Return the user's chosen warning level
    AS_IF([test "$enable_Werror" = "no" -a \
                "$enable_compile_warnings" = "error"],[
        enable_compile_warnings="yes"
    ])

    ax_enable_compile_warnings=$enable_compile_warnings

    AX_COMPILER_FLAGS_CFLAGS([$1],[$ax_compiler_flags_is_release],
                             [$4],[$5 $6 $7 $8])
    m4_ifdef([_AX_COMPILER_FLAGS_LANG_CXX_enabled],
             [AX_COMPILER_FLAGS_CXXFLAGS([WARN_CXXFLAGS],
                                         [$ax_compiler_flags_is_release],
                                         [$4],[$5 $6 $7 $8])])
    AX_COMPILER_FLAGS_LDFLAGS([$2],[$ax_compiler_flags_is_release],
                              [$9],[$10 $11 $12 $13])
    AX_COMPILER_FLAGS_GIR([WARN_SCANNERFLAGS],[$ax_compiler_flags_is_release])
])dnl AX_COMPILER_FLAGS

# =============================================================================
#  https://www.gnu.org/software/autoconf-archive/ax_compiler_flags_cflags.html
# =============================================================================
#
# SYNOPSIS
#
#   AX_COMPILER_FLAGS_CFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
#
# DESCRIPTION
#
#   Add warning flags for the C compiler to VARIABLE, which defaults to
#   WARN_CFLAGS.  VARIABLE is AC_SUBST-ed by this macro, but must be
#   manually added to the CFLAGS variable for each target in the code base.
#
#   This macro depends on the environment set up by AX_COMPILER_FLAGS.
#   Specifically, it uses the value of $ax_enable_compile_warnings to decide
#   which flags to enable.
#
# LICENSE
#
#   Copyright (c) 2014, 2015 Philip Withnall 
#   Copyright (c) 2017, 2018 Reini Urban 
#
#   Copying and distribution of this file, with or without modification, are
#   permitted in any medium without royalty provided the copyright notice
#   and this notice are preserved.  This file is offered as-is, without any
#   warranty.

#serial 17

AC_DEFUN([AX_COMPILER_FLAGS_CFLAGS],[
    AC_REQUIRE([AC_PROG_SED])
    AX_REQUIRE_DEFINED([AX_APPEND_COMPILE_FLAGS])
    AX_REQUIRE_DEFINED([AX_APPEND_FLAG])
    AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG])

    # Variable names
    m4_define([ax_warn_cflags_variable],
              [m4_normalize(ifelse([$1],,[WARN_CFLAGS],[$1]))])

    AC_LANG_PUSH([C])

    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
      [#ifndef __cplusplus
       #error "no C++"
       #endif]])],
      [ax_compiler_cxx=yes;],
      [ax_compiler_cxx=no;])

    # Always pass -Werror=unknown-warning-option to get Clang to fail on bad
    # flags, otherwise they are always appended to the warn_cflags variable, and
    # Clang warns on them for every compilation unit.
    # If this is passed to GCC, it will explode, so the flag must be enabled
    # conditionally.
    AX_CHECK_COMPILE_FLAG([-Werror=unknown-warning-option],[
        ax_compiler_flags_test="-Werror=unknown-warning-option"
    ],[
        ax_compiler_flags_test=""
    ])

    # Check that -Wno-suggest-attribute=format is supported
    AX_CHECK_COMPILE_FLAG([-Wno-suggest-attribute=format],[
        ax_compiler_no_suggest_attribute_flags="-Wno-suggest-attribute=format"
    ],[
        ax_compiler_no_suggest_attribute_flags=""
    ])

    # Base flags
    AX_APPEND_COMPILE_FLAGS([ dnl
        -fno-strict-aliasing dnl
        $3 dnl
    ],ax_warn_cflags_variable,[$ax_compiler_flags_test])

    AS_IF([test "$ax_enable_compile_warnings" != "no"],[
        if test "$ax_compiler_cxx" = "no" ; then
            # C-only flags. Warn in C++
            AX_APPEND_COMPILE_FLAGS([ dnl
                -Wnested-externs dnl
                -Wmissing-prototypes dnl
                -Wstrict-prototypes dnl
                -Wdeclaration-after-statement dnl
                -Wimplicit-function-declaration dnl
                -Wold-style-definition dnl
                -Wjump-misses-init dnl
            ],ax_warn_cflags_variable,[$ax_compiler_flags_test])
        fi

        # "yes" flags
        AX_APPEND_COMPILE_FLAGS([ dnl
            -Wall dnl
            -Wextra dnl
            -Wundef dnl
            -Wwrite-strings dnl
            -Wpointer-arith dnl
            -Wmissing-declarations dnl
            -Wredundant-decls dnl
            -Wno-unused-parameter dnl
            -Wno-missing-field-initializers dnl
            -Wformat=2 dnl
            -Wcast-align dnl
            -Wformat-nonliteral dnl
            -Wformat-security dnl
            -Wsign-compare dnl
            -Wstrict-aliasing dnl
            -Wshadow dnl
            -Winline dnl
            -Wpacked dnl
            -Wmissing-format-attribute dnl
            -Wmissing-noreturn dnl
            -Winit-self dnl
            -Wredundant-decls dnl
            -Wmissing-include-dirs dnl
            -Wunused-but-set-variable dnl
            -Warray-bounds dnl
            -Wreturn-type dnl
            -Wswitch-enum dnl
            -Wswitch-default dnl
            -Wduplicated-cond dnl
            -Wduplicated-branches dnl
            -Wlogical-op dnl
            -Wrestrict dnl
            -Wnull-dereference dnl
            -Wdouble-promotion dnl
            $4 dnl
            $5 dnl
            $6 dnl
            $7 dnl
        ],ax_warn_cflags_variable,[$ax_compiler_flags_test])
    ])
    AS_IF([test "$ax_enable_compile_warnings" = "error"],[
        # "error" flags; -Werror has to be appended unconditionally because
        # it's not possible to test for
        #
        # suggest-attribute=format is disabled because it gives too many false
        # positives
        AX_APPEND_FLAG([-Werror],ax_warn_cflags_variable)

        AX_APPEND_COMPILE_FLAGS([ dnl
            [$ax_compiler_no_suggest_attribute_flags] dnl
        ],ax_warn_cflags_variable,[$ax_compiler_flags_test])
    ])

    # In the flags below, when disabling specific flags, always add *both*
    # -Wno-foo and -Wno-error=foo. This fixes the situation where (for example)
    # we enable -Werror, disable a flag, and a build bot passes CFLAGS=-Wall,
    # which effectively turns that flag back on again as an error.
    for flag in $ax_warn_cflags_variable; do
        AS_CASE([$flag],
                [-Wno-*=*],[],
                [-Wno-*],[
                    AX_APPEND_COMPILE_FLAGS([-Wno-error=$(AS_ECHO([$flag]) | $SED 's/^-Wno-//')],
                                            ax_warn_cflags_variable,
                                            [$ax_compiler_flags_test])
                ])
    done

    AC_LANG_POP([C])

    # Substitute the variables
    AC_SUBST(ax_warn_cflags_variable)
])dnl AX_COMPILER_FLAGS

# ===========================================================================
#  https://www.gnu.org/software/autoconf-archive/ax_compiler_flags_gir.html
# ===========================================================================
#
# SYNOPSIS
#
#   AX_COMPILER_FLAGS_GIR([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
#
# DESCRIPTION
#
#   Add warning flags for the g-ir-scanner (from GObject Introspection) to
#   VARIABLE, which defaults to WARN_SCANNERFLAGS.  VARIABLE is AC_SUBST-ed
#   by this macro, but must be manually added to the SCANNERFLAGS variable
#   for each GIR target in the code base.
#
#   This macro depends on the environment set up by AX_COMPILER_FLAGS.
#   Specifically, it uses the value of $ax_enable_compile_warnings to decide
#   which flags to enable.
#
# LICENSE
#
#   Copyright (c) 2015 Philip Withnall 
#
#   Copying and distribution of this file, with or without modification, are
#   permitted in any medium without royalty provided the copyright notice
#   and this notice are preserved.  This file is offered as-is, without any
#   warranty.

#serial 6

AC_DEFUN([AX_COMPILER_FLAGS_GIR],[
    AX_REQUIRE_DEFINED([AX_APPEND_FLAG])

    # Variable names
    m4_define([ax_warn_scannerflags_variable],
              [m4_normalize(ifelse([$1],,[WARN_SCANNERFLAGS],[$1]))])

    # Base flags
    AX_APPEND_FLAG([$3],ax_warn_scannerflags_variable)

    AS_IF([test "$ax_enable_compile_warnings" != "no"],[
        # "yes" flags
        AX_APPEND_FLAG([ dnl
            --warn-all dnl
            $4 dnl
            $5 dnl
            $6 dnl
            $7 dnl
        ],ax_warn_scannerflags_variable)
    ])
    AS_IF([test "$ax_enable_compile_warnings" = "error"],[
        # "error" flags
        AX_APPEND_FLAG([ dnl
            --warn-error dnl
        ],ax_warn_scannerflags_variable)
    ])

    # Substitute the variables
    AC_SUBST(ax_warn_scannerflags_variable)
])dnl AX_COMPILER_FLAGS

# ==============================================================================
#  https://www.gnu.org/software/autoconf-archive/ax_compiler_flags_ldflags.html
# ==============================================================================
#
# SYNOPSIS
#
#   AX_COMPILER_FLAGS_LDFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
#
# DESCRIPTION
#
#   Add warning flags for the linker to VARIABLE, which defaults to
#   WARN_LDFLAGS.  VARIABLE is AC_SUBST-ed by this macro, but must be
#   manually added to the LDFLAGS variable for each target in the code base.
#
#   This macro depends on the environment set up by AX_COMPILER_FLAGS.
#   Specifically, it uses the value of $ax_enable_compile_warnings to decide
#   which flags to enable.
#
# LICENSE
#
#   Copyright (c) 2014, 2015 Philip Withnall 
#   Copyright (c) 2017, 2018 Reini Urban 
#
#   Copying and distribution of this file, with or without modification, are
#   permitted in any medium without royalty provided the copyright notice
#   and this notice are preserved.  This file is offered as-is, without any
#   warranty.

#serial 9

AC_DEFUN([AX_COMPILER_FLAGS_LDFLAGS],[
    AX_REQUIRE_DEFINED([AX_APPEND_LINK_FLAGS])
    AX_REQUIRE_DEFINED([AX_APPEND_FLAG])
    AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG])
    AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG])

    # Variable names
    m4_define([ax_warn_ldflags_variable],
              [m4_normalize(ifelse([$1],,[WARN_LDFLAGS],[$1]))])

    # Always pass -Werror=unknown-warning-option to get Clang to fail on bad
    # flags, otherwise they are always appended to the warn_ldflags variable,
    # and Clang warns on them for every compilation unit.
    # If this is passed to GCC, it will explode, so the flag must be enabled
    # conditionally.
    AX_CHECK_COMPILE_FLAG([-Werror=unknown-warning-option],[
        ax_compiler_flags_test="-Werror=unknown-warning-option"
    ],[
        ax_compiler_flags_test=""
    ])

    AX_CHECK_LINK_FLAG([-Wl,--as-needed], [
        AX_APPEND_LINK_FLAGS([-Wl,--as-needed],
          [AM_LDFLAGS],[$ax_compiler_flags_test])
    ])
    AX_CHECK_LINK_FLAG([-Wl,-z,relro], [
        AX_APPEND_LINK_FLAGS([-Wl,-z,relro],
          [AM_LDFLAGS],[$ax_compiler_flags_test])
    ])
    AX_CHECK_LINK_FLAG([-Wl,-z,now], [
        AX_APPEND_LINK_FLAGS([-Wl,-z,now],
          [AM_LDFLAGS],[$ax_compiler_flags_test])
    ])
    AX_CHECK_LINK_FLAG([-Wl,-z,noexecstack], [
        AX_APPEND_LINK_FLAGS([-Wl,-z,noexecstack],
          [AM_LDFLAGS],[$ax_compiler_flags_test])
    ])
    # textonly, retpolineplt not yet

    # macOS and cygwin linker do not have --as-needed
    AX_CHECK_LINK_FLAG([-Wl,--no-as-needed], [
        ax_compiler_flags_as_needed_option="-Wl,--no-as-needed"
    ], [
        ax_compiler_flags_as_needed_option=""
    ])

    # macOS linker speaks with a different accent
    ax_compiler_flags_fatal_warnings_option=""
    AX_CHECK_LINK_FLAG([-Wl,--fatal-warnings], [
        ax_compiler_flags_fatal_warnings_option="-Wl,--fatal-warnings"
    ])
    AX_CHECK_LINK_FLAG([-Wl,-fatal_warnings], [
        ax_compiler_flags_fatal_warnings_option="-Wl,-fatal_warnings"
    ])

    # Base flags
    AX_APPEND_LINK_FLAGS([ dnl
        $ax_compiler_flags_as_needed_option dnl
        $3 dnl
    ],ax_warn_ldflags_variable,[$ax_compiler_flags_test])

    AS_IF([test "$ax_enable_compile_warnings" != "no"],[
        # "yes" flags
        AX_APPEND_LINK_FLAGS([$4 $5 $6 $7],
                                ax_warn_ldflags_variable,
                                [$ax_compiler_flags_test])
    ])
    AS_IF([test "$ax_enable_compile_warnings" = "error"],[
        # "error" flags; -Werror has to be appended unconditionally because
        # it's not possible to test for
        #
        # suggest-attribute=format is disabled because it gives too many false
        # positives
        AX_APPEND_LINK_FLAGS([ dnl
            $ax_compiler_flags_fatal_warnings_option dnl
        ],ax_warn_ldflags_variable,[$ax_compiler_flags_test])
    ])

    # Substitute the variables
    AC_SUBST(ax_warn_ldflags_variable)
])dnl AX_COMPILER_FLAGS

# ===========================================================================
#      https://www.gnu.org/software/autoconf-archive/ax_gcc_builtin.html
# ===========================================================================
#
# SYNOPSIS
#
#   AX_GCC_BUILTIN(BUILTIN)
#
# DESCRIPTION
#
#   This macro checks if the compiler supports one of GCC's built-in
#   functions; many other compilers also provide those same built-ins.
#
#   The BUILTIN parameter is the name of the built-in function.
#
#   If BUILTIN is supported define HAVE_. Keep in mind that since
#   builtins usually start with two underscores they will be copied over
#   into the HAVE_ definition (e.g. HAVE___BUILTIN_EXPECT for
#   __builtin_expect()).
#
#   The macro caches its result in the ax_cv_have_ variable (e.g.
#   ax_cv_have___builtin_expect).
#
#   The macro currently supports the following built-in functions:
#
#    __builtin_assume_aligned
#    __builtin_bswap16
#    __builtin_bswap32
#    __builtin_bswap64
#    __builtin_choose_expr
#    __builtin___clear_cache
#    __builtin_clrsb
#    __builtin_clrsbl
#    __builtin_clrsbll
#    __builtin_clz
#    __builtin_clzl
#    __builtin_clzll
#    __builtin_complex
#    __builtin_constant_p
#    __builtin_cpu_init
#    __builtin_cpu_is
#    __builtin_cpu_supports
#    __builtin_ctz
#    __builtin_ctzl
#    __builtin_ctzll
#    __builtin_expect
#    __builtin_ffs
#    __builtin_ffsl
#    __builtin_ffsll
#    __builtin_fpclassify
#    __builtin_huge_val
#    __builtin_huge_valf
#    __builtin_huge_vall
#    __builtin_inf
#    __builtin_infd128
#    __builtin_infd32
#    __builtin_infd64
#    __builtin_inff
#    __builtin_infl
#    __builtin_isinf_sign
#    __builtin_nan
#    __builtin_nand128
#    __builtin_nand32
#    __builtin_nand64
#    __builtin_nanf
#    __builtin_nanl
#    __builtin_nans
#    __builtin_nansf
#    __builtin_nansl
#    __builtin_object_size
#    __builtin_parity
#    __builtin_parityl
#    __builtin_parityll
#    __builtin_popcount
#    __builtin_popcountl
#    __builtin_popcountll
#    __builtin_powi
#    __builtin_powif
#    __builtin_powil
#    __builtin_prefetch
#    __builtin_trap
#    __builtin_types_compatible_p
#    __builtin_unreachable
#
#   Unsupported built-ins will be tested with an empty parameter set and the
#   result of the check might be wrong or meaningless so use with care.
#
# LICENSE
#
#   Copyright (c) 2013 Gabriele Svelto 
#
#   Copying and distribution of this file, with or without modification, are
#   permitted in any medium without royalty provided the copyright notice
#   and this notice are preserved.  This file is offered as-is, without any
#   warranty.

#serial 7

AC_DEFUN([AX_GCC_BUILTIN], [
    AS_VAR_PUSHDEF([ac_var], [ax_cv_have_$1])

    AC_CACHE_CHECK([for $1], [ac_var], [
        AC_LINK_IFELSE([AC_LANG_PROGRAM([], [
            m4_case([$1],
                [__builtin_assume_aligned], [$1("", 0)],
                [__builtin_bswap16], [$1(0)],
                [__builtin_bswap32], [$1(0)],
                [__builtin_bswap64], [$1(0)],
                [__builtin_choose_expr], [$1(0, 0, 0)],
                [__builtin___clear_cache], [$1("", "")],
                [__builtin_clrsb], [$1(0)],
                [__builtin_clrsbl], [$1(0)],
                [__builtin_clrsbll], [$1(0)],
                [__builtin_clz], [$1(0)],
                [__builtin_clzl], [$1(0)],
                [__builtin_clzll], [$1(0)],
                [__builtin_complex], [$1(0.0, 0.0)],
                [__builtin_constant_p], [$1(0)],
                [__builtin_cpu_init], [$1()],
                [__builtin_cpu_is], [$1("intel")],
                [__builtin_cpu_supports], [$1("sse")],
                [__builtin_ctz], [$1(0)],
                [__builtin_ctzl], [$1(0)],
                [__builtin_ctzll], [$1(0)],
                [__builtin_expect], [$1(0, 0)],
                [__builtin_ffs], [$1(0)],
                [__builtin_ffsl], [$1(0)],
                [__builtin_ffsll], [$1(0)],
                [__builtin_fpclassify], [$1(0, 1, 2, 3, 4, 0.0)],
                [__builtin_huge_val], [$1()],
                [__builtin_huge_valf], [$1()],
                [__builtin_huge_vall], [$1()],
                [__builtin_inf], [$1()],
                [__builtin_infd128], [$1()],
                [__builtin_infd32], [$1()],
                [__builtin_infd64], [$1()],
                [__builtin_inff], [$1()],
                [__builtin_infl], [$1()],
                [__builtin_isinf_sign], [$1(0.0)],
                [__builtin_nan], [$1("")],
                [__builtin_nand128], [$1("")],
                [__builtin_nand32], [$1("")],
                [__builtin_nand64], [$1("")],
                [__builtin_nanf], [$1("")],
                [__builtin_nanl], [$1("")],
                [__builtin_nans], [$1("")],
                [__builtin_nansf], [$1("")],
                [__builtin_nansl], [$1("")],
                [__builtin_object_size], [$1("", 0)],
                [__builtin_parity], [$1(0)],
                [__builtin_parityl], [$1(0)],
                [__builtin_parityll], [$1(0)],
                [__builtin_popcount], [$1(0)],
                [__builtin_popcountl], [$1(0)],
                [__builtin_popcountll], [$1(0)],
                [__builtin_powi], [$1(0, 0)],
                [__builtin_powif], [$1(0, 0)],
                [__builtin_powil], [$1(0, 0)],
                [__builtin_prefetch], [$1("")],
                [__builtin_trap], [$1()],
                [__builtin_types_compatible_p], [$1(int, int)],
                [__builtin_unreachable], [$1()],
                [m4_warn([syntax], [Unsupported built-in $1, the test may fail])
                 $1()]
            )
            ])],
            [AS_VAR_SET([ac_var], [yes])],
            [AS_VAR_SET([ac_var], [no])])
    ])

    AS_IF([test yes = AS_VAR_GET([ac_var])],
        [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_$1), 1,
            [Define to 1 if the system has the `$1' built-in function])], [])

    AS_VAR_POPDEF([ac_var])
])

# ===========================================================================
#  https://www.gnu.org/software/autoconf-archive/ax_gcc_func_attribute.html
# ===========================================================================
#
# SYNOPSIS
#
#   AX_GCC_FUNC_ATTRIBUTE(ATTRIBUTE)
#
# DESCRIPTION
#
#   This macro checks if the compiler supports one of GCC's function
#   attributes; many other compilers also provide function attributes with
#   the same syntax. Compiler warnings are used to detect supported
#   attributes as unsupported ones are ignored by default so quieting
#   warnings when using this macro will yield false positives.
#
#   The ATTRIBUTE parameter holds the name of the attribute to be checked.
#
#   If ATTRIBUTE is supported define HAVE_FUNC_ATTRIBUTE_.
#
#   The macro caches its result in the ax_cv_have_func_attribute_
#   variable.
#
#   The macro currently supports the following function attributes:
#
#    alias
#    aligned
#    alloc_size
#    always_inline
#    artificial
#    cold
#    const
#    constructor
#    constructor_priority for constructor attribute with priority
#    deprecated
#    destructor
#    dllexport
#    dllimport
#    error
#    externally_visible
#    fallthrough
#    flatten
#    format
#    format_arg
#    gnu_format
#    gnu_inline
#    hot
#    ifunc
#    leaf
#    malloc
#    noclone
#    noinline
#    nonnull
#    noreturn
#    nothrow
#    optimize
#    pure
#    sentinel
#    sentinel_position
#    unused
#    used
#    visibility
#    warning
#    warn_unused_result
#    weak
#    weakref
#
#   Unsupported function attributes will be tested with a prototype
#   returning an int and not accepting any arguments and the result of the
#   check might be wrong or meaningless so use with care.
#
# LICENSE
#
#   Copyright (c) 2013 Gabriele Svelto 
#
#   Copying and distribution of this file, with or without modification, are
#   permitted in any medium without royalty provided the copyright notice
#   and this notice are preserved.  This file is offered as-is, without any
#   warranty.

#serial 13

AC_DEFUN([AX_GCC_FUNC_ATTRIBUTE], [
    AS_VAR_PUSHDEF([ac_var], [ax_cv_have_func_attribute_$1])

    AC_CACHE_CHECK([for __attribute__(($1))], [ac_var], [
        AC_LINK_IFELSE([AC_LANG_PROGRAM([
            m4_case([$1],
                [alias], [
                    int foo( void ) { return 0; }
                    int bar( void ) __attribute__(($1("foo")));
                ],
                [aligned], [
                    int foo( void ) __attribute__(($1(32)));
                ],
                [alloc_size], [
                    void *foo(int a) __attribute__(($1(1)));
                ],
                [always_inline], [
                    inline __attribute__(($1)) int foo( void ) { return 0; }
                ],
                [artificial], [
                    inline __attribute__(($1)) int foo( void ) { return 0; }
                ],
                [cold], [
                    int foo( void ) __attribute__(($1));
                ],
                [const], [
                    int foo( void ) __attribute__(($1));
                ],
                [constructor_priority], [
                    int foo( void ) __attribute__((__constructor__(65535/2)));
                ],
                [constructor], [
                    int foo( void ) __attribute__(($1));
                ],
                [deprecated], [
                    int foo( void ) __attribute__(($1("")));
                ],
                [destructor], [
                    int foo( void ) __attribute__(($1));
                ],
                [dllexport], [
                    __attribute__(($1)) int foo( void ) { return 0; }
                ],
                [dllimport], [
                    int foo( void ) __attribute__(($1));
                ],
                [error], [
                    int foo( void ) __attribute__(($1("")));
                ],
                [externally_visible], [
                    int foo( void ) __attribute__(($1));
                ],
                [fallthrough], [
                    void foo( int x ) {switch (x) { case 1: __attribute__(($1)); case 2: break ; }};
                ],
                [flatten], [
                    int foo( void ) __attribute__(($1));
                ],
                [format], [
                    int foo(const char *p, ...) __attribute__(($1(printf, 1, 2)));
                ],
                [gnu_format], [
                    int foo(const char *p, ...) __attribute__((format(gnu_printf, 1, 2)));
                ],
                [format_arg], [
                    char *foo(const char *p) __attribute__(($1(1)));
                ],
                [gnu_inline], [
                    inline __attribute__(($1)) int foo( void ) { return 0; }
                ],
                [hot], [
                    int foo( void ) __attribute__(($1));
                ],
                [ifunc], [
                    int my_foo( void ) { return 0; }
                    static int (*resolve_foo(void))(void) { return my_foo; }
                    int foo( void ) __attribute__(($1("resolve_foo")));
                ],
                [leaf], [
                    __attribute__(($1)) int foo( void ) { return 0; }
                ],
                [malloc], [
                    void *foo( void ) __attribute__(($1));
                ],
                [noclone], [
                    int foo( void ) __attribute__(($1));
                ],
                [noinline], [
                    __attribute__(($1)) int foo( void ) { return 0; }
                ],
                [nonnull], [
                    int foo(char *p) __attribute__(($1(1)));
                ],
                [noreturn], [
                    void foo( void ) __attribute__(($1));
                ],
                [nothrow], [
                    int foo( void ) __attribute__(($1));
                ],
                [optimize], [
                    __attribute__(($1(3))) int foo( void ) { return 0; }
                ],
                [pure], [
                    int foo( void ) __attribute__(($1));
                ],
                [sentinel], [
                    int foo(void *p, ...) __attribute__(($1));
                ],
                [sentinel_position], [
                    int foo(void *p, ...) __attribute__(($1(1)));
                ],
                [returns_nonnull], [
                    void *foo( void ) __attribute__(($1));
                ],
                [unused], [
                    int foo( void ) __attribute__(($1));
                ],
                [used], [
                    int foo( void ) __attribute__(($1));
                ],
                [visibility], [
                    int foo_def( void ) __attribute__(($1("default")));
                    int foo_hid( void ) __attribute__(($1("hidden")));
                    int foo_int( void ) __attribute__(($1("internal")));
                    int foo_pro( void ) __attribute__(($1("protected")));
                ],
                [warning], [
                    int foo( void ) __attribute__(($1("")));
                ],
                [warn_unused_result], [
                    int foo( void ) __attribute__(($1));
                ],
                [weak], [
                    int foo( void ) __attribute__(($1));
                ],
                [weakref], [
                    static int foo( void ) { return 0; }
                    static int bar( void ) __attribute__(($1("foo")));
                ],
                [
                 m4_warn([syntax], [Unsupported attribute $1, the test may fail])
                 int foo( void ) __attribute__(($1));
                ]
            )], [])
            ],
            dnl GCC doesn't exit with an error if an unknown attribute is
            dnl provided but only outputs a warning, so accept the attribute
            dnl only if no warning were issued.
            [AS_IF([grep -- -Wattributes conftest.err],
                [AS_VAR_SET([ac_var], [no])],
                [AS_VAR_SET([ac_var], [yes])])],
            [AS_VAR_SET([ac_var], [no])])
    ])

    AS_IF([test yes = AS_VAR_GET([ac_var])],
        [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_FUNC_ATTRIBUTE_$1), 1,
            [Define to 1 if the system has the `$1' function attribute])], [])

    AS_VAR_POPDEF([ac_var])
])

# ===========================================================================
#      https://www.gnu.org/software/autoconf-archive/ax_is_release.html
# ===========================================================================
#
# SYNOPSIS
#
#   AX_IS_RELEASE(POLICY)
#
# DESCRIPTION
#
#   Determine whether the code is being configured as a release, or from
#   git. Set the ax_is_release variable to 'yes' or 'no'.
#
#   If building a release version, it is recommended that the configure
#   script disable compiler errors and debug features, by conditionalising
#   them on the ax_is_release variable.  If building from git, these
#   features should be enabled.
#
#   The POLICY parameter specifies how ax_is_release is determined. It can
#   take the following values:
#
#    * git-directory:  ax_is_release will be 'no' if a '.git'
#                      directory or git worktree exists
#    * minor-version:  ax_is_release will be 'no' if the minor version number
#                      in $PACKAGE_VERSION is odd; this assumes
#                      $PACKAGE_VERSION follows the 'major.minor.micro' scheme
#    * micro-version:  ax_is_release will be 'no' if the micro version number
#                      in $PACKAGE_VERSION is odd; this assumes
#                      $PACKAGE_VERSION follows the 'major.minor.micro' scheme
#    * dash-version:   ax_is_release will be 'no' if there is a dash '-'
#                      in $PACKAGE_VERSION, for example 1.2-pre3, 1.2.42-a8b9
#                      or 2.0-dirty (in particular this is suitable for use
#                      with git-version-gen)
#    * always:         ax_is_release will always be 'yes'
#    * never:          ax_is_release will always be 'no'
#
#   Other policies may be added in future.
#
# LICENSE
#
#   Copyright (c) 2015 Philip Withnall 
#   Copyright (c) 2016 Collabora Ltd.
#
#   Copying and distribution of this file, with or without modification, are
#   permitted in any medium without royalty provided the copyright notice
#   and this notice are preserved.

#serial 8

AC_DEFUN([AX_IS_RELEASE],[
    AC_BEFORE([AC_INIT],[$0])

    m4_case([$1],
      [git-directory],[
        # $is_release = (.git directory does not exist)
        AS_IF([test -d ${srcdir}/.git || (test -f ${srcdir}/.git && grep \.git/worktrees ${srcdir}/.git)],[ax_is_release=no],[ax_is_release=yes])
      ],
      [minor-version],[
        # $is_release = ($minor_version is even)
        minor_version=`echo "$PACKAGE_VERSION" | sed 's/[[^.]][[^.]]*.\([[^.]][[^.]]*\).*/\1/'`
        AS_IF([test "$(( $minor_version % 2 ))" -ne 0],
              [ax_is_release=no],[ax_is_release=yes])
      ],
      [micro-version],[
        # $is_release = ($micro_version is even)
        micro_version=`echo "$PACKAGE_VERSION" | sed 's/[[^.]]*\.[[^.]]*\.\([[^.]]*\).*/\1/'`
        AS_IF([test "$(( $micro_version % 2 ))" -ne 0],
              [ax_is_release=no],[ax_is_release=yes])
      ],
      [dash-version],[
        # $is_release = ($PACKAGE_VERSION has a dash)
        AS_CASE([$PACKAGE_VERSION],
                [*-*], [ax_is_release=no],
                [*], [ax_is_release=yes])
      ],
      [always],[ax_is_release=yes],
      [never],[ax_is_release=no],
      [
        AC_MSG_ERROR([Invalid policy. Valid policies: git-directory, minor-version, micro-version, dash-version, always, never.])
      ])
])

# ===========================================================================
#        https://www.gnu.org/software/autoconf-archive/ax_pthread.html
# ===========================================================================
#
# SYNOPSIS
#
#   AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
#
# DESCRIPTION
#
#   This macro figures out how to build C programs using POSIX threads. It
#   sets the PTHREAD_LIBS output variable to the threads library and linker
#   flags, and the PTHREAD_CFLAGS output variable to any special C compiler
#   flags that are needed. (The user can also force certain compiler
#   flags/libs to be tested by setting these environment variables.)
#
#   Also sets PTHREAD_CC and PTHREAD_CXX to any special C compiler that is
#   needed for multi-threaded programs (defaults to the value of CC
#   respectively CXX otherwise). (This is necessary on e.g. AIX to use the
#   special cc_r/CC_r compiler alias.)
#
#   NOTE: You are assumed to not only compile your program with these flags,
#   but also to link with them as well. For example, you might link with
#   $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
#   $PTHREAD_CXX $CXXFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
#
#   If you are only building threaded programs, you may wish to use these
#   variables in your default LIBS, CFLAGS, and CC:
#
#     LIBS="$PTHREAD_LIBS $LIBS"
#     CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
#     CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
#     CC="$PTHREAD_CC"
#     CXX="$PTHREAD_CXX"
#
#   In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
#   has a nonstandard name, this macro defines PTHREAD_CREATE_JOINABLE to
#   that name (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
#
#   Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the
#   PTHREAD_PRIO_INHERIT symbol is defined when compiling with
#   PTHREAD_CFLAGS.
#
#   ACTION-IF-FOUND is a list of shell commands to run if a threads library
#   is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
#   is not found. If ACTION-IF-FOUND is not specified, the default action
#   will define HAVE_PTHREAD.
#
#   Please let the authors know if this macro fails on any platform, or if
#   you have any other suggestions or comments. This macro was based on work
#   by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help
#   from M. Frigo), as well as ac_pthread and hb_pthread macros posted by
#   Alejandro Forero Cuervo to the autoconf macro repository. We are also
#   grateful for the helpful feedback of numerous users.
#
#   Updated for Autoconf 2.68 by Daniel Richard G.
#
# LICENSE
#
#   Copyright (c) 2008 Steven G. Johnson 
#   Copyright (c) 2011 Daniel Richard G. 
#   Copyright (c) 2019 Marc Stevens 
#
#   This program is free software: you can redistribute it and/or modify it
#   under the terms of the GNU General Public License as published by the
#   Free Software Foundation, either version 3 of the License, or (at your
#   option) any later version.
#
#   This program is distributed in the hope that it will be useful, but
#   WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
#   Public License for more details.
#
#   You should have received a copy of the GNU General Public License along
#   with this program. If not, see .
#
#   As a special exception, the respective Autoconf Macro's copyright owner
#   gives unlimited permission to copy, distribute and modify the configure
#   scripts that are the output of Autoconf when processing the Macro. You
#   need not follow the terms of the GNU General Public License when using
#   or distributing such scripts, even though portions of the text of the
#   Macro appear in them. The GNU General Public License (GPL) does govern
#   all other use of the material that constitutes the Autoconf Macro.
#
#   This special exception to the GPL applies to versions of the Autoconf
#   Macro released by the Autoconf Archive. When you make and distribute a
#   modified version of the Autoconf Macro, you may extend this special
#   exception to the GPL to apply to your modified version as well.

#serial 31

AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
AC_DEFUN([AX_PTHREAD], [
AC_REQUIRE([AC_CANONICAL_HOST])
AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AC_PROG_SED])
AC_LANG_PUSH([C])
ax_pthread_ok=no

# We used to check for pthread.h first, but this fails if pthread.h
# requires special compiler flags (e.g. on Tru64 or Sequent).
# It gets checked for in the link test anyway.

# First of all, check if the user has set any of the PTHREAD_LIBS,
# etcetera environment variables, and if threads linking works using
# them:
if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
        ax_pthread_save_CC="$CC"
        ax_pthread_save_CFLAGS="$CFLAGS"
        ax_pthread_save_LIBS="$LIBS"
        AS_IF([test "x$PTHREAD_CC" != "x"], [CC="$PTHREAD_CC"])
        AS_IF([test "x$PTHREAD_CXX" != "x"], [CXX="$PTHREAD_CXX"])
        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
        LIBS="$PTHREAD_LIBS $LIBS"
        AC_MSG_CHECKING([for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS])
        AC_LINK_IFELSE([AC_LANG_CALL([], [pthread_join])], [ax_pthread_ok=yes])
        AC_MSG_RESULT([$ax_pthread_ok])
        if test "x$ax_pthread_ok" = "xno"; then
                PTHREAD_LIBS=""
                PTHREAD_CFLAGS=""
        fi
        CC="$ax_pthread_save_CC"
        CFLAGS="$ax_pthread_save_CFLAGS"
        LIBS="$ax_pthread_save_LIBS"
fi

# We must check for the threads library under a number of different
# names; the ordering is very important because some systems
# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
# libraries is broken (non-POSIX).

# Create a list of thread flags to try. Items with a "," contain both
# C compiler flags (before ",") and linker flags (after ","). Other items
# starting with a "-" are C compiler flags, and remaining items are
# library names, except for "none" which indicates that we try without
# any flags at all, and "pthread-config" which is a program returning
# the flags for the Pth emulation library.

ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"

# The ordering *is* (sometimes) important.  Some notes on the
# individual items follow:

# pthreads: AIX (must check this before -lpthread)
# none: in case threads are in libc; should be tried before -Kthread and
#       other compiler flags to prevent continual compiler warnings
# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
#           (Note: HP C rejects this with "bad form for `-t' option")
# -pthreads: Solaris/gcc (Note: HP C also rejects)
# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
#      doesn't hurt to check since this sometimes defines pthreads and
#      -D_REENTRANT too), HP C (must be checked before -lpthread, which
#      is present but should not be used directly; and before -mthreads,
#      because the compiler interprets this as "-mt" + "-hreads")
# -mthreads: Mingw32/gcc, Lynx/gcc
# pthread: Linux, etcetera
# --thread-safe: KAI C++
# pthread-config: use pthread-config program (for GNU Pth library)

case $host_os in

        freebsd*)

        # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
        # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)

        ax_pthread_flags="-kthread lthread $ax_pthread_flags"
        ;;

        hpux*)

        # From the cc(1) man page: "[-mt] Sets various -D flags to enable
        # multi-threading and also sets -lpthread."

        ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
        ;;

        openedition*)

        # IBM z/OS requires a feature-test macro to be defined in order to
        # enable POSIX threads at all, so give the user a hint if this is
        # not set. (We don't define these ourselves, as they can affect
        # other portions of the system API in unpredictable ways.)

        AC_EGREP_CPP([AX_PTHREAD_ZOS_MISSING],
            [
#            if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
             AX_PTHREAD_ZOS_MISSING
#            endif
            ],
            [AC_MSG_WARN([IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support.])])
        ;;

        solaris*)

        # On Solaris (at least, for some versions), libc contains stubbed
        # (non-functional) versions of the pthreads routines, so link-based
        # tests will erroneously succeed. (N.B.: The stubs are missing
        # pthread_cleanup_push, or rather a function called by this macro,
        # so we could check for that, but who knows whether they'll stub
        # that too in a future libc.)  So we'll check first for the
        # standard Solaris way of linking pthreads (-mt -lpthread).

        ax_pthread_flags="-mt,-lpthread pthread $ax_pthread_flags"
        ;;
esac

# Are we compiling with Clang?

AC_CACHE_CHECK([whether $CC is Clang],
    [ax_cv_PTHREAD_CLANG],
    [ax_cv_PTHREAD_CLANG=no
     # Note that Autoconf sets GCC=yes for Clang as well as GCC
     if test "x$GCC" = "xyes"; then
        AC_EGREP_CPP([AX_PTHREAD_CC_IS_CLANG],
            [/* Note: Clang 2.7 lacks __clang_[a-z]+__ */
#            if defined(__clang__) && defined(__llvm__)
             AX_PTHREAD_CC_IS_CLANG
#            endif
            ],
            [ax_cv_PTHREAD_CLANG=yes])
     fi
    ])
ax_pthread_clang="$ax_cv_PTHREAD_CLANG"


# GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)

# Note that for GCC and Clang -pthread generally implies -lpthread,
# except when -nostdlib is passed.
# This is problematic using libtool to build C++ shared libraries with pthread:
# [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460
# [2] https://bugzilla.redhat.com/show_bug.cgi?id=661333
# [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468555
# To solve this, first try -pthread together with -lpthread for GCC

AS_IF([test "x$GCC" = "xyes"],
      [ax_pthread_flags="-pthread,-lpthread -pthread -pthreads $ax_pthread_flags"])

# Clang takes -pthread (never supported any other flag), but we'll try with -lpthread first

AS_IF([test "x$ax_pthread_clang" = "xyes"],
      [ax_pthread_flags="-pthread,-lpthread -pthread"])


# The presence of a feature test macro requesting re-entrant function
# definitions is, on some systems, a strong hint that pthreads support is
# correctly enabled

case $host_os in
        darwin* | hpux* | linux* | osf* | solaris*)
        ax_pthread_check_macro="_REENTRANT"
        ;;

        aix*)
        ax_pthread_check_macro="_THREAD_SAFE"
        ;;

        *)
        ax_pthread_check_macro="--"
        ;;
esac
AS_IF([test "x$ax_pthread_check_macro" = "x--"],
      [ax_pthread_check_cond=0],
      [ax_pthread_check_cond="!defined($ax_pthread_check_macro)"])


if test "x$ax_pthread_ok" = "xno"; then
for ax_pthread_try_flag in $ax_pthread_flags; do

        case $ax_pthread_try_flag in
                none)
                AC_MSG_CHECKING([whether pthreads work without any flags])
                ;;

                *,*)
                PTHREAD_CFLAGS=`echo $ax_pthread_try_flag | sed "s/^\(.*\),\(.*\)$/\1/"`
                PTHREAD_LIBS=`echo $ax_pthread_try_flag | sed "s/^\(.*\),\(.*\)$/\2/"`
                AC_MSG_CHECKING([whether pthreads work with "$PTHREAD_CFLAGS" and "$PTHREAD_LIBS"])
                ;;

                -*)
                AC_MSG_CHECKING([whether pthreads work with $ax_pthread_try_flag])
                PTHREAD_CFLAGS="$ax_pthread_try_flag"
                ;;

                pthread-config)
                AC_CHECK_PROG([ax_pthread_config], [pthread-config], [yes], [no])
                AS_IF([test "x$ax_pthread_config" = "xno"], [continue])
                PTHREAD_CFLAGS="`pthread-config --cflags`"
                PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
                ;;

                *)
                AC_MSG_CHECKING([for the pthreads library -l$ax_pthread_try_flag])
                PTHREAD_LIBS="-l$ax_pthread_try_flag"
                ;;
        esac

        ax_pthread_save_CFLAGS="$CFLAGS"
        ax_pthread_save_LIBS="$LIBS"
        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
        LIBS="$PTHREAD_LIBS $LIBS"

        # Check for various functions.  We must include pthread.h,
        # since some functions may be macros.  (On the Sequent, we
        # need a special flag -Kthread to make this header compile.)
        # We check for pthread_join because it is in -lpthread on IRIX
        # while pthread_create is in libc.  We check for pthread_attr_init
        # due to DEC craziness with -lpthreads.  We check for
        # pthread_cleanup_push because it is one of the few pthread
        # functions on Solaris that doesn't have a non-functional libc stub.
        # We try pthread_create on general principles.

        AC_LINK_IFELSE([AC_LANG_PROGRAM([#include 
#                       if $ax_pthread_check_cond
#                        error "$ax_pthread_check_macro must be defined"
#                       endif
                        static void *some_global = NULL;
                        static void routine(void *a)
                          {
                             /* To avoid any unused-parameter or
                                unused-but-set-parameter warning.  */
                             some_global = a;
                          }
                        static void *start_routine(void *a) { return a; }],
                       [pthread_t th; pthread_attr_t attr;
                        pthread_create(&th, 0, start_routine, 0);
                        pthread_join(th, 0);
                        pthread_attr_init(&attr);
                        pthread_cleanup_push(routine, 0);
                        pthread_cleanup_pop(0) /* ; */])],
            [ax_pthread_ok=yes],
            [])

        CFLAGS="$ax_pthread_save_CFLAGS"
        LIBS="$ax_pthread_save_LIBS"

        AC_MSG_RESULT([$ax_pthread_ok])
        AS_IF([test "x$ax_pthread_ok" = "xyes"], [break])

        PTHREAD_LIBS=""
        PTHREAD_CFLAGS=""
done
fi


# Clang needs special handling, because older versions handle the -pthread
# option in a rather... idiosyncratic way

if test "x$ax_pthread_clang" = "xyes"; then

        # Clang takes -pthread; it has never supported any other flag

        # (Note 1: This will need to be revisited if a system that Clang
        # supports has POSIX threads in a separate library.  This tends not
        # to be the way of modern systems, but it's conceivable.)

        # (Note 2: On some systems, notably Darwin, -pthread is not needed
        # to get POSIX threads support; the API is always present and
        # active.  We could reasonably leave PTHREAD_CFLAGS empty.  But
        # -pthread does define _REENTRANT, and while the Darwin headers
        # ignore this macro, third-party headers might not.)

        # However, older versions of Clang make a point of warning the user
        # that, in an invocation where only linking and no compilation is
        # taking place, the -pthread option has no effect ("argument unused
        # during compilation").  They expect -pthread to be passed in only
        # when source code is being compiled.
        #
        # Problem is, this is at odds with the way Automake and most other
        # C build frameworks function, which is that the same flags used in
        # compilation (CFLAGS) are also used in linking.  Many systems
        # supported by AX_PTHREAD require exactly this for POSIX threads
        # support, and in fact it is often not straightforward to specify a
        # flag that is used only in the compilation phase and not in
        # linking.  Such a scenario is extremely rare in practice.
        #
        # Even though use of the -pthread flag in linking would only print
        # a warning, this can be a nuisance for well-run software projects
        # that build with -Werror.  So if the active version of Clang has
        # this misfeature, we search for an option to squash it.

        AC_CACHE_CHECK([whether Clang needs flag to prevent "argument unused" warning when linking with -pthread],
            [ax_cv_PTHREAD_CLANG_NO_WARN_FLAG],
            [ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
             # Create an alternate version of $ac_link that compiles and
             # links in two steps (.c -> .o, .o -> exe) instead of one
             # (.c -> exe), because the warning occurs only in the second
             # step
             ax_pthread_save_ac_link="$ac_link"
             ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
             ax_pthread_link_step=`AS_ECHO(["$ac_link"]) | sed "$ax_pthread_sed"`
             ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
             ax_pthread_save_CFLAGS="$CFLAGS"
             for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
                AS_IF([test "x$ax_pthread_try" = "xunknown"], [break])
                CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
                ac_link="$ax_pthread_save_ac_link"
                AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(void){return 0;}]])],
                    [ac_link="$ax_pthread_2step_ac_link"
                     AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(void){return 0;}]])],
                         [break])
                    ])
             done
             ac_link="$ax_pthread_save_ac_link"
             CFLAGS="$ax_pthread_save_CFLAGS"
             AS_IF([test "x$ax_pthread_try" = "x"], [ax_pthread_try=no])
             ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
            ])

        case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
                no | unknown) ;;
                *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
        esac

fi # $ax_pthread_clang = yes



# Various other checks:
if test "x$ax_pthread_ok" = "xyes"; then
        ax_pthread_save_CFLAGS="$CFLAGS"
        ax_pthread_save_LIBS="$LIBS"
        CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
        LIBS="$PTHREAD_LIBS $LIBS"

        # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
        AC_CACHE_CHECK([for joinable pthread attribute],
            [ax_cv_PTHREAD_JOINABLE_ATTR],
            [ax_cv_PTHREAD_JOINABLE_ATTR=unknown
             for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
                 AC_LINK_IFELSE([AC_LANG_PROGRAM([#include ],
                                                 [int attr = $ax_pthread_attr; return attr /* ; */])],
                                [ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break],
                                [])
             done
            ])
        AS_IF([test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
               test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
               test "x$ax_pthread_joinable_attr_defined" != "xyes"],
              [AC_DEFINE_UNQUOTED([PTHREAD_CREATE_JOINABLE],
                                  [$ax_cv_PTHREAD_JOINABLE_ATTR],
                                  [Define to necessary symbol if this constant
                                   uses a non-standard name on your system.])
               ax_pthread_joinable_attr_defined=yes
              ])

        AC_CACHE_CHECK([whether more special flags are required for pthreads],
            [ax_cv_PTHREAD_SPECIAL_FLAGS],
            [ax_cv_PTHREAD_SPECIAL_FLAGS=no
             case $host_os in
             solaris*)
             ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
             ;;
             esac
            ])
        AS_IF([test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
               test "x$ax_pthread_special_flags_added" != "xyes"],
              [PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
               ax_pthread_special_flags_added=yes])

        AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT],
            [ax_cv_PTHREAD_PRIO_INHERIT],
            [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]],
                                             [[int i = PTHREAD_PRIO_INHERIT;
                                               return i;]])],
                            [ax_cv_PTHREAD_PRIO_INHERIT=yes],
                            [ax_cv_PTHREAD_PRIO_INHERIT=no])
            ])
        AS_IF([test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
               test "x$ax_pthread_prio_inherit_defined" != "xyes"],
              [AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], [1], [Have PTHREAD_PRIO_INHERIT.])
               ax_pthread_prio_inherit_defined=yes
              ])

        CFLAGS="$ax_pthread_save_CFLAGS"
        LIBS="$ax_pthread_save_LIBS"

        # More AIX lossage: compile with *_r variant
        if test "x$GCC" != "xyes"; then
            case $host_os in
                aix*)
                AS_CASE(["x/$CC"],
                    [x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6],
                    [#handle absolute path differently from PATH based program lookup
                     AS_CASE(["x$CC"],
                         [x/*],
                         [
			   AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])
			   AS_IF([test "x${CXX}" != "x"], [AS_IF([AS_EXECUTABLE_P([${CXX}_r])],[PTHREAD_CXX="${CXX}_r"])])
			 ],
                         [
			   AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])
			   AS_IF([test "x${CXX}" != "x"], [AC_CHECK_PROGS([PTHREAD_CXX],[${CXX}_r],[$CXX])])
			 ]
                     )
                    ])
                ;;
            esac
        fi
fi

test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"

AC_SUBST([PTHREAD_LIBS])
AC_SUBST([PTHREAD_CFLAGS])
AC_SUBST([PTHREAD_CC])
AC_SUBST([PTHREAD_CXX])

# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
if test "x$ax_pthread_ok" = "xyes"; then
        ifelse([$1],,[AC_DEFINE([HAVE_PTHREAD],[1],[Define if you have POSIX threads libraries and header files.])],[$1])
        :
else
        ax_pthread_ok=no
        $2
fi
AC_LANG_POP
])dnl AX_PTHREAD

# ===========================================================================
#    https://www.gnu.org/software/autoconf-archive/ax_require_defined.html
# ===========================================================================
#
# SYNOPSIS
#
#   AX_REQUIRE_DEFINED(MACRO)
#
# DESCRIPTION
#
#   AX_REQUIRE_DEFINED is a simple helper for making sure other macros have
#   been defined and thus are available for use.  This avoids random issues
#   where a macro isn't expanded.  Instead the configure script emits a
#   non-fatal:
#
#     ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found
#
#   It's like AC_REQUIRE except it doesn't expand the required macro.
#
#   Here's an example:
#
#     AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG])
#
# LICENSE
#
#   Copyright (c) 2014 Mike Frysinger 
#
#   Copying and distribution of this file, with or without modification, are
#   permitted in any medium without royalty provided the copyright notice
#   and this notice are preserved. This file is offered as-is, without any
#   warranty.

#serial 2

AC_DEFUN([AX_REQUIRE_DEFINED], [dnl
  m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])])
])dnl AX_REQUIRE_DEFINED

# gettext.m4 serial 78 (gettext-0.22.4)
dnl Copyright (C) 1995-2014, 2016, 2018-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl
dnl This file can be used in projects which are not available under
dnl the GNU General Public License or the GNU Lesser General Public
dnl License but which still want to provide support for the GNU gettext
dnl functionality.
dnl Please note that the actual code of the GNU gettext library is covered
dnl by the GNU Lesser General Public License, and the rest of the GNU
dnl gettext package is covered by the GNU General Public License.
dnl They are *not* in the public domain.

dnl Authors:
dnl   Ulrich Drepper , 1995-2000.
dnl   Bruno Haible , 2000-2006, 2008-2010.

dnl Macro to add for using GNU gettext.

dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
dnl INTLSYMBOL must be one of 'external', 'use-libtool', 'here'.
dnl    INTLSYMBOL should be 'external' for packages other than GNU gettext.
dnl    It should be 'use-libtool' for the packages 'gettext-runtime' and
dnl    'gettext-tools'.
dnl    It should be 'here' for the package 'gettext-runtime/intl'.
dnl    If INTLSYMBOL is 'here', then a libtool library
dnl    $(top_builddir)/libintl.la will be created (shared and/or static,
dnl    depending on --{enable,disable}-{shared,static} and on the presence of
dnl    AM-DISABLE-SHARED).
dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
dnl    implementations (in libc or libintl) without the ngettext() function
dnl    will be ignored.  If NEEDSYMBOL is specified and is
dnl    'need-formatstring-macros', then GNU gettext implementations that don't
dnl    support the ISO C 99  formatstring macros will be ignored.
dnl INTLDIR is used to find the intl libraries.  If empty,
dnl    the value '$(top_builddir)/intl/' is used.
dnl
dnl The result of the configuration is one of three cases:
dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
dnl    and used.
dnl    Catalog format: GNU --> install in $(datadir)
dnl    Catalog extension: .mo after installation, .gmo in source tree
dnl 2) GNU gettext has been found in the system's C library.
dnl    Catalog format: GNU --> install in $(datadir)
dnl    Catalog extension: .mo after installation, .gmo in source tree
dnl 3) No internationalization, always use English msgid.
dnl    Catalog format: none
dnl    Catalog extension: none
dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
dnl The use of .gmo is historical (it was needed to avoid overwriting the
dnl GNU format catalogs when building on a platform with an X/Open gettext),
dnl but we keep it in order not to force irrelevant filename changes on the
dnl maintainers.
dnl
AC_DEFUN([AM_GNU_GETTEXT],
[
  dnl Argument checking.
  m4_if([$1], [], , [m4_if([$1], [external], , [m4_if([$1], [use-libtool], , [m4_if([$1], [here], ,
    [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
])])])])])
  m4_if(m4_if([$1], [], [old])[]m4_if([$1], [no-libtool], [old]), [old],
    [errprint([ERROR: Use of AM_GNU_GETTEXT without [external] argument is no longer supported.
])])
  m4_if([$2], [], , [m4_if([$2], [need-ngettext], , [m4_if([$2], [need-formatstring-macros], ,
    [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
])])])])
  define([gt_building_libintl_in_same_build_tree],
    m4_if([$1], [use-libtool], [yes], [m4_if([$1], [here], [yes], [no])]))
  gt_NEEDS_INIT
  AM_GNU_GETTEXT_NEED([$2])

  AC_REQUIRE([AM_PO_SUBDIRS])dnl

  dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
  AC_REQUIRE([AC_LIB_RPATH])

  dnl Sometimes libintl requires libiconv, so first search for libiconv.
  dnl Ideally we would do this search only after the
  dnl      if test "$USE_NLS" = "yes"; then
  dnl        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
  dnl tests. But if configure.ac invokes AM_ICONV after AM_GNU_GETTEXT
  dnl the configure script would need to contain the same shell code
  dnl again, outside any 'if'. There are two solutions:
  dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
  dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
  dnl Since AC_PROVIDE_IFELSE is not documented, we avoid it.
  m4_if(gt_building_libintl_in_same_build_tree, yes, , [
    AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
  ])

  dnl Sometimes, on Mac OS X, libintl requires linking with CoreFoundation.
  gt_INTL_MACOSX

  dnl Set USE_NLS.
  AC_REQUIRE([AM_NLS])

  m4_if(gt_building_libintl_in_same_build_tree, yes, [
    USE_INCLUDED_LIBINTL=no
  ])
  LIBINTL=
  LTLIBINTL=
  POSUB=

  dnl Add a version number to the cache macros.
  case " $gt_needs " in
    *" need-formatstring-macros "*) gt_api_version=3 ;;
    *" need-ngettext "*) gt_api_version=2 ;;
    *) gt_api_version=1 ;;
  esac
  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"

  dnl If we use NLS figure out what method
  if test "$USE_NLS" = "yes"; then
    gt_use_preinstalled_gnugettext=no
    m4_if(gt_building_libintl_in_same_build_tree, yes, [
      AC_MSG_CHECKING([whether included gettext is requested])
      AC_ARG_WITH([included-gettext],
        [  --with-included-gettext use the GNU gettext library included here],
        nls_cv_force_use_gnu_gettext=$withval,
        nls_cv_force_use_gnu_gettext=no)
      AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext])

      nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
      if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
    ])
        dnl User does not insist on using GNU NLS library.  Figure out what
        dnl to use.  If GNU gettext is available we use this.  Else we have
        dnl to fall back to GNU NLS library.

        if test $gt_api_version -ge 3; then
          gt_revision_test_code='
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
#endif
changequote(,)dnl
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
changequote([,])dnl
'
        else
          gt_revision_test_code=
        fi
        if test $gt_api_version -ge 2; then
          gt_expression_test_code=' + * ngettext ("", "", 0)'
        else
          gt_expression_test_code=
        fi

        AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc],
         [AC_LINK_IFELSE(
            [AC_LANG_PROGRAM(
               [[
#include 
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
extern int _nl_msg_cat_cntr;
extern int *_nl_domain_bindings;
#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
#else
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
#endif
$gt_revision_test_code
               ]],
               [[
bindtextdomain ("", "");
return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
               ]])],
            [eval "$gt_func_gnugettext_libc=yes"],
            [eval "$gt_func_gnugettext_libc=no"])])

        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
          dnl Sometimes libintl requires libiconv, so first search for libiconv.
          m4_if(gt_building_libintl_in_same_build_tree, yes, , [
            AM_ICONV_LINK
          ])
          dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
          dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
          dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
          dnl even if libiconv doesn't exist.
          AC_LIB_LINKFLAGS_BODY([intl])
          AC_CACHE_CHECK([for GNU gettext in libintl],
            [$gt_func_gnugettext_libintl],
           [gt_save_CPPFLAGS="$CPPFLAGS"
            CPPFLAGS="$CPPFLAGS $INCINTL"
            gt_save_LIBS="$LIBS"
            LIBS="$LIBS $LIBINTL"
            dnl Now see whether libintl exists and does not depend on libiconv.
            AC_LINK_IFELSE(
              [AC_LANG_PROGRAM(
                 [[
#include 
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
extern int _nl_msg_cat_cntr;
extern
#ifdef __cplusplus
"C"
#endif
const char *_nl_expand_alias (const char *);
#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
#else
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
#endif
$gt_revision_test_code
                 ]],
                 [[
bindtextdomain ("", "");
return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
                 ]])],
              [eval "$gt_func_gnugettext_libintl=yes"],
              [eval "$gt_func_gnugettext_libintl=no"])
            dnl Now see whether libintl exists and depends on libiconv or other
            dnl OS dependent libraries, specifically on macOS and AIX.
            gt_LIBINTL_EXTRA="$INTL_MACOSX_LIBS"
            AC_REQUIRE([AC_CANONICAL_HOST])
            case "$host_os" in
              aix*) gt_LIBINTL_EXTRA="-lpthread" ;;
            esac
            if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } \
               && { test -n "$LIBICONV" || test -n "$gt_LIBINTL_EXTRA"; }; then
              LIBS="$LIBS $LIBICONV $gt_LIBINTL_EXTRA"
              AC_LINK_IFELSE(
                [AC_LANG_PROGRAM(
                   [[
#include 
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
extern int _nl_msg_cat_cntr;
extern
#ifdef __cplusplus
"C"
#endif
const char *_nl_expand_alias (const char *);
#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
#else
#define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
#endif
$gt_revision_test_code
                   ]],
                   [[
bindtextdomain ("", "");
return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
                   ]])],
                [LIBINTL="$LIBINTL $LIBICONV $gt_LIBINTL_EXTRA"
                 LTLIBINTL="$LTLIBINTL $LTLIBICONV $gt_LIBINTL_EXTRA"
                 eval "$gt_func_gnugettext_libintl=yes"
                ])
            fi
            CPPFLAGS="$gt_save_CPPFLAGS"
            LIBS="$gt_save_LIBS"])
        fi

        dnl If an already present or preinstalled GNU gettext() is found,
        dnl use it.  But if this macro is used in GNU gettext, and GNU
        dnl gettext is already preinstalled in libintl, we update this
        dnl libintl.  (Cf. the install rule in intl/Makefile.in.)
        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
                && test "$PACKAGE" != gettext-runtime \
                && test "$PACKAGE" != gettext-tools \
                && test "$PACKAGE" != libintl; }; then
          gt_use_preinstalled_gnugettext=yes
        else
          dnl Reset the values set by searching for libintl.
          LIBINTL=
          LTLIBINTL=
          INCINTL=
        fi

    m4_if(gt_building_libintl_in_same_build_tree, yes, [
        if test "$gt_use_preinstalled_gnugettext" != "yes"; then
          dnl GNU gettext is not found in the C library.
          dnl Fall back on included GNU gettext library.
          nls_cv_use_gnu_gettext=yes
        fi
      fi

      if test "$nls_cv_use_gnu_gettext" = "yes"; then
        dnl Mark actions used to generate GNU NLS library.
        USE_INCLUDED_LIBINTL=yes
        LIBINTL="m4_if([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LIBICONV $LIBTHREAD"
        LTLIBINTL="m4_if([$3],[],\${top_builddir}/intl,[$3])/libintl.la $LTLIBICONV $LTLIBTHREAD"
        LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
      fi

      CATOBJEXT=
      if test "$gt_use_preinstalled_gnugettext" = "yes" \
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
        dnl Mark actions to use GNU gettext tools.
        CATOBJEXT=.gmo
      fi
    ])

    if test -n "$INTL_MACOSX_LIBS"; then
      if test "$gt_use_preinstalled_gnugettext" = "yes" \
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
        dnl Some extra flags are needed during linking.
        LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
      fi
    fi

    if test "$gt_use_preinstalled_gnugettext" = "yes" \
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
      AC_DEFINE([ENABLE_NLS], [1],
        [Define to 1 if translation of program messages to the user's native language
   is requested.])
    else
      USE_NLS=no
    fi
  fi

  AC_MSG_CHECKING([whether to use NLS])
  AC_MSG_RESULT([$USE_NLS])
  if test "$USE_NLS" = "yes"; then
    AC_MSG_CHECKING([where the gettext function comes from])
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
        gt_source="external libintl"
      else
        gt_source="libc"
      fi
    else
      gt_source="included intl directory"
    fi
    AC_MSG_RESULT([$gt_source])
  fi

  if test "$USE_NLS" = "yes"; then

    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
        AC_MSG_CHECKING([how to link with libintl])
        AC_MSG_RESULT([$LIBINTL])
        AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
      fi

      dnl For backward compatibility. Some packages may be using this.
      AC_DEFINE([HAVE_GETTEXT], [1],
       [Define if the GNU gettext() function is already present or preinstalled.])
      AC_DEFINE([HAVE_DCGETTEXT], [1],
       [Define if the GNU dcgettext() function is already present or preinstalled.])
    fi

    dnl We need to process the po/ directory.
    POSUB=po
  fi

  m4_if(gt_building_libintl_in_same_build_tree, yes, [
    dnl Make all variables we use known to autoconf.
    AC_SUBST([USE_INCLUDED_LIBINTL])
    AC_SUBST([CATOBJEXT])
  ])

  m4_if(gt_building_libintl_in_same_build_tree, yes, [], [
    dnl For backward compatibility. Some Makefiles may be using this.
    INTLLIBS="$LIBINTL"
    AC_SUBST([INTLLIBS])
  ])

  dnl Make all documented variables known to autoconf.
  AC_SUBST([LIBINTL])
  AC_SUBST([LTLIBINTL])
  AC_SUBST([POSUB])

  dnl Define localedir_c and localedir_c_make.
  dnl Find the final value of localedir.
  gt_save_prefix="${prefix}"
  gt_save_datarootdir="${datarootdir}"
  gt_save_localedir="${localedir}"
  dnl Unfortunately, prefix gets only finally determined at the end of
  dnl configure.
  if test "X$prefix" = "XNONE"; then
    prefix="$ac_default_prefix"
  fi
  eval datarootdir="$datarootdir"
  eval localedir="$localedir"
  gl_BUILD_TO_HOST([localedir])
  localedir="${gt_save_localedir}"
  datarootdir="${gt_save_datarootdir}"
  prefix="${gt_save_prefix}"
])


dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized.
m4_define([gt_NEEDS_INIT],
[
  m4_divert_text([DEFAULTS], [gt_needs=])
  m4_define([gt_NEEDS_INIT], [])
])


dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL])
AC_DEFUN([AM_GNU_GETTEXT_NEED],
[
  m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"])
])


dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])


dnl Usage: AM_GNU_GETTEXT_REQUIRE_VERSION([gettext-version])
AC_DEFUN([AM_GNU_GETTEXT_REQUIRE_VERSION], [])

# pkg.m4 - Macros to locate and utilise pkg-config.   -*- Autoconf -*-
# serial 12 (pkg-config-0.29.2)

dnl Copyright © 2004 Scott James Remnant .
dnl Copyright © 2012-2015 Dan Nicholson 
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 2 of the License, or
dnl (at your option) any later version.
dnl
dnl This program is distributed in the hope that it will be useful, but
dnl WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
dnl 02111-1307, USA.
dnl
dnl As a special exception to the GNU General Public License, if you
dnl distribute this file as part of a program that contains a
dnl configuration script generated by Autoconf, you may include it under
dnl the same distribution terms that you use for the rest of that
dnl program.

dnl PKG_PREREQ(MIN-VERSION)
dnl -----------------------
dnl Since: 0.29
dnl
dnl Verify that the version of the pkg-config macros are at least
dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's
dnl installed version of pkg-config, this checks the developer's version
dnl of pkg.m4 when generating configure.
dnl
dnl To ensure that this macro is defined, also add:
dnl m4_ifndef([PKG_PREREQ],
dnl     [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
dnl
dnl See the "Since" comment for each macro you use to see what version
dnl of the macros you require.
m4_defun([PKG_PREREQ],
[m4_define([PKG_MACROS_VERSION], [0.29.2])
m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
    [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
])dnl PKG_PREREQ

dnl PKG_PROG_PKG_CONFIG([MIN-VERSION])
dnl ----------------------------------
dnl Since: 0.16
dnl
dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
dnl first found in the path. Checks that the version of pkg-config found
dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is
dnl used since that's the first version where most current features of
dnl pkg-config existed.
AC_DEFUN([PKG_PROG_PKG_CONFIG],
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])

if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
	AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
fi
if test -n "$PKG_CONFIG"; then
	_pkg_min_version=m4_default([$1], [0.9.0])
	AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
		AC_MSG_RESULT([yes])
	else
		AC_MSG_RESULT([no])
		PKG_CONFIG=""
	fi
fi[]dnl
])dnl PKG_PROG_PKG_CONFIG

dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
dnl -------------------------------------------------------------------
dnl Since: 0.18
dnl
dnl Check to see whether a particular set of modules exists. Similar to
dnl PKG_CHECK_MODULES(), but does not set variables or print errors.
dnl
dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
dnl only at the first occurence in configure.ac, so if the first place
dnl it's called might be skipped (such as if it is within an "if", you
dnl have to call PKG_CHECK_EXISTS manually
AC_DEFUN([PKG_CHECK_EXISTS],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
if test -n "$PKG_CONFIG" && \
    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
  m4_default([$2], [:])
m4_ifvaln([$3], [else
  $3])dnl
fi])

dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
dnl ---------------------------------------------
dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting
dnl pkg_failed based on the result.
m4_define([_PKG_CONFIG],
[if test -n "$$1"; then
    pkg_cv_[]$1="$$1"
 elif test -n "$PKG_CONFIG"; then
    PKG_CHECK_EXISTS([$3],
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
		      test "x$?" != "x0" && pkg_failed=yes ],
		     [pkg_failed=yes])
 else
    pkg_failed=untried
fi[]dnl
])dnl _PKG_CONFIG

dnl _PKG_SHORT_ERRORS_SUPPORTED
dnl ---------------------------
dnl Internal check to see if pkg-config supports short errors.
AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
        _pkg_short_errors_supported=yes
else
        _pkg_short_errors_supported=no
fi[]dnl
])dnl _PKG_SHORT_ERRORS_SUPPORTED


dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
dnl   [ACTION-IF-NOT-FOUND])
dnl --------------------------------------------------------------
dnl Since: 0.4.0
dnl
dnl Note that if there is a possibility the first call to
dnl PKG_CHECK_MODULES might not happen, you should be sure to include an
dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
AC_DEFUN([PKG_CHECK_MODULES],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl

pkg_failed=no
AC_MSG_CHECKING([for $2])

_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
_PKG_CONFIG([$1][_LIBS], [libs], [$2])

m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
and $1[]_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.])

if test $pkg_failed = yes; then
        AC_MSG_RESULT([no])
        _PKG_SHORT_ERRORS_SUPPORTED
        if test $_pkg_short_errors_supported = yes; then
	        $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
        else
	        $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
        fi
	# Put the nasty error message in config.log where it belongs
	echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD

	m4_default([$4], [AC_MSG_ERROR(
[Package requirements ($2) were not met:

$$1_PKG_ERRORS

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

_PKG_TEXT])[]dnl
        ])
elif test $pkg_failed = untried; then
        AC_MSG_RESULT([no])
	m4_default([$4], [AC_MSG_FAILURE(
[The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

_PKG_TEXT

To get pkg-config, see .])[]dnl
        ])
else
	$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
	$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
        AC_MSG_RESULT([yes])
	$3
fi[]dnl
])dnl PKG_CHECK_MODULES


dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
dnl   [ACTION-IF-NOT-FOUND])
dnl ---------------------------------------------------------------------
dnl Since: 0.29
dnl
dnl Checks for existence of MODULES and gathers its build flags with
dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags
dnl and VARIABLE-PREFIX_LIBS from --libs.
dnl
dnl Note that if there is a possibility the first call to
dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to
dnl include an explicit call to PKG_PROG_PKG_CONFIG in your
dnl configure.ac.
AC_DEFUN([PKG_CHECK_MODULES_STATIC],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
_save_PKG_CONFIG=$PKG_CONFIG
PKG_CONFIG="$PKG_CONFIG --static"
PKG_CHECK_MODULES($@)
PKG_CONFIG=$_save_PKG_CONFIG[]dnl
])dnl PKG_CHECK_MODULES_STATIC


dnl PKG_INSTALLDIR([DIRECTORY])
dnl -------------------------
dnl Since: 0.27
dnl
dnl Substitutes the variable pkgconfigdir as the location where a module
dnl should install pkg-config .pc files. By default the directory is
dnl $libdir/pkgconfig, but the default can be changed by passing
dnl DIRECTORY. The user can override through the --with-pkgconfigdir
dnl parameter.
AC_DEFUN([PKG_INSTALLDIR],
[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
m4_pushdef([pkg_description],
    [pkg-config installation directory @<:@]pkg_default[@:>@])
AC_ARG_WITH([pkgconfigdir],
    [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
    [with_pkgconfigdir=]pkg_default)
AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
m4_popdef([pkg_default])
m4_popdef([pkg_description])
])dnl PKG_INSTALLDIR


dnl PKG_NOARCH_INSTALLDIR([DIRECTORY])
dnl --------------------------------
dnl Since: 0.27
dnl
dnl Substitutes the variable noarch_pkgconfigdir as the location where a
dnl module should install arch-independent pkg-config .pc files. By
dnl default the directory is $datadir/pkgconfig, but the default can be
dnl changed by passing DIRECTORY. The user can override through the
dnl --with-noarch-pkgconfigdir parameter.
AC_DEFUN([PKG_NOARCH_INSTALLDIR],
[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
m4_pushdef([pkg_description],
    [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
AC_ARG_WITH([noarch-pkgconfigdir],
    [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
    [with_noarch_pkgconfigdir=]pkg_default)
AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
m4_popdef([pkg_default])
m4_popdef([pkg_description])
])dnl PKG_NOARCH_INSTALLDIR


dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
dnl -------------------------------------------
dnl Since: 0.28
dnl
dnl Retrieves the value of the pkg-config variable for the given module.
AC_DEFUN([PKG_CHECK_VAR],
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl

_PKG_CONFIG([$1], [variable="][$3]["], [$2])
AS_VAR_COPY([$1], [pkg_cv_][$1])

AS_VAR_IF([$1], [""], [$5], [$4])dnl
])dnl PKG_CHECK_VAR

# Copyright (C) 2002-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# AM_AUTOMAKE_VERSION(VERSION)
# ----------------------------
# Automake X.Y traces this macro to ensure aclocal.m4 has been
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
[am__api_version='1.16'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version.  Point them to the right macro.
m4_if([$1], [1.16.5], [],
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])

# _AM_AUTOCONF_VERSION(VERSION)
# -----------------------------
# aclocal traces this macro to find the Autoconf version.
# This is a private macro too.  Using m4_define simplifies
# the logic in aclocal, which can simply ignore this definition.
m4_define([_AM_AUTOCONF_VERSION], [])

# AM_SET_CURRENT_AUTOMAKE_VERSION
# -------------------------------
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.16.5])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])

# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-

# Copyright (C) 2001-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
#
# Of course, Automake must honor this variable whenever it calls a
# tool from the auxiliary directory.  The problem is that $srcdir (and
# therefore $ac_aux_dir as well) can be either absolute or relative,
# depending on how configure is run.  This is pretty annoying, since
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
# source directory, any form will work fine, but in subdirectories a
# relative path needs to be adjusted first.
#
# $ac_aux_dir/missing
#    fails when called from a subdirectory if $ac_aux_dir is relative
# $top_srcdir/$ac_aux_dir/missing
#    fails if $ac_aux_dir is absolute,
#    fails when called from a subdirectory in a VPATH build with
#          a relative $ac_aux_dir
#
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
# are both prefixed by $srcdir.  In an in-source build this is usually
# harmless because $srcdir is '.', but things will broke when you
# start a VPATH build or use an absolute $srcdir.
#
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:
#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
# and then we would define $MISSING as
#   MISSING="\${SHELL} $am_aux_dir/missing"
# This will work as long as MISSING is not called from configure, because
# unfortunately $(top_srcdir) has no meaning in configure.
# However there are other variables, like CC, which are often used in
# configure, and could therefore not use this "fixed" $ac_aux_dir.
#
# Another solution, used here, is to always expand $ac_aux_dir to an
# absolute PATH.  The drawback is that using absolute paths prevent a
# configured tree to be moved without reconfiguration.

AC_DEFUN([AM_AUX_DIR_EXPAND],
[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
# Expand $ac_aux_dir to an absolute path.
am_aux_dir=`cd "$ac_aux_dir" && pwd`
])

# AM_CONDITIONAL                                            -*- Autoconf -*-

# Copyright (C) 1997-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# AM_CONDITIONAL(NAME, SHELL-CONDITION)
# -------------------------------------
# Define a conditional.
AC_DEFUN([AM_CONDITIONAL],
[AC_PREREQ([2.52])dnl
 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
AC_SUBST([$1_TRUE])dnl
AC_SUBST([$1_FALSE])dnl
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
m4_define([_AM_COND_VALUE_$1], [$2])dnl
if $2; then
  $1_TRUE=
  $1_FALSE='#'
else
  $1_TRUE='#'
  $1_FALSE=
fi
AC_CONFIG_COMMANDS_PRE(
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
  AC_MSG_ERROR([[conditional "$1" was never defined.
Usually this means the macro was only invoked conditionally.]])
fi])])

# Copyright (C) 1999-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.


# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
# written in clear, in which case automake, when reading aclocal.m4,
# will think it sees a *use*, and therefore will trigger all it's
# C support machinery.  Also note that it means that autoscan, seeing
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...


# _AM_DEPENDENCIES(NAME)
# ----------------------
# See how the compiler implements dependency checking.
# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
# We try a few techniques and use that to set a single cache variable.
#
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
# dependency, and given that the user is not expected to run this macro,
# just rely on AC_PROG_CC.
AC_DEFUN([_AM_DEPENDENCIES],
[AC_REQUIRE([AM_SET_DEPDIR])dnl
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
AC_REQUIRE([AM_DEP_TRACK])dnl

m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
                    [depcc="$$1"   am_compiler_list=])

AC_CACHE_CHECK([dependency style of $depcc],
               [am_cv_$1_dependencies_compiler_type],
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  # We make a subdir and do the tests there.  Otherwise we can end up
  # making bogus files that we don't know about and never remove.  For
  # instance it was reported that on HP-UX the gcc test will end up
  # making a dummy file named 'D' -- because '-MD' means "put the output
  # in D".
  rm -rf conftest.dir
  mkdir conftest.dir
  # Copy depcomp to subdir because otherwise we won't find it if we're
  # using a relative directory.
  cp "$am_depcomp" conftest.dir
  cd conftest.dir
  # We will build objects and dependencies in a subdirectory because
  # it helps to detect inapplicable dependency modes.  For instance
  # both Tru64's cc and ICC support -MD to output dependencies as a
  # side effect of compilation, but ICC will put the dependencies in
  # the current directory while Tru64 will put them in the object
  # directory.
  mkdir sub

  am_cv_$1_dependencies_compiler_type=none
  if test "$am_compiler_list" = ""; then
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
  fi
  am__universal=false
  m4_case([$1], [CC],
    [case " $depcc " in #(
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
     esac],
    [CXX],
    [case " $depcc " in #(
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
     esac])

  for depmode in $am_compiler_list; do
    # Setup a source with many dependencies, because some compilers
    # like to wrap large dependency lists on column 80 (with \), and
    # we should not choose a depcomp mode which is confused by this.
    #
    # We need to recreate these files for each test, as the compiler may
    # overwrite some of them when testing with obscure command lines.
    # This happens at least with the AIX C compiler.
    : > sub/conftest.c
    for i in 1 2 3 4 5 6; do
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
      # Solaris 10 /bin/sh.
      echo '/* dummy */' > sub/conftst$i.h
    done
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf

    # We check with '-c' and '-o' for the sake of the "dashmstdout"
    # mode.  It turns out that the SunPro C++ compiler does not properly
    # handle '-M -o', and we need to detect this.  Also, some Intel
    # versions had trouble with output in subdirs.
    am__obj=sub/conftest.${OBJEXT-o}
    am__minus_obj="-o $am__obj"
    case $depmode in
    gcc)
      # This depmode causes a compiler race in universal mode.
      test "$am__universal" = false || continue
      ;;
    nosideeffect)
      # After this tag, mechanisms are not by side-effect, so they'll
      # only be used when explicitly requested.
      if test "x$enable_dependency_tracking" = xyes; then
	continue
      else
	break
      fi
      ;;
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
      # This compiler won't grok '-c -o', but also, the minuso test has
      # not run yet.  These depmodes are late enough in the game, and
      # so weak that their functioning should not be impacted.
      am__obj=conftest.${OBJEXT-o}
      am__minus_obj=
      ;;
    none) break ;;
    esac
    if depmode=$depmode \
       source=sub/conftest.c object=$am__obj \
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
         >/dev/null 2>conftest.err &&
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
      # icc doesn't choke on unknown options, it will just issue warnings
      # or remarks (even with -Werror).  So we grep stderr for any message
      # that says an option was ignored or not supported.
      # When given -MP, icc 7.0 and 7.1 complain thusly:
      #   icc: Command line warning: ignoring option '-M'; no argument required
      # The diagnosis changed in icc 8.0:
      #   icc: Command line remark: option '-MP' not supported
      if (grep 'ignoring option' conftest.err ||
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
        am_cv_$1_dependencies_compiler_type=$depmode
        break
      fi
    fi
  done

  cd ..
  rm -rf conftest.dir
else
  am_cv_$1_dependencies_compiler_type=none
fi
])
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
AM_CONDITIONAL([am__fastdep$1], [
  test "x$enable_dependency_tracking" != xno \
  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
])


# AM_SET_DEPDIR
# -------------
# Choose a directory name for dependency files.
# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
AC_DEFUN([AM_SET_DEPDIR],
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
])


# AM_DEP_TRACK
# ------------
AC_DEFUN([AM_DEP_TRACK],
[AC_ARG_ENABLE([dependency-tracking], [dnl
AS_HELP_STRING(
  [--enable-dependency-tracking],
  [do not reject slow dependency extractors])
AS_HELP_STRING(
  [--disable-dependency-tracking],
  [speeds up one-time build])])
if test "x$enable_dependency_tracking" != xno; then
  am_depcomp="$ac_aux_dir/depcomp"
  AMDEPBACKSLASH='\'
  am__nodep='_no'
fi
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
AC_SUBST([AMDEPBACKSLASH])dnl
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
AC_SUBST([am__nodep])dnl
_AM_SUBST_NOTMAKE([am__nodep])dnl
])

# Generate code to set up dependency tracking.              -*- Autoconf -*-

# Copyright (C) 1999-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# _AM_OUTPUT_DEPENDENCY_COMMANDS
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
  # Older Autoconf quotes --file arguments for eval, but not when files
  # are listed without --file.  Let's play safe and only enable the eval
  # if we detect the quoting.
  # TODO: see whether this extra hack can be removed once we start
  # requiring Autoconf 2.70 or later.
  AS_CASE([$CONFIG_FILES],
          [*\'*], [eval set x "$CONFIG_FILES"],
          [*], [set x $CONFIG_FILES])
  shift
  # Used to flag and report bootstrapping failures.
  am_rc=0
  for am_mf
  do
    # Strip MF so we end up with the name of the file.
    am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
    # Check whether this is an Automake generated Makefile which includes
    # dependency-tracking related rules and includes.
    # Grep'ing the whole file directly is not great: AIX grep has a line
    # limit of 2048, but all sed's we know have understand at least 4000.
    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
      || continue
    am_dirpart=`AS_DIRNAME(["$am_mf"])`
    am_filepart=`AS_BASENAME(["$am_mf"])`
    AM_RUN_LOG([cd "$am_dirpart" \
      && sed -e '/# am--include-marker/d' "$am_filepart" \
        | $MAKE -f - am--depfiles]) || am_rc=$?
  done
  if test $am_rc -ne 0; then
    AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
    for automatic dependency tracking.  If GNU make was not used, consider
    re-running the configure script with MAKE="gmake" (or whatever is
    necessary).  You can also try re-running configure with the
    '--disable-dependency-tracking' option to at least be able to build
    the package (albeit without support for automatic dependency tracking).])
  fi
  AS_UNSET([am_dirpart])
  AS_UNSET([am_filepart])
  AS_UNSET([am_mf])
  AS_UNSET([am_rc])
  rm -f conftest-deps.mk
}
])# _AM_OUTPUT_DEPENDENCY_COMMANDS


# AM_OUTPUT_DEPENDENCY_COMMANDS
# -----------------------------
# This macro should only be invoked once -- use via AC_REQUIRE.
#
# This code is only required when automatic dependency tracking is enabled.
# This creates each '.Po' and '.Plo' makefile fragment that we'll need in
# order to bootstrap the dependency handling code.
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
[AC_CONFIG_COMMANDS([depfiles],
     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
     [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])

# Do all the work for Automake.                             -*- Autoconf -*-

# Copyright (C) 1996-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This macro actually does too much.  Some checks are only needed if
# your package does certain things.  But this isn't really a big deal.

dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
m4_define([AC_PROG_CC],
m4_defn([AC_PROG_CC])
[_AM_PROG_CC_C_O
])

# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
# AM_INIT_AUTOMAKE([OPTIONS])
# -----------------------------------------------
# The call with PACKAGE and VERSION arguments is the old style
# call (pre autoconf-2.50), which is being phased out.  PACKAGE
# and VERSION should now be passed to AC_INIT and removed from
# the call to AM_INIT_AUTOMAKE.
# We support both call styles for the transition.  After
# the next Automake release, Autoconf can make the AC_INIT
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
[AC_PREREQ([2.65])dnl
m4_ifdef([_$0_ALREADY_INIT],
  [m4_fatal([$0 expanded multiple times
]m4_defn([_$0_ALREADY_INIT]))],
  [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
if test "`cd $srcdir && pwd`" != "`pwd`"; then
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  # is not polluted with repeated "-I."
  AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
  # test to see if srcdir already configured
  if test -f $srcdir/config.status; then
    AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
  fi
fi

# test whether we have cygpath
if test -z "$CYGPATH_W"; then
  if (cygpath --version) >/dev/null 2>/dev/null; then
    CYGPATH_W='cygpath -w'
  else
    CYGPATH_W=echo
  fi
fi
AC_SUBST([CYGPATH_W])

# Define the identity of the package.
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
             [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
 AC_SUBST([PACKAGE], [$1])dnl
 AC_SUBST([VERSION], [$2])],
[_AM_SET_OPTIONS([$1])dnl
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
m4_if(
  m4_ifset([AC_PACKAGE_NAME], [ok]):m4_ifset([AC_PACKAGE_VERSION], [ok]),
  [ok:ok],,
  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl

_AM_IF_OPTION([no-define],,
[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl

# Some tools Automake needs.
AC_REQUIRE([AM_SANITY_CHECK])dnl
AC_REQUIRE([AC_ARG_PROGRAM])dnl
AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
AM_MISSING_PROG([AUTOCONF], [autoconf])
AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
AM_MISSING_PROG([AUTOHEADER], [autoheader])
AM_MISSING_PROG([MAKEINFO], [makeinfo])
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
# For better backward compatibility.  To be removed once Automake 1.9.x
# dies out for good.  For more background, see:
# 
# 
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
# We need awk for the "check" target (and possibly the TAP driver).  The
# system "awk" is bad on some platforms.
AC_REQUIRE([AC_PROG_AWK])dnl
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
			     [_AM_PROG_TAR([v7])])])
_AM_IF_OPTION([no-dependencies],,
[AC_PROVIDE_IFELSE([AC_PROG_CC],
		  [_AM_DEPENDENCIES([CC])],
		  [m4_define([AC_PROG_CC],
			     m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
AC_PROVIDE_IFELSE([AC_PROG_CXX],
		  [_AM_DEPENDENCIES([CXX])],
		  [m4_define([AC_PROG_CXX],
			     m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
		  [_AM_DEPENDENCIES([OBJC])],
		  [m4_define([AC_PROG_OBJC],
			     m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
		  [_AM_DEPENDENCIES([OBJCXX])],
		  [m4_define([AC_PROG_OBJCXX],
			     m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
# Variables for tags utilities; see am/tags.am
if test -z "$CTAGS"; then
  CTAGS=ctags
fi
AC_SUBST([CTAGS])
if test -z "$ETAGS"; then
  ETAGS=etags
fi
AC_SUBST([ETAGS])
if test -z "$CSCOPE"; then
  CSCOPE=cscope
fi
AC_SUBST([CSCOPE])

AC_REQUIRE([AM_SILENT_RULES])dnl
dnl The testsuite driver may need to know about EXEEXT, so add the
dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl

# POSIX will say in a future version that running "rm -f" with no argument
# is OK; and we want to be able to make that assumption in our Makefile
# recipes.  So use an aggressive probe to check that the usage we want is
# actually supported "in the wild" to an acceptable degree.
# See automake bug#10828.
# To make any issue more visible, cause the running configure to be aborted
# by default if the 'rm' program in use doesn't match our expectations; the
# user can still override this though.
if rm -f && rm -fr && rm -rf; then : OK; else
  cat >&2 <<'END'
Oops!

Your 'rm' program seems unable to run without file operands specified
on the command line, even when the '-f' option is present.  This is contrary
to the behaviour of most rm programs out there, and not conforming with
the upcoming POSIX standard: 

Please tell bug-automake@gnu.org about your system, including the value
of your $PATH and any error possibly output before this message.  This
can help us improve future automake versions.

END
  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
    echo 'Configuration will proceed anyway, since you have set the' >&2
    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
    echo >&2
  else
    cat >&2 <<'END'
Aborting the configuration process, to ensure you take notice of the issue.

You can download and install GNU coreutils to get an 'rm' implementation
that behaves properly: .

If you want to complete the configuration process using your problematic
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
to "yes", and re-run configure.

END
    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
  fi
fi
dnl The trailing newline in this macro's definition is deliberate, for
dnl backward compatibility and to allow trailing 'dnl'-style comments
dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
])

dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
dnl mangled by Autoconf and run in a shell conditional statement.
m4_define([_AC_COMPILER_EXEEXT],
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])

# When config.status generates a header, we must update the stamp-h file.
# This file resides in the same directory as the config header
# that is generated.  The stamp files are numbered to have different names.

# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
# loop where config.status creates the headers, so we can generate
# our stamp files there.
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
[# Compute $1's index in $config_headers.
_am_arg=$1
_am_stamp_count=1
for _am_header in $config_headers :; do
  case $_am_header in
    $_am_arg | $_am_arg:* )
      break ;;
    * )
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  esac
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])

# Copyright (C) 2001-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# AM_PROG_INSTALL_SH
# ------------------
# Define $install_sh.
AC_DEFUN([AM_PROG_INSTALL_SH],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
if test x"${install_sh+set}" != xset; then
  case $am_aux_dir in
  *\ * | *\	*)
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  *)
    install_sh="\${SHELL} $am_aux_dir/install-sh"
  esac
fi
AC_SUBST([install_sh])])

# Copyright (C) 2003-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# Check whether the underlying file-system supports filenames
# with a leading dot.  For instance MS-DOS doesn't.
AC_DEFUN([AM_SET_LEADING_DOT],
[rm -rf .tst 2>/dev/null
mkdir .tst 2>/dev/null
if test -d .tst; then
  am__leading_dot=.
else
  am__leading_dot=_
fi
rmdir .tst 2>/dev/null
AC_SUBST([am__leading_dot])])

# Check to see how 'make' treats includes.	            -*- Autoconf -*-

# Copyright (C) 2001-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# AM_MAKE_INCLUDE()
# -----------------
# Check whether make has an 'include' directive that can support all
# the idioms we need for our automatic dependency tracking code.
AC_DEFUN([AM_MAKE_INCLUDE],
[AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
cat > confinc.mk << 'END'
am__doit:
	@echo this is the am__doit target >confinc.out
.PHONY: am__doit
END
am__include="#"
am__quote=
# BSD make does it like this.
echo '.include "confinc.mk" # ignored' > confmf.BSD
# Other make implementations (GNU, Solaris 10, AIX) do it like this.
echo 'include confinc.mk # ignored' > confmf.GNU
_am_result=no
for s in GNU BSD; do
  AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
  AS_CASE([$?:`cat confinc.out 2>/dev/null`],
      ['0:this is the am__doit target'],
      [AS_CASE([$s],
          [BSD], [am__include='.include' am__quote='"'],
          [am__include='include' am__quote=''])])
  if test "$am__include" != "#"; then
    _am_result="yes ($s style)"
    break
  fi
done
rm -f confinc.* confmf.*
AC_MSG_RESULT([${_am_result}])
AC_SUBST([am__include])])
AC_SUBST([am__quote])])

# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-

# Copyright (C) 1997-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# AM_MISSING_PROG(NAME, PROGRAM)
# ------------------------------
AC_DEFUN([AM_MISSING_PROG],
[AC_REQUIRE([AM_MISSING_HAS_RUN])
$1=${$1-"${am_missing_run}$2"}
AC_SUBST($1)])

# AM_MISSING_HAS_RUN
# ------------------
# Define MISSING if not defined so far and test if it is modern enough.
# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
if test x"${MISSING+set}" != xset; then
  MISSING="\${SHELL} '$am_aux_dir/missing'"
fi
# Use eval to expand $SHELL
if eval "$MISSING --is-lightweight"; then
  am_missing_run="$MISSING "
else
  am_missing_run=
  AC_MSG_WARN(['missing' script is too old or missing])
fi
])

# Helper functions for option handling.                     -*- Autoconf -*-

# Copyright (C) 2001-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# _AM_MANGLE_OPTION(NAME)
# -----------------------
AC_DEFUN([_AM_MANGLE_OPTION],
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])

# _AM_SET_OPTION(NAME)
# --------------------
# Set option NAME.  Presently that only means defining a flag for this option.
AC_DEFUN([_AM_SET_OPTION],
[m4_define(_AM_MANGLE_OPTION([$1]), [1])])

# _AM_SET_OPTIONS(OPTIONS)
# ------------------------
# OPTIONS is a space-separated list of Automake options.
AC_DEFUN([_AM_SET_OPTIONS],
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])

# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
# -------------------------------------------
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])

# Copyright (C) 1999-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# _AM_PROG_CC_C_O
# ---------------
# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
# to automatically call this.
AC_DEFUN([_AM_PROG_CC_C_O],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([compile])dnl
AC_LANG_PUSH([C])dnl
AC_CACHE_CHECK(
  [whether $CC understands -c and -o together],
  [am_cv_prog_cc_c_o],
  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
  # Make sure it works both with $CC and with simple cc.
  # Following AC_PROG_CC_C_O, we do the test twice because some
  # compilers refuse to overwrite an existing .o file with -o,
  # though they will create one.
  am_cv_prog_cc_c_o=yes
  for am_i in 1 2; do
    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
         && test -f conftest2.$ac_objext; then
      : OK
    else
      am_cv_prog_cc_c_o=no
      break
    fi
  done
  rm -f core conftest*
  unset am_i])
if test "$am_cv_prog_cc_c_o" != yes; then
   # Losing compiler, so override with the script.
   # FIXME: It is wrong to rewrite CC.
   # But if we don't then we get into trouble of one sort or another.
   # A longer-term fix would be to have automake use am__CC in this case,
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   CC="$am_aux_dir/compile $CC"
fi
AC_LANG_POP([C])])

# For backward compatibility.
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])

# Copyright (C) 2001-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# AM_RUN_LOG(COMMAND)
# -------------------
# Run COMMAND, save the exit status in ac_status, and log it.
# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
AC_DEFUN([AM_RUN_LOG],
[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
   (exit $ac_status); }])

# Check to make sure that the build environment is sane.    -*- Autoconf -*-

# Copyright (C) 1996-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# AM_SANITY_CHECK
# ---------------
AC_DEFUN([AM_SANITY_CHECK],
[AC_MSG_CHECKING([whether build environment is sane])
# Reject unsafe characters in $srcdir or the absolute working directory
# name.  Accept space and tab only in the latter.
am_lf='
'
case `pwd` in
  *[[\\\"\#\$\&\'\`$am_lf]]*)
    AC_MSG_ERROR([unsafe absolute working directory name]);;
esac
case $srcdir in
  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
esac

# Do 'set' in a subshell so we don't clobber the current shell's
# arguments.  Must try -L first in case configure is actually a
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
if (
   am_has_slept=no
   for am_try in 1 2; do
     echo "timestamp, slept: $am_has_slept" > conftest.file
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
     if test "$[*]" = "X"; then
	# -L didn't work.
	set X `ls -t "$srcdir/configure" conftest.file`
     fi
     if test "$[*]" != "X $srcdir/configure conftest.file" \
	&& test "$[*]" != "X conftest.file $srcdir/configure"; then

	# If neither matched, then we have a broken ls.  This can happen
	# if, for instance, CONFIG_SHELL is bash and it inherits a
	# broken ls alias from the environment.  This has actually
	# happened.  Such a system could not be considered "sane".
	AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
  alias in your environment])
     fi
     if test "$[2]" = conftest.file || test $am_try -eq 2; then
       break
     fi
     # Just in case.
     sleep 1
     am_has_slept=yes
   done
   test "$[2]" = conftest.file
   )
then
   # Ok.
   :
else
   AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
AC_MSG_RESULT([yes])
# If we didn't sleep, we still need to ensure time stamps of config.status and
# generated files are strictly newer.
am_sleep_pid=
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  ( sleep 1 ) &
  am_sleep_pid=$!
fi
AC_CONFIG_COMMANDS_PRE(
  [AC_MSG_CHECKING([that generated files are newer than configure])
   if test -n "$am_sleep_pid"; then
     # Hide warnings about reused PIDs.
     wait $am_sleep_pid 2>/dev/null
   fi
   AC_MSG_RESULT([done])])
rm -f conftest.file
])

# Copyright (C) 2009-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# AM_SILENT_RULES([DEFAULT])
# --------------------------
# Enable less verbose build rules; with the default set to DEFAULT
# ("yes" being less verbose, "no" or empty being verbose).
AC_DEFUN([AM_SILENT_RULES],
[AC_ARG_ENABLE([silent-rules], [dnl
AS_HELP_STRING(
  [--enable-silent-rules],
  [less verbose build output (undo: "make V=1")])
AS_HELP_STRING(
  [--disable-silent-rules],
  [verbose build output (undo: "make V=0")])dnl
])
case $enable_silent_rules in @%:@ (((
  yes) AM_DEFAULT_VERBOSITY=0;;
   no) AM_DEFAULT_VERBOSITY=1;;
    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
esac
dnl
dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
dnl do not support nested variable expansions.
dnl See automake bug#9928 and bug#10237.
am_make=${MAKE-make}
AC_CACHE_CHECK([whether $am_make supports nested variables],
   [am_cv_make_support_nested_variables],
   [if AS_ECHO([['TRUE=$(BAR$(V))
BAR0=false
BAR1=true
V=1
am__doit:
	@$(TRUE)
.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
  am_cv_make_support_nested_variables=yes
else
  am_cv_make_support_nested_variables=no
fi])
if test $am_cv_make_support_nested_variables = yes; then
  dnl Using '$V' instead of '$(V)' breaks IRIX make.
  AM_V='$(V)'
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
else
  AM_V=$AM_DEFAULT_VERBOSITY
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
fi
AC_SUBST([AM_V])dnl
AM_SUBST_NOTMAKE([AM_V])dnl
AC_SUBST([AM_DEFAULT_V])dnl
AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
AM_BACKSLASH='\'
AC_SUBST([AM_BACKSLASH])dnl
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
])

# Copyright (C) 2001-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# AM_PROG_INSTALL_STRIP
# ---------------------
# One issue with vendor 'install' (even GNU) is that you can't
# specify the program used to strip binaries.  This is especially
# annoying in cross-compiling environments, where the build's strip
# is unlikely to handle the host's binaries.
# Fortunately install-sh will honor a STRIPPROG variable, so we
# always use install-sh in "make install-strip", and initialize
# STRIPPROG with the value of the STRIP variable (set by the user).
AC_DEFUN([AM_PROG_INSTALL_STRIP],
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
# Installed binaries are usually stripped using 'strip' when the user
# run "make install-strip".  However 'strip' might not be the right
# tool to use in cross-compilation environments, therefore Automake
# will honor the 'STRIP' environment variable to overrule this program.
dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
if test "$cross_compiling" != no; then
  AC_CHECK_TOOL([STRIP], [strip], :)
fi
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])

# Copyright (C) 2006-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
# This macro is traced by Automake.
AC_DEFUN([_AM_SUBST_NOTMAKE])

# AM_SUBST_NOTMAKE(VARIABLE)
# --------------------------
# Public sister of _AM_SUBST_NOTMAKE.
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])

# Check how to create a tarball.                            -*- Autoconf -*-

# Copyright (C) 2004-2021 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# _AM_PROG_TAR(FORMAT)
# --------------------
# Check how to create a tarball in format FORMAT.
# FORMAT should be one of 'v7', 'ustar', or 'pax'.
#
# Substitute a variable $(am__tar) that is a command
# writing to stdout a FORMAT-tarball containing the directory
# $tardir.
#     tardir=directory && $(am__tar) > result.tar
#
# Substitute a variable $(am__untar) that extract such
# a tarball read from stdin.
#     $(am__untar) < result.tar
#
AC_DEFUN([_AM_PROG_TAR],
[# Always define AMTAR for backward compatibility.  Yes, it's still used
# in the wild :-(  We should find a proper way to deprecate it ...
AC_SUBST([AMTAR], ['$${TAR-tar}'])

# We'll loop over all known methods to create a tar archive until one works.
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'

m4_if([$1], [v7],
  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],

  [m4_case([$1],
    [ustar],
     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
      # There is notably a 21 bits limit for the UID and the GID.  In fact,
      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
      # and bug#13588).
      am_max_uid=2097151 # 2^21 - 1
      am_max_gid=$am_max_uid
      # The $UID and $GID variables are not portable, so we need to resort
      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
      # below are definitely unexpected, so allow the users to see them
      # (that is, avoid stderr redirection).
      am_uid=`id -u || echo unknown`
      am_gid=`id -g || echo unknown`
      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
      if test $am_uid -le $am_max_uid; then
         AC_MSG_RESULT([yes])
      else
         AC_MSG_RESULT([no])
         _am_tools=none
      fi
      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
      if test $am_gid -le $am_max_gid; then
         AC_MSG_RESULT([yes])
      else
        AC_MSG_RESULT([no])
        _am_tools=none
      fi],

  [pax],
    [],

  [m4_fatal([Unknown tar format])])

  AC_MSG_CHECKING([how to create a $1 tar archive])

  # Go ahead even if we have the value already cached.  We do so because we
  # need to set the values for the 'am__tar' and 'am__untar' variables.
  _am_tools=${am_cv_prog_tar_$1-$_am_tools}

  for _am_tool in $_am_tools; do
    case $_am_tool in
    gnutar)
      for _am_tar in tar gnutar gtar; do
        AM_RUN_LOG([$_am_tar --version]) && break
      done
      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
      am__untar="$_am_tar -xf -"
      ;;
    plaintar)
      # Must skip GNU tar: if it does not support --format= it doesn't create
      # ustar tarball either.
      (tar --version) >/dev/null 2>&1 && continue
      am__tar='tar chf - "$$tardir"'
      am__tar_='tar chf - "$tardir"'
      am__untar='tar xf -'
      ;;
    pax)
      am__tar='pax -L -x $1 -w "$$tardir"'
      am__tar_='pax -L -x $1 -w "$tardir"'
      am__untar='pax -r'
      ;;
    cpio)
      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
      am__untar='cpio -i -H $1 -d'
      ;;
    none)
      am__tar=false
      am__tar_=false
      am__untar=false
      ;;
    esac

    # If the value was cached, stop now.  We just wanted to have am__tar
    # and am__untar set.
    test -n "${am_cv_prog_tar_$1}" && break

    # tar/untar a dummy directory, and stop if the command works.
    rm -rf conftest.dir
    mkdir conftest.dir
    echo GrepMe > conftest.dir/file
    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
    rm -rf conftest.dir
    if test -s conftest.tar; then
      AM_RUN_LOG([$am__untar /dev/null 2>&1 && break
    fi
  done
  rm -rf conftest.dir

  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  AC_MSG_RESULT([$am_cv_prog_tar_$1])])

AC_SUBST([am__tar])
AC_SUBST([am__untar])
]) # _AM_PROG_TAR

m4_include([m4/gettext.m4])
m4_include([m4/iconv.m4])
m4_include([m4/lib-ld.m4])
m4_include([m4/lib-link.m4])
m4_include([m4/lib-prefix.m4])
m4_include([m4/progtest.m4])
m4_include([acinclude.m4])
axel-2.17.13/Makefile.in0000644000175000017500000020711514560423122010351 # Makefile.in generated by automake 1.16.5 from Makefile.am.
# @configure_input@

# Copyright (C) 1994-2021 Free Software Foundation, Inc.

# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

@SET_MAKE@

VPATH = @srcdir@
am__is_gnu_make = { \
  if test -z '$(MAKELEVEL)'; then \
    false; \
  elif test -n '$(MAKE_HOST)'; then \
    true; \
  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
    true; \
  else \
    false; \
  fi; \
}
am__make_running_with_option = \
  case $${target_option-} in \
      ?) ;; \
      *) echo "am__make_running_with_option: internal error: invalid" \
              "target option '$${target_option-}' specified" >&2; \
         exit 1;; \
  esac; \
  has_opt=no; \
  sane_makeflags=$$MAKEFLAGS; \
  if $(am__is_gnu_make); then \
    sane_makeflags=$$MFLAGS; \
  else \
    case $$MAKEFLAGS in \
      *\\[\ \	]*) \
        bs=\\; \
        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
    esac; \
  fi; \
  skip_next=no; \
  strip_trailopt () \
  { \
    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  }; \
  for flg in $$sane_makeflags; do \
    test $$skip_next = yes && { skip_next=no; continue; }; \
    case $$flg in \
      *=*|--*) continue;; \
        -*I) strip_trailopt 'I'; skip_next=yes;; \
      -*I?*) strip_trailopt 'I';; \
        -*O) strip_trailopt 'O'; skip_next=yes;; \
      -*O?*) strip_trailopt 'O';; \
        -*l) strip_trailopt 'l'; skip_next=yes;; \
      -*l?*) strip_trailopt 'l';; \
      -[dEDm]) skip_next=yes;; \
      -[JT]) skip_next=yes;; \
    esac; \
    case $$flg in \
      *$$target_option*) has_opt=yes; break;; \
    esac; \
  done; \
  test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
bin_PROGRAMS = axel$(EXEEXT)
@WITH_SSL_TRUE@am__append_1 = \
@WITH_SSL_TRUE@	src/dn-match.c \
@WITH_SSL_TRUE@	src/ssl.c \
@WITH_SSL_TRUE@	src/ssl_verify.c

@WITH_SSL_TRUE@am__append_2 = $(SSL_CFLAGS)
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
	$(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/lib-ld.m4 \
	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
	$(top_srcdir)/m4/progtest.m4 $(top_srcdir)/acinclude.m4 \
	$(top_srcdir)/VERSION $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
	$(am__configure_deps) $(am__DIST_COMMON)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
 configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
PROGRAMS = $(bin_PROGRAMS)
am__axel_SOURCES_DIST = compat-android.h compat-bsd.h compat-ssl.h \
	src/abuf.c src/abuf.h src/axel.c src/axel.h src/sleep.h \
	src/sleep.c src/conf.c src/conf.h src/conn.c src/conn.h \
	src/ftp.c src/ftp.h src/hash.c src/hash.h src/http.c \
	src/http.h src/random.c src/search.c src/search.h src/ssl.h \
	src/tcp.c src/tcp.h src/text.c src/dn-match.c src/ssl.c \
	src/ssl_verify.c
am__dirstamp = $(am__leading_dot)dirstamp
@WITH_SSL_TRUE@am__objects_1 = src/axel-dn-match.$(OBJEXT) \
@WITH_SSL_TRUE@	src/axel-ssl.$(OBJEXT) \
@WITH_SSL_TRUE@	src/axel-ssl_verify.$(OBJEXT)
am_axel_OBJECTS = src/axel-abuf.$(OBJEXT) src/axel-axel.$(OBJEXT) \
	src/axel-sleep.$(OBJEXT) src/axel-conf.$(OBJEXT) \
	src/axel-conn.$(OBJEXT) src/axel-ftp.$(OBJEXT) \
	src/axel-hash.$(OBJEXT) src/axel-http.$(OBJEXT) \
	src/axel-random.$(OBJEXT) src/axel-search.$(OBJEXT) \
	src/axel-tcp.$(OBJEXT) src/axel-text.$(OBJEXT) \
	$(am__objects_1)
axel_OBJECTS = $(am_axel_OBJECTS)
LIBOBJDIR = lib/
am__DEPENDENCIES_1 =
axel_DEPENDENCIES = $(LIBOBJS) $(am__DEPENDENCIES_1) \
	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
axel_LINK = $(CCLD) $(axel_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
	-o $@
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo "  GEN     " $@;
am__v_GEN_1 = 
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 = 
DEFAULT_INCLUDES = -I.@am__isrc@
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
am__maybe_remake_depfiles = depfiles
am__depfiles_remade = lib/$(DEPDIR)/ASN1_STRING_get0_data.Po \
	lib/$(DEPDIR)/strlcat.Po lib/$(DEPDIR)/strlcpy.Po \
	src/$(DEPDIR)/axel-abuf.Po src/$(DEPDIR)/axel-axel.Po \
	src/$(DEPDIR)/axel-conf.Po src/$(DEPDIR)/axel-conn.Po \
	src/$(DEPDIR)/axel-dn-match.Po src/$(DEPDIR)/axel-ftp.Po \
	src/$(DEPDIR)/axel-hash.Po src/$(DEPDIR)/axel-http.Po \
	src/$(DEPDIR)/axel-random.Po src/$(DEPDIR)/axel-search.Po \
	src/$(DEPDIR)/axel-sleep.Po src/$(DEPDIR)/axel-ssl.Po \
	src/$(DEPDIR)/axel-ssl_verify.Po src/$(DEPDIR)/axel-tcp.Po \
	src/$(DEPDIR)/axel-text.Po
am__mv = mv -f
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
am__v_lt_1 = 
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_@AM_V@)
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
am__v_CC_0 = @echo "  CC      " $@;
am__v_CC_1 = 
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
am__v_CCLD_0 = @echo "  CCLD    " $@;
am__v_CCLD_1 = 
SOURCES = $(axel_SOURCES)
DIST_SOURCES = $(am__axel_SOURCES_DIST)
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
	ctags-recursive dvi-recursive html-recursive info-recursive \
	install-data-recursive install-dvi-recursive \
	install-exec-recursive install-html-recursive \
	install-info-recursive install-pdf-recursive \
	install-ps-recursive install-recursive installcheck-recursive \
	installdirs-recursive pdf-recursive ps-recursive \
	tags-recursive uninstall-recursive
am__can_run_installinfo = \
  case $$AM_UPDATE_INFO_DIR in \
    n|no|NO) false;; \
    *) (install-info --version) >/dev/null 2>&1;; \
  esac
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    *) f=$$p;; \
  esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
  for p in $$list; do echo "$$p $$p"; done | \
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
    if (++n[$$2] == $(am__install_max)) \
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
    END { for (dir in files) print dir, files[dir] }'
am__base_list = \
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
  test -z "$$files" \
    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
         $(am__cd) "$$dir" && rm -f $$files; }; \
  }
man1dir = $(mandir)/man1
NROFF = nroff
MANS = $(dist_man_MANS)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
  distclean-recursive maintainer-clean-recursive
am__recursive_targets = \
  $(RECURSIVE_TARGETS) \
  $(RECURSIVE_CLEAN_TARGETS) \
  $(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
	cscope distdir distdir-am dist dist-all distcheck
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
	config.h.in
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates.  Input order is
# *not* preserved.
am__uniquify_input = $(AWK) '\
  BEGIN { nonempty = 0; } \
  { items[$$0] = 1; nonempty = 1; } \
  END { if (nonempty) { for (i in items) print i; }; } \
'
# Make sure the list of sources is unique.  This is necessary because,
# e.g., the same source file might be shared among _SOURCES variables
# for different programs/libraries.
am__define_uniq_tagged_files = \
  list='$(am__tagged_files)'; \
  unique=`for i in $$list; do \
    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
  done | $(am__uniquify_input)`
DIST_SUBDIRS = $(SUBDIRS)
am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in \
	$(srcdir)/config.h.in $(srcdir)/doc/Makefile.am \
	$(srcdir)/src/Makefile.am $(top_srcdir)/build-aux/compile \
	$(top_srcdir)/build-aux/config.guess \
	$(top_srcdir)/build-aux/config.sub \
	$(top_srcdir)/build-aux/depcomp \
	$(top_srcdir)/build-aux/install-sh \
	$(top_srcdir)/build-aux/missing \
	$(top_srcdir)/lib/ASN1_STRING_get0_data.c \
	$(top_srcdir)/lib/strlcat.c $(top_srcdir)/lib/strlcpy.c \
	ABOUT-NLS COPYING ChangeLog INSTALL NEWS README.md \
	build-aux/compile build-aux/config.guess \
	build-aux/config.rpath build-aux/config.sub build-aux/depcomp \
	build-aux/install-sh build-aux/missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
  if test -d "$(distdir)"; then \
    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
      && rm -rf "$(distdir)" \
      || { sleep 5 && rm -rf "$(distdir)"; }; \
  else :; fi
am__post_remove_distdir = $(am__remove_distdir)
am__relativize = \
  dir0=`pwd`; \
  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  sed_rest='s,^[^/]*/*,,'; \
  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  sed_butlast='s,/*[^/]*$$,,'; \
  while test -n "$$dir1"; do \
    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
    if test "$$first" != "."; then \
      if test "$$first" = ".."; then \
        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
      else \
        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
        if test "$$first2" = "$$first"; then \
          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
        else \
          dir2="../$$dir2"; \
        fi; \
        dir0="$$dir0"/"$$first"; \
      fi; \
    fi; \
    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  done; \
  reldir="$$dir2"
DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 $(distdir).tar.xz
GZIP_ENV = --best
DIST_TARGETS = dist-xz dist-bzip2 dist-gzip
# Exists only to be overridden by the user if desired.
AM_DISTCHECK_DVI_TARGET = dvi
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
distcleancheck_listfiles = find . -type f -print

# XXX Fix disagreement between aclocal and make
# (aclocal doesn't update based on mtime)
ACLOCAL = touch $@; @ACLOCAL@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CSCOPE = @CSCOPE@
CTAGS = @CTAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
GMSGFMT = @GMSGFMT@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INTLLIBS = @INTLLIBS@
LDFLAGS = @LDFLAGS@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
MSGFMT = @MSGFMT@
MSGMERGE = @MSGMERGE@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
POSUB = @POSUB@
PTHREAD_CC = @PTHREAD_CC@
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
PTHREAD_CXX = @PTHREAD_CXX@
PTHREAD_LIBS = @PTHREAD_LIBS@
RELDATE_PRETTY = @RELDATE_PRETTY@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
SSL_CFLAGS = @SSL_CFLAGS@
SSL_LIBS = @SSL_LIBS@
SSL_PREFIX = @SSL_PREFIX@
STRIP = @STRIP@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
WARN_CFLAGS = @WARN_CFLAGS@
WARN_LDFLAGS = @WARN_LDFLAGS@
WARN_SCANNERFLAGS = @WARN_SCANNERFLAGS@
XGETTEXT = @XGETTEXT@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
ax_pthread_config = @ax_pthread_config@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = foreign dist-bzip2 dist-xz
SUBDIRS = po
EXTRA_DIST = scripts/pocheck.awk README.md CONTRIBUTING.md \
	doc/axelrc.example doc/axel.txt
dist_man_MANS = doc/axel.1
PACKAGE_DESC = lightweight command line download accelerator
doc_reldate = @RELDATE_PRETTY@
MSG = echo '==>'
ERR = ! echo '!!! ERROR:'
axel_SOURCES = compat-android.h compat-bsd.h compat-ssl.h src/abuf.c \
	src/abuf.h src/axel.c src/axel.h src/sleep.h src/sleep.c \
	src/conf.c src/conf.h src/conn.c src/conn.h src/ftp.c \
	src/ftp.h src/hash.c src/hash.h src/http.c src/http.h \
	src/random.c src/search.c src/search.h src/ssl.h src/tcp.c \
	src/tcp.h src/text.c $(am__append_1)
axel_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)
AM_CFLAGS = $(WARN_CFLAGS) -Wno-declaration-after-statement \
	-Wno-error=cast-align -Wno-error=inline $(am__append_2)
axel_LDADD = $(LIBOBJS) $(SSL_LIBS) $(LIBINTL) $(PTHREAD_LIBS)
axel_CC = $(PTHREAD_CC)
AM_CPPFLAGS = -DLOCALEDIR=\""$(localedir)"\" -D_BSD_SOURCE \
	-D_DEFAULT_SOURCE
all: config.h
	$(MAKE) $(AM_MAKEFLAGS) all-recursive

.SUFFIXES:
.SUFFIXES: .1 .c .o .obj .txt
am--refresh: Makefile
	@:
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(srcdir)/doc/Makefile.am $(srcdir)/src/Makefile.am $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
		&& exit 0; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
	$(am__cd) $(top_srcdir) && \
	  $(AUTOMAKE) --foreign Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    echo ' $(SHELL) ./config.status'; \
	    $(SHELL) ./config.status;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
	esac;
$(srcdir)/doc/Makefile.am $(srcdir)/src/Makefile.am $(am__empty):

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	$(SHELL) ./config.status --recheck

$(top_srcdir)/configure:  $(am__configure_deps)
	$(am__cd) $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps):

config.h: stamp-h1
	@test -f $@ || rm -f stamp-h1
	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1

stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
	@rm -f stamp-h1
	cd $(top_builddir) && $(SHELL) ./config.status config.h
$(srcdir)/config.h.in:  $(am__configure_deps) 
	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
	rm -f stamp-h1
	touch $@

distclean-hdr:
	-rm -f config.h stamp-h1
install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
	if test -n "$$list"; then \
	  echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
	  $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
	fi; \
	for p in $$list; do echo "$$p $$p"; done | \
	sed 's/$(EXEEXT)$$//' | \
	while read p p1; do if test -f $$p \
	  ; then echo "$$p"; echo "$$p"; else :; fi; \
	done | \
	sed -e 'p;s,.*/,,;n;h' \
	    -e 's|.*|.|' \
	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
	sed 'N;N;N;s,\n, ,g' | \
	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
	    else { print "f", $$3 "/" $$4, $$1; } } \
	  END { for (d in files) print "f", d, files[d] }' | \
	while read type dir files; do \
	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
	    test -z "$$files" || { \
	      echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
	      $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
	    } \
	; done

uninstall-binPROGRAMS:
	@$(NORMAL_UNINSTALL)
	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
	files=`for p in $$list; do echo "$$p"; done | \
	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
	      -e 's/$$/$(EXEEXT)/' \
	`; \
	test -n "$$list" || exit 0; \
	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
	cd "$(DESTDIR)$(bindir)" && rm -f $$files

clean-binPROGRAMS:
	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
src/$(am__dirstamp):
	@$(MKDIR_P) src
	@: > src/$(am__dirstamp)
src/$(DEPDIR)/$(am__dirstamp):
	@$(MKDIR_P) src/$(DEPDIR)
	@: > src/$(DEPDIR)/$(am__dirstamp)
src/axel-abuf.$(OBJEXT): src/$(am__dirstamp) \
	src/$(DEPDIR)/$(am__dirstamp)
src/axel-axel.$(OBJEXT): src/$(am__dirstamp) \
	src/$(DEPDIR)/$(am__dirstamp)
src/axel-sleep.$(OBJEXT): src/$(am__dirstamp) \
	src/$(DEPDIR)/$(am__dirstamp)
src/axel-conf.$(OBJEXT): src/$(am__dirstamp) \
	src/$(DEPDIR)/$(am__dirstamp)
src/axel-conn.$(OBJEXT): src/$(am__dirstamp) \
	src/$(DEPDIR)/$(am__dirstamp)
src/axel-ftp.$(OBJEXT): src/$(am__dirstamp) \
	src/$(DEPDIR)/$(am__dirstamp)
src/axel-hash.$(OBJEXT): src/$(am__dirstamp) \
	src/$(DEPDIR)/$(am__dirstamp)
src/axel-http.$(OBJEXT): src/$(am__dirstamp) \
	src/$(DEPDIR)/$(am__dirstamp)
src/axel-random.$(OBJEXT): src/$(am__dirstamp) \
	src/$(DEPDIR)/$(am__dirstamp)
src/axel-search.$(OBJEXT): src/$(am__dirstamp) \
	src/$(DEPDIR)/$(am__dirstamp)
src/axel-tcp.$(OBJEXT): src/$(am__dirstamp) \
	src/$(DEPDIR)/$(am__dirstamp)
src/axel-text.$(OBJEXT): src/$(am__dirstamp) \
	src/$(DEPDIR)/$(am__dirstamp)
src/axel-dn-match.$(OBJEXT): src/$(am__dirstamp) \
	src/$(DEPDIR)/$(am__dirstamp)
src/axel-ssl.$(OBJEXT): src/$(am__dirstamp) \
	src/$(DEPDIR)/$(am__dirstamp)
src/axel-ssl_verify.$(OBJEXT): src/$(am__dirstamp) \
	src/$(DEPDIR)/$(am__dirstamp)
lib/$(am__dirstamp):
	@$(MKDIR_P) lib/
	@: > lib/$(am__dirstamp)
lib/ASN1_STRING_get0_data.$(OBJEXT): lib/$(am__dirstamp)
lib/strlcat.$(OBJEXT): lib/$(am__dirstamp)
lib/strlcpy.$(OBJEXT): lib/$(am__dirstamp)

axel$(EXEEXT): $(axel_OBJECTS) $(axel_DEPENDENCIES) $(EXTRA_axel_DEPENDENCIES) 
	@rm -f axel$(EXEEXT)
	$(AM_V_CCLD)$(axel_LINK) $(axel_OBJECTS) $(axel_LDADD) $(LIBS)

mostlyclean-compile:
	-rm -f *.$(OBJEXT)
	-rm -f src/*.$(OBJEXT)

distclean-compile:
	-rm -f *.tab.c

@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/ASN1_STRING_get0_data.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/strlcat.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/strlcpy.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/axel-abuf.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/axel-axel.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/axel-conf.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/axel-conn.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/axel-dn-match.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/axel-ftp.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/axel-hash.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/axel-http.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/axel-random.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/axel-search.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/axel-sleep.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/axel-ssl.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/axel-ssl_verify.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/axel-tcp.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/axel-text.Po@am__quote@ # am--include-marker

$(am__depfiles_remade):
	@$(MKDIR_P) $(@D)
	@echo '# dummy' >$@-t && $(am__mv) $@-t $@

am--depfiles: $(am__depfiles_remade)

.c.o:
@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<

.c.obj:
@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
@am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
@am__fastdepCC_TRUE@	$(am__mv) $$depbase.Tpo $$depbase.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`

src/axel-abuf.o: src/abuf.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-abuf.o -MD -MP -MF src/$(DEPDIR)/axel-abuf.Tpo -c -o src/axel-abuf.o `test -f 'src/abuf.c' || echo '$(srcdir)/'`src/abuf.c
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-abuf.Tpo src/$(DEPDIR)/axel-abuf.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/abuf.c' object='src/axel-abuf.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-abuf.o `test -f 'src/abuf.c' || echo '$(srcdir)/'`src/abuf.c

src/axel-abuf.obj: src/abuf.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-abuf.obj -MD -MP -MF src/$(DEPDIR)/axel-abuf.Tpo -c -o src/axel-abuf.obj `if test -f 'src/abuf.c'; then $(CYGPATH_W) 'src/abuf.c'; else $(CYGPATH_W) '$(srcdir)/src/abuf.c'; fi`
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-abuf.Tpo src/$(DEPDIR)/axel-abuf.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/abuf.c' object='src/axel-abuf.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-abuf.obj `if test -f 'src/abuf.c'; then $(CYGPATH_W) 'src/abuf.c'; else $(CYGPATH_W) '$(srcdir)/src/abuf.c'; fi`

src/axel-axel.o: src/axel.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-axel.o -MD -MP -MF src/$(DEPDIR)/axel-axel.Tpo -c -o src/axel-axel.o `test -f 'src/axel.c' || echo '$(srcdir)/'`src/axel.c
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-axel.Tpo src/$(DEPDIR)/axel-axel.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/axel.c' object='src/axel-axel.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-axel.o `test -f 'src/axel.c' || echo '$(srcdir)/'`src/axel.c

src/axel-axel.obj: src/axel.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-axel.obj -MD -MP -MF src/$(DEPDIR)/axel-axel.Tpo -c -o src/axel-axel.obj `if test -f 'src/axel.c'; then $(CYGPATH_W) 'src/axel.c'; else $(CYGPATH_W) '$(srcdir)/src/axel.c'; fi`
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-axel.Tpo src/$(DEPDIR)/axel-axel.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/axel.c' object='src/axel-axel.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-axel.obj `if test -f 'src/axel.c'; then $(CYGPATH_W) 'src/axel.c'; else $(CYGPATH_W) '$(srcdir)/src/axel.c'; fi`

src/axel-sleep.o: src/sleep.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-sleep.o -MD -MP -MF src/$(DEPDIR)/axel-sleep.Tpo -c -o src/axel-sleep.o `test -f 'src/sleep.c' || echo '$(srcdir)/'`src/sleep.c
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-sleep.Tpo src/$(DEPDIR)/axel-sleep.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/sleep.c' object='src/axel-sleep.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-sleep.o `test -f 'src/sleep.c' || echo '$(srcdir)/'`src/sleep.c

src/axel-sleep.obj: src/sleep.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-sleep.obj -MD -MP -MF src/$(DEPDIR)/axel-sleep.Tpo -c -o src/axel-sleep.obj `if test -f 'src/sleep.c'; then $(CYGPATH_W) 'src/sleep.c'; else $(CYGPATH_W) '$(srcdir)/src/sleep.c'; fi`
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-sleep.Tpo src/$(DEPDIR)/axel-sleep.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/sleep.c' object='src/axel-sleep.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-sleep.obj `if test -f 'src/sleep.c'; then $(CYGPATH_W) 'src/sleep.c'; else $(CYGPATH_W) '$(srcdir)/src/sleep.c'; fi`

src/axel-conf.o: src/conf.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-conf.o -MD -MP -MF src/$(DEPDIR)/axel-conf.Tpo -c -o src/axel-conf.o `test -f 'src/conf.c' || echo '$(srcdir)/'`src/conf.c
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-conf.Tpo src/$(DEPDIR)/axel-conf.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/conf.c' object='src/axel-conf.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-conf.o `test -f 'src/conf.c' || echo '$(srcdir)/'`src/conf.c

src/axel-conf.obj: src/conf.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-conf.obj -MD -MP -MF src/$(DEPDIR)/axel-conf.Tpo -c -o src/axel-conf.obj `if test -f 'src/conf.c'; then $(CYGPATH_W) 'src/conf.c'; else $(CYGPATH_W) '$(srcdir)/src/conf.c'; fi`
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-conf.Tpo src/$(DEPDIR)/axel-conf.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/conf.c' object='src/axel-conf.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-conf.obj `if test -f 'src/conf.c'; then $(CYGPATH_W) 'src/conf.c'; else $(CYGPATH_W) '$(srcdir)/src/conf.c'; fi`

src/axel-conn.o: src/conn.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-conn.o -MD -MP -MF src/$(DEPDIR)/axel-conn.Tpo -c -o src/axel-conn.o `test -f 'src/conn.c' || echo '$(srcdir)/'`src/conn.c
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-conn.Tpo src/$(DEPDIR)/axel-conn.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/conn.c' object='src/axel-conn.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-conn.o `test -f 'src/conn.c' || echo '$(srcdir)/'`src/conn.c

src/axel-conn.obj: src/conn.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-conn.obj -MD -MP -MF src/$(DEPDIR)/axel-conn.Tpo -c -o src/axel-conn.obj `if test -f 'src/conn.c'; then $(CYGPATH_W) 'src/conn.c'; else $(CYGPATH_W) '$(srcdir)/src/conn.c'; fi`
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-conn.Tpo src/$(DEPDIR)/axel-conn.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/conn.c' object='src/axel-conn.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-conn.obj `if test -f 'src/conn.c'; then $(CYGPATH_W) 'src/conn.c'; else $(CYGPATH_W) '$(srcdir)/src/conn.c'; fi`

src/axel-ftp.o: src/ftp.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-ftp.o -MD -MP -MF src/$(DEPDIR)/axel-ftp.Tpo -c -o src/axel-ftp.o `test -f 'src/ftp.c' || echo '$(srcdir)/'`src/ftp.c
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-ftp.Tpo src/$(DEPDIR)/axel-ftp.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/ftp.c' object='src/axel-ftp.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-ftp.o `test -f 'src/ftp.c' || echo '$(srcdir)/'`src/ftp.c

src/axel-ftp.obj: src/ftp.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-ftp.obj -MD -MP -MF src/$(DEPDIR)/axel-ftp.Tpo -c -o src/axel-ftp.obj `if test -f 'src/ftp.c'; then $(CYGPATH_W) 'src/ftp.c'; else $(CYGPATH_W) '$(srcdir)/src/ftp.c'; fi`
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-ftp.Tpo src/$(DEPDIR)/axel-ftp.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/ftp.c' object='src/axel-ftp.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-ftp.obj `if test -f 'src/ftp.c'; then $(CYGPATH_W) 'src/ftp.c'; else $(CYGPATH_W) '$(srcdir)/src/ftp.c'; fi`

src/axel-hash.o: src/hash.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-hash.o -MD -MP -MF src/$(DEPDIR)/axel-hash.Tpo -c -o src/axel-hash.o `test -f 'src/hash.c' || echo '$(srcdir)/'`src/hash.c
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-hash.Tpo src/$(DEPDIR)/axel-hash.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/hash.c' object='src/axel-hash.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-hash.o `test -f 'src/hash.c' || echo '$(srcdir)/'`src/hash.c

src/axel-hash.obj: src/hash.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-hash.obj -MD -MP -MF src/$(DEPDIR)/axel-hash.Tpo -c -o src/axel-hash.obj `if test -f 'src/hash.c'; then $(CYGPATH_W) 'src/hash.c'; else $(CYGPATH_W) '$(srcdir)/src/hash.c'; fi`
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-hash.Tpo src/$(DEPDIR)/axel-hash.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/hash.c' object='src/axel-hash.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-hash.obj `if test -f 'src/hash.c'; then $(CYGPATH_W) 'src/hash.c'; else $(CYGPATH_W) '$(srcdir)/src/hash.c'; fi`

src/axel-http.o: src/http.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-http.o -MD -MP -MF src/$(DEPDIR)/axel-http.Tpo -c -o src/axel-http.o `test -f 'src/http.c' || echo '$(srcdir)/'`src/http.c
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-http.Tpo src/$(DEPDIR)/axel-http.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/http.c' object='src/axel-http.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-http.o `test -f 'src/http.c' || echo '$(srcdir)/'`src/http.c

src/axel-http.obj: src/http.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-http.obj -MD -MP -MF src/$(DEPDIR)/axel-http.Tpo -c -o src/axel-http.obj `if test -f 'src/http.c'; then $(CYGPATH_W) 'src/http.c'; else $(CYGPATH_W) '$(srcdir)/src/http.c'; fi`
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-http.Tpo src/$(DEPDIR)/axel-http.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/http.c' object='src/axel-http.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-http.obj `if test -f 'src/http.c'; then $(CYGPATH_W) 'src/http.c'; else $(CYGPATH_W) '$(srcdir)/src/http.c'; fi`

src/axel-random.o: src/random.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-random.o -MD -MP -MF src/$(DEPDIR)/axel-random.Tpo -c -o src/axel-random.o `test -f 'src/random.c' || echo '$(srcdir)/'`src/random.c
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-random.Tpo src/$(DEPDIR)/axel-random.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/random.c' object='src/axel-random.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-random.o `test -f 'src/random.c' || echo '$(srcdir)/'`src/random.c

src/axel-random.obj: src/random.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-random.obj -MD -MP -MF src/$(DEPDIR)/axel-random.Tpo -c -o src/axel-random.obj `if test -f 'src/random.c'; then $(CYGPATH_W) 'src/random.c'; else $(CYGPATH_W) '$(srcdir)/src/random.c'; fi`
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-random.Tpo src/$(DEPDIR)/axel-random.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/random.c' object='src/axel-random.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-random.obj `if test -f 'src/random.c'; then $(CYGPATH_W) 'src/random.c'; else $(CYGPATH_W) '$(srcdir)/src/random.c'; fi`

src/axel-search.o: src/search.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-search.o -MD -MP -MF src/$(DEPDIR)/axel-search.Tpo -c -o src/axel-search.o `test -f 'src/search.c' || echo '$(srcdir)/'`src/search.c
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-search.Tpo src/$(DEPDIR)/axel-search.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/search.c' object='src/axel-search.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-search.o `test -f 'src/search.c' || echo '$(srcdir)/'`src/search.c

src/axel-search.obj: src/search.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-search.obj -MD -MP -MF src/$(DEPDIR)/axel-search.Tpo -c -o src/axel-search.obj `if test -f 'src/search.c'; then $(CYGPATH_W) 'src/search.c'; else $(CYGPATH_W) '$(srcdir)/src/search.c'; fi`
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-search.Tpo src/$(DEPDIR)/axel-search.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/search.c' object='src/axel-search.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-search.obj `if test -f 'src/search.c'; then $(CYGPATH_W) 'src/search.c'; else $(CYGPATH_W) '$(srcdir)/src/search.c'; fi`

src/axel-tcp.o: src/tcp.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-tcp.o -MD -MP -MF src/$(DEPDIR)/axel-tcp.Tpo -c -o src/axel-tcp.o `test -f 'src/tcp.c' || echo '$(srcdir)/'`src/tcp.c
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-tcp.Tpo src/$(DEPDIR)/axel-tcp.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/tcp.c' object='src/axel-tcp.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-tcp.o `test -f 'src/tcp.c' || echo '$(srcdir)/'`src/tcp.c

src/axel-tcp.obj: src/tcp.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-tcp.obj -MD -MP -MF src/$(DEPDIR)/axel-tcp.Tpo -c -o src/axel-tcp.obj `if test -f 'src/tcp.c'; then $(CYGPATH_W) 'src/tcp.c'; else $(CYGPATH_W) '$(srcdir)/src/tcp.c'; fi`
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-tcp.Tpo src/$(DEPDIR)/axel-tcp.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/tcp.c' object='src/axel-tcp.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-tcp.obj `if test -f 'src/tcp.c'; then $(CYGPATH_W) 'src/tcp.c'; else $(CYGPATH_W) '$(srcdir)/src/tcp.c'; fi`

src/axel-text.o: src/text.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-text.o -MD -MP -MF src/$(DEPDIR)/axel-text.Tpo -c -o src/axel-text.o `test -f 'src/text.c' || echo '$(srcdir)/'`src/text.c
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-text.Tpo src/$(DEPDIR)/axel-text.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/text.c' object='src/axel-text.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-text.o `test -f 'src/text.c' || echo '$(srcdir)/'`src/text.c

src/axel-text.obj: src/text.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-text.obj -MD -MP -MF src/$(DEPDIR)/axel-text.Tpo -c -o src/axel-text.obj `if test -f 'src/text.c'; then $(CYGPATH_W) 'src/text.c'; else $(CYGPATH_W) '$(srcdir)/src/text.c'; fi`
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-text.Tpo src/$(DEPDIR)/axel-text.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/text.c' object='src/axel-text.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-text.obj `if test -f 'src/text.c'; then $(CYGPATH_W) 'src/text.c'; else $(CYGPATH_W) '$(srcdir)/src/text.c'; fi`

src/axel-dn-match.o: src/dn-match.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-dn-match.o -MD -MP -MF src/$(DEPDIR)/axel-dn-match.Tpo -c -o src/axel-dn-match.o `test -f 'src/dn-match.c' || echo '$(srcdir)/'`src/dn-match.c
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-dn-match.Tpo src/$(DEPDIR)/axel-dn-match.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/dn-match.c' object='src/axel-dn-match.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-dn-match.o `test -f 'src/dn-match.c' || echo '$(srcdir)/'`src/dn-match.c

src/axel-dn-match.obj: src/dn-match.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-dn-match.obj -MD -MP -MF src/$(DEPDIR)/axel-dn-match.Tpo -c -o src/axel-dn-match.obj `if test -f 'src/dn-match.c'; then $(CYGPATH_W) 'src/dn-match.c'; else $(CYGPATH_W) '$(srcdir)/src/dn-match.c'; fi`
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-dn-match.Tpo src/$(DEPDIR)/axel-dn-match.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/dn-match.c' object='src/axel-dn-match.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-dn-match.obj `if test -f 'src/dn-match.c'; then $(CYGPATH_W) 'src/dn-match.c'; else $(CYGPATH_W) '$(srcdir)/src/dn-match.c'; fi`

src/axel-ssl.o: src/ssl.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-ssl.o -MD -MP -MF src/$(DEPDIR)/axel-ssl.Tpo -c -o src/axel-ssl.o `test -f 'src/ssl.c' || echo '$(srcdir)/'`src/ssl.c
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-ssl.Tpo src/$(DEPDIR)/axel-ssl.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/ssl.c' object='src/axel-ssl.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-ssl.o `test -f 'src/ssl.c' || echo '$(srcdir)/'`src/ssl.c

src/axel-ssl.obj: src/ssl.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-ssl.obj -MD -MP -MF src/$(DEPDIR)/axel-ssl.Tpo -c -o src/axel-ssl.obj `if test -f 'src/ssl.c'; then $(CYGPATH_W) 'src/ssl.c'; else $(CYGPATH_W) '$(srcdir)/src/ssl.c'; fi`
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-ssl.Tpo src/$(DEPDIR)/axel-ssl.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/ssl.c' object='src/axel-ssl.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-ssl.obj `if test -f 'src/ssl.c'; then $(CYGPATH_W) 'src/ssl.c'; else $(CYGPATH_W) '$(srcdir)/src/ssl.c'; fi`

src/axel-ssl_verify.o: src/ssl_verify.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-ssl_verify.o -MD -MP -MF src/$(DEPDIR)/axel-ssl_verify.Tpo -c -o src/axel-ssl_verify.o `test -f 'src/ssl_verify.c' || echo '$(srcdir)/'`src/ssl_verify.c
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-ssl_verify.Tpo src/$(DEPDIR)/axel-ssl_verify.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/ssl_verify.c' object='src/axel-ssl_verify.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-ssl_verify.o `test -f 'src/ssl_verify.c' || echo '$(srcdir)/'`src/ssl_verify.c

src/axel-ssl_verify.obj: src/ssl_verify.c
@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -MT src/axel-ssl_verify.obj -MD -MP -MF src/$(DEPDIR)/axel-ssl_verify.Tpo -c -o src/axel-ssl_verify.obj `if test -f 'src/ssl_verify.c'; then $(CYGPATH_W) 'src/ssl_verify.c'; else $(CYGPATH_W) '$(srcdir)/src/ssl_verify.c'; fi`
@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/axel-ssl_verify.Tpo src/$(DEPDIR)/axel-ssl_verify.Po
@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='src/ssl_verify.c' object='src/axel-ssl_verify.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(axel_CFLAGS) $(CFLAGS) -c -o src/axel-ssl_verify.obj `if test -f 'src/ssl_verify.c'; then $(CYGPATH_W) 'src/ssl_verify.c'; else $(CYGPATH_W) '$(srcdir)/src/ssl_verify.c'; fi`
install-man1: $(dist_man_MANS)
	@$(NORMAL_INSTALL)
	@list1=''; \
	list2='$(dist_man_MANS)'; \
	test -n "$(man1dir)" \
	  && test -n "`echo $$list1$$list2`" \
	  || exit 0; \
	echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
	$(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
	{ for i in $$list1; do echo "$$i"; done;  \
	if test -n "$$list2"; then \
	  for i in $$list2; do echo "$$i"; done \
	    | sed -n '/\.1[a-z]*$$/p'; \
	fi; \
	} | while read p; do \
	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
	  echo "$$d$$p"; echo "$$p"; \
	done | \
	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
	sed 'N;N;s,\n, ,g' | { \
	list=; while read file base inst; do \
	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
	  fi; \
	done; \
	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
	while read files; do \
	  test -z "$$files" || { \
	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
	done; }

uninstall-man1:
	@$(NORMAL_UNINSTALL)
	@list=''; test -n "$(man1dir)" || exit 0; \
	files=`{ for i in $$list; do echo "$$i"; done; \
	l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
	  sed -n '/\.1[a-z]*$$/p'; \
	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
	dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)

# This directory's subdirectories are mostly independent; you can cd
# into them and run 'make' without going through this Makefile.
# To change the values of 'make' variables: instead of editing Makefiles,
# (1) if the variable is set in 'config.status', edit 'config.status'
#     (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
$(am__recursive_targets):
	@fail=; \
	if $(am__make_keepgoing); then \
	  failcom='fail=yes'; \
	else \
	  failcom='exit 1'; \
	fi; \
	dot_seen=no; \
	target=`echo $@ | sed s/-recursive//`; \
	case "$@" in \
	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
	  *) list='$(SUBDIRS)' ;; \
	esac; \
	for subdir in $$list; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    dot_seen=yes; \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	  || eval $$failcom; \
	done; \
	if test "$$dot_seen" = "no"; then \
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
	fi; test -z "$$fail"

ID: $(am__tagged_files)
	$(am__define_uniq_tagged_files); mkid -fID $$unique
tags: tags-recursive
TAGS: tags

tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
	set x; \
	here=`pwd`; \
	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
	  include_option=--etags-include; \
	  empty_fix=.; \
	else \
	  include_option=--include; \
	  empty_fix=; \
	fi; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
	    test ! -f $$subdir/TAGS || \
	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
	  fi; \
	done; \
	$(am__define_uniq_tagged_files); \
	shift; \
	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
	  test -n "$$unique" || unique=$$empty_fix; \
	  if test $$# -gt 0; then \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      "$$@" $$unique; \
	  else \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      $$unique; \
	  fi; \
	fi
ctags: ctags-recursive

CTAGS: ctags
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
	$(am__define_uniq_tagged_files); \
	test -z "$(CTAGS_ARGS)$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && $(am__cd) $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) "$$here"
cscope: cscope.files
	test ! -s cscope.files \
	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
clean-cscope:
	-rm -f cscope.files
cscope.files: clean-cscope cscopelist
cscopelist: cscopelist-recursive

cscopelist-am: $(am__tagged_files)
	list='$(am__tagged_files)'; \
	case "$(srcdir)" in \
	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
	  *) sdir=$(subdir)/$(srcdir) ;; \
	esac; \
	for i in $$list; do \
	  if test -f "$$i"; then \
	    echo "$(subdir)/$$i"; \
	  else \
	    echo "$$sdir/$$i"; \
	  fi; \
	done >> $(top_builddir)/cscope.files

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
distdir: $(BUILT_SOURCES)
	$(MAKE) $(AM_MAKEFLAGS) distdir-am

distdir-am: $(DISTFILES)
	$(am__remove_distdir)
	test -d "$(distdir)" || mkdir "$(distdir)"
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	list='$(DISTFILES)'; \
	  dist_files=`for file in $$list; do echo $$file; done | \
	  sed -e "s|^$$srcdirstrip/||;t" \
	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
	case $$dist_files in \
	  */*) $(MKDIR_P) `echo "$$dist_files" | \
			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
			   sort -u` ;; \
	esac; \
	for file in $$dist_files; do \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  if test -d $$d/$$file; then \
	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
	    if test -d "$(distdir)/$$file"; then \
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
	    fi; \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
	    fi; \
	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
	  else \
	    test -f "$(distdir)/$$file" \
	    || cp -p $$d/$$file "$(distdir)/$$file" \
	    || exit 1; \
	  fi; \
	done
	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
	    $(am__make_dryrun) \
	      || test -d "$(distdir)/$$subdir" \
	      || $(MKDIR_P) "$(distdir)/$$subdir" \
	      || exit 1; \
	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
	    $(am__relativize); \
	    new_distdir=$$reldir; \
	    dir1=$$subdir; dir2="$(top_distdir)"; \
	    $(am__relativize); \
	    new_top_distdir=$$reldir; \
	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
	    ($(am__cd) $$subdir && \
	      $(MAKE) $(AM_MAKEFLAGS) \
	        top_distdir="$$new_top_distdir" \
	        distdir="$$new_distdir" \
		am__remove_distdir=: \
		am__skip_length_check=: \
		am__skip_mode_fix=: \
	        distdir) \
	      || exit 1; \
	  fi; \
	done
	$(MAKE) $(AM_MAKEFLAGS) \
	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
	  dist-hook
	-test -n "$(am__skip_mode_fix)" \
	|| find "$(distdir)" -type d ! -perm -755 \
		-exec chmod u+rwx,go+rx {} \; -o \
	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
	|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
	tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
	$(am__post_remove_distdir)
dist-bzip2: distdir
	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
	$(am__post_remove_distdir)

dist-lzip: distdir
	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
	$(am__post_remove_distdir)
dist-xz: distdir
	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
	$(am__post_remove_distdir)

dist-zstd: distdir
	tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
	$(am__post_remove_distdir)

dist-tarZ: distdir
	@echo WARNING: "Support for distribution archives compressed with" \
		       "legacy program 'compress' is deprecated." >&2
	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
	$(am__post_remove_distdir)

dist-shar: distdir
	@echo WARNING: "Support for shar distribution archives is" \
	               "deprecated." >&2
	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
	shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
	$(am__post_remove_distdir)

dist-zip: distdir
	-rm -f $(distdir).zip
	zip -rq $(distdir).zip $(distdir)
	$(am__post_remove_distdir)

dist dist-all:
	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
	$(am__post_remove_distdir)

# This target untars the dist file and tries a VPATH configuration.  Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
	case '$(DIST_ARCHIVES)' in \
	*.tar.gz*) \
	  eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
	*.tar.bz2*) \
	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
	*.tar.lz*) \
	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
	*.tar.xz*) \
	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
	*.tar.Z*) \
	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
	*.shar.gz*) \
	  eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
	*.zip*) \
	  unzip $(distdir).zip ;;\
	*.tar.zst*) \
	  zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
	esac
	chmod -R a-w $(distdir)
	chmod u+w $(distdir)
	mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
	chmod a-w $(distdir)
	test -d $(distdir)/_build || exit 0; \
	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
	  && am__cwd=`pwd` \
	  && $(am__cd) $(distdir)/_build/sub \
	  && ../../configure \
	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
	    $(DISTCHECK_CONFIGURE_FLAGS) \
	    --srcdir=../.. --prefix="$$dc_install_base" \
	  && $(MAKE) $(AM_MAKEFLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
	  && $(MAKE) $(AM_MAKEFLAGS) check \
	  && $(MAKE) $(AM_MAKEFLAGS) install \
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
	        distuninstallcheck \
	  && chmod -R a-w "$$dc_install_base" \
	  && ({ \
	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
	  && rm -rf "$$dc_destdir" \
	  && $(MAKE) $(AM_MAKEFLAGS) dist \
	  && rm -rf $(DIST_ARCHIVES) \
	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
	  && cd "$$am__cwd" \
	  || exit 1
	$(am__post_remove_distdir)
	@(echo "$(distdir) archives ready for distribution: "; \
	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
	@test -n '$(distuninstallcheck_dir)' || { \
	  echo 'ERROR: trying to run $@ with an empty' \
	       '$$(distuninstallcheck_dir)' >&2; \
	  exit 1; \
	}; \
	$(am__cd) '$(distuninstallcheck_dir)' || { \
	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
	  exit 1; \
	}; \
	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
	   || { echo "ERROR: files left after uninstall:" ; \
	        if test -n "$(DESTDIR)"; then \
	          echo "  (check DESTDIR support)"; \
	        fi ; \
	        $(distuninstallcheck_listfiles) ; \
	        exit 1; } >&2
distcleancheck: distclean
	@if test '$(srcdir)' = . ; then \
	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
	  exit 1 ; \
	fi
	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
	  || { echo "ERROR: files left in build directory after distclean:" ; \
	       $(distcleancheck_listfiles) ; \
	       exit 1; } >&2
check-am: all-am
check: check-recursive
all-am: Makefile $(PROGRAMS) $(MANS) config.h
installdirs: installdirs-recursive
installdirs-am:
	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
	done
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-recursive
install-strip:
	if test -z '$(STRIP)'; then \
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	      install; \
	else \
	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
	fi
mostlyclean-generic:
	-rm -f lib/ASN1_STRING_get0_data.$(OBJEXT)
	-rm -f lib/strlcat.$(OBJEXT)
	-rm -f lib/strlcpy.$(OBJEXT)

clean-generic:

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
	-rm -f lib/$(am__dirstamp)
	-rm -f src/$(DEPDIR)/$(am__dirstamp)
	-rm -f src/$(am__dirstamp)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive

clean-am: clean-binPROGRAMS clean-generic mostlyclean-am

distclean: distclean-recursive
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
		-rm -f lib/$(DEPDIR)/ASN1_STRING_get0_data.Po
	-rm -f lib/$(DEPDIR)/strlcat.Po
	-rm -f lib/$(DEPDIR)/strlcpy.Po
	-rm -f src/$(DEPDIR)/axel-abuf.Po
	-rm -f src/$(DEPDIR)/axel-axel.Po
	-rm -f src/$(DEPDIR)/axel-conf.Po
	-rm -f src/$(DEPDIR)/axel-conn.Po
	-rm -f src/$(DEPDIR)/axel-dn-match.Po
	-rm -f src/$(DEPDIR)/axel-ftp.Po
	-rm -f src/$(DEPDIR)/axel-hash.Po
	-rm -f src/$(DEPDIR)/axel-http.Po
	-rm -f src/$(DEPDIR)/axel-random.Po
	-rm -f src/$(DEPDIR)/axel-search.Po
	-rm -f src/$(DEPDIR)/axel-sleep.Po
	-rm -f src/$(DEPDIR)/axel-ssl.Po
	-rm -f src/$(DEPDIR)/axel-ssl_verify.Po
	-rm -f src/$(DEPDIR)/axel-tcp.Po
	-rm -f src/$(DEPDIR)/axel-text.Po
	-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
	distclean-hdr distclean-local distclean-tags

dvi: dvi-recursive

dvi-am:

html: html-recursive

html-am:

info: info-recursive

info-am:

install-data-am: install-man

install-dvi: install-dvi-recursive

install-dvi-am:

install-exec-am: install-binPROGRAMS

install-html: install-html-recursive

install-html-am:

install-info: install-info-recursive

install-info-am:

install-man: install-man1

install-pdf: install-pdf-recursive

install-pdf-am:

install-ps: install-ps-recursive

install-ps-am:

installcheck-am:

maintainer-clean: maintainer-clean-recursive
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
	-rm -rf $(top_srcdir)/autom4te.cache
		-rm -f lib/$(DEPDIR)/ASN1_STRING_get0_data.Po
	-rm -f lib/$(DEPDIR)/strlcat.Po
	-rm -f lib/$(DEPDIR)/strlcpy.Po
	-rm -f src/$(DEPDIR)/axel-abuf.Po
	-rm -f src/$(DEPDIR)/axel-axel.Po
	-rm -f src/$(DEPDIR)/axel-conf.Po
	-rm -f src/$(DEPDIR)/axel-conn.Po
	-rm -f src/$(DEPDIR)/axel-dn-match.Po
	-rm -f src/$(DEPDIR)/axel-ftp.Po
	-rm -f src/$(DEPDIR)/axel-hash.Po
	-rm -f src/$(DEPDIR)/axel-http.Po
	-rm -f src/$(DEPDIR)/axel-random.Po
	-rm -f src/$(DEPDIR)/axel-search.Po
	-rm -f src/$(DEPDIR)/axel-sleep.Po
	-rm -f src/$(DEPDIR)/axel-ssl.Po
	-rm -f src/$(DEPDIR)/axel-ssl_verify.Po
	-rm -f src/$(DEPDIR)/axel-tcp.Po
	-rm -f src/$(DEPDIR)/axel-text.Po
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-recursive

mostlyclean-am: mostlyclean-compile mostlyclean-generic

pdf: pdf-recursive

pdf-am:

ps: ps-recursive

ps-am:

uninstall-am: uninstall-binPROGRAMS uninstall-man

uninstall-man: uninstall-man1

.MAKE: $(am__recursive_targets) all install-am install-strip

.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
	am--depfiles am--refresh check check-am clean \
	clean-binPROGRAMS clean-cscope clean-generic cscope \
	cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
	dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
	dist-zip dist-zstd distcheck distclean distclean-compile \
	distclean-generic distclean-hdr distclean-local distclean-tags \
	distcleancheck distdir distuninstallcheck dvi dvi-am html \
	html-am info info-am install install-am install-binPROGRAMS \
	install-data install-data-am install-dvi install-dvi-am \
	install-exec install-exec-am install-html install-html-am \
	install-info install-info-am install-man install-man1 \
	install-pdf install-pdf-am install-ps install-ps-am \
	install-strip installcheck installcheck-am installdirs \
	installdirs-am maintainer-clean maintainer-clean-generic \
	mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
	ps ps-am tags tags-am uninstall uninstall-am \
	uninstall-binPROGRAMS uninstall-man uninstall-man1

.PRECIOUS: Makefile


.txt.1:
	tmp=$$(mktemp tmpXXXXXX) && \
	> "$$tmp" \
	txt2man -t "$(<:.txt=)" -s 1 \
		-d "$(doc_reldate)" \
		-P "$(PACKAGE_NAME)" \
		-r "$(PACKAGE_NAME)-$(PACKAGE_VERSION)" \
		-v "$(PACKAGE_DESC)" $< &&\
	mv "$$tmp" $@ || { rm -f "$$tmp"; exit 1; }

distclean-local:
	-rm -rf autom4te.cache
	-rm -f  *~ po/*~ po/*.gmo src/*~

dist-hook:
	rm -rf $(distdir)/.git
	read _ RELDATE _ < $(top_srcdir)/VERSION; \
	TZ= find $(distdir) -exec touch -d "$$RELDATE" '{}' +
.PHONY: relcheck update-po
update-po:
	$(MAKE) -C po update-po
relcheck: update-po
	@$(MSG) 'Checking for non-UTF8 translations...'
	@$(AWK) -f $(top_srcdir)/scripts/pocheck.awk $(top_srcdir)/po/*.po
	@$(MSG) 'Checking the state of the project...'
	@ m=`git status --porcelain=1 | wc -l`; \
	test "$$m" = 0 \
		&& $(MSG) 'the working tree is clean' \
		|| $(ERR) "$$m" 'modified files in the working tree'
	@test -f "$(top_srcdir)/.git/refs/tags/v$(VERSION)" \
		&& $(MSG) 'v$(VERSION) tag found' \
		|| $(ERR) 'v$(VERSION) tag missing'
	@$(MSG) Everything OK

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
axel-2.17.13/config.h.in0000644000175000017500000002705514560423122010332 /* config.h.in.  Generated from configure.ac by autoheader.  */

/* "Define architecture" */
#undef ARCH

/* Define to 1 if translation of program messages to the user's native
   language is requested. */
#undef ENABLE_NLS

/* "Define /etc directory path" */
#undef ETCDIR

/* Define to 1 if you have the  header file. */
#undef HAVE_ARPA_INET_H

/* Define to 1 if you have the 'ASN1_STRING_get0_data' function. */
#undef HAVE_ASN1_STRING_GET0_DATA

/* Define if the GNU dcgettext() function is already present or preinstalled.
   */
#undef HAVE_DCGETTEXT

/* Define to 1 if you have the declaration of 'X509_get_ext_d2i', and to 0 if
   you don't. */
#undef HAVE_DECL_X509_GET_EXT_D2I

/* Define to 1 if you have the declaration of 'X509_NAME_get_entry', and to 0
   if you don't. */
#undef HAVE_DECL_X509_NAME_GET_ENTRY

/* Define to 1 if you have the declaration of 'X509_V_OK ', and to 0 if you
   don't. */
#undef HAVE_DECL_X509_V_OK______

/* Define to 1 if you have the  header file. */
#undef HAVE_FCNTL_H

/* Define to 1 if the system has the `format' function attribute */
#undef HAVE_FUNC_ATTRIBUTE_FORMAT

/* Define to 1 if you have the 'getaddrinfo' function. */
#undef HAVE_GETADDRINFO

/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT

/* Define to 1 if you have the 'gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY

/* Define if you have the iconv() function. */
#undef HAVE_ICONV

/* Define to 1 if you have the 'inet_ntoa' function. */
#undef HAVE_INET_NTOA

/* Define to 1 if the system has the type `intmax_t'. */
#undef HAVE_INTMAX_T

/* Define to 1 if you have the  header file. */
#undef HAVE_INTTYPES_H

/* Define to 1 if you have the  header file. */
#undef HAVE_LIMITS_H

/* Define to 1 if you have the  header file. */
#undef HAVE_LOCALE_H

/* Define to 1 if you have the 'malloc' function. */
#undef HAVE_MALLOC

/* Define to 1 if you have the 'memset' function. */
#undef HAVE_MEMSET

/* Define to 1 if you have the  header file. */
#undef HAVE_MINIX_CONFIG_H

/* Define to 1 if you have the 'nanosleep' function. */
#undef HAVE_NANOSLEEP

/* Define to 1 if you have the  header file. */
#undef HAVE_NETDB_H

/* Define to 1 if you have the  header file. */
#undef HAVE_NETINET_IN_H

/* Define to 1 if the system has the type `off_t'. */
#undef HAVE_OFF_T

#ifndef HAVE_OFF_T
typedef int64_t off_t;
#endif

/* Define if you have POSIX threads libraries and header files. */
#undef HAVE_PTHREAD

/* Have PTHREAD_PRIO_INHERIT. */
#undef HAVE_PTHREAD_PRIO_INHERIT

/* Define to 1 if you have the 'realloc' function. */
#undef HAVE_REALLOC

/* Define to 1 if you have the 'select' function. */
#undef HAVE_SELECT

/* Define to 1 if you have the 'setlocale' function. */
#undef HAVE_SETLOCALE

/* Define to 1 if you have the 'socket' function. */
#undef HAVE_SOCKET

/* SSL */
#undef HAVE_SSL

/* Define to 1 if you have the  header file. */
#undef HAVE_STDINT_H

/* Define to 1 if you have the  header file. */
#undef HAVE_STDIO_H

/* Define to 1 if you have the  header file. */
#undef HAVE_STDLIB_H

/* Define to 1 if you have the 'strcasecmp' function. */
#undef HAVE_STRCASECMP

/* Define to 1 if you have the 'strchr' function. */
#undef HAVE_STRCHR

/* Define to 1 if you have the 'strerror' function. */
#undef HAVE_STRERROR

/* Define to 1 if you have the  header file. */
#undef HAVE_STRINGS_H

/* Define to 1 if you have the  header file. */
#undef HAVE_STRING_H

/* Define to 1 if you have the 'strlcat' function. */
#undef HAVE_STRLCAT

/* Define to 1 if you have the 'strlcpy' function. */
#undef HAVE_STRLCPY

/* Define to 1 if you have the 'strncasecmp' function. */
#undef HAVE_STRNCASECMP

/* Define to 1 if you have the 'strpbrk' function. */
#undef HAVE_STRPBRK

/* Define to 1 if you have the 'strrchr' function. */
#undef HAVE_STRRCHR

/* Define to 1 if you have the 'strstr' function. */
#undef HAVE_STRSTR

/* Define to 1 if you have the 'strtoll' function. */
#undef HAVE_STRTOLL

/* Define to 1 if you have the 'strtoul' function. */
#undef HAVE_STRTOUL

/* Define to 1 if you have the  header file. */
#undef HAVE_SYS_IOCTL_H

/* Define to 1 if you have the  header file. */
#undef HAVE_SYS_SOCKET_H

/* Define to 1 if you have the  header file. */
#undef HAVE_SYS_STAT_H

/* Define to 1 if you have the  header file. */
#undef HAVE_SYS_TIME_H

/* Define to 1 if you have the  header file. */
#undef HAVE_SYS_TYPES_H

/* Define to 1 if you have the  header file. */
#undef HAVE_UNISTD_H

/* Define to 1 if you have the  header file. */
#undef HAVE_WCHAR_H

/* wolfSSL */
#undef HAVE_WOLFSSL

/* Define to 1 if the system has the `__builtin_clzll' built-in function */
#undef HAVE___BUILTIN_CLZLL

/* disable debugging code */
#undef NDEBUG

/* Name of package */
#undef PACKAGE

/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT

/* Define to the full name of this package. */
#undef PACKAGE_NAME

/* Define to the full name and version of this package. */
#undef PACKAGE_STRING

/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME

/* Define to the home page for this package. */
#undef PACKAGE_URL

/* Define to the version of this package. */
#undef PACKAGE_VERSION

/* Define to necessary symbol if this constant uses a non-standard name on
   your system. */
#undef PTHREAD_CREATE_JOINABLE

/* Define as the return type of signal handlers ('int' or 'void'). */
#undef RETSIGTYPE

/* Define to 1 if all of the C89 standard headers exist (not just the ones
   required in a freestanding environment). This macro is provided for
   backward compatibility; new code need not use it. */
#undef STDC_HEADERS

/* Enable extensions on AIX, Interix, z/OS.  */
#ifndef _ALL_SOURCE
# undef _ALL_SOURCE
#endif
/* Enable general extensions on macOS.  */
#ifndef _DARWIN_C_SOURCE
# undef _DARWIN_C_SOURCE
#endif
/* Enable general extensions on Solaris.  */
#ifndef __EXTENSIONS__
# undef __EXTENSIONS__
#endif
/* Enable GNU extensions on systems that have them.  */
#ifndef _GNU_SOURCE
# undef _GNU_SOURCE
#endif
/* Enable X/Open compliant socket functions that do not require linking
   with -lxnet on HP-UX 11.11.  */
#ifndef _HPUX_ALT_XOPEN_SOCKET_API
# undef _HPUX_ALT_XOPEN_SOCKET_API
#endif
/* Identify the host operating system as Minix.
   This macro does not affect the system headers' behavior.
   A future release of Autoconf may stop defining this macro.  */
#ifndef _MINIX
# undef _MINIX
#endif
/* Enable general extensions on NetBSD.
   Enable NetBSD compatibility extensions on Minix.  */
#ifndef _NETBSD_SOURCE
# undef _NETBSD_SOURCE
#endif
/* Enable OpenBSD compatibility extensions on NetBSD.
   Oddly enough, this does nothing on OpenBSD.  */
#ifndef _OPENBSD_SOURCE
# undef _OPENBSD_SOURCE
#endif
/* Define to 1 if needed for POSIX-compatible behavior.  */
#ifndef _POSIX_SOURCE
# undef _POSIX_SOURCE
#endif
/* Define to 2 if needed for POSIX-compatible behavior.  */
#ifndef _POSIX_1_SOURCE
# undef _POSIX_1_SOURCE
#endif
/* Enable POSIX-compatible threading on Solaris.  */
#ifndef _POSIX_PTHREAD_SEMANTICS
# undef _POSIX_PTHREAD_SEMANTICS
#endif
/* Enable extensions specified by ISO/IEC TS 18661-5:2014.  */
#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__
#endif
/* Enable extensions specified by ISO/IEC TS 18661-1:2014.  */
#ifndef __STDC_WANT_IEC_60559_BFP_EXT__
# undef __STDC_WANT_IEC_60559_BFP_EXT__
#endif
/* Enable extensions specified by ISO/IEC TS 18661-2:2015.  */
#ifndef __STDC_WANT_IEC_60559_DFP_EXT__
# undef __STDC_WANT_IEC_60559_DFP_EXT__
#endif
/* Enable extensions specified by C23 Annex F.  */
#ifndef __STDC_WANT_IEC_60559_EXT__
# undef __STDC_WANT_IEC_60559_EXT__
#endif
/* Enable extensions specified by ISO/IEC TS 18661-4:2015.  */
#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__
# undef __STDC_WANT_IEC_60559_FUNCS_EXT__
#endif
/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015.  */
#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__
# undef __STDC_WANT_IEC_60559_TYPES_EXT__
#endif
/* Enable extensions specified by ISO/IEC TR 24731-2:2010.  */
#ifndef __STDC_WANT_LIB_EXT2__
# undef __STDC_WANT_LIB_EXT2__
#endif
/* Enable extensions specified by ISO/IEC 24747:2009.  */
#ifndef __STDC_WANT_MATH_SPEC_FUNCS__
# undef __STDC_WANT_MATH_SPEC_FUNCS__
#endif
/* Enable extensions on HP NonStop.  */
#ifndef _TANDEM_SOURCE
# undef _TANDEM_SOURCE
#endif
/* Enable X/Open extensions.  Define to 500 only if necessary
   to make mbstate_t available.  */
#ifndef _XOPEN_SOURCE
# undef _XOPEN_SOURCE
#endif


/* Version number of package */
#undef VERSION

/* Define on Darwin to expose all libc features */
#undef _DARWIN_C_SOURCE

/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS

/* Define to 1 on platforms where this makes off_t a 64-bit type. */
#undef _LARGE_FILES

/* Number of bits in time_t, on hosts where this is settable. */
#undef _TIME_BITS

/* Define for Solaris 2.5.1 so the uint32_t typedef from ,
   , or  is not used. If the typedef were allowed, the
   #define below would cause a syntax error. */
#undef _UINT32_T

/* Define for Solaris 2.5.1 so the uint64_t typedef from ,
   , or  is not used. If the typedef were allowed, the
   #define below would cause a syntax error. */
#undef _UINT64_T

/* Define for Solaris 2.5.1 so the uint8_t typedef from ,
   , or  is not used. If the typedef were allowed, the
   #define below would cause a syntax error. */
#undef _UINT8_T

/* Request NT 6 API to expose AI_ADDRCONFIG in WinSock2 */
#undef _WIN32_WINNT

/* Workaround to expose legacy BSD typedefs needed by sockets API */
#undef __BSD_VISIBLE

/* Define to 1 on platforms where this makes time_t a 64-bit type. */
#undef __MINGW_USE_VC2005_COMPAT

/* Define to '__inline__' or '__inline' if that's what the C compiler
   calls it, or to nothing if 'inline' is not supported under any name.  */
#ifndef __cplusplus
#undef inline
#endif

/* Define to the type of a signed integer type of width exactly 16 bits if
   such a type exists and the standard includes do not define it. */
#undef int16_t

/* Define to the type of a signed integer type of width exactly 32 bits if
   such a type exists and the standard includes do not define it. */
#undef int32_t

/* Define to the type of a signed integer type of width exactly 64 bits if
   such a type exists and the standard includes do not define it. */
#undef int64_t

/* Define to the type of a signed integer type of width exactly 8 bits if such
   a type exists and the standard includes do not define it. */
#undef int8_t

/* Define to 'int' if  does not define. */
#undef mode_t

/* Define as 'unsigned int' if  doesn't define. */
#undef size_t

/* Define as 'int' if  doesn't define. */
#undef ssize_t

/* Define to the type of an unsigned integer type of width exactly 16 bits if
   such a type exists and the standard includes do not define it. */
#undef uint16_t

/* Define to the type of an unsigned integer type of width exactly 32 bits if
   such a type exists and the standard includes do not define it. */
#undef uint32_t

/* Define to the type of an unsigned integer type of width exactly 64 bits if
   such a type exists and the standard includes do not define it. */
#undef uint64_t

/* Define to the type of an unsigned integer type of width exactly 8 bits if
   such a type exists and the standard includes do not define it. */
#undef uint8_t
axel-2.17.13/ABOUT-NLS0000644000175000017500000005207514560423122007536 Notes on the Free Translation Project
*************************************

   Free software is going international!  The Free Translation Project
is a way to get maintainers of free software, translators, and users all
together, so that will gradually become able to speak many languages.
A few packages already provide translations for their messages.

   If you found this `ABOUT-NLS' file inside a distribution, you may
assume that the distributed package does use GNU `gettext' internally,
itself available at your nearest GNU archive site.  But you do _not_
need to install GNU `gettext' prior to configuring, installing or using
this package with messages translated.

   Installers will find here some useful hints.  These notes also
explain how users should proceed for getting the programs to use the
available translations.  They tell how people wanting to contribute and
work at translations should contact the appropriate team.

   When reporting bugs in the `intl/' directory or bugs which may be
related to internationalization, you should tell about the version of
`gettext' which is used.  The information can be found in the
`intl/VERSION' file, in internationalized packages.

Quick configuration advice
==========================

   If you want to exploit the full power of internationalization, you
should configure it using

     ./configure --with-included-gettext

to force usage of internationalizing routines provided within this
package, despite the existence of internationalizing capabilities in the
operating system where this package is being installed.  So far, only
the `gettext' implementation in the GNU C library version 2 provides as
many features (such as locale alias, message inheritance, automatic
charset conversion or plural form handling) as the implementation here.
It is also not possible to offer this additional functionality on top
of a `catgets' implementation.  Future versions of GNU `gettext' will
very likely convey even more functionality.  So it might be a good idea
to change to GNU `gettext' as soon as possible.

   So you need _not_ provide this option if you are using GNU libc 2 or
you have installed a recent copy of the GNU gettext package with the
included `libintl'.

INSTALL Matters
===============

   Some packages are "localizable" when properly installed; the
programs they contain can be made to speak your own native language.
Most such packages use GNU `gettext'.  Other packages have their own
ways to internationalization, predating GNU `gettext'.

   By default, this package will be installed to allow translation of
messages.  It will automatically detect whether the system already
provides the GNU `gettext' functions.  If not, the GNU `gettext' own
library will be used.  This library is wholly contained within this
package, usually in the `intl/' subdirectory, so prior installation of
the GNU `gettext' package is _not_ required.  Installers may use
special options at configuration time for changing the default
behaviour.  The commands:

     ./configure --with-included-gettext
     ./configure --disable-nls

will respectively bypass any pre-existing `gettext' to use the
internationalizing routines provided within this package, or else,
_totally_ disable translation of messages.

   When you already have GNU `gettext' installed on your system and run
configure without an option for your new package, `configure' will
probably detect the previously built and installed `libintl.a' file and
will decide to use this.  This might be not what is desirable.  You
should use the more recent version of the GNU `gettext' library.  I.e.
if the file `intl/VERSION' shows that the library which comes with this
package is more recent, you should use

     ./configure --with-included-gettext

to prevent auto-detection.

   The configuration process will not test for the `catgets' function
and therefore it will not be used.  The reason is that even an
emulation of `gettext' on top of `catgets' could not provide all the
extensions of the GNU `gettext' library.

   Internationalized packages have usually many `po/LL.po' files, where
LL gives an ISO 639 two-letter code identifying the language.  Unless
translations have been forbidden at `configure' time by using the
`--disable-nls' switch, all available translations are installed
together with the package.  However, the environment variable `LINGUAS'
may be set, prior to configuration, to limit the installed set.
`LINGUAS' should then contain a space separated list of two-letter
codes, stating which languages are allowed.

Using This Package
==================

   As a user, if your language has been installed for this package, you
only have to set the `LANG' environment variable to the appropriate
`LL_CC' combination.  Here `LL' is an ISO 639 two-letter language code,
and `CC' is an ISO 3166 two-letter country code.  For example, let's
suppose that you speak German and live in Germany.  At the shell
prompt, merely execute `setenv LANG de_DE' (in `csh'),
`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash').
This can be done from your `.login' or `.profile' file, once and for
all.

   You might think that the country code specification is redundant.
But in fact, some languages have dialects in different countries.  For
example, `de_AT' is used for Austria, and `pt_BR' for Brazil.  The
country code serves to distinguish the dialects.

   The locale naming convention of `LL_CC', with `LL' denoting the
language and `CC' denoting the country, is the one use on systems based
on GNU libc.  On other systems, some variations of this scheme are
used, such as `LL' or `LL_CC.ENCODING'.  You can get the list of
locales supported by your system for your country by running the command
`locale -a | grep '^LL''.

   Not all programs have translations for all languages.  By default, an
English message is shown in place of a nonexistent translation.  If you
understand other languages, you can set up a priority list of languages.
This is done through a different environment variable, called
`LANGUAGE'.  GNU `gettext' gives preference to `LANGUAGE' over `LANG'
for the purpose of message handling, but you still need to have `LANG'
set to the primary language; this is required by other parts of the
system libraries.  For example, some Swedish users who would rather
read translations in German than English for when Swedish is not
available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'.

   In the `LANGUAGE' environment variable, but not in the `LANG'
environment variable, `LL_CC' combinations can be abbreviated as `LL'
to denote the language's main dialect.  For example, `de' is equivalent
to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT'
(Portuguese as spoken in Portugal) in this context.

Translating Teams
=================

   For the Free Translation Project to be a success, we need interested
people who like their own language and write it well, and who are also
able to synergize with other translators speaking the same language.
Each translation team has its own mailing list.  The up-to-date list of
teams can be found at the Free Translation Project's homepage,
`http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams"
area.

   If you'd like to volunteer to _work_ at translating messages, you
should become a member of the translating team for your own language.
The subscribing address is _not_ the same as the list itself, it has
`-request' appended.  For example, speakers of Swedish can send a
message to `sv-request@li.org', having this message body:

     subscribe

   Keep in mind that team members are expected to participate
_actively_ in translations, or at solving translational difficulties,
rather than merely lurking around.  If your team does not exist yet and
you want to start one, or if you are unsure about what to do or how to
get started, please write to `translation@iro.umontreal.ca' to reach the
coordinator for all translator teams.

   The English team is special.  It works at improving and uniformizing
the terminology in use.  Proven linguistic skill are praised more than
programming skill, here.

Available Packages
==================

   Languages are not equally supported in all packages.  The following
matrix shows the current state of internationalization, as of March
2002.  The matrix shows, in regard of each package, for which languages
PO files have been submitted to translation coordination, with a
translation percentage of at least 50%.

     Ready PO files    bg ca cs da de el en eo es et fi fr
                     +-------------------------------------+
     a2ps            |          [] []             []    [] |
     bash            |             []       [] []       [] |
     bfd             |                         []       [] |
     binutils        |                         []       [] |
     bison           |             []             []    [] |
     clisp           |             []    []    []       [] |
     cpio            |          [] []          []       [] |
     diffutils       |       [] [] []       [] []       [] |
     enscript        |             []                   [] |
     error           |                         []       [] |
     fetchmail       |       () [] []          []       () |
     fileutils       |          [] []          [] []    [] |
     findutils       |          [] []          [] []    [] |
     flex            |    []    []             []       [] |
     gas             |                         []       [] |
     gawk            |                         []       [] |
     gcal            |    []                            [] |
     gcc             |                         []       [] |
     gettext         |    []    [] []          []       [] |
     gnupg           |             [] []    [] [] []    [] |
     gprof           |                         []       [] |
     grep            | [] []       []          [] []    [] |
     hello           |          [] [] []    [] [] [] [] [] |
     id-utils        |          [] []                   [] |
     indent          |    []       []       []    []    [] |
     jpilot          |       () [] []                   [] |
     jwhois          |                         []       [] |
     kbd             |                         []       [] |
     ld              |                         []       [] |
     libc            |    [] [] [] [] []       []       [] |
     lilypond        |          []                      [] |
     lynx            |       [] [] []             []       |
     m4              |       [] [] [] []                [] |
     make            |          [] []          []       [] |
     mysecretdiary   |             []                   [] |
     nano            |    [] () [] []          []       [] |
     nano_1_0        |    [] () [] []          []       [] |
     opcodes         |          []             []       [] |
     parted          |    []    [] []                   [] |
     ptx             |          [] []          [] []    [] |
     python          |                                     |
     recode          |          [] [] []    [] []       [] |
     sed             |       [] [] [] []    [] [] []    [] |
     sh-utils        |    [] [] [] [] []       [] []    [] |
     sharutils       |       [] [] [] []       []       [] |
     sketch          |             ()          []       () |
     soundtracker    |             []          []       [] |
     sp              |                                     |
     tar             |       [] [] []          [] []    [] |
     texinfo         |       [] [] []       []          [] |
     textutils       |    []    [] []          []       [] |
     util-linux      |       [] []             []       [] |
     vorbis-tools    |                                     |
     wdiff           |          [] []          [] []    [] |
     wget            |    [] [] [] [] []       [] []    [] |
                     +-------------------------------------+
                       bg ca cs da de el en eo es et fi fr
                        1 12 11 31 36  9  1  8 39 15  1 50
     
                       gl he hr hu id it ja ko lv nb nl nn
                     +-------------------------------------+
     a2ps            |                ()    ()       []    |
     bash            |                                     |
     bfd             |                   []                |
     binutils        |                   []                |
     bison           |                   []          []    |
     clisp           |                               []    |
     cpio            | []                   []       []    |
     diffutils       | [] []             []                |
     enscript        |                               []    |
     error           |          []                         |
     fetchmail       |                                     |
     fileutils       |          []    [] []                |
     findutils       | []          [] [] [] []       []    |
     flex            |                      []             |
     gas             |                                     |
     gawk            |    []                               |
     gcal            |                                     |
     gcc             |                                     |
     gettext         |                      []             |
     gnupg           | []             [] []                |
     gprof           |                                     |
     grep            |                []                   |
     hello           | [] []    []    [] [] [] [] [] [] [] |
     id-utils        |                               []    |
     indent          | []                []          []    |
     jpilot          |                   ()          ()    |
     jwhois          |                                     |
     kbd             |                                     |
     ld              |                                     |
     libc            | []                [] []    []       |
     lilypond        |                   []          []    |
     lynx            |                   []          []    |
     m4              | []          []    []          []    |
     make            | []                [] []       []    |
     mysecretdiary   |                                     |
     nano            | []          [] [] ()       [] () [] |
     nano_1_0        | []          [] [] ()       [] () [] |
     opcodes         |                               []    |
     parted          | []                []             [] |
     ptx             | []          []             [] []    |
     python          |                                     |
     recode          | [] []          []                   |
     sed             | [] []       [] [] [] []       []    |
     sh-utils        | []             [] []       [] []    |
     sharutils       | []                []          []    |
     sketch          |                ()                   |
     soundtracker    | []                                  |
     sp              |                                     |
     tar             |                [] []       []       |
     texinfo         |    []             []                |
     textutils       |                      []    []       |
     util-linux      |                () []                |
     vorbis-tools    |                                     |
     wdiff           |                                     |
     wget            | [] []    []       []          []    |
                     +-------------------------------------+
                       gl he hr hu id it ja ko lv nb nl nn
                       19  7  0  4  6 11 22  9  1  8 19  4
     
                       no pl pt pt_BR ru sk sl sv tr uk zh_TW
                     +----------------------------------------+
     a2ps            | () () ()       []    [] [] ()          |  8
     bash            |                                        |  4
     bfd             |                         [] []          |  5
     binutils        |                            []          |  4
     bison           |                []       [] []          |  8
     clisp           |                                        |  5
     cpio            |    []     []   []       []             | 11
     diffutils       |    []          []       [] []     []   | 14
     enscript        |           []   []       []             |  6
     error           |                   []       []     []   |  6
     fetchmail       |    ()     ()               []          |  4
     fileutils       |                []    [] [] []          | 12
     findutils       |    []     []   [] [] [] [] []          | 18
     flex            |                []       [] []          |  8
     gas             |                            []          |  3
     gawk            |                         [] []          |  5
     gcal            |                         [] []          |  4
     gcc             |                            []          |  3
     gettext         |                   [] [] [] []          | 10
     gnupg           |    []                   [] []          | 12
     gprof           |                         [] []          |  4
     grep            |                []    []    []          | 10
     hello           | [] []          [] []    [] [] []       | 25
     id-utils        |                []       []             |  6
     indent          |                [] []    [] []          | 12
     jpilot          | ()                      ()             |  3
     jwhois          |                ()       () []          |  3
     kbd             |                         [] []          |  4
     ld              |                         [] []          |  4
     libc            | [] []     []      []    [] []          | 17
     lilypond        |                         []             |  5
     lynx            |           []   []       []             |  9
     m4              |    []          []       []             | 12
     make            |    []     []   []          []          | 12
     mysecretdiary   |                         [] []          |  4
     nano            | () []          []       []    []       | 14
     nano_1_0        | ()             []       []    []       | 13
     opcodes         |                         [] []          |  6
     parted          |       []  []            []             | 10
     ptx             | [] [] []       []       [] []          | 15
     python          |                                        |  0
     recode          |    []          []    [] []             | 13
     sed             |           []   [] [] [] [] []          | 21
     sh-utils        | [] []     []   [] [] [] [] []     []   | 22
     sharutils       |                []       []        []   | 12
     sketch          |           []   ()                      |  3
     soundtracker    |                         []             |  5
     sp              |                                        |  0
     tar             | [] []     []      [] [] [] []          | 16
     texinfo         |                []       []        []   | 10
     textutils       |                      [] [] []     []   | 11
     util-linux      |           []            [] []          |  8
     vorbis-tools    |                         []             |  1
     wdiff           |                [] []    [] []          |  9
     wget            |                [] [] [] [] [] []  []   | 20
                     +----------------------------------------+
       35 teams        no pl pt pt_BR ru sk sl sv tr uk zh_TW
       55 domains       5 13  2  12   25 11 11 41 34  4   7    489

   Some counters in the preceding matrix are higher than the number of
visible blocks let us expect.  This is because a few extra PO files are
used for implementing regional variants of languages, or language
dialects.

   For a PO file in the matrix above to be effective, the package to
which it applies should also have been internationalized and
distributed as such by its maintainer.  There might be an observable
lag between the mere existence a PO file and its wide availability in a
distribution.

   If March 2002 seems to be old, you may fetch a more recent copy of
this `ABOUT-NLS' file on most GNU archive sites.  The most up-to-date
matrix with full percentage details can be found at
`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'.

Using `gettext' in new packages
===============================

   If you are writing a freely available program and want to
internationalize it you are welcome to use GNU `gettext' in your
package.  Of course you have to respect the GNU Library General Public
License which covers the use of the GNU `gettext' library.  This means
in particular that even non-free programs can use `libintl' as a shared
library, whereas only free software can use `libintl' as a static
library or use modified versions of `libintl'.

   Once the sources are changed appropriately and the setup can handle
to use of `gettext' the only thing missing are the translations.  The
Free Translation Project is also available for packages which are not
developed inside the GNU project.  Therefore the information given above
applies also for every other Free Software Project.  Contact
`translation@iro.umontreal.ca' to make the `.pot' files available to
the translation teams.

axel-2.17.13/COPYING0000644000175000017500000004310314560423122007332 		    GNU GENERAL PUBLIC LICENSE
		       Version 2, June 1991

 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

			    Preamble

  The licenses for most software are designed to take away your
freedom to share and change it.  By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users.  This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it.  (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.)  You can apply it to
your programs, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.

  To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have.  You must make sure that they, too, receive or can get the
source code.  And you must show them these terms so they know their
rights.

  We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.

  Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software.  If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.

  Finally, any free program is threatened constantly by software
patents.  We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary.  To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.

  The precise terms and conditions for copying, distribution and
modification follow.

		    GNU GENERAL PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License.  The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language.  (Hereinafter, translation is included without limitation in
the term "modification".)  Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope.  The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.

  1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.

You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.

  2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:

    a) You must cause the modified files to carry prominent notices
    stating that you changed the files and the date of any change.

    b) You must cause any work that you distribute or publish, that in
    whole or in part contains or is derived from the Program or any
    part thereof, to be licensed as a whole at no charge to all third
    parties under the terms of this License.

    c) If the modified program normally reads commands interactively
    when run, you must cause it, when started running for such
    interactive use in the most ordinary way, to print or display an
    announcement including an appropriate copyright notice and a
    notice that there is no warranty (or else, saying that you provide
    a warranty) and that users may redistribute the program under
    these conditions, and telling the user how to view a copy of this
    License.  (Exception: if the Program itself is interactive but
    does not normally print such an announcement, your work based on
    the Program is not required to print an announcement.)

These requirements apply to the modified work as a whole.  If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works.  But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.

Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.

In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.

  3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:

    a) Accompany it with the complete corresponding machine-readable
    source code, which must be distributed under the terms of Sections
    1 and 2 above on a medium customarily used for software interchange; or,

    b) Accompany it with a written offer, valid for at least three
    years, to give any third party, for a charge no more than your
    cost of physically performing source distribution, a complete
    machine-readable copy of the corresponding source code, to be
    distributed under the terms of Sections 1 and 2 above on a medium
    customarily used for software interchange; or,

    c) Accompany it with the information you received as to the offer
    to distribute corresponding source code.  (This alternative is
    allowed only for noncommercial distribution and only if you
    received the program in object code or executable form with such
    an offer, in accord with Subsection b above.)

The source code for a work means the preferred form of the work for
making modifications to it.  For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable.  However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.

If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.

  4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License.  Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.

  5. You are not required to accept this License, since you have not
signed it.  However, nothing else grants you permission to modify or
distribute the Program or its derivative works.  These actions are
prohibited by law if you do not accept this License.  Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.

  6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions.  You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.

  7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all.  For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.

If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.

It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices.  Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.

This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.

  8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded.  In such case, this License incorporates
the limitation as if written in the body of this License.

  9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

Each version is given a distinguishing version number.  If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation.  If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.

  10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission.  For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this.  Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.

			    NO WARRANTY

  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.

  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.

		     END OF TERMS AND CONDITIONS

	    How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    
    Copyright (C)   

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:

    Gnomovision version 69, Copyright (C) year name of author
    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary.  Here is a sample; alter the names:

  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
  `Gnomovision' (which makes passes at compilers) written by James Hacker.

  , 1 April 1989
  Ty Coon, President of Vice

This General Public License does not permit incorporating your program into
proprietary programs.  If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library.  If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
axel-2.17.13/ChangeLog0000644000175000017500000006667314560423122010072 Version: 2.17.13, 2024-02-06

  [ Ismael Luceno ]

  * abuf: Fix realloc usage
  * configure: Fix handling of --with-ssl
  * random: Initialize fd at startup



Version: 2.17.12, 2024-01-29
   
   [ Ahmet Arda Kavakcı ]

* Fixed a wrong translation for Turkish

  [ Cody M. Jones ]

* Implemented early redirect loop detection

  [ Elms ]

* Added LGTM.com support

  [ Ismael Luceno ]

* Buildsystem improvements
* Added wolfSSL support
* Fixed potential int overflow
* Simplified configuration support code
* Early redirect loop detection improvements
* Fixed speed-limiting sleep delay overflow
* Removed HTTP encoding of URLs on the CLI, should be pre-encoded

  [ Temuri Doghonadze ]

* Added Georgian translation



Version: 2.17.11, 2021-12-19

  [ Ismael Luceno ]

* Fixed a deadlock in conn_info
* Fixed build on FreeBSD (workaround for hidden typedefs)
* Added SPDX license information
* Improved reporting of HTTP status codes
* Source-code simplifications
* Buildsystem improvements
  - Check intmax_t >= int64_t on Mac OS X
  - Improved output when pkg-config is unavailable

  [ Sean E. Russell ]

* Implemented percentage output mode for piping

  [ Dimitris Apostolou ]

* Fixed typos

  [ Ahmet Arda Kavakcı ]

* Added Turkish Translation



Version: 2.17.10, 2020-11-22

  [ Ismael Luceno ]

* Portability improvements
  - Made the stop signal handler portable
* Made build system improvements
  - Now you can specify where OpenSSL is installed
  - Fixed MinGW detection
  - Further improved portability
* Bug fixes
  - Potential null pointer dereference
  - Fixed incrementig procedure for delay_time
* Optimized wildcard search in URLs
* Added human-readable file size report at the begining of downloads
* Reworked Request Range support check
* Added "Accept-Encoding" header to requests
* Cleanup of Source Code
* Updated the documentation
* Updated translations

  [ Tianyi Wang ]

* Fixed speed limiting
* Fixed data type for sizes and offsets on 32-bit systems
* Fixed duplicated non-default port when using proxy
* Fixed request range comparison and overflow

  [ WhiredPlanck ]

* Fixed typos and warnings in Simplified Chinese translation



Version: 2.17.9, 2020-04-06

  [ Ismael Luceno ]

* Added coding style aid and licensing rules to CONTRIBUTING.md.
* Fixed some race conditions with conn_t.
* Updated and improved README.md.
* Cleanup of code & build system.
* Added a new buffer handling abstraction.
* Removed limitations on state file name length.
* Removed limitations on HTTP query length.
* Added some missing function documentation.
* Fixed insecure mode certificate checking error.
* Fixed progress bar for large number of connections.
* Made the help flag report axel's version number.

  [ Jason ]

* Fixed a memory leak when deleting the download state file.
* Improved the new buffer handling abstraction and ported HTTP header
  handling to it.
* Code cleanup.
* Updated Chinese translation.



Version: 2.17.8, 2020-04-06

  [ Ismael Luceno ]

* Code cleanup, documentation, and build system improvements
* Hostname wildcard matching support
* Replaced progressbar line clearing with terminal control sequence
* Updated translations: German, Italian, Japanese, Portuguese, Spanish

  [ Jason ]

* Fixed parsing of Content-Disposition HTTP header

  [ Joao Eriberto Mota Filho ]

* Added missing copyrights to headers

  [ Ted Reed ]

* Added SSL Certificate Hostname verification support

  [ vewupom ]

* Check if custom HTTP headers fit into add_header
* Fixed User-Agent HTTP header never being included



Version: 2.17.7, 2020-01-26

  [ Ismael Luceno ]

* Buildsystem fixes
* Fixed release date for man-pages on BSD

  [ Park Ju Hyung ]

* Explicitly close TCP sockets on SSL connections too

  [ Shankar ]

* Fixed HTTP basic auth header generation

  [ Terry ]

* Changed the default progress report to "alternate output mode"

  [ retnikt ]

* Improved English in README.md



Version: 2.17.6, 2019-08-29

  [ Ismael Luceno ]

* Fixed handling of non-recoverable HTTP errors
* Cleanup of connection setup code
* Fixed manpage reproducibility issue

  [ Joao Eriberto Mota Filho ]

* Use tracker instead of PTS from Debian



Version: 2.17.5, 2019-07-23

  [ Evangelos Foutras ]

* Fixed progress indicator misalignment

  [ Ismael Luceno ]

* Cleaned up the wget-like progress output code
* Improved progress output flushing



Version: 2.17.4, 2019-07-19

  [ Ismael Luceno ]

* Fixed build with bionic libc (Android)
* TCP Fast Open support on Linux
* TCP code cleanup
* Removed dependency on libm
* Data types and format strings cleanup
* String handling cleanup
* Format string checking GCC attributes added
* Buildsystem fixes and improvements
* Updates to the documentation
* Updated all translations

  [ Jeong Ukjae ]

* Fixed Footnotes in documentation

  [ Joao Eriberto Mota Filho ]

* Fixed a typo in README.md

  [ Andrew Mussey ]

* Fixed a typo in README.md



Version: 2.17.3, 2019-05-20

  [ Ismael Luceno ]

* Builds now use canonical host triplet instead of `uname -s`
* Fixed build on Darwin / Mac OS X
* Fixed download loops caused by last byte pointer being off by one
* Fixed linking issues (i18n and posix threads)
* Updated build instructions
* Code cleanup

  [ Kun Ma ]

* Added autoconf-archive to building instructions



Version: 2.17.2, 2019-05-14

  [ Ismael Luceno ]

* Fixed HTTP request-ranges to be zero-based
* Fixed typo "too may" -> "too many"
* Replaced malloc + memset calls with calloc

  [ Kun Ma ]

* Sanitize progress bar buffer len passed to memset



Version: 2.17.1, 2019-05-10

  [ Evangelos Foutras ]

* Fixed comparison error in axel_divide

  [ Ismael Luceno ]

* Make sure maxconns is at least 1



Version: 2.17, 2019-05-08

  [ Ismael Luceno ]

* Fixed composition of URLs in redirections
* Fixed request range calculation
* Updated all translations
* Updated build documentation
* Major code cleanup
    - Cleanup of alternate progress output
    - Removed global string buffers
    - Fixed min and max macros
    - Moved User-Agent header to conf->add_header
    - Use integers for speed ratio and delay calculation

  [ Shankar ]

* Added support for parsing IPv6 literal hostname
* Fixed filename extraction from URL
* Fixed request-target message to proxy
* Handle secure protocol's schema even with SSL disabled
* Fixed Content-Disposition filename value decoding
* Strip leading hyphens in extracted filenames



Version: 2.16.1, 2017-12-05

  [ Ismael Luceno ]

* Fixed building against static OpenSSL



Version: 2.16, 2017-11-25

  [ Ismael Luceno ]

* Buildsystem fixes and improvements
* Fixed bug that produces empty files with -q/--quiet
* Fixed build with --disable-nls
* Fixed formatting of the version/copyright message
* Header files reorganization
* Spanish translation
* Style fixes
* Updated Portuguese translation



Version: 2.15, 2017-10-11

  [ Antonio Quartulli ]

* Added a 65K limit on the number of connections
* Fixed progress report when total size isn't available
* Fixed size sanity check in HTTP Resp Header
* Fixes to the usage/help text
* Lots of security bugfixes
* Made dependency on axel->conn in axel_close() explicit
* Respect file size even when range request is not supported
* Return error if socket can't be created

  [ Casa Taloyum ]

* Added some missing Simplified Chinese translation strings

  [ Ismael Luceno ]

* Added "Accept" HTTP header to the requests, required by some sites
* Code cleanups and small bugfixes
* Fixed User-Agent, now it's "Axel/{VERSION} ({ARCH})"
* Fixed a race condition in the speed testing code
* Implemented connection and I/O timeouts
* Improvements to the buildsystem and scripts
* Updates to the documentation

  [ Mahyuddin ]

* Indonesian translation

  [Nicol Dalla Longa]

* Italian translation



Version 2.14.1, 2017-09-16

  [ Antonio Quartulli ]

* Avoid stall due to missing unlock.

  [ Ismael Luceno ]

* Added some automation to help update the ChangeLog (mkchangelog).

  [ Joao Eriberto Mota Filho ]

* Updated ChangeLog, CREDITS .po files and configure.ac.



Version 2.14, 2017-09-10

  [ Antonio Quartulli ]

* Fixed redirection from HTTP to FTP.
* Added Travis-CI support.
* Added --no-clobber option.
* Added port to Host HTTP header when different from service default.
* Added option to choose between IPv4 and IPv6.
* Alternate-output: use better representation.
* Avoid bad-free when deallocating multiple URLs.
* Avoid segfault when quiet and alternate behaviour are both specified.
* Convert usleep to nanosleep.
* Fixed compilation without SSL.
* Fixed linking in macOS (don't link pthread).
* Ensure alternate output can be setup and prevent crash.
* Ensure 'progress' has space for null terminator.
* Fixed several memory leaks.
* Fixed a NULL dereference.
* Fixed use-after-free of axel->conn member.
* Implemented HTTP proxy authentication.
* Improved code in option parsing routine.
* Increased default number of max redirects to 20 and made it configurable.
* Made axel thread safe.
* Made SSL initialization race free.
* Fixed race segfault upon connection to HTTPS server.
* Fixed racy access to last_transfer.
* Added mention to IRC channel in README and CONTRIBUTING files.
* Reset 'enabled' attribute in conn_disconnect().
* Use boolean variables as such.
* Some minor fixes and changes.
* Fixed build warnings.

  [ Ismael Luceno ]

* Simplified http_header.
* Made HTTP the default protocol.
* Report truncated state file properly.
* Fixed linking against libintl in non-standard path.
* Improved http_auth_token to avoid buffering.
* Improved configuration parsing code.
* Build system improvements.
* Miscellaneous fixes and improvements.
* Fixed several function prototypes.

  [ Joao Eriberto Mota Filho ]

* Added i18n for new messages.
* Updated general docs, as AUTHORS and ChangeLog files.
* Updated project homepage in all files.
* Updated the copyright notices in all headers.
* Updated the manpage.
* Updated the pt_BR translation.
* Updated the README.md file.
* Final tests, release and Debian packaging.

  [ Sumit Agrawal ]

* Added guard to header files.



Version 2.13.1, 2017-08-03

  [ Joao Eriberto Mota Filho ]

* Updated .po files.



Version 2.13, 2017-08-02

  [ David Polverari ]

* Fixed URI encoding implementation.

  [ Ismael Luceno ]

* Fixed NULL dereferences and buffer allocation
  (based on patch by: nemermollon ).
* Fixed size of string[] buffer in text.c.
* Implemented percent encoding/decoding primitives.
* Improved axel_message to work under memory pressure.
* Improved message_t queuing.
* Made axel_close more robust.
* Print messages instead of discarding them on axel_close.
* Fixed a couple of NULL derefs when OOM.
* Fixed various memory leaks and fd leaks.
* Code cleanup and simplification.

  [ Joao Eriberto Mota Filho ]

* Some updates in README file.
* Updated the translation for Brazilian Portuguese.
* Updated the manpage version and date.

  [ Stephen Thirlwall ]

* Set TLS hostname in ssl_connect.

  [ Vlad Glagolev ]

* Fixed '--with-openssl' flag in configure.ac file.



Version 2.12, 2016-12-25

  [ Denis Denisov ]

* Made some adjustments in README.md file.

  [ Joao Eriberto Mota Filho ]

* Little adjustment in Makefile.am.

  [ Lion Yang ]

* Updated the translation to ja.

  [ Mingcong Bai ]

* Updated and fixed translation to zh_CN.

  [ Phillip Berndt ]

* Added a feature to extract file sizes from the Content-Range header. This
  fix Axel downloading the file one byte short.

  [ Stephen Thirlwall ]

* Fixed 'rpl_malloc not found' when cross-compiling.
* Implemented a test on SSL_new rather than OPENSSL_init_ssl to avoid a fail
  to build from source.



Version 2.11, 2016-06-05

  [ Sjjad Hashemian ]

* Set SSL auto-retry mode. This fixes SSL WANT_READ error which causes
  'Connection gone' error sometimes.



Version 2.10, 2016-06-04

  [ Joao Eriberto Mota Filho ]

* Stephen implemented SSL/TLS. Consequently, the licensing for Axel from now on
  will be GPL-2+ with OpenSSL exception. All previous authors agree with that.
  For details, see https://github.com/axel-download-accelerator/axel/issues/15.
* Downgraded gettext minimum version to 0.18 in configure.ac. It will produce a
  message 'AM_PROG_MKDIR_P macro is deprecated' when building, but that is
  normal.
* Fixed some fuzzy translations.
* New code for autogen.sh, now with clean to vanish the source code.
* Updated manpage.

  [ Denis Denisov ]

* Implemented the reactivation of connections from state file, similar to
  dynamic segmentation.

  [ Osamu Aoki ]

*  Clarified the usage of multiple URLs in manpage.

  [ Sjjad Hashemian ]

* Specify filename from http header Content-Disposition (RFC 2616, Sec. 19.5.1).

  [ Stephen Thirlwall ]

* HTTPS/FTPS support using OpenSSL. \o/
* Implemented the --without-openssl option to build without SSL/TLS.
* Updated the manpage.



Version 2.7, 2016-05-01

  [ Joao Eriberto Mota Filho ]

* Added new architectures to configure.ac.
* Updated some points in configure.ac and Makefile.am.

  [ Mridul Malpotra ]

* Fixed num_connections error when invalid values are given.

  [ Stephen Thirlwall ]

* Add missing m4 path to configure.ac file.
* Added the autogen.sh script.
* Cleaned the source code, removing auto generated files.



Version 2.6, 2016-03-20

  [ Joao Eriberto Mota Filho ]

* Added the Brazilian Portuguese translation.
* Moved all .c and .h to new /src directory.
* Moved all .po files to new /po directory.
* Moved some files to doc/ directory.
* Renamed README.to-contribute to CONTRIBUTING.md.
* Switched the build and install system to autotools.
* Updated all copyright notices.

  [ Ivan Gimenez ]

* Fix several compilation warnings.

  [ Stephen Thirlwall ]

* Alterate display expands to terminal width.



Version 2.5, 2015-11-01

  [ Joao Eriberto Mota Filho ] 2015-11-01

* Changed the homepage of the project in several files.
* axel.h: bumped to 2.5 version.
* configure:
    - Changed the default prefix to /usr.
    - Changed the default etc path to /etc.
    - Changed CFLAGS and LDFLAGS definition lines to allow external values,
* as GCC hardening sent by Debian.
* gui/: removed. The binary axel-kapt depended on kaptain that is no longer
*   available for QT5 (dead upstream development). For details, see
*   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789819
* http.c: fix a possible buffer overflow.
* Makefile: disabled the .po regeneration/merge actions to avoid changes in
    source code when building. I will try to fix it in future.
* manpage:
    - Moved to man/ directory.
    - Using txt2man to generate the manpage.
    - Updated the manpage.
    - Removed some typos.
    - Dropped the Chinese manpage (outdated now).
* README.md: added to be the main file for GitHub.
* README.to-contribute: added to explain how to contribute.

  [ Barry deFreese ] 2009-06-11

* Added Hurd (GNU) to configure file. It will allow Axel to build over
  GNU/Hurd. This change was provided by Barry deFreese ,
  as a patch to Debian project, on 11 Jun 2009. For details, see
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532793

  [ Mark Smith ] 2010-07-03

* Added a support to IPv6. This change was provided by
  Mark Smith ,
  as a patch to Debian project, on 03 Jul 2010. For details, see
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525290

  [ unknown person ] 2010-08-19

* Fixed incorrect unit of time in download summary. For details see
  https://alioth.debian.org/tracker/index.php?func=detail&aid=312669&group_id=100070&atid=413085

  [ unknown person ] 2011-04-12

*  Fixed an issue that produces a Bad HTTP Request when 302 redirected link is
   longer than 255 chars (like youtube). For details, see
   https://alioth.debian.org/tracker/index.php?func=detail&aid=313080&group_id=100070&atid=413085

  [ Osamu Aoki ] 2012-03-10

* Added the translation to Japanese. See
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663286 and
  https://alioth.debian.org/tracker/index.php?func=detail&aid=313565&group_id=100070&atid=413085
* Changed the configure file to honor the noopt when building. So, was removed
  the '-Os' option. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645271

  [ From original authors ]

* Releasing this old block (written after 2.4 and before 2.5 versions):

  - Make axel build on HP-UX, thanks Ciro Iriarte
  - Fix Solaris support (Closes: #312092), thanks Sebastian Kayser
  - Add PO-Revision-Date header to ru.po



Version 2.4

- Fix a buffer overflow caused by wrong size limits  when copying strings (Closes: #311569), thanks Michael Schwendt and the Fedora project members
- Fix thread hangups due to incorrect synchronization (Closes: #311469), thanks Yao Shi
- Removed Fedora packaging file. axel will be available in the Fedora repositories soon.
- Use /etc/ instead of /usr/etc/ as the default system-wide configuration location.
- Respect environment CFLAGS in configure.
- Allow special characters in arguments to configure.
- Add MimeType and fix Categories in the desktop file.



Version 2.3

- Wait for thread termination in axel.c:axel_do (Closes: #311255), thanks John Ripa
- New Chinese translation and manpage, thanks Shuge Lee
- Fix LFS support for FTP (Closes: #311320)
- Fix LFS support (Closes: #311324), thanks Rodrigue Le Bayon



Version 2.2:

- Fix a buffer overflow in http.c:http_encode.



Version 2.1:

- Fix version string.  2.0 still reported 1.1, thanks Ajay R Ramjatan
- Fix new MB/s display (was showing B/s).  Thanks Philipp Hagemeister



Version 2.0:

- Large file support thanks thanks David Turnbull
- Custom Header Support thanks Eli Yukelzon
- New Russian translation thanks newhren
- Fix segfault in -H option thanks Philipp Hagemeister
- Honour http_proxy and prefer it over HTTP_PROXY
- Add new RPM spec file thanks bbbush

Finished Sep 12 2008



Version 1.1:

- Compilation for GNU/kFreeBSD, thanks to Cyril Brulebois
- Use simple pop-ups for Help and Bug Report buttons
- Use strncpy instead of strcpy for length sensitive copies
- Always compile with -g, disable -O3
- Translation updates: de.po thanks Hermann J. Beckers
- Update manpages axel.1 and axel-kapt.1
- Prevent crash and raise error if FTP CWD fails
- Prevent crash on long URLs and increase max length of URL to 1024
- Fix segfaults on HTTP404 and HTTP401 responses

Finished Jan 18 2008



Version 1.0b:
- Removed spaces between -S[x] in man-pages, etc. They mess things up.
- Fixed configure for OpenBSD.
- Fixed configuration bug: s/alternate_interface/alternate_output/ in
  axelrc.example, thanks to CLOTILDE Guy Daniel for the bug report!
- Fixed weird behaviour when downloading from an unsupported server.
- Fixed buffer overflow in conn.c. (CAN-2005-0390)

Finished Apr 06 2005


Version 1.0a:
- gstrip on Solaris/SPARC breaks the binary, so stripping is made optional
  (but enabled by default!) and /usr/ccs/bin/strip is used instead of
  gstrip.
- Fixed a small (not harmful) errorcode interpretation bug in the ftp_size
  code.
- Downloading from unsupported sites works better now.
- Added support for downloading using more than one local network interface.
- Fixed a potential SIGSEGV bug. Would only happen with about more than 64
  connections usually. Still strange things can happen with too many
  connections when using Linux..
- Hopefully fixed the problem with downloading from forwarding URL's.
- HTTP %-escapes are handled now.
- Alternate progress indicator with estimation of remaining download time
- Changed the return-code a bit, see man-page for details.

Finished Feb 19 2002


Version 1.0:
- Fixed a reconnect problem: Check for stalled connections was skipped by
  previous versions if there is no active connection.
- Solaris does not have www in /etc/services which confused Axel. Fixed.
- Created a new build system.
- install utility not used anymore: Solaris' install does weird things.
- Added support for Cygwin and Solaris.
- Corrected a little problem in de.po.
- Thrown out the packaging stuff.

Finished Dec 6 2001


Version 0.99b brings you:
- Debian package bugfix.
- Restored i18n support.

Finished Nov 16 2001


Version 0.99a brings you:
- Small bugfix for dumb HTTP bug.

Finished Nov 10 2001


Version 0.99 brings you:
- Improved speed limiter. (For low speeds a smaller buffer works better,
  so the buffer is resized automatically for low speeds.)
- Some FTP servers don't ask for a password which confused ftp.c. Fixed.
- Some HTTP servers send chunked data when using HTTP/1.1. So I went back
  to HTTP/1.0.. (This also fixes the occasional filesearching.com problem)
- Even more problems with FTP server reply codes, but they must be fixed
  now, Axel's RFC compliant.
- For HTTP downloads a Range: header is not sent when downloading starting
  at byte 0. This is just a work-around for a problem with a weird webserver
  which sends corrupted data when a Range: header is sent. It's just a
  work-around for a rare problem, it does not really fix anything.
- RPM package for axel-kapt added.

Finished Nov 9 2001


Version 0.98 brings you:
- Fixed the weird percentage indicator bug. (Was buggy for large files,
  did not affect the downloaded data.)
- For single connection downloads from Apache: Apache returns a 200 result
  code when the specified file range is the complete file. Axel handles
  this correctly now.
- Roxen FTP servers return the address and port number without brackets
  after a passive command. This is RFC-compliant but quite unique. But now
  handled correctly.
- Fixed some things to make it work on Darwin again.
- 'Upgraded' HTTP requests to HTTP/1.1. Tried this to fix a download
  corruption bug for downloads from archive.progeny.com, but it did not
  work. wget's resume has exactly the same problem. But using HTTP/1.1 is
  more compliant (because in fact HTTP/1.0 does not support Ranges) so I'll
  keep it this way..
- Previous version used to delete the statefile in some cases. Fixed.

Finished Nov 3 2001


Version 0.97 (Bitcrusher) brings you:
- Major redesign: Moved a lot of code from main() to separate functions,
  it should make it easier to create different interfaces for the program.
- All those ifdefs were a mess, they don't exist anymore. Separate threads
  for setting up connections are used by default now. Version 0.96 will not
  disappear, by the way.
- HTTP HEAD request not used anymore: Squid's headers are incorrect when
  using the HEAD request.
- conn_disconnect did not work for FTP connections through HTTP proxies.
- Documentation fix, sort of: The example configuration file still said
  proxies are unsupported. But they are supported for quite some time
  already.
- Wrote a small (Small? Larger than any other doc.. :-) description of the
  Axel API.
- Added finish_time code. (Credits to sjoerd@huiswerkservice.nl)
- Calling conn_setup without calling conn_init first also works when using
  a proxy now.
- A client for filesearching.com. You can use it to search for mirrors and
  download from more than mirror at once.
- Fixed another segfault bug which did not show up on my own system...
  Also fixed by 0.96a.
- Global error string is gone. Unusable in threaded programs.
- The -V switch stopped working some time ago because I forgot to put it
  in the getopt string. Now it's back, alive and kickin'...
- TYPE I should be done quite early. Some servers return weird file sizes
  when still in ASCII mode.
- ftp.c (ftp_wait) sometimes resized conn->message to below MAX_STRING
  which is Not Good(tm).
- I18N support is a bit broken at this time, it'll be fixed later.
- Tidied up the man-page a bit.
- Removed config.h file, -D flags used again.
- Added axel-kapt interface.
- Changed syntax: Local file must be specified using the -o option now.
  This allows the user to specify more than one URL and all of them will
  be used for the download. A local directory can be passed as well, the
  program will append the correct filename.
- Fixed a bug which caused the program not to be able to download files
  for which only one byte has to be downloaded for one of the connections.
- Why bitcrusher? Just because I liked to have a code name for this
  release... Bit crusher is a name of a musical group here in the
  Netherlands, and it's a nice name for a downloader as well, I hope...

Finished Oct 25 2001


Version 0.96 brings you:
- Fixed a terrible bug which caused any FTP download to corrupt. I promise
  I will test the program before any next release. :-(( HTTP did work in
  0.95.

Finished Aug 14 2001 (Why is this fix so late? Because the actual release
of version 0.95 was only last Friday/Saturday...)

And yes, I tested it now. It works now. HTTP and FTP.


Version 0.95 brings you:
- An important bugfix: When bringing up the connection failed, the program
  used to be unable to reconnect. :(
- Small changes to make the program compile on FreeBSD and Darwin.
- Support check for FTP servers is done only once now.
- SIZE command is really used now.
- Fixed a SIGINT-does-not-abort problem. Btw: Ctrl-\ (SIGQUIT) always works!
- Connection status messages are not displayed by default. You can enable
  them with the verbose-option.

Finished Aug 7 2001


Version 0.94 brings you:
- 'make install' uses install instead of mkdir/cp now.
- Added 'make uninstall' option.
- Added more explanations to axelrc.example.
- It uses the HTTP HEAD request now. Didn't know that one before. :)
- Debian packaging stuff and RPM .spec file included by default.
- select() problem now really understood... The real point was, that
  sometimes select() was called with an empty fd set. Now I solved the
  problem in a more 'useful' way.

Finished Jun 26 2001


Version 0.93 brings you:
- A compile-time option to remove all the multi-connection stuff. Program
  works without state files then, and it's a bit smaller, just in case you
  need a very small program and if you don't believe in acceleration. :)
- The SIZE command is now used as long as the URL does not contain wildcards.
  Because FTP servers are just too different. :(
- You can do FTP downloads through HTTP proxies now.
- The weird initial 1-second delay which happened sometimes does not exist
  anymore: It was because of select(), which does not return immediately
  if there's data on a socket before the call starts. My first solution
  is using a lower timeout, I hope there's a better solution available...
- Local file existence check.
- Small bug fixed in conf.c.

Finished May 22 2001


Version 0.92 brings you:
- A credits file!! ;)
- A German translation. Herrman J. Beckers: Thanks a lot!
- ftp.c should understand weird Macintosh FTP servers too, now.
- Connections are initialized in a different thread because then the program
  can go on downloading data from other connections while setting up. Quick
  hack, but it works.
- config.h contains the configuration definitions now.
- A URL - can be specified. The program will read a URL from stdin. Might
  be useful if you don't want other people to see the URL in the 'ps aux'
  output. (Think about passwords in URLs...)

Finished May 11 2001


Version 0.91 brings you:
- A man page.
- A quiet mode.
- A Debian package. (0.9 .deb exists too, but that was after the 'official'
  0.9 release..)
- Made the sizes/times displayed after downloading more human-readable.
- Corrected some stupid things in the nl.po file.
- No bug in ftp_wait anymore, (or at least one bug less ;) the program was a
  bit too late with the realloc() sometimes. I just hate those multi-line
  replies.. :(
- HTTP proxy support. no_proxy configuration flag also in use.
- Support for empty configuration strings.
- URL parser understands wrongly formatted URLs like slashdot.org. (instead
  of the correct http://slashdot.org/)

Finished Apr 30 2001


Version 0.9 brings you:
- See the README for all the old features.
- Internationalization support.
- Clearer error messages.
- Probably some bug fixes too.
- A highly sophisticated Makefile.. ;)

Finished Apr 22 2001
axel-2.17.13/INSTALL0000644000175000017500000003661014560423122007335 Installation Instructions
*************************

Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,
Inc.

   Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.  This file is offered as-is,
without warranty of any kind.

Basic Installation
==================

   Briefly, the shell command `./configure && make && make install'
should configure, build, and install this package.  The following
more-detailed instructions are generic; see the `README' file for
instructions specific to this package.  Some packages provide this
`INSTALL' file but do not implement all of the features documented
below.  The lack of an optional feature in a given package is not
necessarily a bug.  More recommendations for GNU packages can be found
in *note Makefile Conventions: (standards)Makefile Conventions.

   The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation.  It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions.  Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, and a
file `config.log' containing compiler output (useful mainly for
debugging `configure').

   It can also use an optional file (typically called `config.cache'
and enabled with `--cache-file=config.cache' or simply `-C') that saves
the results of its tests to speed up reconfiguring.  Caching is
disabled by default to prevent problems with accidental use of stale
cache files.

   If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release.  If you are using the cache, and at
some point `config.cache' contains results you don't want to keep, you
may remove or edit it.

   The file `configure.ac' (or `configure.in') is used to create
`configure' by a program called `autoconf'.  You need `configure.ac' if
you want to change it or regenerate `configure' using a newer version
of `autoconf'.

   The simplest way to compile this package is:

  1. `cd' to the directory containing the package's source code and type
     `./configure' to configure the package for your system.

     Running `configure' might take a while.  While running, it prints
     some messages telling which features it is checking for.

  2. Type `make' to compile the package.

  3. Optionally, type `make check' to run any self-tests that come with
     the package, generally using the just-built uninstalled binaries.

  4. Type `make install' to install the programs and any data files and
     documentation.  When installing into a prefix owned by root, it is
     recommended that the package be configured and built as a regular
     user, and only the `make install' phase executed with root
     privileges.

  5. Optionally, type `make installcheck' to repeat any self-tests, but
     this time using the binaries in their final installed location.
     This target does not install anything.  Running this target as a
     regular user, particularly if the prior `make install' required
     root privileges, verifies that the installation completed
     correctly.

  6. You can remove the program binaries and object files from the
     source code directory by typing `make clean'.  To also remove the
     files that `configure' created (so you can compile the package for
     a different kind of computer), type `make distclean'.  There is
     also a `make maintainer-clean' target, but that is intended mainly
     for the package's developers.  If you use it, you may have to get
     all sorts of other programs in order to regenerate files that came
     with the distribution.

  7. Often, you can also type `make uninstall' to remove the installed
     files again.  In practice, not all packages have tested that
     uninstallation works correctly, even though it is required by the
     GNU Coding Standards.

  8. Some packages, particularly those that use Automake, provide `make
     distcheck', which can by used by developers to test that all other
     targets like `make install' and `make uninstall' work correctly.
     This target is generally not run by end users.

Compilers and Options
=====================

   Some systems require unusual options for compilation or linking that
the `configure' script does not know about.  Run `./configure --help'
for details on some of the pertinent environment variables.

   You can give `configure' initial values for configuration parameters
by setting variables in the command line or in the environment.  Here
is an example:

     ./configure CC=c99 CFLAGS=-g LIBS=-lposix

   *Note Defining Variables::, for more details.

Compiling For Multiple Architectures
====================================

   You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory.  To do this, you can use GNU `make'.  `cd' to the
directory where you want the object files and executables to go and run
the `configure' script.  `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.  This
is known as a "VPATH" build.

   With a non-GNU `make', it is safer to compile the package for one
architecture at a time in the source code directory.  After you have
installed the package for one architecture, use `make distclean' before
reconfiguring for another architecture.

   On MacOS X 10.5 and later systems, you can create libraries and
executables that work on multiple system types--known as "fat" or
"universal" binaries--by specifying multiple `-arch' options to the
compiler but only a single `-arch' option to the preprocessor.  Like
this:

     ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
                 CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
                 CPP="gcc -E" CXXCPP="g++ -E"

   This is not guaranteed to produce working output in all cases, you
may have to build one architecture at a time and combine the results
using the `lipo' tool if you have problems.

Installation Names
==================

   By default, `make install' installs the package's commands under
`/usr/local/bin', include files under `/usr/local/include', etc.  You
can specify an installation prefix other than `/usr/local' by giving
`configure' the option `--prefix=PREFIX', where PREFIX must be an
absolute file name.

   You can specify separate installation prefixes for
architecture-specific files and architecture-independent files.  If you
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
PREFIX as the prefix for installing programs and libraries.
Documentation and other data files still use the regular prefix.

   In addition, if you use an unusual directory layout you can give
options like `--bindir=DIR' to specify different values for particular
kinds of files.  Run `configure --help' for a list of the directories
you can set and what kinds of files go in them.  In general, the
default for these options is expressed in terms of `${prefix}', so that
specifying just `--prefix' will affect all of the other directory
specifications that were not explicitly provided.

   The most portable way to affect installation locations is to pass the
correct locations to `configure'; however, many packages provide one or
both of the following shortcuts of passing variable assignments to the
`make install' command line to change installation locations without
having to reconfigure or recompile.

   The first method involves providing an override variable for each
affected directory.  For example, `make install
prefix=/alternate/directory' will choose an alternate location for all
directory configuration variables that were expressed in terms of
`${prefix}'.  Any directories that were specified during `configure',
but not in terms of `${prefix}', must each be overridden at install
time for the entire installation to be relocated.  The approach of
makefile variable overrides for each directory variable is required by
the GNU Coding Standards, and ideally causes no recompilation.
However, some platforms have known limitations with the semantics of
shared libraries that end up requiring recompilation when using this
method, particularly noticeable in packages that use GNU Libtool.

   The second method involves providing the `DESTDIR' variable.  For
example, `make install DESTDIR=/alternate/directory' will prepend
`/alternate/directory' before all installation names.  The approach of
`DESTDIR' overrides is not required by the GNU Coding Standards, and
does not work on platforms that have drive letters.  On the other hand,
it does better at avoiding recompilation issues, and works well even
when some directory options were not specified in terms of `${prefix}'
at `configure' time.

Optional Features
=================

   If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.

   Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System).  The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.

   For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.

   Some packages offer the ability to configure how verbose the
execution of `make' will be.  For these packages, running `./configure
--enable-silent-rules' sets the default to minimal output, which can be
overridden with `make V=1'; while running `./configure
--disable-silent-rules' sets the default to verbose, which can be
overridden with `make V=0'.

Particular systems
==================

   On HP-UX, the default C compiler is not ANSI C compatible.  If GNU
CC is not installed, it is recommended to use the following options in
order to use an ANSI C compiler:

     ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"

and if that doesn't work, install pre-built binaries of GCC for HP-UX.

   HP-UX `make' updates targets which have the same time stamps as
their prerequisites, which makes it generally unusable when shipped
generated files such as `configure' are involved.  Use GNU `make'
instead.

   On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
parse its `' header file.  The option `-nodtk' can be used as
a workaround.  If GNU CC is not installed, it is therefore recommended
to try

     ./configure CC="cc"

and if that doesn't work, try

     ./configure CC="cc -nodtk"

   On Solaris, don't put `/usr/ucb' early in your `PATH'.  This
directory contains several dysfunctional programs; working variants of
these programs are available in `/usr/bin'.  So, if you need `/usr/ucb'
in your `PATH', put it _after_ `/usr/bin'.

   On Haiku, software installed for all users goes in `/boot/common',
not `/usr/local'.  It is recommended to use the following options:

     ./configure --prefix=/boot/common

Specifying the System Type
==========================

   There may be some features `configure' cannot figure out
automatically, but needs to determine by the type of machine the package
will run on.  Usually, assuming the package is built to be run on the
_same_ architectures, `configure' can figure that out, but if it prints
a message saying it cannot guess the machine type, give it the
`--build=TYPE' option.  TYPE can either be a short name for the system
type, such as `sun4', or a canonical name which has the form:

     CPU-COMPANY-SYSTEM

where SYSTEM can have one of these forms:

     OS
     KERNEL-OS

   See the file `config.sub' for the possible values of each field.  If
`config.sub' isn't included in this package, then this package doesn't
need to know the machine type.

   If you are _building_ compiler tools for cross-compiling, you should
use the option `--target=TYPE' to select the type of system they will
produce code for.

   If you want to _use_ a cross compiler, that generates code for a
platform different from the build platform, you should specify the
"host" platform (i.e., that on which the generated programs will
eventually be run) with `--host=TYPE'.

Sharing Defaults
================

   If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists.  Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.

Defining Variables
==================

   Variables not defined in a site shell script can be set in the
environment passed to `configure'.  However, some packages may run
configure again during the build, and the customized values of these
variables may be lost.  In order to avoid this problem, you should set
them in the `configure' command line, using `VAR=value'.  For example:

     ./configure CC=/usr/local2/bin/gcc

causes the specified `gcc' to be used as the C compiler (unless it is
overridden in the site shell script).

Unfortunately, this technique does not work for `CONFIG_SHELL' due to
an Autoconf limitation.  Until the limitation is lifted, you can use
this workaround:

     CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash

`configure' Invocation
======================

   `configure' recognizes the following options to control how it
operates.

`--help'
`-h'
     Print a summary of all of the options to `configure', and exit.

`--help=short'
`--help=recursive'
     Print a summary of the options unique to this package's
     `configure', and exit.  The `short' variant lists options used
     only in the top level, while the `recursive' variant lists options
     also present in any nested packages.

`--version'
`-V'
     Print the version of Autoconf used to generate the `configure'
     script, and exit.

`--cache-file=FILE'
     Enable the cache: use and save the results of the tests in FILE,
     traditionally `config.cache'.  FILE defaults to `/dev/null' to
     disable caching.

`--config-cache'
`-C'
     Alias for `--cache-file=config.cache'.

`--quiet'
`--silent'
`-q'
     Do not print messages saying which checks are being made.  To
     suppress all normal output, redirect it to `/dev/null' (any error
     messages will still be shown).

`--srcdir=DIR'
     Look for the package's source code in directory DIR.  Usually
     `configure' can determine that directory automatically.

`--prefix=DIR'
     Use DIR as the installation prefix.  *note Installation Names::
     for more details, including other options available for fine-tuning
     the installation locations.

`--no-create'
`-n'
     Run the configure checks, but stop before creating any output
     files.

`configure' also accepts some other, not widely useful, options.  Run
`configure --help' for more details.
axel-2.17.13/NEWS0000644000175000017500000000010014560423122006764 Since 2.10 version, Axel supports HTTPS/FTPS downloads.

Enjoy!
axel-2.17.13/README.md0000644000175000017500000000735014560423122007562 # AXEL - Lightweight CLI download accelerator

## About

Axel tries to accelerate the download process by using multiple
connections per file, and can also balance the load between
different servers.

Axel tries to be as light as possible, so it might be useful on
byte-critical systems.

Axel supports HTTP, HTTPS, FTP and FTPS protocols.

Thanks to the original developer of Axel, Wilmer van der Gaast, and everyone
else who has contributed to it over the years.

## How to help
If you can code and are interested in improving Axel, please read the
[CONTRIBUTING.md](CONTRIBUTING.md) file; if you're looking for ideas check our
[open tickets](https://github.com/axel-download-accelerator/axel/issues/).

Additionally, there is a
[google group](https://groups.google.com/forum/#!forum/axel-accelerator-dev) to
discuss and to coordinate development. You can also find other developers in the
`#axel` channel on [Freenode](https://freenode.net/).

The sustainability of the project mainly depends on developers dedicating time,
so if you want to contribute but can't code, there's also the option to fund
paid development time through:

- *Ismael Luceno*
  + [Github Sponsors](https://github.com/sponsors/ismaell)
  + [![Patreon](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://www.patreon.com/ismaell)
  + [![Liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/ismael/donate)

## Installing from binaries
Your operating system may contain a precompiled version of Axel, and if so you
should probably use it.  If the package is outdated please get in touch with the
package maintainer or open a support ticket with your distro.

## Building from source
WARNING: Building from the source code repository is recommended only when doing
development, otherwise only use release tarballs.

Axel uses GNU autotools for it's buildsystem; instructions are provided in the
[INSTALL](INSTALL) file. The basic actions for most users are:

    ./configure && make && make install

To build without SSL/TLS support, pass to `configure` the `--without-ssl` flag.

If you're working from the source code repository instead of a release tarball,
you need to generate the buildsystem first with:

    autoreconf -i

When working from a git repository the build system will detect that and will
add -Werror to the CFLAGS if supported; so if you're not doing development you
should probably consider passing `--disable-Werror` to `configure` in order to
prevent build failures due to mere warnings.

### Dependencies
* `gettext` (or `gettext-tiny`)
* `pkg-config`

Optional:

* `libssl` (OpenSSL, LibreSSL or compatible) -- for SSL/TLS support.

#### Extra dependencies for building from snapshots
* `autoconf-archive`
* `autoconf`
* `automake`
* `autopoint`
* `txt2man`

#### Packages on Debian-based systems
* `build-essential`
* `autoconf`
* `autoconf-archive`
* `automake`
* `autopoint`
* `gettext`
* `libssl-dev`
* `pkg-config`
* `txt2man`


#### Packages on Mac OS X (Homebrew)
* `autoconf-archive`
* `automake`
* `gettext`
* `openssl`

### Building on Mac OS X (Homebrew)

You'll need to provide some extra options to autotools so it can find gettext
and openssl.

	GETTEXT=/usr/local/opt/gettext
	OPENSSL=/usr/local/opt/openssl
	PATH="$GETTEXT/bin:$PATH"

	[ -x configure ] || autoreconf -fiv -I$GETTEXT/share/aclocal/

	CFLAGS="-I$GETTEXT/include -I$OPENSSL/include" \
	LDFLAGS=-L$GETTEXT/lib ./configure

You can just run `make` as usual after these steps.

## Related projects ##

* [aria2](https://github.com/aria2/aria2)
* [hget](https://github.com/huydx/hget)
* [lftp](https://github.com/lavv17/lftp)
* [nugget](https://github.com/maxogden/nugget)
* [pget](https://github.com/Code-Hex/pget)

## License ##

Axel is licensed under GPL-2+ with the OpenSSL exception.
axel-2.17.13/compat-android.h0000644000175000017500000000407614560423122011357 /*
  Axel -- A lighter download accelerator for Linux and other Unices

  Copyright 2018      Ismael Luceno

  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version 2
  of the License, or (at your option) any later version.

  In addition, as a special exception, the copyright holders give
  permission to link the code of portions of this program with the
  OpenSSL library under certain conditions as described in each
  individual source file, and distribute linked combinations including
  the two.

  You must obey the GNU General Public License in all respects for all
  of the code used other than OpenSSL. If you modify file(s) with this
  exception, you may extend this exception to your version of the
  file(s), but you are not obligated to do so. If you do not wish to do
  so, delete this exception statement from your version. If you delete
  this exception statement from all source files in the program, then
  also delete it here.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

/* Android compatibility stubs */

#if !defined(AXEL_COMPAT_ANDROID) && defined(__ANDROID__)

inline static
int pthread_cancel(pthread_t h) {
	return pthread_kill(h, 0);
}

inline static
int pthread_setcancelstate(int state, int *oldstate)
{
	return 0;
}

inline static
int pthread_setcanceltype(int type, int *oldtype)
{
	return 0;
}

enum {
	PTHREAD_CANCEL_DISABLE,
	PTHREAD_CANCEL_ENABLE,
	PTHREAD_CANCEL_DEFERRED,
	PTHREAD_CANCEL_ASYNCHRONOUS,
};

#endif /* !defined(AXEL_COMPAT_ANDROID) && defined(__ANDROID__) */
axel-2.17.13/compat-bsd.h0000644000175000017500000000040014560423122010472 /*
 * Copyright 2019  Ismael Luceno 
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef HAVE_STRLCAT
size_t strlcat(char *, const char *, size_t);
#endif

#ifndef HAVE_STRLCPY
size_t strlcpy(char *, const char *, size_t);
#endif
axel-2.17.13/compat-ssl.h0000644000175000017500000000036614560423122010536 /*
 * Copyright 2020  Ismael Luceno 
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#if defined(HEADER_ASN1_H) && !defined(HAVE_ASN1_STRING_GET0_DATA)
const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *);
#endif
axel-2.17.13/CONTRIBUTING.md0000644000175000017500000001077714560423122010543 ## HOW TO CONTRIBUTE TO AXEL DEVELOPMENT

Axel is available at https://github.com/axel-download-accelerator/axel

If you are interested in contribute to axel development, please, follow
these steps:

1. Send a patch that fix an issue or that implement a new feature.
   Alternatively, you can do a 'pull request'[1] in GitHub.

[1]: https://help.github.com/articles/using-pull-requests

2. Ask for join to the Axel project in GitHub, if you want to work
   officially. Note that this second step is not compulsory. However,
   to accept you in project, is needed a minimum previous collaboration.


To find issues and bugs to fix, you can check these addresses:

   - https://github.com/axel-download-accelerator/axel/issues
   - https://bugs.debian.org/cgi-bin/pkgreport.cgi?dist=unstable;package=axel
   - https://bugs.launchpad.net/ubuntu/+source/axel/+bugs
   - https://apps.fedoraproject.org/packages/axel/bugs
   - https://bugs.archlinux.org/?project=5&cat[]=33&string=axel
   - https://bugs.gentoo.org/buglist.cgi?quicksearch=net-misc%2Faxel

If you want to join, please make a contact.

There is a group here[2] to discuss and to coordinate the development.
You can also find other developers in the #axel channel on freenode.

[2]: https://groups.google.com/forum/#!forum/axel-accelerator-dev

  -- Eriberto, Sun, 20 Mar 2016 16:27:53 -0300,
     updated on Sun, 08 Sep 2017 23:27:00 -0300.

## Submitting Changes

### Coding style
As of version 2.15, Axel adopted a new coding style, very similar to that of the
Linux Kernel, with the additional requirement to insert a newline after the
return type of procedure declarations.

To aid the transition for imported code, an `.indent.pro` file is provided in
the top level source directory.  It should work with both GNU and BSD
implementations of `indent`, although the results may be slightly different.

Small variations are acceptable, and *non-compliance* in existing code, by
itself, *is not something to fix*.

### Conditions
By making a contribution to the project you certify that either you hold
copyright to the work; or you have obtained permission, or are implicitly
permitted by the work's licensing terms (to the best of your knowledge), to
submit it under a license compatible with the licensing terms of the project
(See the Licensing section in this document).

You also understand that this project is public, and agree your contribution and
all personal information submitted with it will be kept indefinitely and may be
redistributed with the project.

In order to keep track of the source of a contribution, each party involved in
the sumbission must sign-off the commit, meaning that they abide by the
aforementioned rules.

### Licensing
Axel is provided under the terms of the GNU General Public License version 2 or
(at your option) any later version, as described in the COPYING file, plus an
exception for linking against OpenSSL 1.x.

By submitting code for inclusion in the project you agree to license it under
these terms, or more permissive ones.

Contributions made with a different licensing must state it explicitly in the
file header.

Here's the wording in the header of each file licensed under GPL-2.0:

	This program is free software; you can redistribute it and/or
	modify it under the terms of the GNU General Public License
	as published by the Free Software Foundation; either version 2
	of the License, or (at your option) any later version.

	In addition, as a special exception, the copyright holders give
	permission to link the code of portions of this program with the
	OpenSSL library under certain conditions as described in each
	individual source file, and distribute linked combinations including
	the two.

	You must obey the GNU General Public License in all respects for all
	of the code used other than OpenSSL. If you modify file(s) with this
	exception, you may extend this exception to your version of the
	file(s), but you are not obligated to do so. If you do not wish to do
	so, delete this exception statement from your version. If you delete
	this exception statement from all source files in the program, then
	also delete it here.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program; if not, write to the Free Software
	Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
axel-2.17.13/po/0000755000175000017500000000000014560423122006774 5axel-2.17.13/po/Makefile.in.in0000644000175000017500000002431414560423122011372 # Makefile for PO directory in any package using GNU gettext.
# Copyright (C) 1995-1997, 2000-2002 by Ulrich Drepper 
#
# This file can be copied and used freely without restrictions.  It can
# be used in projects which are not available under the GNU General Public
# License but which still want to provide support for the GNU gettext
# functionality.
# Please note that the actual code of GNU gettext is covered by the GNU
# General Public License and is *not* in the public domain.

PACKAGE = @PACKAGE@
VERSION = @VERSION@

SHELL = /bin/sh
@SET_MAKE@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@

prefix = @prefix@
exec_prefix = @exec_prefix@
datadir = @datadir@
localedir = $(datadir)/locale
gettextsrcdir = $(datadir)/gettext/po

INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
MKINSTALLDIRS = @MKINSTALLDIRS@
mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac`

GMSGFMT = @GMSGFMT@
MSGFMT = @MSGFMT@
XGETTEXT = @XGETTEXT@
MSGMERGE = msgmerge
MSGMERGE_UPDATE = @MSGMERGE@ --update
MSGINIT = msginit
MSGCONV = msgconv
MSGFILTER = msgfilter

POFILES = @POFILES@
GMOFILES = @GMOFILES@
UPDATEPOFILES = @UPDATEPOFILES@
DUMMYPOFILES = @DUMMYPOFILES@
DISTFILES.common = Makefile.in.in Makevars remove-potcdate.sin \
$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
DISTFILES = $(DISTFILES.common) POTFILES.in $(DOMAIN).pot \
$(POFILES) $(GMOFILES) \
$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)

POTFILES = \

CATALOGS = @CATALOGS@

# Makevars gets inserted here. (Don't remove this line!)

.SUFFIXES:
.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-update

.po.mo:
	@echo "$(MSGFMT) -c -o $@ $<"; \
	$(MSGFMT) -c -o t-$@ $< && mv t-$@ $@

.po.gmo:
	@lang=`echo $* | sed -e 's,.*/,,'`; \
	test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
	echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \
	cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo

.sin.sed:
	sed -e '/^#/d' $< > t-$@
	mv t-$@ $@


all: all-@USE_NLS@

all-yes: $(CATALOGS)
all-no:

# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
# otherwise packages like GCC can not be built if only parts of the source
# have been downloaded.

$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
	$(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
	  --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
	  --files-from=$(srcdir)/POTFILES.in \
	  --copyright-holder='$(COPYRIGHT_HOLDER)'
	test ! -f $(DOMAIN).po || { \
	  if test -f $(srcdir)/$(DOMAIN).pot; then \
	    sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
	    sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
	    if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
	      rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
	    else \
	      rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
	      mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
	    fi; \
	  else \
	    mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
	  fi; \
	}

$(srcdir)/$(DOMAIN).pot:
	$(MAKE) $(DOMAIN).pot-update

$(POFILES): $(srcdir)/$(DOMAIN).pot
	@lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
	test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
	echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
	cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot


install: install-exec install-data
install-exec:
install-data: install-data-@USE_NLS@
	if test "$(PACKAGE)" = "gettext"; then \
	  $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
	  for file in $(DISTFILES.common); do \
	    $(INSTALL_DATA) $(srcdir)/$$file \
			    $(DESTDIR)$(gettextsrcdir)/$$file; \
	  done; \
	else \
	  : ; \
	fi
install-data-no: all
install-data-yes: all
	$(mkinstalldirs) $(DESTDIR)$(datadir)
	@catalogs='$(CATALOGS)'; \
	for cat in $$catalogs; do \
	  cat=`basename $$cat`; \
	  lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
	  dir=$(localedir)/$$lang/LC_MESSAGES; \
	  $(mkinstalldirs) $(DESTDIR)$$dir; \
	  if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
	  $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
	  echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
	  for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
	    if test -n "$$lc"; then \
	      if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
	        link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
	        mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
	        mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
	        (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
	         for file in *; do \
	           if test -f $$file; then \
	             ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
	           fi; \
	         done); \
	        rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
	      else \
	        if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
	          :; \
	        else \
	          rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
	          mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
	        fi; \
	      fi; \
	      rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
	      ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
	      ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
	      cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
	      echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
	    fi; \
	  done; \
	done

install-strip: install

installdirs: installdirs-exec installdirs-data
installdirs-exec:
installdirs-data: installdirs-data-@USE_NLS@
	if test "$(PACKAGE)" = "gettext"; then \
	  $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
	else \
	  : ; \
	fi
installdirs-data-no:
installdirs-data-yes:
	$(mkinstalldirs) $(DESTDIR)$(datadir)
	@catalogs='$(CATALOGS)'; \
	for cat in $$catalogs; do \
	  cat=`basename $$cat`; \
	  lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
	  dir=$(localedir)/$$lang/LC_MESSAGES; \
	  $(mkinstalldirs) $(DESTDIR)$$dir; \
	  for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
	    if test -n "$$lc"; then \
	      if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
	        link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
	        mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
	        mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
	        (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
	         for file in *; do \
	           if test -f $$file; then \
	             ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
	           fi; \
	         done); \
	        rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
	      else \
	        if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
	          :; \
	        else \
	          rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
	          mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
	        fi; \
	      fi; \
	    fi; \
	  done; \
	done

# Define this as empty until I found a useful application.
installcheck:

uninstall: uninstall-exec uninstall-data
uninstall-exec:
uninstall-data: uninstall-data-@USE_NLS@
	if test "$(PACKAGE)" = "gettext"; then \
	  for file in $(DISTFILES.common); do \
	    rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
	  done; \
	else \
	  : ; \
	fi
uninstall-data-no:
uninstall-data-yes:
	catalogs='$(CATALOGS)'; \
	for cat in $$catalogs; do \
	  cat=`basename $$cat`; \
	  lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
	  for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
	    rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
	  done; \
	done

check: all

dvi info tags TAGS ID:

mostlyclean:
	rm -f remove-potcdate.sed
	rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
	rm -fr *.o

clean: mostlyclean

distclean: clean
	rm -f Makefile Makefile.in POTFILES *.mo

maintainer-clean: distclean
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."
	rm -f $(GMOFILES)

distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
dist distdir:
	$(MAKE) update-po
	@$(MAKE) dist2
# This is a separate target because 'update-po' must be executed before.
dist2: $(DISTFILES)
	dists="$(DISTFILES)"; \
	if test -f $(srcdir)/ChangeLog; then dists="$$dists ChangeLog"; fi; \
	if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \
	for file in $$dists; do \
	  if test -f $$file; then \
	    cp -p $$file $(distdir); \
	  else \
	    cp -p $(srcdir)/$$file $(distdir); \
	  fi; \
	done

update-po: Makefile
	$(MAKE) $(DOMAIN).pot-update
	$(MAKE) $(UPDATEPOFILES)
	$(MAKE) update-gmo

# General rule for updating PO files.

.nop.po-update:
	@lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
	if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; fi; \
	tmpdir=`pwd`; \
	echo "$$lang:"; \
	test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
	echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
	cd $(srcdir); \
	if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
	  if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
	    rm -f $$tmpdir/$$lang.new.po; \
	  else \
	    if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
	      :; \
	    else \
	      echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
	      exit 1; \
	    fi; \
	  fi; \
	else \
	  echo "msgmerge for $$lang.po failed!" 1>&2; \
	  rm -f $$tmpdir/$$lang.new.po; \
	fi

$(DUMMYPOFILES):

update-gmo: Makefile $(GMOFILES)
	@:

Makefile: Makefile.in.in $(top_builddir)/config.status POTFILES.in
	cd $(top_builddir) \
	  && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \
	       $(SHELL) ./config.status

force:

# Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
axel-2.17.13/po/Makevars0000644000175000017500000000355514560423122010420 # Makefile variables for PO directory in any package using GNU gettext.

# Usually the message domain is the same as the package name.
DOMAIN = $(PACKAGE)

# workaround for gettext 0.11-0.12
mkinstalldirs = $(INSTALL) -d

# These two variables depend on the location of this directory.
subdir = po
top_builddir = ..

# These options get passed to xgettext.
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --omit-header

# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding
# package.  (Note that the msgstr strings, extracted from the package's
# sources, belong to the copyright holder of the package.)  Translators are
# expected to transfer the copyright for their translations to this person
# or entity, or to disclaim their copyright.  The empty string stands for
# the public domain; in this case the translators are expected to disclaim
# their copyright.
COPYRIGHT_HOLDER = Joao Eriberto Mota Filho

# This is the email address or URL to which the translators shall report
# bugs in the untranslated strings:
# - Strings which are not entire sentences, see the maintainer guidelines
#   in the GNU gettext documentation, section 'Preparing Strings'.
# - Strings which use unclear terms or require additional context to be
#   understood.
# - Strings which make invalid assumptions about notation of date, time or
#   money.
# - Pluralisation problems.
# - Incorrect English spelling.
# - Incorrect formatting.
# It can be your email address, or a mailing list address where translators
# can write to without being subscribed, or the URL of a web page through
# which the translators can contact you.
MSGID_BUGS_ADDRESS = $(PACKAGE_BUGREPORT)

# This is the list of locale categories, beyond LC_MESSAGES, for which the
# message catalogs shall be used.  It is usually empty.
EXTRA_LOCALE_CATEGORIES =
axel-2.17.13/po/remove-potcdate.sin0000644000175000017500000000066014560423122012527 # Sed script that remove the POT-Creation-Date line in the header entry
# from a POT file.
#
# The distinction between the first and the following occurrences of the
# pattern is achieved by looking at the hold space.
/^"POT-Creation-Date: .*"$/{
x
# Test if the hold space is empty.
s/P/P/
ta
# Yes it was empty. First occurrence. Remove the line.
g
d
bb
:a
# The hold space was nonempty. Following occurrences. Do nothing.
x
:b
}
axel-2.17.13/po/quot.sed0000644000175000017500000000023114560423122010375 s/"\([^"]*\)"/“\1”/g
s/`\([^`']*\)'/‘\1’/g
s/ '\([^`']*\)' / ‘\1’ /g
s/ '\([^`']*\)'$/ ‘\1’/g
s/^'\([^`']*\)' /‘\1’ /g
s/“”/""/g
axel-2.17.13/po/boldquot.sed0000644000175000017500000000033114560423122011237 s/"\([^"]*\)"/“\1”/g
s/`\([^`']*\)'/‘\1’/g
s/ '\([^`']*\)' / ‘\1’ /g
s/ '\([^`']*\)'$/ ‘\1’/g
s/^'\([^`']*\)' /‘\1’ /g
s/“”/""/g
s/“/“/g
s/”/”/g
s/‘/‘/g
s/’/’/g
axel-2.17.13/po/en@quot.header0000644000175000017500000000226314560423122011504 # All this catalog "translates" are quotation characters.
# The msgids must be ASCII and therefore cannot contain real quotation
# characters, only substitutes like grave accent (0x60), apostrophe (0x27)
# and double quote (0x22). These substitutes look strange; see
# http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
#
# This catalog translates grave accent (0x60) and apostrophe (0x27) to
# left single quotation mark (U+2018) and right single quotation mark (U+2019).
# It also translates pairs of apostrophe (0x27) to
# left single quotation mark (U+2018) and right single quotation mark (U+2019)
# and pairs of quotation mark (0x22) to
# left double quotation mark (U+201C) and right double quotation mark (U+201D).
#
# When output to an UTF-8 terminal, the quotation characters appear perfectly.
# When output to an ISO-8859-1 terminal, the single quotation marks are
# transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to
# grave/acute accent (by libiconv), and the double quotation marks are
# transliterated to 0x22.
# When output to an ASCII terminal, the single quotation marks are
# transliterated to apostrophes, and the double quotation marks are
# transliterated to 0x22.
#
axel-2.17.13/po/en@boldquot.header0000644000175000017500000000247114560423122012346 # All this catalog "translates" are quotation characters.
# The msgids must be ASCII and therefore cannot contain real quotation
# characters, only substitutes like grave accent (0x60), apostrophe (0x27)
# and double quote (0x22). These substitutes look strange; see
# http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
#
# This catalog translates grave accent (0x60) and apostrophe (0x27) to
# left single quotation mark (U+2018) and right single quotation mark (U+2019).
# It also translates pairs of apostrophe (0x27) to
# left single quotation mark (U+2018) and right single quotation mark (U+2019)
# and pairs of quotation mark (0x22) to
# left double quotation mark (U+201C) and right double quotation mark (U+201D).
#
# When output to an UTF-8 terminal, the quotation characters appear perfectly.
# When output to an ISO-8859-1 terminal, the single quotation marks are
# transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to
# grave/acute accent (by libiconv), and the double quotation marks are
# transliterated to 0x22.
# When output to an ASCII terminal, the single quotation marks are
# transliterated to apostrophes, and the double quotation marks are
# transliterated to 0x22.
#
# This catalog furthermore displays the text between the quotation marks in
# bold face, assuming the VT100/XTerm escape sequences.
#
axel-2.17.13/po/insert-header.sin0000644000175000017500000000124014560423122012156 # Sed script that inserts the file called HEADER before the header entry.
#
# At each occurrence of a line starting with "msgid ", we execute the following
# commands. At the first occurrence, insert the file. At the following
# occurrences, do nothing. The distinction between the first and the following
# occurrences is achieved by looking at the hold space.
/^msgid /{
x
# Test if the hold space is empty.
s/m/m/
ta
# Yes it was empty. First occurrence. Read the file.
r HEADER
# Output the file's contents by reading the next line. But don't lose the
# current line while doing this.
g
N
bb
:a
# The hold space was nonempty. Following occurrences. Do nothing.
x
:b
}
axel-2.17.13/po/Rules-quot0000644000175000017500000000323114560423122010716 # Special Makefile rules for English message catalogs with quotation marks.

DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot

.SUFFIXES: .insert-header .po-update-en

en@quot.po-update: en@quot.po-update-en
en@boldquot.po-update: en@boldquot.po-update-en

.insert-header.po-update-en:
	@lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \
	if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \
	tmpdir=`pwd`; \
	echo "$$lang:"; \
	ll=`echo $$lang | sed -e 's/@.*//'`; \
	LC_ALL=C; export LC_ALL; \
	cd $(srcdir); \
	if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \
	  if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
	    rm -f $$tmpdir/$$lang.new.po; \
	  else \
	    if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
	      :; \
	    else \
	      echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
	      exit 1; \
	    fi; \
	  fi; \
	else \
	  echo "creation of $$lang.po failed!" 1>&2; \
	  rm -f $$tmpdir/$$lang.new.po; \
	fi

en@quot.insert-header: insert-header.sin
	sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header

en@boldquot.insert-header: insert-header.sin
	sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header

mostlyclean: mostlyclean-quot
mostlyclean-quot:
	rm -f *.insert-header
axel-2.17.13/po/POTFILES.in0000644000175000017500000000012514560423122010467 src/axel.c
src/conf.c
src/conn.c
src/ftp.c
src/http.c
src/text.c
src/ssl.c
src/tcp.c
axel-2.17.13/po/axel.pot0000644000175000017500000002021614560423122010372 #: src/axel.c:150
msgid "Buffer resized for this speed."
msgstr ""

#: src/axel.c:179
msgid "Could not parse URL.\n"
msgstr ""

#: src/axel.c:201
#, c-format
msgid "File '%s' already there; not retrieving.\n"
msgstr ""

#: src/axel.c:206
#, c-format
msgid "Incomplete download found, ignoring no-clobber option\n"
msgstr ""

#: src/axel.c:223
#, c-format
msgid "ERROR %d: %s.\n"
msgstr ""

#: src/axel.c:237
#, c-format
msgid "File size: %s (%jd bytes)"
msgstr ""

#: src/axel.c:240
msgid "File size: unavailable"
msgstr ""

#: src/axel.c:269
#, c-format
msgid "Opening output file %s"
msgstr ""

#: src/axel.c:276
msgid "Server unsupported, starting from scratch with one connection."
msgstr ""

#: src/axel.c:293
#, c-format
msgid "%s.st: Error, truncated state file\n"
msgstr ""

#: src/axel.c:301
#, c-format
msgid "Bogus number of connections stored in state file\n"
msgstr ""

#: src/axel.c:313
#, c-format
msgid "State file has old format.\n"
msgstr ""

#: src/axel.c:346
#, c-format
msgid "State file found: %jd bytes downloaded, %jd to go."
msgstr ""

#: src/axel.c:352 src/axel.c:363
msgid "Error opening local file"
msgstr ""

#: src/axel.c:376
msgid "Crappy filesystem/OS.. Working around. :-("
msgstr ""

#: src/axel.c:389
msgid "Error creating local file"
msgstr ""

#: src/axel.c:430
#, c-format
msgid ""
"\n"
"Reactivate connection %d\n"
msgstr ""

#: src/axel.c:459
msgid "Starting download"
msgstr ""

#: src/axel.c:469 src/axel.c:652
#, c-format
msgid "Connection %i downloading from %s:%i using interface %s"
msgstr ""

#: src/axel.c:479 src/axel.c:664
msgid "pthread error!!!"
msgstr ""

#: src/axel.c:525
#, c-format
msgid "Error while waiting for connection: %s"
msgstr ""

#: src/axel.c:557
#, c-format
msgid "Connection %i timed out"
msgstr ""

#: src/axel.c:570
#, c-format
msgid "Error on connection %i! Connection closed"
msgstr ""

#: src/axel.c:584
#, c-format
msgid "Connection %i unexpectedly closed"
msgstr ""

#: src/axel.c:588 src/axel.c:604
#, c-format
msgid "Connection %i finished"
msgstr ""

#: src/axel.c:614
msgid "Write error!"
msgstr ""

#: src/axel.c:716
#, c-format
msgid "Error while enforcing throttling: %s"
msgstr ""

#: src/axel.c:901
#, c-format
msgid "Too few bytes remaining, forcing a single connection\n"
msgstr ""

#: src/axel.c:920
#, c-format
msgid "Downloading %jd-%jd using conn. %i\n"
msgstr ""

#: src/conf.c:72
#, c-format
msgid "I/O error while reading config file: %s\n"
msgstr ""

#: src/conf.c:90
#, c-format
msgid "Unknown progress bar style \"%s\"\n"
msgstr ""

#: src/conf.c:102
#, c-format
msgid "Unknown protocol \"%s\"\n"
msgstr ""

#: src/conf.c:219
#, c-format
msgid "Requested too many connections, max is %i\n"
msgstr ""

#: src/conf.c:234
#, c-format
msgid "Error in %s line %i.\n"
msgstr ""

#: src/conf.c:303
#, c-format
msgid "HOME env variable too long\n"
msgstr ""

#: src/conn.c:81
#, c-format
msgid "Unsupported protocol\n"
msgstr ""

#: src/conn.c:87
#, c-format
msgid "Secure protocol is not supported\n"
msgstr ""

#: src/conn.c:477 src/ftp.c:135
#, c-format
msgid "Too many redirects.\n"
msgstr ""

#: src/conn.c:483
#, c-format
msgid "Redirect loop detected.\n"
msgstr ""

#: src/conn.c:538
msgid "Unknown Error"
msgstr ""

#: src/ftp.c:106
#, c-format
msgid "Can't change directory to %s\n"
msgstr ""

#: src/ftp.c:129 src/ftp.c:189
#, c-format
msgid "File not found.\n"
msgstr ""

#: src/ftp.c:192
#, c-format
msgid "Multiple matches for this URL.\n"
msgstr ""

#: src/ftp.c:264
#, c-format
msgid "Error opening passive data connection.\n"
msgstr ""

#: src/ftp.c:298
#, c-format
msgid "Error writing command %s\n"
msgstr ""

#: src/ftp.c:322 src/http.c:252
#, c-format
msgid "Connection gone.\n"
msgstr ""

#: src/http.c:118
#, c-format
msgid "Invalid proxy string: %s\n"
msgstr ""

#: src/http.c:240
#, c-format
msgid "Connection gone while writing.\n"
msgstr ""

#: src/text.c:151
#, c-format
msgid ""
"Too many custom headers (-H)! Currently only %u custom headers can be "
"appended.\n"
msgstr ""

#: src/text.c:227
#, c-format
msgid "Can't redirect stdout to /dev/null.\n"
msgstr ""

#: src/text.c:269
#, c-format
msgid "Error when trying to read URL (Too long?).\n"
msgstr ""

#: src/text.c:277
#, c-format
msgid "Can't handle URLs of length over %zu\n"
msgstr ""

#: src/text.c:284
#, c-format
msgid "Initializing download: %s\n"
msgstr ""

#: src/text.c:293
#, c-format
msgid "Doing search...\n"
msgstr ""

#: src/text.c:296
#, c-format
msgid "File not found\n"
msgstr ""

#: src/text.c:300
#, c-format
msgid "Testing speeds, this can take a while...\n"
msgstr ""

#: src/text.c:303
#, c-format
msgid "Speed testing failed\n"
msgstr ""

#: src/text.c:309
#, c-format
msgid "%i usable servers found, will use these URLs:\n"
msgstr ""

#: src/text.c:312
msgid "Speed"
msgstr ""

#: src/text.c:356
#, c-format
msgid "Filename too long!\n"
msgstr ""

#: src/text.c:369
#, c-format
msgid "No state file, cannot resume!\n"
msgstr ""

#: src/text.c:373
#, c-format
msgid "State file found, but no downloaded data. Starting from scratch.\n"
msgstr ""

#: src/text.c:461
#, c-format
msgid ""
"\n"
"Downloaded %s in %s. (%.2f KB/s)\n"
msgstr ""

#: src/text.c:498
msgid "Kilo"
msgstr ""

#: src/text.c:498
msgid "Mega"
msgstr ""

#: src/text.c:498
msgid "Giga"
msgstr ""

#: src/text.c:498
msgid "Tera"
msgstr ""

#: src/text.c:504
#, c-format
msgid "%g %sbyte(s)"
msgstr ""

#: src/text.c:520
#, c-format
msgid "%i:%02i:%02i hour(s)"
msgstr ""

#: src/text.c:522
#, c-format
msgid "%i:%02i minute(s)"
msgstr ""

#: src/text.c:524
#, c-format
msgid "%i second(s)"
msgstr ""

#: src/text.c:626
#, c-format
msgid "Can't setup alternate output. Deactivating.\n"
msgstr ""

#: src/text.c:689
#, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"-s x\tSpecify maximum speed (bytes per second)\n"
"-n x\tSpecify maximum number of connections\n"
"-o f\tSpecify local output file\n"
"-S[n]\tSearch for mirrors and download from n servers\n"
"-4\tUse the IPv4 protocol\n"
"-6\tUse the IPv6 protocol\n"
"-H x\tAdd HTTP header string\n"
"-U x\tSet user agent\n"
"-N\tJust don't use any proxy server\n"
"-k\tDon't verify the SSL certificate\n"
"-c\tSkip download if file already exists\n"
"-q\tLeave stdout alone\n"
"-v\tMore status information\n"
"-a\tAlternate progress indicator\n"
"-p\tPrint simple percentages instead of progress bar (0-100)\n"
"-h\tThis information\n"
"-T x\tSet I/O and connection timeout\n"
"-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues\n"
msgstr ""

#: src/text.c:712
#, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tSpecify maximum speed (bytes per second)\n"
"--num-connections=x\t-n x\tSpecify maximum number of connections\n"
"--max-redirect=x\t\tSpecify maximum number of redirections\n"
"--output=f\t\t-o f\tSpecify local output file\n"
"--search[=n]\t\t-S[n]\tSearch for mirrors and download from n servers\n"
"--ipv4\t\t\t-4\tUse the IPv4 protocol\n"
"--ipv6\t\t\t-6\tUse the IPv6 protocol\n"
"--header=x\t\t-H x\tAdd HTTP header string\n"
"--user-agent=x\t\t-U x\tSet user agent\n"
"--no-proxy\t\t-N\tJust don't use any proxy server\n"
"--insecure\t\t-k\tDon't verify the SSL certificate\n"
"--no-clobber\t\t-c\tSkip download if file already exists\n"
"--quiet\t\t\t-q\tLeave stdout alone\n"
"--verbose\t\t-v\tMore status information\n"
"--alternate\t\t-a\tAlternate progress indicator\n"
"--percentage\t\t-p\tPrint simple percentages instead of progress bar "
"(0-100)\n"
"--help\t\t\t-h\tThis information\n"
"--timeout=x\t\t-T x\tSet I/O and connection timeout\n"
"--version\t\t-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues to report "
"bugs\n"
msgstr ""

#: src/text.c:741
#, c-format
msgid "Axel %s (%s)\n"
msgstr ""

#: src/text.c:755
msgid "and others."
msgstr ""

#: src/text.c:756
msgid ""
"Please, see the CREDITS file.\n"
"\n"
msgstr ""

#: src/ssl.c:103
#, c-format
msgid "SSL error: %s\n"
msgstr ""

#: src/ssl.c:115
#, c-format
msgid "SSL error: Certificate error\n"
msgstr ""

#: src/ssl.c:122
#, c-format
msgid "SSL error: Certificate not found\n"
msgstr ""

#: src/ssl.c:128
#, c-format
msgid "SSL error: Hostname verification failed\n"
msgstr ""

#: src/tcp.c:76
#, c-format
msgid "Unable to connect to server %s:%i: %s\n"
msgstr ""
axel-2.17.13/po/de.po0000644000175000017500000003301114560423122007642 # German translations for axel package.
#
# Copyright 2019-2021  Ismael Luceno
#
# This file is distributed under the same license as the axel package.
#
# Hermann J. Beckers , 2001
# Ismael Luceno , 2019-2021
#
msgid ""
msgstr ""
"Project-Id-Version: axel 2.17.8\n"
"Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/"
"issues\n"
"PO-Revision-Date: 2021-12-20 02:09+0100\n"
"Last-Translator: Ismael Luceno \n"
"Language-Team: Deutsch\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: src/axel.c:150
msgid "Buffer resized for this speed."
msgstr "Buffer für diese Geschwindigkeit angepasst."

#: src/axel.c:179
msgid "Could not parse URL.\n"
msgstr "Kann URL nicht parsen.\n"

#: src/axel.c:201
#, c-format
msgid "File '%s' already there; not retrieving.\n"
msgstr "Datei '%s' bereits vorhanden; nicht abrufen.\n"

#: src/axel.c:206
#, c-format
msgid "Incomplete download found, ignoring no-clobber option\n"
msgstr ""
"Es wurde ein unvollständiger Download gefunden, die No-Clobber-Option wurde "
"ignoriert\n"

#: src/axel.c:223
#, c-format
msgid "ERROR %d: %s.\n"
msgstr "FEHLER %d: %s.\n"

#: src/axel.c:237
#, c-format
msgid "File size: %s (%jd bytes)"
msgstr "Dateigröße: %s (%jd bytes)"

#: src/axel.c:240
msgid "File size: unavailable"
msgstr "Dateigröße: nicht verfügbar"

#: src/axel.c:269
#, c-format
msgid "Opening output file %s"
msgstr "Öffne Ausgabedatei: %s"

#: src/axel.c:276
msgid "Server unsupported, starting from scratch with one connection."
msgstr "Server versteht REST nicht, Neustart mit einer Verbindung."

#: src/axel.c:293
#, c-format
msgid "%s.st: Error, truncated state file\n"
msgstr "%s.st: Fehler, abgeschnittene Statusdatei\n"

#: src/axel.c:301
#, c-format
msgid "Bogus number of connections stored in state file\n"
msgstr "Falsche Anzahl in der Statusdatei gespeicherten Verbindungen\n"

#: src/axel.c:313
#, c-format
msgid "State file has old format.\n"
msgstr "Statusdatei hat altes Format.\n"

#: src/axel.c:346
#, c-format
msgid "State file found: %jd bytes downloaded, %jd to go."
msgstr "Status-Datei gefunden: %jd bytes übertragen, %jd verbleiben."

#: src/axel.c:352 src/axel.c:363
msgid "Error opening local file"
msgstr "Fehler beim Öffnen der lokalen Datei"

#: src/axel.c:376
msgid "Crappy filesystem/OS.. Working around. :-("
msgstr "Schlechtes Datei-/Betriebssystem, Umgehung.."

#: src/axel.c:389
msgid "Error creating local file"
msgstr "Fehler beim Erstellen der lokalen Datei"

#: src/axel.c:430
#, c-format
msgid ""
"\n"
"Reactivate connection %d\n"
msgstr ""
"\n"
"Verbindung %d wieder aktivieren\n"

#: src/axel.c:459
msgid "Starting download"
msgstr "Starte Abruf"

#: src/axel.c:469 src/axel.c:652
#, c-format
msgid "Connection %i downloading from %s:%i using interface %s"
msgstr "Verbindung %i: Abruf von %s:%i über Schnittstelle %s"

#: src/axel.c:479 src/axel.c:664
msgid "pthread error!!!"
msgstr "pthread Fehler!!!"

#: src/axel.c:525
#, c-format
msgid "Error while waiting for connection: %s"
msgstr "Fehler beim Warten auf Verbindung: %s"

#: src/axel.c:557
#, c-format
msgid "Connection %i timed out"
msgstr "Time-out bei Verbindung %i"

#: src/axel.c:570
#, c-format
msgid "Error on connection %i! Connection closed"
msgstr "Fehler bei Verbindung %i! Verbindung getrennt"

#: src/axel.c:584
#, c-format
msgid "Connection %i unexpectedly closed"
msgstr "Verbindung %i unerwartet getrennt"

#: src/axel.c:588 src/axel.c:604
#, c-format
msgid "Connection %i finished"
msgstr "Verbindung %i beendet"

#: src/axel.c:614
msgid "Write error!"
msgstr "Schreibfehler!"

#: src/axel.c:716
#, c-format
msgid "Error while enforcing throttling: %s"
msgstr "Fehler beim Erzwingen der Drosselung: %s"

#: src/axel.c:901
#, c-format
msgid "Too few bytes remaining, forcing a single connection\n"
msgstr ""
"Es sind zu wenige Bytes übrig, also eine einzelne Verbindung erzwingen\n"

#: src/axel.c:920
#, c-format
msgid "Downloading %jd-%jd using conn. %i\n"
msgstr "Herunterladen von %jd-%jd mithilfe der Verbindung %i\n"

#: src/conf.c:72
#, c-format
msgid "I/O error while reading config file: %s\n"
msgstr "I/O-Fehler beim Lesen Konfigurationsdatei: %s\n"

#: src/conf.c:90
#, c-format
msgid "Unknown progress bar style \"%s\"\n"
msgstr "Unbekannter Fortschrittsbalken Stil \"%s\"\n"

#: src/conf.c:102
#, c-format
msgid "Unknown protocol \"%s\"\n"
msgstr "Unbekannter Protokoll \"%s\"\n"

#: src/conf.c:219
#, c-format
msgid "Requested too many connections, max is %i\n"
msgstr "Zu viele Verbindungen angefordert, das Maximum ist %i\n"

#: src/conf.c:234
#, c-format
msgid "Error in %s line %i.\n"
msgstr "Fehler in %s Zeile %i.\n"

#: src/conf.c:303
#, c-format
msgid "HOME env variable too long\n"
msgstr "Umgebungsvariable HOME zu lang!\n"

#: src/conn.c:81
#, c-format
msgid "Unsupported protocol\n"
msgstr "Nicht unterstütztes Protokoll\n"

#: src/conn.c:87
#, c-format
msgid "Secure protocol is not supported\n"
msgstr "Das sichere Protokoll wird nicht unterstützt\n"

#: src/conn.c:477 src/ftp.c:135
#, c-format
msgid "Too many redirects.\n"
msgstr "Zu viele Weiterleitungen (redirects).\n"

#: src/conn.c:483
#, c-format
msgid "Redirect loop detected.\n"
msgstr "Umleitungsschleife erkannt.\n"

#: src/conn.c:538
msgid "Unknown Error"
msgstr "Unbekannter Fehler"

#: src/ftp.c:106
#, c-format
msgid "Can't change directory to %s\n"
msgstr "Kann nicht in Verzeichnis %s wechseln\n"

#: src/ftp.c:129 src/ftp.c:189
#, c-format
msgid "File not found.\n"
msgstr "Datei nicht gefunden.\n"

#: src/ftp.c:192
#, c-format
msgid "Multiple matches for this URL.\n"
msgstr "Mehrere Treffer für diese URL.\n"

#: src/ftp.c:264
#, c-format
msgid "Error opening passive data connection.\n"
msgstr "Fehler beim Öffnen der Passiv-Verbindung.\n"

#: src/ftp.c:298
#, c-format
msgid "Error writing command %s\n"
msgstr "Fehler beim Schreiben des Befehls %s\n"

#: src/ftp.c:322 src/http.c:252
#, c-format
msgid "Connection gone.\n"
msgstr "Verbindung geschlossen.\n"

#: src/http.c:118
#, c-format
msgid "Invalid proxy string: %s\n"
msgstr "Ungültige Proxy-Angabe: %s\n"

#: src/http.c:240
#, c-format
msgid "Connection gone while writing.\n"
msgstr "Verbindung verloren beim Schreiben.\n"

#: src/text.c:151
#, c-format
msgid ""
"Too many custom headers (-H)! Currently only %u custom headers can be "
"appended.\n"
msgstr ""
"Zu viele benutzerdefinierte Header (-H)! Derzeit können nur %u "
"benutzerdefinierte Header angehängt werden.\n"

#: src/text.c:227
#, c-format
msgid "Can't redirect stdout to /dev/null.\n"
msgstr "Kann Standardausgabe nicht nach /dev/null umleiten.\n"

#: src/text.c:269
#, c-format
msgid "Error when trying to read URL (Too long?).\n"
msgstr "Fehler beim Lesen der URL (Zu lang?).\n"

#: src/text.c:277
#, c-format
msgid "Can't handle URLs of length over %zu\n"
msgstr "Kann URLs mit mehr als %zu Zeichen nicht nutzen\n"

#: src/text.c:284
#, c-format
msgid "Initializing download: %s\n"
msgstr "Starte Abruf: %s\n"

#: src/text.c:293
#, c-format
msgid "Doing search...\n"
msgstr "Suche gestartet...\n"

#: src/text.c:296
#, c-format
msgid "File not found\n"
msgstr "Datei nicht gefunden\n"

#: src/text.c:300
#, c-format
msgid "Testing speeds, this can take a while...\n"
msgstr "Teste Geschwindigkeiten, das kann etwas dauern...\n"

#: src/text.c:303
#, c-format
msgid "Speed testing failed\n"
msgstr "Geschwindigkeitstest fehlgeschlagen\n"

#: src/text.c:309
#, c-format
msgid "%i usable servers found, will use these URLs:\n"
msgstr "%i benutzbare Server gefunden, werde diese URLs benutzen:\n"

#: src/text.c:312
msgid "Speed"
msgstr "Geschwindigkeit"

#: src/text.c:356
#, c-format
msgid "Filename too long!\n"
msgstr "Dateiname zu lang!\n"

#: src/text.c:369
#, c-format
msgid "No state file, cannot resume!\n"
msgstr "Keine Status-Datei, Fortsetzung nicht möglich!\n"

#: src/text.c:373
#, c-format
msgid "State file found, but no downloaded data. Starting from scratch.\n"
msgstr "Status-Datei gefunden, aber noch nichts übertragen. Neustart.\n"

#: src/text.c:461
#, c-format
msgid ""
"\n"
"Downloaded %s in %s. (%.2f KB/s)\n"
msgstr ""
"\n"
"%s abgerufen in %s. (%.2f KB/s)\n"

#: src/text.c:498
msgid "Kilo"
msgstr "Kilo"

#: src/text.c:498
msgid "Mega"
msgstr "Mega"

#: src/text.c:498
msgid "Giga"
msgstr "Giga"

#: src/text.c:498
msgid "Tera"
msgstr "Tera"

#: src/text.c:504
#, c-format
msgid "%g %sbyte(s)"
msgstr "%g %sbyte(s)"

#: src/text.c:520
#, c-format
msgid "%i:%02i:%02i hour(s)"
msgstr "%i:%02i:%02i Stunde(n)"

#: src/text.c:522
#, c-format
msgid "%i:%02i minute(s)"
msgstr "%i:%02i Minute(n)"

#: src/text.c:524
#, c-format
msgid "%i second(s)"
msgstr "%i Sekunde(n)"

#: src/text.c:626
#, c-format
msgid "Can't setup alternate output. Deactivating.\n"
msgstr "Alternative Ausgabe kann nicht eingerichtet werden. Ausschalten.\n"

#: src/text.c:689
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"-s x\tSpecify maximum speed (bytes per second)\n"
"-n x\tSpecify maximum number of connections\n"
"-o f\tSpecify local output file\n"
"-S[n]\tSearch for mirrors and download from n servers\n"
"-4\tUse the IPv4 protocol\n"
"-6\tUse the IPv6 protocol\n"
"-H x\tAdd HTTP header string\n"
"-U x\tSet user agent\n"
"-N\tJust don't use any proxy server\n"
"-k\tDon't verify the SSL certificate\n"
"-c\tSkip download if file already exists\n"
"-q\tLeave stdout alone\n"
"-v\tMore status information\n"
"-a\tAlternate progress indicator\n"
"-p\tPrint simple percentages instead of progress bar (0-100)\n"
"-h\tThis information\n"
"-T x\tSet I/O and connection timeout\n"
"-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues\n"
msgstr ""
"Aufruf: axel [Optionen] url1 [url2] [url...]\n"
"\n"
"-s x\tMaximale Geschwindigkeit (Bytes pro Sekunde)\n"
"-n x\tMaximale gleichzeitige Verbindungen\n"
"-o f\tLokale Ausgabe-Datei\n"
"-S [x]\tSuche nach Spiegelservern und Abruf von x Servern\n"
"-4\tIPv4-Protokoll verwenden\n"
"-6\tIPv6-Protokoll verwenden\n"
"-H x\tSende HTTP-Header\n"
"-U x\tSetze Browser-Kennung\n"
"-N\tKeinen Proxy-Server benutzen\n"
"-k\tÜberprüfen es das SSL-Zertifikat nicht\n"
"-c\tDownload überspringen, wenn Datei bereits vorhanden ist\n"
"-q\tKeine Meldungen auf Standard-Ausgabe\n"
"-v\tZusätzliche Status-Information\n"
"-a\tAlternative Fortschrittsanzeige\n"
"-h\tDiese Information\n"
"-T x\tE/A und Verbindungs-Timeout einstellen\n"
"-V\tVersions-Information\n"
"\n"
"Besuchen Sie https://github.com/axel-download-accelerator/axel/issues\n"

#: src/text.c:712
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tSpecify maximum speed (bytes per second)\n"
"--num-connections=x\t-n x\tSpecify maximum number of connections\n"
"--max-redirect=x\t\tSpecify maximum number of redirections\n"
"--output=f\t\t-o f\tSpecify local output file\n"
"--search[=n]\t\t-S[n]\tSearch for mirrors and download from n servers\n"
"--ipv4\t\t\t-4\tUse the IPv4 protocol\n"
"--ipv6\t\t\t-6\tUse the IPv6 protocol\n"
"--header=x\t\t-H x\tAdd HTTP header string\n"
"--user-agent=x\t\t-U x\tSet user agent\n"
"--no-proxy\t\t-N\tJust don't use any proxy server\n"
"--insecure\t\t-k\tDon't verify the SSL certificate\n"
"--no-clobber\t\t-c\tSkip download if file already exists\n"
"--quiet\t\t\t-q\tLeave stdout alone\n"
"--verbose\t\t-v\tMore status information\n"
"--alternate\t\t-a\tAlternate progress indicator\n"
"--percentage\t\t-p\tPrint simple percentages instead of progress bar "
"(0-100)\n"
"--help\t\t\t-h\tThis information\n"
"--timeout=x\t\t-T x\tSet I/O and connection timeout\n"
"--version\t\t-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues to report "
"bugs\n"
msgstr ""
"Aufruf: axel [Optionen] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tMaximale Geschwindigkeit (Bytes pro Sekunde)\n"
"--num-connections=x\t-n x\tMaximale gleichzeitige Verbindungen\n"
"--max-redirect=x\t\tMaximale Anzahl von Weiterleitungen\n"
"--output=f\t\t-o f\tLokale Ausgabe-Datei\n"
"--search=[x]\t\t-S [x]  Suche nach Spiegelservern und Abruf von x Servern\n"
"--ipv4\t\t\t-4\tIPv4-Protokoll verwenden\n"
"--ipv6\t\t\t-6\tIPv6-Protokoll verwenden\n"
"--header=x\t\t-H x\tSende HTTP-Header\n"
"--user-agent=x\t\t-U x\tSetze Browser-Kennung\n"
"--no-proxy\t\t-N\tKeinen Proxy-Server benutzen\n"
"--insecure\t\t-k\tÜberprüfen es das SSL-Zertifikat nicht\n"
"--no-clobber\t\t-c\tDownload überspringen, wenn Datei bereits vorhanden ist\n"
"--quiet\t\t\t-q\tKeine Meldungen auf Standard-Ausgabe\n"
"--verbose\t\t-v\tZusätzliche Status-Information\n"
"--alternate\t\t-a\tAlternative Fortschrittsanzeige\n"
"--help\t\t\t-h\tDiese Information\n"
"--timeout=x\t\t-T x\tE/A und Verbindungs-Timeout einstellen\n"
"--version\t\t-V\tVersions-Information\n"
"\n"
"Besuchen Sie https://github.com/axel-download-accelerator/axel/issues\n"

#: src/text.c:741
#, c-format
msgid "Axel %s (%s)\n"
msgstr "Axel %s (%s)\n"

#: src/text.c:755
msgid "and others."
msgstr "und andere."

#: src/text.c:756
msgid ""
"Please, see the CREDITS file.\n"
"\n"
msgstr ""
"Bitte sehen Sie die CREDITS-Datei\n"
"\n"

#: src/ssl.c:103
#, c-format
msgid "SSL error: %s\n"
msgstr "SSL-Fehler: %s\n"

#: src/ssl.c:115
#, c-format
msgid "SSL error: Certificate error\n"
msgstr "SSL-Fehler: Zertifikatfehler\n"

#: src/ssl.c:122
#, c-format
msgid "SSL error: Certificate not found\n"
msgstr "SSL-Fehler: Zertifikat nicht gefunden\n"

#: src/ssl.c:128
#, c-format
msgid "SSL error: Hostname verification failed\n"
msgstr "SSL-Fehler: Überprüfung des Hostnames fehlgeschlagen\n"

#: src/tcp.c:76
#, c-format
msgid "Unable to connect to server %s:%i: %s\n"
msgstr "Keine Verbindung mit %s:%i möglich: %s\n"
axel-2.17.13/po/es.po0000644000175000017500000003304314560423122007666 # Spanish translations for axel package.
#
# Copyright 2017-2021  Ismael Luceno
#
# This file is distributed under the same license as the axel package.
#
# Ismael Luceno , 2017-2021
#
msgid ""
msgstr ""
"Project-Id-Version: axel 2.17.8\n"
"Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/"
"issues\n"
"PO-Revision-Date: 2021-12-20 02:10+0100\n"
"Last-Translator: Ismael Luceno \n"
"Language-Team: Spanish\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: src/axel.c:150
msgid "Buffer resized for this speed."
msgstr "Buffer redimensionado para ésta velocidad."

#: src/axel.c:179
msgid "Could not parse URL.\n"
msgstr "No se puede analizar la URL.\n"

#: src/axel.c:201
#, c-format
msgid "File '%s' already there; not retrieving.\n"
msgstr "Archivo '%s' ya existe; no recuperando.\n"

#: src/axel.c:206
#, c-format
msgid "Incomplete download found, ignoring no-clobber option\n"
msgstr "Descarga incompleta encontrada, ignorando opción no-clobber\n"

#: src/axel.c:223
#, c-format
msgid "ERROR %d: %s.\n"
msgstr "ERROR %d: %s.\n"

#: src/axel.c:237
#, c-format
msgid "File size: %s (%jd bytes)"
msgstr "Tamaño de archivo: %s (%jd bytes)"

#: src/axel.c:240
msgid "File size: unavailable"
msgstr "Tamaño de archivo: no disponible"

#: src/axel.c:269
#, c-format
msgid "Opening output file %s"
msgstr "Abriendo archivo de salida %s"

#: src/axel.c:276
msgid "Server unsupported, starting from scratch with one connection."
msgstr "Servidor no soportado, comenzando desde cero con una conexión."

#: src/axel.c:293
#, c-format
msgid "%s.st: Error, truncated state file\n"
msgstr "%s.st: Error, archivo de estado truncado\n"

#: src/axel.c:301
#, c-format
msgid "Bogus number of connections stored in state file\n"
msgstr "Número incorrecto de conexiones almacenado en el archivo de estado\n"

#: src/axel.c:313
#, c-format
msgid "State file has old format.\n"
msgstr "Archivo de estado en formato antiguo.\n"

#: src/axel.c:346
#, c-format
msgid "State file found: %jd bytes downloaded, %jd to go."
msgstr "Archivo de estado encontrado: %jd bytes descargados, %jd pendientes."

#: src/axel.c:352 src/axel.c:363
msgid "Error opening local file"
msgstr "Error abriendo archivo local"

#: src/axel.c:376
msgid "Crappy filesystem/OS.. Working around. :-("
msgstr "Sistema de archivos/SO horrible. Usando solución alternativa. :-("

#: src/axel.c:389
msgid "Error creating local file"
msgstr "Error creando archivo local"

#: src/axel.c:430
#, c-format
msgid ""
"\n"
"Reactivate connection %d\n"
msgstr ""
"\n"
"Reactivar conexión %d\n"

#: src/axel.c:459
msgid "Starting download"
msgstr "Comenzando descarga"

#: src/axel.c:469 src/axel.c:652
#, c-format
msgid "Connection %i downloading from %s:%i using interface %s"
msgstr "Conexión %i descargando desde %s:%i usando la interfaz %s"

#: src/axel.c:479 src/axel.c:664
msgid "pthread error!!!"
msgstr "error de pthread!!!"

#: src/axel.c:525
#, c-format
msgid "Error while waiting for connection: %s"
msgstr "Error al esperar por conexión: %s"

#: src/axel.c:557
#, c-format
msgid "Connection %i timed out"
msgstr "Conexión %i caducada"

#: src/axel.c:570
#, c-format
msgid "Error on connection %i! Connection closed"
msgstr "Error en conexión %i! Conexión cerrada"

#: src/axel.c:584
#, c-format
msgid "Connection %i unexpectedly closed"
msgstr "Conexión %i cerrada inesperadamente"

#: src/axel.c:588 src/axel.c:604
#, c-format
msgid "Connection %i finished"
msgstr "Conexión %i finalizada"

#: src/axel.c:614
msgid "Write error!"
msgstr "Error de escritura!"

#: src/axel.c:716
#, c-format
msgid "Error while enforcing throttling: %s"
msgstr "Error al aplicar regulación: %s"

#: src/axel.c:901
#, c-format
msgid "Too few bytes remaining, forcing a single connection\n"
msgstr "Quedan muy pocos bytes, forzando una única conexión\n"

#: src/axel.c:920
#, c-format
msgid "Downloading %jd-%jd using conn. %i\n"
msgstr "Descargando %jd-%jd usando conn. %i\n"

#: src/conf.c:72
#, c-format
msgid "I/O error while reading config file: %s\n"
msgstr "Error de E/S al leer archivo de configuración: %s\n"

#: src/conf.c:90
#, c-format
msgid "Unknown progress bar style \"%s\"\n"
msgstr "Estilo de barra de progreso «%s» desconocido\n"

#: src/conf.c:102
#, c-format
msgid "Unknown protocol \"%s\"\n"
msgstr "Protocolo «%s» desconocido\n"

#: src/conf.c:219
#, c-format
msgid "Requested too many connections, max is %i\n"
msgstr "Demasiadas conexiones solicitadas, el máximo es %i\n"

#: src/conf.c:234
#, c-format
msgid "Error in %s line %i.\n"
msgstr "Error en %s línea %i.\n"

#: src/conf.c:303
#, c-format
msgid "HOME env variable too long\n"
msgstr "Variable de entorno HOME demasiado larga\n"

#: src/conn.c:81
#, c-format
msgid "Unsupported protocol\n"
msgstr "Protocolo no soportado\n"

#: src/conn.c:87
#, c-format
msgid "Secure protocol is not supported\n"
msgstr "Protocolo seguro no está soportado\n"

#: src/conn.c:477 src/ftp.c:135
#, c-format
msgid "Too many redirects.\n"
msgstr "Demasiadas redirecciones.\n"

#: src/conn.c:483
#, c-format
msgid "Redirect loop detected.\n"
msgstr "Bucle de redirección detectado.\n"

#: src/conn.c:538
msgid "Unknown Error"
msgstr "Error desconocido"

#: src/ftp.c:106
#, c-format
msgid "Can't change directory to %s\n"
msgstr "No se puede cambiar el directorio a %s\n"

#: src/ftp.c:129 src/ftp.c:189
#, c-format
msgid "File not found.\n"
msgstr "Archivo no encontrado.\n"

#: src/ftp.c:192
#, c-format
msgid "Multiple matches for this URL.\n"
msgstr "Múltiples coincidencias para ésta URL.\n"

#: src/ftp.c:264
#, c-format
msgid "Error opening passive data connection.\n"
msgstr "Error abriendo conexión de datos pasiva.\n"

#: src/ftp.c:298
#, c-format
msgid "Error writing command %s\n"
msgstr "Error escribiendo el comando %s\n"

#: src/ftp.c:322 src/http.c:252
#, c-format
msgid "Connection gone.\n"
msgstr "Conexión desaparecida.\n"

#: src/http.c:118
#, c-format
msgid "Invalid proxy string: %s\n"
msgstr "Cadena de proxy inválida: %s\n"

#: src/http.c:240
#, c-format
msgid "Connection gone while writing.\n"
msgstr "Conexión desaparecida al escribir.\n"

#: src/text.c:151
#, c-format
msgid ""
"Too many custom headers (-H)! Currently only %u custom headers can be "
"appended.\n"
msgstr ""
"Demasiadas cabeceras personalizadas (-H)! Actualmente sólo %u cabeceras "
"personalizadas pueden anexarse.\n"

#: src/text.c:227
#, c-format
msgid "Can't redirect stdout to /dev/null.\n"
msgstr "No se puede redirigir stdout a /dev/null.\n"

#: src/text.c:269
#, c-format
msgid "Error when trying to read URL (Too long?).\n"
msgstr "Error al intentar leer la URL (¿demasiado larga?).\n"

#: src/text.c:277
#, c-format
msgid "Can't handle URLs of length over %zu\n"
msgstr "No se pueden manejar URLs de longitud mayor a %zu\n"

#: src/text.c:284
#, c-format
msgid "Initializing download: %s\n"
msgstr "Inicializando descarga: %s\n"

#: src/text.c:293
#, c-format
msgid "Doing search...\n"
msgstr "Buscando...\n"

#: src/text.c:296
#, c-format
msgid "File not found\n"
msgstr "Archivo no encontrado\n"

#: src/text.c:300
#, c-format
msgid "Testing speeds, this can take a while...\n"
msgstr "Probando velocidades, esto puede tomar un tiempo...\n"

#: src/text.c:303
#, c-format
msgid "Speed testing failed\n"
msgstr "Falló la prueba de velocidad\n"

#: src/text.c:309
#, c-format
msgid "%i usable servers found, will use these URLs:\n"
msgstr "%i servidores usables encontrados, se utilizarán éstas URLs:\n"

#: src/text.c:312
msgid "Speed"
msgstr "Velocidad"

#: src/text.c:356
#, c-format
msgid "Filename too long!\n"
msgstr "¡Nombre de archivo demasiado largo!\n"

#: src/text.c:369
#, c-format
msgid "No state file, cannot resume!\n"
msgstr "¡No hay archivo de estado, no se puede reanudar!\n"

#: src/text.c:373
#, c-format
msgid "State file found, but no downloaded data. Starting from scratch.\n"
msgstr ""
"Archivo de estado encontrado, pero no hay datos descargados. Comenzando "
"desde cero.\n"

#: src/text.c:461
#, c-format
msgid ""
"\n"
"Downloaded %s in %s. (%.2f KB/s)\n"
msgstr ""
"\n"
"Descargado %s en %s. (%.2f KB/s)\n"

#: src/text.c:498
msgid "Kilo"
msgstr "Kilo"

#: src/text.c:498
msgid "Mega"
msgstr "Mega"

#: src/text.c:498
msgid "Giga"
msgstr "Giga"

#: src/text.c:498
msgid "Tera"
msgstr "Tera"

#: src/text.c:504
#, c-format
msgid "%g %sbyte(s)"
msgstr "%g %sbyte(s)"

#: src/text.c:520
#, c-format
msgid "%i:%02i:%02i hour(s)"
msgstr "%i:%02i:%02i hora(s)"

#: src/text.c:522
#, c-format
msgid "%i:%02i minute(s)"
msgstr "%i:%02i minuto(s)"

#: src/text.c:524
#, c-format
msgid "%i second(s)"
msgstr "%i segundo(s)"

#: src/text.c:626
#, c-format
msgid "Can't setup alternate output. Deactivating.\n"
msgstr "No se puede configurar la salida alternativa. Desactivando.\n"

#: src/text.c:689
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"-s x\tSpecify maximum speed (bytes per second)\n"
"-n x\tSpecify maximum number of connections\n"
"-o f\tSpecify local output file\n"
"-S[n]\tSearch for mirrors and download from n servers\n"
"-4\tUse the IPv4 protocol\n"
"-6\tUse the IPv6 protocol\n"
"-H x\tAdd HTTP header string\n"
"-U x\tSet user agent\n"
"-N\tJust don't use any proxy server\n"
"-k\tDon't verify the SSL certificate\n"
"-c\tSkip download if file already exists\n"
"-q\tLeave stdout alone\n"
"-v\tMore status information\n"
"-a\tAlternate progress indicator\n"
"-p\tPrint simple percentages instead of progress bar (0-100)\n"
"-h\tThis information\n"
"-T x\tSet I/O and connection timeout\n"
"-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues\n"
msgstr ""
"Uso: axel [opciones] url1 [url2] [url...]\n"
"\n"
"-s x\tEspecifcar velocidad máxima (bytes por segundo)\n"
"-n x\tEspecificar número máximo de conexiones\n"
"-o f\tEspecificar archivo de salida local\n"
"-S[n]\tBuscar por espejos y descargar desde n servidores\n"
"-4\tUsar el protocolo IPv4\n"
"-6\tUsar el protocolo IPv6\n"
"-H x\tAgregar cabecera HTTP\n"
"-U x\tEstablecer agente de usuario\n"
"-N\tNo usar ningún servidor proxy\n"
"-k\tNo verificar el certificado de SSL\n"
"-c\tOmitir descarga si el archivo ya existe\n"
"-q\tDejar en paz stdout\n"
"-v\tMás información del estado\n"
"-a\tIndicador de progreso alternativo\n"
"-h\tEsta información\n"
"-T x\tEstablecer tiempo de expiración de E/S y conexión\n"
"-V\tInformación de versión\n"
"\n"
"Visita https://github.com/axel-download-accelerator/axel/issues\n"

#: src/text.c:712
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tSpecify maximum speed (bytes per second)\n"
"--num-connections=x\t-n x\tSpecify maximum number of connections\n"
"--max-redirect=x\t\tSpecify maximum number of redirections\n"
"--output=f\t\t-o f\tSpecify local output file\n"
"--search[=n]\t\t-S[n]\tSearch for mirrors and download from n servers\n"
"--ipv4\t\t\t-4\tUse the IPv4 protocol\n"
"--ipv6\t\t\t-6\tUse the IPv6 protocol\n"
"--header=x\t\t-H x\tAdd HTTP header string\n"
"--user-agent=x\t\t-U x\tSet user agent\n"
"--no-proxy\t\t-N\tJust don't use any proxy server\n"
"--insecure\t\t-k\tDon't verify the SSL certificate\n"
"--no-clobber\t\t-c\tSkip download if file already exists\n"
"--quiet\t\t\t-q\tLeave stdout alone\n"
"--verbose\t\t-v\tMore status information\n"
"--alternate\t\t-a\tAlternate progress indicator\n"
"--percentage\t\t-p\tPrint simple percentages instead of progress bar "
"(0-100)\n"
"--help\t\t\t-h\tThis information\n"
"--timeout=x\t\t-T x\tSet I/O and connection timeout\n"
"--version\t\t-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues to report "
"bugs\n"
msgstr ""
"Uso: axel [opciones] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tEspecificar velocidad máxima (bytes por segundo)\n"
"--num-connections=x\t-n x\tEspecificar número máximo de conexiones\n"
"--max-redirect=x\t\tEspecificar número máximo de redirecciones\n"
"--output=f\t\t-o f\tEspecificar archivo de salida local\n"
"--search[=n]\t\t-S[n]\tBuscar por espejos y descargar desde n servidores\n"
"--ipv4\t\t\t-4\tUsar el protocolo IPv4\n"
"--ipv6\t\t\t-6\tUsar el protocolo IPv6\n"
"--header=x\t\t-H x\tAgregar cabecera HTTP\n"
"--user-agent=x\t\t-U x\tEstablecer agente de usuario\n"
"--no-proxy\t\t-N\tNo usar ningún servidor proxy\n"
"--insecure\t\t-k\tNo verificar el certificado de SSL\n"
"--no-clobber\t\t-c\tOmitir descarga si el archivo ya existe\n"
"--quiet\t\t\t-q\tDejar en paz stdout\n"
"--verbose\t\t-v\tMás información del estado\n"
"--alternate\t\t-a\tIndicador de progreso alternativo\n"
"--help\t\t\t-h\tEsta información\n"
"--timeout=x\t\t-T x\tEstablecer tiempo de expiración de E/S y conexión\n"
"--version\t\t-V\tInformación de versión\n"
"\n"
"Visita https://github.com/axel-download-accelerator/axel/issues para "
"reportar bugs\n"

#: src/text.c:741
#, c-format
msgid "Axel %s (%s)\n"
msgstr "Axel %s (%s)\n"

#: src/text.c:755
msgid "and others."
msgstr "y otros."

#: src/text.c:756
msgid ""
"Please, see the CREDITS file.\n"
"\n"
msgstr ""
"Por favor, vea el archivo CREDITS.\n"
"\n"

#: src/ssl.c:103
#, c-format
msgid "SSL error: %s\n"
msgstr "Error de SSL: %s\n"

#: src/ssl.c:115
#, c-format
msgid "SSL error: Certificate error\n"
msgstr "Error SSL: Error de Certificado\n"

#: src/ssl.c:122
#, c-format
msgid "SSL error: Certificate not found\n"
msgstr "Error SSL: Certificado no encontrado\n"

#: src/ssl.c:128
#, c-format
msgid "SSL error: Hostname verification failed\n"
msgstr "Error SSL: Verificación de Hostname fallida\n"

#: src/tcp.c:76
#, c-format
msgid "Unable to connect to server %s:%i: %s\n"
msgstr "Incapaz de conectarse al servidor %s:%i: %s\n"
axel-2.17.13/po/id_ID.po0000644000175000017500000003173214560423122010232 # Indonesian translations for axel package.
# Copyright (C) 2017 Mahyuddin
# This file is distributed under the same license as the axel package.
# Mahyuddin , 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: axel 2.14.1\n"
"Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/"
"issues\n"
"PO-Revision-Date: 2020-11-22 20:05+0100\n"
"Last-Translator: Mahyuddin  \n"
"Language-Team: Indonesian (Indonesia) \n"
"Language: id_ID\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 1.8.11\n"

#: src/axel.c:150
msgid "Buffer resized for this speed."
msgstr "Buffer diubah ukurannya untuk kecepatan ini."

#: src/axel.c:179
msgid "Could not parse URL.\n"
msgstr "Tidak bisa mengurai URL.\n"

#: src/axel.c:201
#, c-format
msgid "File '%s' already there; not retrieving.\n"
msgstr "Berkas '%s' sudah ada; tidak mengambil.\n"

#: src/axel.c:206
#, c-format
msgid "Incomplete download found, ignoring no-clobber option\n"
msgstr "Unduhan tidak lengkap ditemukan, mengabaikan opsi no-clobber\n"

#: src/axel.c:223
#, c-format
msgid "ERROR %d: %s.\n"
msgstr ""

#: src/axel.c:237
#, fuzzy, c-format
msgid "File size: %s (%jd bytes)"
msgstr "Ukuran berkas: %s (%jd bytes)"

#: src/axel.c:240
#, fuzzy
msgid "File size: unavailable"
msgstr "Ukuran berkas: tidak tersedia"

#: src/axel.c:269
#, c-format
msgid "Opening output file %s"
msgstr "Membuka berkas keluaran %s"

#: src/axel.c:276
msgid "Server unsupported, starting from scratch with one connection."
msgstr "Server tidak didukung, mulai dari dasar dengan satu koneksi."

#: src/axel.c:293
#, c-format
msgid "%s.st: Error, truncated state file\n"
msgstr "%s.st: Galat, bagian berkas terpotong\n"

#: src/axel.c:301
#, c-format
msgid "Bogus number of connections stored in state file\n"
msgstr "Jumlah koneksi palsu tersimpan dalam bagian berkas\n"

#: src/axel.c:313
#, c-format
msgid "State file has old format.\n"
msgstr "Bagian berkas memiliki format lama..\n"

#: src/axel.c:346
#, fuzzy, c-format
msgid "State file found: %jd bytes downloaded, %jd to go."
msgstr "Bagian berkas ditemukan: %jd bytes diunduh, %jd untuk berjalan."

#: src/axel.c:352 src/axel.c:363
msgid "Error opening local file"
msgstr "Galat saat membuka berkas lokal"

#: src/axel.c:376
msgid "Crappy filesystem/OS.. Working around. :-("
msgstr "Filesystem/OS jelek.. Bekerja di sekitar. :-("

#: src/axel.c:389
msgid "Error creating local file"
msgstr "Galat membuat berkas lokal"

#: src/axel.c:430
#, c-format
msgid ""
"\n"
"Reactivate connection %d\n"
msgstr ""
"\n"
"Aktifkan kembali koneksi %d\n"

#: src/axel.c:459
msgid "Starting download"
msgstr "Mulai mengunduh"

#: src/axel.c:469 src/axel.c:652
#, c-format
msgid "Connection %i downloading from %s:%i using interface %s"
msgstr "Sambungan %i diunduh dari %s:%i menggunakan antarmuka %s"

#: src/axel.c:479 src/axel.c:664
msgid "pthread error!!!"
msgstr "pthread galat!!!"

#: src/axel.c:525
#, c-format
msgid "Error while waiting for connection: %s"
msgstr "Galat saat menunggu koneksi: %s"

#: src/axel.c:557
#, c-format
msgid "Connection %i timed out"
msgstr "Sambungan %i habis waktunya"

#: src/axel.c:570
#, c-format
msgid "Error on connection %i! Connection closed"
msgstr "Galat pada koneksi %i! Sambungan putus"

#: src/axel.c:584
#, c-format
msgid "Connection %i unexpectedly closed"
msgstr "Koneksi %i tiba-tiba putus"

#: src/axel.c:588 src/axel.c:604
#, c-format
msgid "Connection %i finished"
msgstr "Koneksi %i selesai"

#: src/axel.c:614
msgid "Write error!"
msgstr "Tulis galat!"

#: src/axel.c:716
#, c-format
msgid "Error while enforcing throttling: %s"
msgstr "Galat saat menerapkan throttling: %s"

#: src/axel.c:901
#, c-format
msgid "Too few bytes remaining, forcing a single connection\n"
msgstr ""

#: src/axel.c:920
#, fuzzy, c-format
msgid "Downloading %jd-%jd using conn. %i\n"
msgstr "Mengunduh %jd-%jd menggunakan conn. %i\n"

#: src/conf.c:72
#, c-format
msgid "I/O error while reading config file: %s\n"
msgstr "Galat I/O saat membaca berkas konfigurasi: %s\n"

#: src/conf.c:90
#, fuzzy, c-format
msgid "Unknown progress bar style \"%s\"\n"
msgstr "Gaya bilah kemajuan \"%s\" tidak diketahui\n"

#: src/conf.c:102
#, fuzzy, c-format
msgid "Unknown protocol \"%s\"\n"
msgstr "Protokol tidak dikenal %s\n"

#: src/conf.c:219
#, c-format
msgid "Requested too many connections, max is %i\n"
msgstr "Meminta terlalu banyak koneksi, max adalah %i\n"

#: src/conf.c:234
#, c-format
msgid "Error in %s line %i.\n"
msgstr "Galat di %s baris %i.\n"

#: src/conf.c:303
#, c-format
msgid "HOME env variable too long\n"
msgstr "HOME env variabel terlalu panjang!\n"

#: src/conn.c:81
#, fuzzy, c-format
msgid "Unsupported protocol\n"
msgstr "Protokol yang tidak didukung\n"

#: src/conn.c:87
#, c-format
msgid "Secure protocol is not supported\n"
msgstr "Protokol aman tidak didukung\n"

#: src/conn.c:477 src/ftp.c:135
#, c-format
msgid "Too many redirects.\n"
msgstr "Terlalu banyak pengalihan.\n"

#: src/conn.c:483
#, c-format
msgid "Redirect loop detected.\n"
msgstr "Loop pengalihan terdeteksi.\n"

#: src/conn.c:538
msgid "Unknown Error"
msgstr ""

#: src/ftp.c:106
#, c-format
msgid "Can't change directory to %s\n"
msgstr "Tidak dapat mengubah direktori menjadi %s\n"

#: src/ftp.c:129 src/ftp.c:189
#, c-format
msgid "File not found.\n"
msgstr "Berkas tidak ditemukan.\n"

#: src/ftp.c:192
#, c-format
msgid "Multiple matches for this URL.\n"
msgstr "Beberapa kecocokan untuk URL ini.\n"

#: src/ftp.c:264
#, c-format
msgid "Error opening passive data connection.\n"
msgstr "Galat saat membuka koneksi data pasif.\n"

#: src/ftp.c:298
#, c-format
msgid "Error writing command %s\n"
msgstr "Galat menulis perintah %s\n"

#: src/ftp.c:322 src/http.c:252
#, c-format
msgid "Connection gone.\n"
msgstr "Koneksi hilang.\n"

#: src/http.c:118
#, c-format
msgid "Invalid proxy string: %s\n"
msgstr "String proxy tidak valid: %s\n"

#: src/http.c:240
#, c-format
msgid "Connection gone while writing.\n"
msgstr "Koneksi hilang saat menulis.\n"

#: src/text.c:151
#, c-format
msgid ""
"Too many custom headers (-H)! Currently only %u custom headers can be "
"appended.\n"
msgstr ""

#: src/text.c:227
#, c-format
msgid "Can't redirect stdout to /dev/null.\n"
msgstr "Tidak bisa mengalihkan stdout ke /dev/null.\n"

#: src/text.c:269
#, c-format
msgid "Error when trying to read URL (Too long?).\n"
msgstr "Galat saat mencoba membaca URL (Terlalu lama?).\n"

#: src/text.c:277
#, fuzzy, c-format
msgid "Can't handle URLs of length over %zu\n"
msgstr "Tidak dapat menangani URL dengan panjang di atas %zu\n"

#: src/text.c:284
#, c-format
msgid "Initializing download: %s\n"
msgstr "Menginisialisasi unduh: %s\n"

#: src/text.c:293
#, c-format
msgid "Doing search...\n"
msgstr "Melakukan pencarian..\n"

#: src/text.c:296
#, c-format
msgid "File not found\n"
msgstr "Berkas tidak ditemukan\n"

#: src/text.c:300
#, c-format
msgid "Testing speeds, this can take a while...\n"
msgstr "Menguji kecepatan, ini bisa memakan waktu beberapa lama...\n"

#: src/text.c:303
#, c-format
msgid "Speed testing failed\n"
msgstr "Pengujian kecepatan gagal\n"

#: src/text.c:309
#, c-format
msgid "%i usable servers found, will use these URLs:\n"
msgstr "%i server yang dapat digunakan ditemukan, akan menggunakan URL ini:\n"

#: src/text.c:312
msgid "Speed"
msgstr "Kecepatan"

#: src/text.c:356
#, c-format
msgid "Filename too long!\n"
msgstr "Nama berkas terlalu panjang!\n"

#: src/text.c:369
#, c-format
msgid "No state file, cannot resume!\n"
msgstr "Tidak ada bagian berkas, tidak bisa melanjutkan!\n"

#: src/text.c:373
#, c-format
msgid "State file found, but no downloaded data. Starting from scratch.\n"
msgstr "Bagian berkas ditemukan, tapi data tidak diunduh. Mulai dari awal.\n"

#: src/text.c:461
#, c-format
msgid ""
"\n"
"Downloaded %s in %s. (%.2f KB/s)\n"
msgstr ""
"\n"
"Diunduh %s in %s. (%.2f KB/s)\n"

#: src/text.c:498
msgid "Kilo"
msgstr "Kilo"

#: src/text.c:498
msgid "Mega"
msgstr "Mega"

#: src/text.c:498
msgid "Giga"
msgstr "Giga"

#: src/text.c:498
msgid "Tera"
msgstr "Tera"

#: src/text.c:504
#, c-format
msgid "%g %sbyte(s)"
msgstr "%g %sbyte(s)"

#: src/text.c:520
#, c-format
msgid "%i:%02i:%02i hour(s)"
msgstr "%i:%02i:%02i jam(s)"

#: src/text.c:522
#, c-format
msgid "%i:%02i minute(s)"
msgstr "%i:%02i menit(s)"

#: src/text.c:524
#, fuzzy, c-format
msgid "%i second(s)"
msgstr "%i detik"

#: src/text.c:626
#, c-format
msgid "Can't setup alternate output. Deactivating.\n"
msgstr "Tidak dapat menyiapkan keluaran alternatif. Menonaktifkan.\n"

#: src/text.c:689
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"-s x\tSpecify maximum speed (bytes per second)\n"
"-n x\tSpecify maximum number of connections\n"
"-o f\tSpecify local output file\n"
"-S[n]\tSearch for mirrors and download from n servers\n"
"-4\tUse the IPv4 protocol\n"
"-6\tUse the IPv6 protocol\n"
"-H x\tAdd HTTP header string\n"
"-U x\tSet user agent\n"
"-N\tJust don't use any proxy server\n"
"-k\tDon't verify the SSL certificate\n"
"-c\tSkip download if file already exists\n"
"-q\tLeave stdout alone\n"
"-v\tMore status information\n"
"-a\tAlternate progress indicator\n"
"-p\tPrint simple percentages instead of progress bar (0-100)\n"
"-h\tThis information\n"
"-T x\tSet I/O and connection timeout\n"
"-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues\n"
msgstr ""
"Penggunaan: axel [opsi] url1 [url2] [url ...]\n"
"\n"
"-s x\tTentukan kecepatan maksimum (byte per detik)\n"
"-n x\tTentukan jumlah koneksi maksimum\n"
"-o f\tTentukan keluaran berkas lokal\n"
"-S [n]\tCari mirror dan unduh dari n server\n"
"-4\tGunakan protokol IPv4\n"
"-6\tGunakan protokol IPv6\n"
"-H x\tTambahkan string header HTTP\n"
"-U x\tSetel agen pengguna\n"
"-N\tJangan gunakan server proxy\n"
"-k\tJangan memverifikasi sertifikat SSL\n"
"-c\tLewati unduhan jika berkas sudah ada\n"
"-q\tTinggalkan stdout sendirian\n"
"-v\tInformasi status lebih banyak\n"
"-a\tIndikator kemajuan alternatif\n"
"-h\tInformasi ini\n"
"-V\tVersi informasi\n"
"\n"
"Kunjungi https://github.com/axel-download-accelerator/axel/issues\n"

#: src/text.c:712
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tSpecify maximum speed (bytes per second)\n"
"--num-connections=x\t-n x\tSpecify maximum number of connections\n"
"--max-redirect=x\t\tSpecify maximum number of redirections\n"
"--output=f\t\t-o f\tSpecify local output file\n"
"--search[=n]\t\t-S[n]\tSearch for mirrors and download from n servers\n"
"--ipv4\t\t\t-4\tUse the IPv4 protocol\n"
"--ipv6\t\t\t-6\tUse the IPv6 protocol\n"
"--header=x\t\t-H x\tAdd HTTP header string\n"
"--user-agent=x\t\t-U x\tSet user agent\n"
"--no-proxy\t\t-N\tJust don't use any proxy server\n"
"--insecure\t\t-k\tDon't verify the SSL certificate\n"
"--no-clobber\t\t-c\tSkip download if file already exists\n"
"--quiet\t\t\t-q\tLeave stdout alone\n"
"--verbose\t\t-v\tMore status information\n"
"--alternate\t\t-a\tAlternate progress indicator\n"
"--percentage\t\t-p\tPrint simple percentages instead of progress bar "
"(0-100)\n"
"--help\t\t\t-h\tThis information\n"
"--timeout=x\t\t-T x\tSet I/O and connection timeout\n"
"--version\t\t-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues to report "
"bugs\n"
msgstr ""
"Penggunaan: axel [opsi] url1 [url2] [url ...]\n"
"\n"
"--max-speed=x\t\t-s x\tTentukan kecepatan maksimum (bytes per second)\n"
"--num-connections=x\t -n x\tTentukan jumlah koneksi maksimum\n"
"--max-redirect=x\t\tTentukan jumlah pengalihan maksimum\n"
"--output=f\t\t-o f\tTentukan keluaran berkas lokal\n"
"- pencarian[=n]\t\t-S [n]\tCari mirror dan unduh dari n server\n"
"--ipv4\t\t\t-4\tGunakan protokol IPv4\n"
"--ipv6\t\t\t-6\tGunakan protokol IPv6\n"
"--header=x\t\t-H x\tTambahkan string header HTTP\n"
"--user-agent=x\t\t-U x\tSetel agen pengguna\n"
"--no-proxy\t\t-N\tJangan gunakan server proxy\n"
"--insecure\t\t-k\tJangan memverifikasi sertifikat SSL\n"
"--no-clobber\t\t-c\tLewati unduhan jika berkas sudah ada\n"
"--quiet\t\t\t-q\tTinggalkan stdout sendirian\n"
"--verbose\t\t-v\tInformasi lebih lanjut tentang status\n"
"- alternatif\t\t-a\tIndikator kemajuan alternatif\n"
"--help\t\t\t-h\tInformasi ini\n"
"--version\t\t-V\tVersion information\n"
"\n"
"Kunjungi https://github.com/axel-download-accelerator/axel/issues untuk "
"melaporkan kutu\n"

#: src/text.c:741
#, c-format
msgid "Axel %s (%s)\n"
msgstr "Axel %s (%s)\n"

#: src/text.c:755
msgid "and others."
msgstr "dan lainnya."

#: src/text.c:756
msgid ""
"Please, see the CREDITS file.\n"
"\n"
msgstr ""
"Silakan, lihat berkas CREDITS.\n"
"\n"

#: src/ssl.c:103
#, c-format
msgid "SSL error: %s\n"
msgstr "SSL galat: %s\n"

#: src/ssl.c:115
#, c-format
msgid "SSL error: Certificate error\n"
msgstr ""

#: src/ssl.c:122
#, c-format
msgid "SSL error: Certificate not found\n"
msgstr ""

#: src/ssl.c:128
#, c-format
msgid "SSL error: Hostname verification failed\n"
msgstr ""

#: src/tcp.c:76
#, c-format
msgid "Unable to connect to server %s:%i: %s\n"
msgstr "Tidak bisa terhubung ke server %s:%i: %s\n"
axel-2.17.13/po/it.po0000644000175000017500000003314614560423122007677 # Italian translations for axel package.
#
# Copyright 2017       Nicol Dalla Longa
# Copyright 2017-2021  Ismael Luceno
#
# This file is distributed under the same license as the axel package.
#
# Nicol Dalla Longa , 2017
# Ismael Luceno , 2017-2021
#
msgid ""
msgstr ""
"Project-Id-Version: axel 2.17.8\n"
"Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/"
"issues\n"
"PO-Revision-Date: 2021-12-20 02:10+0100\n"
"Last-Translator: Ismael Luceno \n"
"Language-Team: Italiano (Italia)\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: src/axel.c:150
msgid "Buffer resized for this speed."
msgstr "Buffer ridimensionato per questa velocità."

#: src/axel.c:179
msgid "Could not parse URL.\n"
msgstr "Impossibile interpretare l'URL.\n"

#: src/axel.c:201
#, c-format
msgid "File '%s' already there; not retrieving.\n"
msgstr "Il file '%s' è già presente; download non effettuato.\n"

#: src/axel.c:206
#, c-format
msgid "Incomplete download found, ignoring no-clobber option\n"
msgstr "Trovato download incompleto, ignoro l'opzione \"no-clobber\"\n"

#: src/axel.c:223
#, c-format
msgid "ERROR %d: %s.\n"
msgstr "ERRORE %d: %s.\n"

#: src/axel.c:237
#, c-format
msgid "File size: %s (%jd bytes)"
msgstr "Dimensione file: %s (%jd byte)"

#: src/axel.c:240
msgid "File size: unavailable"
msgstr "Dimensione file: non disponibile"

#: src/axel.c:269
#, c-format
msgid "Opening output file %s"
msgstr "Sto aprendo il file di output %s"

#: src/axel.c:276
msgid "Server unsupported, starting from scratch with one connection."
msgstr "Server non supportato, sto ricominciando da zero con una connessione."

#: src/axel.c:293
#, c-format
msgid "%s.st: Error, truncated state file\n"
msgstr "%s.st: Errore, file di stato troncato\n"

#: src/axel.c:301
#, c-format
msgid "Bogus number of connections stored in state file\n"
msgstr "Numero errato di connessioni memorizzate nel file di stato\n"

#: src/axel.c:313
#, c-format
msgid "State file has old format.\n"
msgstr "Il file di stato utilizza il vecchio formato.\n"

#: src/axel.c:346
#, c-format
msgid "State file found: %jd bytes downloaded, %jd to go."
msgstr "Trovato file di stato: %jd byte scaricati, %jd al termine."

#: src/axel.c:352 src/axel.c:363
msgid "Error opening local file"
msgstr "Errore nell'apertura del file locale"

#: src/axel.c:376
msgid "Crappy filesystem/OS.. Working around. :-("
msgstr "Filesystem/OS scadente.. Raggiro il problema. :-("

#: src/axel.c:389
msgid "Error creating local file"
msgstr "Errore nella creazione del file locale"

#: src/axel.c:430
#, c-format
msgid ""
"\n"
"Reactivate connection %d\n"
msgstr ""
"\n"
"Riattivando la connessione %d\n"

#: src/axel.c:459
msgid "Starting download"
msgstr "Inizio download"

#: src/axel.c:469 src/axel.c:652
#, c-format
msgid "Connection %i downloading from %s:%i using interface %s"
msgstr "La connessione %i sta scaricando da %s:%i usando l'interfaccia %s"

#: src/axel.c:479 src/axel.c:664
msgid "pthread error!!!"
msgstr "Errore pthread!!!"

#: src/axel.c:525
#, c-format
msgid "Error while waiting for connection: %s"
msgstr "Errore durante l'attesa della connessione: %s"

#: src/axel.c:557
#, c-format
msgid "Connection %i timed out"
msgstr "Connessione %i scaduta"

#: src/axel.c:570
#, c-format
msgid "Error on connection %i! Connection closed"
msgstr "Errore nella connessione %i! Connessione terminata"

#: src/axel.c:584
#, c-format
msgid "Connection %i unexpectedly closed"
msgstr "Connessione %i terminata inaspettatamente"

#: src/axel.c:588 src/axel.c:604
#, c-format
msgid "Connection %i finished"
msgstr "Connessione %i terminata"

#: src/axel.c:614
msgid "Write error!"
msgstr "Errore di scrittura!"

#: src/axel.c:716
#, c-format
msgid "Error while enforcing throttling: %s"
msgstr "Errore nell'applicazione del limite di velocità: %s"

#: src/axel.c:901
#, c-format
msgid "Too few bytes remaining, forcing a single connection\n"
msgstr "Restano pochi byte, forzando una singola connessione\n"

#: src/axel.c:920
#, c-format
msgid "Downloading %jd-%jd using conn. %i\n"
msgstr "Scaricando %jd-%jd usando la conn. %i\n"

#: src/conf.c:72
#, c-format
msgid "I/O error while reading config file: %s\n"
msgstr "Errore I/O nella lettura del file di configurazione: %s\n"

#: src/conf.c:90
#, fuzzy, c-format
msgid "Unknown progress bar style \"%s\"\n"
msgstr "Stile \"%s\" della barra di progresso sconosciuto\n"

#: src/conf.c:102
#, c-format
msgid "Unknown protocol \"%s\"\n"
msgstr "Protocollo \"%s\" sconosciuto\n"

#: src/conf.c:219
#, c-format
msgid "Requested too many connections, max is %i\n"
msgstr "Richiesto troppe connessioni, il massimo è %i\n"

#: src/conf.c:234
#, c-format
msgid "Error in %s line %i.\n"
msgstr "Errore in %s linea %i.\n"

#: src/conf.c:303
#, c-format
msgid "HOME env variable too long\n"
msgstr "Variabile d'ambiente HOME troppo lunga!\n"

#: src/conn.c:81
#, c-format
msgid "Unsupported protocol\n"
msgstr "Protocollo non supportato\n"

#: src/conn.c:87
#, c-format
msgid "Secure protocol is not supported\n"
msgstr "Il protocollo sicuro non è supportato\n"

#: src/conn.c:477 src/ftp.c:135
#, c-format
msgid "Too many redirects.\n"
msgstr "Troppi reindirizzamenti.\n"

#: src/conn.c:483
#, c-format
msgid "Redirect loop detected.\n"
msgstr "Rilevato ciclo di reindirizzamento.\n"

#: src/conn.c:538
msgid "Unknown Error"
msgstr "Errore sconosciuto"

#: src/ftp.c:106
#, c-format
msgid "Can't change directory to %s\n"
msgstr "Impossibile cambiare la directory in %s\n"

#: src/ftp.c:129 src/ftp.c:189
#, c-format
msgid "File not found.\n"
msgstr "File non trovato.\n"

#: src/ftp.c:192
#, c-format
msgid "Multiple matches for this URL.\n"
msgstr "Più corrispondenze per questo URL.\n"

#: src/ftp.c:264
#, c-format
msgid "Error opening passive data connection.\n"
msgstr "Errore nella connessione passiva dati.\n"

#: src/ftp.c:298
#, c-format
msgid "Error writing command %s\n"
msgstr "Errore nella scrittura del comando %s\n"

#: src/ftp.c:322 src/http.c:252
#, c-format
msgid "Connection gone.\n"
msgstr "Connessione terminata.\n"

#: src/http.c:118
#, c-format
msgid "Invalid proxy string: %s\n"
msgstr "Stringa proxy non valida: %s\n"

#: src/http.c:240
#, c-format
msgid "Connection gone while writing.\n"
msgstr "Connessione terminata durante la scrittura.\n"

#: src/text.c:151
#, c-format
msgid ""
"Too many custom headers (-H)! Currently only %u custom headers can be "
"appended.\n"
msgstr ""
"Troppe intestazioni personalizzate (-H)! Attualmente è possibile aggiungere "
"solo %u di intestazioni personalizzate.\n"

#: src/text.c:227
#, c-format
msgid "Can't redirect stdout to /dev/null.\n"
msgstr "Impossibile reindirizzare stdout a /dev/null.\n"

#: src/text.c:269
#, c-format
msgid "Error when trying to read URL (Too long?).\n"
msgstr "Errore nella lettura dell'URL (Troppo lungo?).\n"

#: src/text.c:277
#, c-format
msgid "Can't handle URLs of length over %zu\n"
msgstr "Impossibile gestire URL con lunghezza superiore a %zu\n"

#: src/text.c:284
#, c-format
msgid "Initializing download: %s\n"
msgstr "Inizializzazione download: %s\n"

#: src/text.c:293
#, c-format
msgid "Doing search...\n"
msgstr "Ricerca...\n"

#: src/text.c:296
#, c-format
msgid "File not found\n"
msgstr "File non trovato\n"

#: src/text.c:300
#, c-format
msgid "Testing speeds, this can take a while...\n"
msgstr "Testando le velocità, potrebbe volerci un po'...\n"

#: src/text.c:303
#, c-format
msgid "Speed testing failed\n"
msgstr "Test delle velocità fallito\n"

#: src/text.c:309
#, c-format
msgid "%i usable servers found, will use these URLs:\n"
msgstr "%i server utilizzabili trovati, userò questi URL:\n"

#: src/text.c:312
msgid "Speed"
msgstr "Velocità"

#: src/text.c:356
#, c-format
msgid "Filename too long!\n"
msgstr "Nome del file troppo lungo!\n"

#: src/text.c:369
#, c-format
msgid "No state file, cannot resume!\n"
msgstr "Nessun file di stato, non posso riprendere!\n"

#: src/text.c:373
#, c-format
msgid "State file found, but no downloaded data. Starting from scratch.\n"
msgstr "Trovato file di stato, ma dati non scaricati. Riparto da zero.\n"

#: src/text.c:461
#, c-format
msgid ""
"\n"
"Downloaded %s in %s. (%.2f KB/s)\n"
msgstr ""
"\n"
"Scaricato %s in %s. (%.2f KB/s)\n"

#: src/text.c:498
msgid "Kilo"
msgstr "Kilo"

#: src/text.c:498
msgid "Mega"
msgstr "Mega"

#: src/text.c:498
msgid "Giga"
msgstr "Giga"

#: src/text.c:498
msgid "Tera"
msgstr "Tera"

#: src/text.c:504
#, c-format
msgid "%g %sbyte(s)"
msgstr "%g %sbyte"

#: src/text.c:520
#, c-format
msgid "%i:%02i:%02i hour(s)"
msgstr "%i:%02i:%02i ora/e"

#: src/text.c:522
#, c-format
msgid "%i:%02i minute(s)"
msgstr "%i:%02i minuto/i"

#: src/text.c:524
#, c-format
msgid "%i second(s)"
msgstr "%i secondo/i"

#: src/text.c:626
#, c-format
msgid "Can't setup alternate output. Deactivating.\n"
msgstr ""
"Impossibile impostare barra di progresso alternativo. Disattivazione.\n"

#: src/text.c:689
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"-s x\tSpecify maximum speed (bytes per second)\n"
"-n x\tSpecify maximum number of connections\n"
"-o f\tSpecify local output file\n"
"-S[n]\tSearch for mirrors and download from n servers\n"
"-4\tUse the IPv4 protocol\n"
"-6\tUse the IPv6 protocol\n"
"-H x\tAdd HTTP header string\n"
"-U x\tSet user agent\n"
"-N\tJust don't use any proxy server\n"
"-k\tDon't verify the SSL certificate\n"
"-c\tSkip download if file already exists\n"
"-q\tLeave stdout alone\n"
"-v\tMore status information\n"
"-a\tAlternate progress indicator\n"
"-p\tPrint simple percentages instead of progress bar (0-100)\n"
"-h\tThis information\n"
"-T x\tSet I/O and connection timeout\n"
"-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues\n"
msgstr ""
"Utilizzo: axel [options] url1 [url2] [url...]\n"
"\n"
"-s x\tSpecifica la velocità massima (byte al secondo)\n"
"-n x\tSpecifa il numero massimo di connessioni\n"
"-o f\tSpecifica il file di output locale\n"
"-S [n]\tRicerca i mirror e scarica da n server\n"
"-4\tConnetti usando IPv4\n"
"-6\tConnetti usando IPv6\n"
"-H x\tAggiungi header HTTP\n"
"-U x\tImposta user agent\n"
"-N\tNon usare alcun server proxy\n"
"-k\tNon verificare il certificato SSL\n"
"-c\tSalta il download se il file esiste già\n"
"-q\tNon stampare alcun messaggio su stdout\n"
"-v\tStampa maggiori informazioni di stato\n"
"-a\tUtilizza barra di progresso alternativa\n"
"-h\tStampa queste informazioni\n"
"-V\tStampa la versione\n"
"\n"
"Visita il sito https://github.com/axel-download-accelerator/axel/issues\n"

#: src/text.c:712
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tSpecify maximum speed (bytes per second)\n"
"--num-connections=x\t-n x\tSpecify maximum number of connections\n"
"--max-redirect=x\t\tSpecify maximum number of redirections\n"
"--output=f\t\t-o f\tSpecify local output file\n"
"--search[=n]\t\t-S[n]\tSearch for mirrors and download from n servers\n"
"--ipv4\t\t\t-4\tUse the IPv4 protocol\n"
"--ipv6\t\t\t-6\tUse the IPv6 protocol\n"
"--header=x\t\t-H x\tAdd HTTP header string\n"
"--user-agent=x\t\t-U x\tSet user agent\n"
"--no-proxy\t\t-N\tJust don't use any proxy server\n"
"--insecure\t\t-k\tDon't verify the SSL certificate\n"
"--no-clobber\t\t-c\tSkip download if file already exists\n"
"--quiet\t\t\t-q\tLeave stdout alone\n"
"--verbose\t\t-v\tMore status information\n"
"--alternate\t\t-a\tAlternate progress indicator\n"
"--percentage\t\t-p\tPrint simple percentages instead of progress bar "
"(0-100)\n"
"--help\t\t\t-h\tThis information\n"
"--timeout=x\t\t-T x\tSet I/O and connection timeout\n"
"--version\t\t-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues to report "
"bugs\n"
msgstr ""
"Utilizzo: axel [options] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tSpecifica la velocità massima (byte al secondo)\n"
"--num-connections=x\t-n x\tSpecifa il numero massimo di connessioni\n"
"--max-redirect=x\t\tSpecifica il numero massimo di reindirizzamenti\n"
"--output=f\t\t-o f\tSpecifica il file di output locale\n"
"--search[=x]\t\t-S [x]\tRicerca i mirror e scarica da x server\n"
"--ipv4\t\t\t-4\tUtilizza il protocollo IPv4\n"
"--ipv6\t\t\t-6\tUtilizza il protocollo IPv6\n"
"--header=x\t\t-H x\tAggiungi header HTTP\n"
"--user-agent=x\t\t-U x\tImposta user agent\n"
"--no-proxy\t\t-N\tNon usare alcun server proxy\n"
"--insecure\t\t-k\tNon verificare il certificato SSL\n"
"--no-clobber\t\t-c\tSalta il download se il file esiste già\n"
"--quiet\t\t\t-q\tNon stampare alcun messaggio su stdout\n"
"--verbose\t\t-v\tStampa maggiori informazioni di stato\n"
"--alternate\t\t-a\tUtilizza barra di progresso alternativa\n"
"--help\t\t\t-h\\Stampa queste informazioni\n"
"--version\t\t-V\tStampa la versione\n"
"\n"
"Visita il sito https://github.com/axel-download-accelerator/axel/issues per "
"riportare bug\n"

#: src/text.c:741
#, c-format
msgid "Axel %s (%s)\n"
msgstr "Axel %s (%s)\n"

#: src/text.c:755
msgid "and others."
msgstr "e altri."

#: src/text.c:756
msgid ""
"Please, see the CREDITS file.\n"
"\n"
msgstr ""
"Per favore, vedere il file CREDITS.\n"
"\n"

#: src/ssl.c:103
#, c-format
msgid "SSL error: %s\n"
msgstr "Errore SSL: %s\n"

#: src/ssl.c:115
#, c-format
msgid "SSL error: Certificate error\n"
msgstr "Errore SSL: Errore di Certificato\n"

#: src/ssl.c:122
#, c-format
msgid "SSL error: Certificate not found\n"
msgstr "Errore SSL: Certificato non trovato\n"

#: src/ssl.c:128
#, c-format
msgid "SSL error: Hostname verification failed\n"
msgstr "Errore SSL: Verifica de hostname fallita\n"

#: src/tcp.c:76
#, c-format
msgid "Unable to connect to server %s:%i: %s\n"
msgstr "Impossibile connettersi al server %s:%i: %s\n"
axel-2.17.13/po/ja.po0000644000175000017500000003463314560423122007657 # Japanese messages for axel
# Copyright (C) 2012 Osamu Aoki 
# This file is distributed under the same license as the axel package.
msgid ""
msgstr ""
"Project-Id-Version: axel 2.17.8\n"
"Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/"
"issues\n"
"PO-Revision-Date: 2021-12-20 02:05+0100\n"
"Last-Translator: Ismael Luceno \n"
"Language-Team: debian-japanese@lists.debian.org\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: src/axel.c:150
msgid "Buffer resized for this speed."
msgstr "このスピードに合わせバッファーをリサイズします。"

#: src/axel.c:179
msgid "Could not parse URL.\n"
msgstr "URL を解析できません。\n"

#: src/axel.c:201
#, c-format
msgid "File '%s' already there; not retrieving.\n"
msgstr "ファイル '%s' はすでに存在します。 だからそれは取得されません。\n"

#: src/axel.c:206
#, c-format
msgid "Incomplete download found, ignoring no-clobber option\n"
msgstr ""
"不完全なダウンロードが見つかりましたが、no-clobberオプションは無視されます\n"

#: src/axel.c:223
#, c-format
msgid "ERROR %d: %s.\n"
msgstr "エラー %d: %s.\n"

#: src/axel.c:237
#, fuzzy, c-format
msgid "File size: %s (%jd bytes)"
msgstr "ファイルサイズ: %s (%jd バイト)"

#: src/axel.c:240
#, fuzzy
msgid "File size: unavailable"
msgstr "ファイルサイズ: 利用不可"

#: src/axel.c:269
#, c-format
msgid "Opening output file %s"
msgstr "出力ファイル %s をオープンします"

#: src/axel.c:276
msgid "Server unsupported, starting from scratch with one connection."
msgstr ""
"サポートされていないサーバーなので、単一コネクションを使い最初から始めます。"

#: src/axel.c:293
#, c-format
msgid "%s.st: Error, truncated state file\n"
msgstr "%s.st: エラー、状態ファイルが切り捨てられました\n"

#: src/axel.c:301
#, c-format
msgid "Bogus number of connections stored in state file\n"
msgstr "状態ファイルに保存されている接続の偽の数\n"

#: src/axel.c:313
#, c-format
msgid "State file has old format.\n"
msgstr "状態ファイルは古い形式です。\n"

#: src/axel.c:346
#, fuzzy, c-format
msgid "State file found: %jd bytes downloaded, %jd to go."
msgstr "状態ファイル発見: %jd バイトがダウンロード済み、あと %jd バイト。"

#: src/axel.c:352 src/axel.c:363
msgid "Error opening local file"
msgstr "ローカルファイルをオープンする際にエラー発生しました"

#: src/axel.c:376
msgid "Crappy filesystem/OS.. Working around. :-("
msgstr "ファイルシステム/OSがイマイチ。回避します。 :-("

#: src/axel.c:389
#, fuzzy
msgid "Error creating local file"
msgstr "ローカルファイルをオープンする際にエラー発生しました"

#: src/axel.c:430
#, c-format
msgid ""
"\n"
"Reactivate connection %d\n"
msgstr ""
"\n"
"接続 %d を再アクティブ化しています\n"

#: src/axel.c:459
msgid "Starting download"
msgstr "ダウンロード開始します"

#: src/axel.c:469 src/axel.c:652
#, c-format
msgid "Connection %i downloading from %s:%i using interface %s"
msgstr "接続 %i は %s:%i から、インターフェース %s でダウンロードします"

#: src/axel.c:479 src/axel.c:664
msgid "pthread error!!!"
msgstr "pthread のエラー!!!"

#: src/axel.c:525
#, fuzzy, c-format
msgid "Error while waiting for connection: %s"
msgstr "コマンド %s を書く際にエラー\n"

#: src/axel.c:557
#, c-format
msgid "Connection %i timed out"
msgstr "接続 %i がタイムアウトしました"

#: src/axel.c:570
#, c-format
msgid "Error on connection %i! Connection closed"
msgstr "接続 %i でエラー! コネクションをクローズしました"

#: src/axel.c:584
#, c-format
msgid "Connection %i unexpectedly closed"
msgstr "接続 %i が不意にクローズされました"

#: src/axel.c:588 src/axel.c:604
#, c-format
msgid "Connection %i finished"
msgstr "接続 %i が終了しました"

#: src/axel.c:614
msgid "Write error!"
msgstr "書き込みエラー!"

#: src/axel.c:716
#, c-format
msgid "Error while enforcing throttling: %s"
msgstr "調整を強制している間のエラー: %s"

#: src/axel.c:901
#, c-format
msgid "Too few bytes remaining, forcing a single connection\n"
msgstr "残りのバイト数が少なすぎて、単一接続が強制される\n"

#: src/axel.c:920
#, fuzzy, c-format
msgid "Downloading %jd-%jd using conn. %i\n"
msgstr "%jd-%jd をダウンロード中、接続 %i を使用して\n"

#: src/conf.c:72
#, c-format
msgid "I/O error while reading config file: %s\n"
msgstr "構成ファイルの読み取り中に入出力エラーが発生しました: %s\n"

#: src/conf.c:90
#, fuzzy, c-format
msgid "Unknown progress bar style \"%s\"\n"
msgstr "不明なプログレスバースタイル「%s」\n"

#: src/conf.c:102
#, fuzzy, c-format
msgid "Unknown protocol \"%s\"\n"
msgstr "不明なプロトコル 「%s」\n"

#: src/conf.c:219
#, c-format
msgid "Requested too many connections, max is %i\n"
msgstr "要求された接続が多すぎます。最大値は %i です\n"

#: src/conf.c:234
#, c-format
msgid "Error in %s line %i.\n"
msgstr "%s の %i 行目でエラー。\n"

#: src/conf.c:303
#, fuzzy, c-format
msgid "HOME env variable too long\n"
msgstr "ファイル名が長すぎます!\n"

#: src/conn.c:81
#, c-format
msgid "Unsupported protocol\n"
msgstr "サポートされていないプロトコル\n"

#: src/conn.c:87
#, c-format
msgid "Secure protocol is not supported\n"
msgstr "セキュアプロトコルはサポートされていません\n"

#: src/conn.c:477 src/ftp.c:135
#, c-format
msgid "Too many redirects.\n"
msgstr "リディレクト回数が多すぎます。\n"

#: src/conn.c:483
#, c-format
msgid "Redirect loop detected.\n"
msgstr "リダイレクションループが検出されました。\n"

#: src/conn.c:538
msgid "Unknown Error"
msgstr ""

#: src/ftp.c:106
#, c-format
msgid "Can't change directory to %s\n"
msgstr "ディレクトリーを %s に変更できません\n"

#: src/ftp.c:129 src/ftp.c:189
#, c-format
msgid "File not found.\n"
msgstr "ファイルが見つかりません。\n"

#: src/ftp.c:192
#, c-format
msgid "Multiple matches for this URL.\n"
msgstr "この URL には複数のマッチがあります。\n"

#: src/ftp.c:264
#, c-format
msgid "Error opening passive data connection.\n"
msgstr "受動的データー接続の開始でエラー。\n"

#: src/ftp.c:298
#, c-format
msgid "Error writing command %s\n"
msgstr "コマンド %s を書く際にエラー\n"

#: src/ftp.c:322 src/http.c:252
#, c-format
msgid "Connection gone.\n"
msgstr "接続が失われています。\n"

#: src/http.c:118
#, c-format
msgid "Invalid proxy string: %s\n"
msgstr "無効なプロキシストリング: %s\n"

#: src/http.c:240
#, fuzzy, c-format
msgid "Connection gone while writing.\n"
msgstr "接続が失われています。\n"

#: src/text.c:151
#, fuzzy, c-format
msgid ""
"Too many custom headers (-H)! Currently only %u custom headers can be "
"appended.\n"
msgstr ""
"カスタムヘッダーが多すぎます(-H)! 現在%u個のカスタムヘッダーのみを追加でき"
"ます。\n"

#: src/text.c:227
#, c-format
msgid "Can't redirect stdout to /dev/null.\n"
msgstr "標準出力を /dev/null にリディレクトできません。\n"

#: src/text.c:269
#, c-format
msgid "Error when trying to read URL (Too long?).\n"
msgstr "URL を読もうとした際に(長すぎ?)エラー。\n"

#: src/text.c:277
#, fuzzy, c-format
msgid "Can't handle URLs of length over %zu\n"
msgstr "%zu を超える長さの URL は取り扱えません\n"

#: src/text.c:284
#, c-format
msgid "Initializing download: %s\n"
msgstr "ダウンロードを初期化: %s\n"

#: src/text.c:293
#, c-format
msgid "Doing search...\n"
msgstr "サーチ中...\n"

#: src/text.c:296
#, c-format
msgid "File not found\n"
msgstr "ファイルが見つかりません\n"

#: src/text.c:300
#, c-format
msgid "Testing speeds, this can take a while...\n"
msgstr "スピードをテスト中、時間がかかるかもしれません...\n"

#: src/text.c:303
#, c-format
msgid "Speed testing failed\n"
msgstr "スピードテストに失敗しました\n"

#: src/text.c:309
#, c-format
msgid "%i usable servers found, will use these URLs:\n"
msgstr ""
"使用可能なサーバーが %i つ見つかりましたので、以下の URL を使用します:\n"

#: src/text.c:312
msgid "Speed"
msgstr "スピード"

#: src/text.c:356
#, c-format
msgid "Filename too long!\n"
msgstr "ファイル名が長すぎます!\n"

#: src/text.c:369
#, c-format
msgid "No state file, cannot resume!\n"
msgstr "状態ファイルがありませんので、再開できません!\n"

#: src/text.c:373
#, c-format
msgid "State file found, but no downloaded data. Starting from scratch.\n"
msgstr ""
"状態ファイルが見つかったけれど、ダウンロードされたデーターが見つかりません。"
"最初から始めます。\n"

#: src/text.c:461
#, c-format
msgid ""
"\n"
"Downloaded %s in %s. (%.2f KB/s)\n"
msgstr ""
"\n"
"%s を %s にダウンロード。(%.2f KB/s)\n"

#: src/text.c:498
msgid "Kilo"
msgstr "キロ"

#: src/text.c:498
msgid "Mega"
msgstr "メガ"

#: src/text.c:498
msgid "Giga"
msgstr "ギガ"

#: src/text.c:498
msgid "Tera"
msgstr "テラ"

#: src/text.c:504
#, c-format
msgid "%g %sbyte(s)"
msgstr "%g %sバイト"

#: src/text.c:520
#, c-format
msgid "%i:%02i:%02i hour(s)"
msgstr "%i 時 %02i 分 %02i 秒"

#: src/text.c:522
#, c-format
msgid "%i:%02i minute(s)"
msgstr "%i 分 %02i 秒"

#: src/text.c:524
#, fuzzy, c-format
msgid "%i second(s)"
msgstr "%i 秒"

#: src/text.c:626
#, c-format
msgid "Can't setup alternate output. Deactivating.\n"
msgstr "代替出力を設定できません。 それを無効に。\n"

#: src/text.c:689
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"-s x\tSpecify maximum speed (bytes per second)\n"
"-n x\tSpecify maximum number of connections\n"
"-o f\tSpecify local output file\n"
"-S[n]\tSearch for mirrors and download from n servers\n"
"-4\tUse the IPv4 protocol\n"
"-6\tUse the IPv6 protocol\n"
"-H x\tAdd HTTP header string\n"
"-U x\tSet user agent\n"
"-N\tJust don't use any proxy server\n"
"-k\tDon't verify the SSL certificate\n"
"-c\tSkip download if file already exists\n"
"-q\tLeave stdout alone\n"
"-v\tMore status information\n"
"-a\tAlternate progress indicator\n"
"-p\tPrint simple percentages instead of progress bar (0-100)\n"
"-h\tThis information\n"
"-T x\tSet I/O and connection timeout\n"
"-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues\n"
msgstr ""
"使用法: axel [options] url1 [url2] [url...]\n"
"\n"
"-s x\t最大速度を指定 (毎秒のバイト数)\n"
"-n x\t最大接続数を指定\n"
"-o f\tローカルの出力ファイルを指定\n"
"-S [x]\tミラーを探し x サーバーからダウンロード\n"
"-H x\tヘッダーストリングを追加\n"
"-U x\tユーザーエージェントを設定\n"
"-N\tプロキシサーバーを一切使用しなくする\n"
"-k\tSSL 証明書を検証しない\n"
"-q\t標準出力を使用しない\n"
"-v\t状態情報を増加させる\n"
"-a\t代替のプログレスインディケーター\n"
"-h\tこの情報\n"
"-V\tバージョン情報\n"
"\n"
"https://github.com/axel-download-accelerator/axel/issues にバグ報告を行なって"
"ください\n"

#: src/text.c:712
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tSpecify maximum speed (bytes per second)\n"
"--num-connections=x\t-n x\tSpecify maximum number of connections\n"
"--max-redirect=x\t\tSpecify maximum number of redirections\n"
"--output=f\t\t-o f\tSpecify local output file\n"
"--search[=n]\t\t-S[n]\tSearch for mirrors and download from n servers\n"
"--ipv4\t\t\t-4\tUse the IPv4 protocol\n"
"--ipv6\t\t\t-6\tUse the IPv6 protocol\n"
"--header=x\t\t-H x\tAdd HTTP header string\n"
"--user-agent=x\t\t-U x\tSet user agent\n"
"--no-proxy\t\t-N\tJust don't use any proxy server\n"
"--insecure\t\t-k\tDon't verify the SSL certificate\n"
"--no-clobber\t\t-c\tSkip download if file already exists\n"
"--quiet\t\t\t-q\tLeave stdout alone\n"
"--verbose\t\t-v\tMore status information\n"
"--alternate\t\t-a\tAlternate progress indicator\n"
"--percentage\t\t-p\tPrint simple percentages instead of progress bar "
"(0-100)\n"
"--help\t\t\t-h\tThis information\n"
"--timeout=x\t\t-T x\tSet I/O and connection timeout\n"
"--version\t\t-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues to report "
"bugs\n"
msgstr ""
"使用法: axel [options] url1 [url2] [url...]\n"
"\n"
"-max-speed=x\t\t-s x\t最大速度を指定 (毎秒のバイト数)\n"
"--num-connections=x\t\t-n x\t最大接続数を指定\n"
"--output=f\t\t-o f\tローカルの出力ファイルを指定\n"
"--search[=x]\t\t-S [x]\tミラーを探し x サーバーからダウンロード\n"
"--header=x\t\t-H x\tヘッダーストリングを追加\n"
"--user-agent=x\t\t-U x\tユーザーエージェントを設定\n"
"--no-proxy\t\t-N\tプロキシサーバーを一切使用しなくする\n"
"--insecure\t\t-k\tSSL 証明書を検証しない\n"
"--quiet\t\t\t-q\t標準出力を使用しない\n"
"--verbose\t\t-v\t状態情報を増加させる\n"
"--alternate\t\t-a\t代替のプログレスインディケーター\n"
"--help\t\t\t-h\tこの情報\n"
"--version\t\t-V\tバージョン情報\n"
"\n"
"https://github.com/axel-download-accelerator/axel/issues にバグ報告を行なって"
"ください\n"

#: src/text.c:741
#, c-format
msgid "Axel %s (%s)\n"
msgstr "Axel %s (%s)\n"

#: src/text.c:755
msgid "and others."
msgstr "そして他の者。"

#: src/text.c:756
msgid ""
"Please, see the CREDITS file.\n"
"\n"
msgstr ""
"CREDITS というファイルを見てみましょう\n"
"\n"

#: src/ssl.c:103
#, c-format
msgid "SSL error: %s\n"
msgstr "SSL エラー: %s\n"

#: src/ssl.c:115
#, fuzzy, c-format
msgid "SSL error: Certificate error\n"
msgstr "SSL エラー: 証明書エラー\n"

#: src/ssl.c:122
#, fuzzy, c-format
msgid "SSL error: Certificate not found\n"
msgstr "SSL エラー: 証明書が見つかりません\n"

#: src/ssl.c:128
#, fuzzy, c-format
msgid "SSL error: Hostname verification failed\n"
msgstr "SSL エラー: ホスト名の検証に失敗しました\n"

#: src/tcp.c:76
#, c-format
msgid "Unable to connect to server %s:%i: %s\n"
msgstr "サーバー %s:%i に接続できません: %s\n"
axel-2.17.13/po/ka.po0000644000175000017500000004717114560423122007661 msgid ""
msgstr ""
"Project-Id-Version: axel\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Last-Translator: Temuri Doghonadze \n"
"Language-Team: Georgian <(nothing)>\n"
"Language: ka\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.2.2\n"

#: src/axel.c:150
msgid "Buffer resized for this speed."
msgstr "ბუფერის ზომა ამ სიჩქარისთვის შეიცვლება."

#: src/axel.c:179
msgid "Could not parse URL.\n"
msgstr "URL-ის დამუშავების შეცდომა\n"

#: src/axel.c:201
#, c-format
msgid "File '%s' already there; not retrieving.\n"
msgstr "ფაილი '%s' უკვე გვაქვს; აღარ გადმოვიწერ.\n"

#: src/axel.c:206
#, c-format
msgid "Incomplete download found, ignoring no-clobber option\n"
msgstr "გადმოწერა არასრულია. პარამეტრი no-clobber გამოტოვებულია\n"

#: src/axel.c:223
#, c-format
msgid "ERROR %d: %s.\n"
msgstr "შეცდომა %d: %s.\n"

#: src/axel.c:237
#, c-format
msgid "File size: %s (%jd bytes)"
msgstr "ფაილის ზომა: %s (%jd ბაიტი)"

#: src/axel.c:240
msgid "File size: unavailable"
msgstr "ფაილის ზომა: მიუწვდომელია"

#: src/axel.c:269
#, c-format
msgid "Opening output file %s"
msgstr "გამოტანის ფაილის (%s) გახსნა"

#: src/axel.c:276
msgid "Server unsupported, starting from scratch with one connection."
msgstr "სერვერი მხარდაჭერილი არაა. ვიწყებ ნულიდან, ერთი მიერთებით."

#: src/axel.c:293
#, c-format
msgid "%s.st: Error, truncated state file\n"
msgstr "%s.st: შეცდომა. მდგომარეობის ფაილი არასრულია\n"

#: src/axel.c:301
#, c-format
msgid "Bogus number of connections stored in state file\n"
msgstr "მდგომარეობის ფაილში დამახსოვრებული მიერთებების რაოდენობა ბუნდოვანია\n"

#: src/axel.c:313
#, c-format
msgid "State file has old format.\n"
msgstr "მდგომარეობის ფაილის ძველი ფორმატი.\n"

#: src/axel.c:346
#, c-format
msgid "State file found: %jd bytes downloaded, %jd to go."
msgstr ""
"აღმოჩენილია მდგომარეობის ფაილი: %jd ბაიტი გადმოწერილია, %jd კი დარჩენილი."

#: src/axel.c:352 src/axel.c:363
msgid "Error opening local file"
msgstr "შეცდომა ლოკალური ფაილის გახსნისას"

#: src/axel.c:376
msgid "Crappy filesystem/OS.. Working around. :-("
msgstr "საზიზღარი ფაილური სისტემა/ოს-ი. ვეცდები, რამე ვქნა. :-("

#: src/axel.c:389
msgid "Error creating local file"
msgstr "ლოკალური ფაილის გახსნის შეცდომა"

#: src/axel.c:430
#, c-format
msgid ""
"\n"
"Reactivate connection %d\n"
msgstr ""
"\n"
"კავშირის თავიდან აქტივაცია: %d\n"

#: src/axel.c:459
msgid "Starting download"
msgstr "გადმოწერის დასაწყისი"

#: src/axel.c:469 src/axel.c:652
#, c-format
msgid "Connection %i downloading from %s:%i using interface %s"
msgstr "მიერთება %i ვიწერ %s:%i-დან %s ინტერფეისის გამოყენებით"

#: src/axel.c:479 src/axel.c:664
msgid "pthread error!!!"
msgstr "pthread-ის შეცდომა!!!"

#: src/axel.c:525
#, c-format
msgid "Error while waiting for connection: %s"
msgstr "შეცდომა კავშირის მოლოდინისას: %s"

#: src/axel.c:557
#, c-format
msgid "Connection %i timed out"
msgstr "%i: შეერთების მოლოდინის ვადა ამოიწურა"

#: src/axel.c:570
#, c-format
msgid "Error on connection %i! Connection closed"
msgstr "შეცდომა მიერთებაზე %i! კავშირი დახურულია"

#: src/axel.c:584
#, c-format
msgid "Connection %i unexpectedly closed"
msgstr "მიერთება %i მოულოდნელად დაიხურა"

#: src/axel.c:588 src/axel.c:604
#, c-format
msgid "Connection %i finished"
msgstr "მიერთება %i დასრულდა"

#: src/axel.c:614
msgid "Write error!"
msgstr "ჩაწერის შეცდომა!"

#: src/axel.c:716
#, c-format
msgid "Error while enforcing throttling: %s"
msgstr "შეცდომა ნაძალადევი შეზღუდვისას: %s"

#: src/axel.c:901
#, c-format
msgid "Too few bytes remaining, forcing a single connection\n"
msgstr "ძალიან ცოტაღა დარჩა. ერთ მიერთებას ვიტოვებ\n"

#: src/axel.c:920
#, c-format
msgid "Downloading %jd-%jd using conn. %i\n"
msgstr "ვიწერ: %jd-%jd მიერთებებით %i\n"

#: src/conf.c:72
#, c-format
msgid "I/O error while reading config file: %s\n"
msgstr "I/O შეცდომა კონფიგურაციის ფაილის წაკითხვისას: %s\n"

#: src/conf.c:90
#, fuzzy, c-format
msgid "Unknown progress bar style \"%s\"\n"
msgstr "პროგრესის უცნობი ზოლის სტილი \"%s\"\n"

#: src/conf.c:102
#, fuzzy, c-format
msgid "Unknown protocol \"%s\"\n"
msgstr "უცნობი პროტოკოლი: %s\n"

#: src/conf.c:219
#, c-format
msgid "Requested too many connections, max is %i\n"
msgstr "მოთხოვნილია მეტისმეტად ბევრი მიერთება. მაქსიმუმია %i\n"

#: src/conf.c:234
#, c-format
msgid "Error in %s line %i.\n"
msgstr "შეცდომა %s-ში, ხაზზე %i.\n"

#: src/conf.c:303
#, c-format
msgid "HOME env variable too long\n"
msgstr "გარემოს ცვლადის HOME მნიშვნელობა მეტისმეტად გრძელია\n"

#: src/conn.c:81
#, c-format
msgid "Unsupported protocol\n"
msgstr "მხარდაუჭერელი პროტოკოლი\n"

#: src/conn.c:87
#, c-format
msgid "Secure protocol is not supported\n"
msgstr "დაცული პროტოკოლი მხარდაჭერილი არაა\n"

#: src/conn.c:477 src/ftp.c:135
#, c-format
msgid "Too many redirects.\n"
msgstr "მეტისმეტად ბევრი გადამისამართება.\n"

#: src/conn.c:483
#, fuzzy, c-format
msgid "Redirect loop detected.\n"
msgstr "აღმოჩენილია გადამისამართების ციკლი.\n"

#: src/conn.c:538
msgid "Unknown Error"
msgstr "უცნობი შეცდომა"

#: src/ftp.c:106
#, c-format
msgid "Can't change directory to %s\n"
msgstr "საქაღალდის %s-ზე შეცვლა შეუძლებელია\n"

#: src/ftp.c:129 src/ftp.c:189
#, c-format
msgid "File not found.\n"
msgstr "ფაილი ვერ მოიძებნა.\n"

#: src/ftp.c:192
#, c-format
msgid "Multiple matches for this URL.\n"
msgstr "ამ URL-ს ბევრი დამთხვევა გააჩნია.\n"

#: src/ftp.c:264
#, c-format
msgid "Error opening passive data connection.\n"
msgstr "პასიური მიერთების გახსნის შეცდომა.\n"

#: src/ftp.c:298
#, c-format
msgid "Error writing command %s\n"
msgstr "ბრძანების (%s) ჩაწერის შეცდომა\n"

#: src/ftp.c:322 src/http.c:252
#, c-format
msgid "Connection gone.\n"
msgstr "მიერთება გაქრა.\n"

#: src/http.c:118
#, c-format
msgid "Invalid proxy string: %s\n"
msgstr "პროქსის არასწორი სტრიქონი: %s\n"

#: src/http.c:240
#, c-format
msgid "Connection gone while writing.\n"
msgstr "მიერთება მასში ჩაწერისას გაქრა.\n"

#: src/text.c:151
#, c-format
msgid ""
"Too many custom headers (-H)! Currently only %u custom headers can be "
"appended.\n"
msgstr ""
"ხელით მითითებული თავსართების (-H) რაოდენობა ძალიან დიდია! ამჟამად მხოლოდ %u "
"თავსართი შეგიძლიათ დაუმატოთ.\n"

#: src/text.c:227
#, c-format
msgid "Can't redirect stdout to /dev/null.\n"
msgstr "შეცდომა stdout-ის /dev/null-ზე გადამისამართებისას.\n"

#: src/text.c:269
#, c-format
msgid "Error when trying to read URL (Too long?).\n"
msgstr "შეცდომა URL-ის წაკითხვისას (მეტისმეტად გრძელია?).\n"

#: src/text.c:277
#, c-format
msgid "Can't handle URLs of length over %zu\n"
msgstr "%zu-ზე გრძელი URL-ების დამუშავება შეუძლებელია\n"

#: src/text.c:284
#, c-format
msgid "Initializing download: %s\n"
msgstr "გადმოწერის ინიციალიზაცია: %s\n"

#: src/text.c:293
#, c-format
msgid "Doing search...\n"
msgstr "ვეძებ...\n"

#: src/text.c:296
#, c-format
msgid "File not found\n"
msgstr "ფაილი ვერ ვიპოვე\n"

#: src/text.c:300
#, c-format
msgid "Testing speeds, this can take a while...\n"
msgstr "სიჩქარის ტესტირება. ამას საკმაო დრო შეიძლება დასჭირდეს...\n"

#: src/text.c:303
#, c-format
msgid "Speed testing failed\n"
msgstr "სიჩქარის ტესტირების შეცდომა\n"

#: src/text.c:309
#, c-format
msgid "%i usable servers found, will use these URLs:\n"
msgstr "ნაპოვნია %i სასარგებლო სერვერი. გამოვიყენებ შემდეგ URL-ებს:\n"

#: src/text.c:312
msgid "Speed"
msgstr "სიჩქარე"

#: src/text.c:356
#, c-format
msgid "Filename too long!\n"
msgstr "ფაილის სახელი ძალიან გრძელია!\n"

#: src/text.c:369
#, c-format
msgid "No state file, cannot resume!\n"
msgstr "მდგომარეობის ფაილი არ არსებობს. გაგრძელება შეუძლებელია!\n"

#: src/text.c:373
#, c-format
msgid "State file found, but no downloaded data. Starting from scratch.\n"
msgstr ""
"აღმოჩენილია მდგომარეობის ფაილი, მაგრამ არა გადმოწერილი მონაცემები. ვიწყებ "
"ნულიდან.\n"

#: src/text.c:461
#, c-format
msgid ""
"\n"
"Downloaded %s in %s. (%.2f KB/s)\n"
msgstr ""
"\n"
"გადმოწერილია %s %s-ში. (%.2f კბ/წმ)\n"

#: src/text.c:498
msgid "Kilo"
msgstr "კილო"

#: src/text.c:498
msgid "Mega"
msgstr "მეგა"

#: src/text.c:498
msgid "Giga"
msgstr "გიგა"

#: src/text.c:498
msgid "Tera"
msgstr "ტერა"

#: src/text.c:504
#, c-format
msgid "%g %sbyte(s)"
msgstr "%g %sბაიტი"

#: src/text.c:520
#, c-format
msgid "%i:%02i:%02i hour(s)"
msgstr "%i:%02i:%02i საათი"

#: src/text.c:522
#, c-format
msgid "%i:%02i minute(s)"
msgstr "%i:%02i წუთი"

#: src/text.c:524
#, c-format
msgid "%i second(s)"
msgstr "%i წამი"

#: src/text.c:626
#, c-format
msgid "Can't setup alternate output. Deactivating.\n"
msgstr "გამოტანის შეცვლის შეცდომა. დეაქტივაცია.\n"

#: src/text.c:689
#, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"-s x\tSpecify maximum speed (bytes per second)\n"
"-n x\tSpecify maximum number of connections\n"
"-o f\tSpecify local output file\n"
"-S[n]\tSearch for mirrors and download from n servers\n"
"-4\tUse the IPv4 protocol\n"
"-6\tUse the IPv6 protocol\n"
"-H x\tAdd HTTP header string\n"
"-U x\tSet user agent\n"
"-N\tJust don't use any proxy server\n"
"-k\tDon't verify the SSL certificate\n"
"-c\tSkip download if file already exists\n"
"-q\tLeave stdout alone\n"
"-v\tMore status information\n"
"-a\tAlternate progress indicator\n"
"-p\tPrint simple percentages instead of progress bar (0-100)\n"
"-h\tThis information\n"
"-T x\tSet I/O and connection timeout\n"
"-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues\n"
msgstr ""
"გამოყენება: axel [პარამეტრები] url1 [url2] [url...]\n"
"\n"
"-s x\tმაქსიმალური სიჩქარის მითითება (ბაიტი წამში)\n"
"-n x\tმიერთებების მაქსიმალური რაოდენობა\n"
"-o f\tლოკალური გამოტანის ფაილის მითითება\n"
"-S[n]\tსარკეების მძებნა და n სარკიდან გადმოწერა\n"
"-4\tIPv4 პროტოკოლის გამოყენება\n"
"-6\tIPv6 პროტოკოლის გამოყენება\n"
"-H x\tHTTP თავსართის დამატება\n"
"-U x\tმომხმარებლის აგენტის დაყენება\n"
"-N\tპროქსი სერვერის გამოყენების გამორთვა\n"
"-k\tSSL სერტიფიკატის შემოწმების გამორთვა\n"
"-c\tგამოტოვება, თუ ფაილი უკვე არსებობს\n"
"-q\tstdout-ზე არაფერი იქნება გამოტანილი\n"
"-v\tმდგომარეობის შესახებ მეტი ინფორმაცია\n"
"-a\tმიმდინარეობის მაჩვენებლის შეცვლა\n"
"-p\tზოლის მაგიერ პროცენტების დაწერა (0-100)\n"
"-h\tეს ინფორმაცია\n"
"-T x\tშეტანა/გამოტანისა და მიერთების მოლოდინის ვადის დაყენება\n"
"-V\tინფორმაცია ვერსიის შესახებ\n"
"\n"
"გვეწვიეთ https://github.com/axel-download-accelerator/axel/issues\n"

#: src/text.c:712
#, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tSpecify maximum speed (bytes per second)\n"
"--num-connections=x\t-n x\tSpecify maximum number of connections\n"
"--max-redirect=x\t\tSpecify maximum number of redirections\n"
"--output=f\t\t-o f\tSpecify local output file\n"
"--search[=n]\t\t-S[n]\tSearch for mirrors and download from n servers\n"
"--ipv4\t\t\t-4\tUse the IPv4 protocol\n"
"--ipv6\t\t\t-6\tUse the IPv6 protocol\n"
"--header=x\t\t-H x\tAdd HTTP header string\n"
"--user-agent=x\t\t-U x\tSet user agent\n"
"--no-proxy\t\t-N\tJust don't use any proxy server\n"
"--insecure\t\t-k\tDon't verify the SSL certificate\n"
"--no-clobber\t\t-c\tSkip download if file already exists\n"
"--quiet\t\t\t-q\tLeave stdout alone\n"
"--verbose\t\t-v\tMore status information\n"
"--alternate\t\t-a\tAlternate progress indicator\n"
"--percentage\t\t-p\tPrint simple percentages instead of progress bar "
"(0-100)\n"
"--help\t\t\t-h\tThis information\n"
"--timeout=x\t\t-T x\tSet I/O and connection timeout\n"
"--version\t\t-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues to report "
"bugs\n"
msgstr ""
"გამოყენება: axel [პარამეტრები] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tმაქსიმალური სიჩქარის მითითება (ბაიტი წამში)\n"
"--num-connections=x\t-n x\tმიერთებების მაქსიმალური რაოდენობა\n"
"--max-redirect=x\t\tგადამისამართებების მაქსიმალური რაოდენობა\n"
"--output=f\t\t-o f\tლოკალური გამოტანის ფაილის მითითება\n"
"--search[=n]\t\t-S[n]\tსარკეების მძებნა და n სარკიდან გადმოწერა\n"
"--ipv4\t\t\t-4\tIPv4 პროტოკოლის გამოყენება\n"
"--ipv6\t\t\t-6\tIPv6 პროტოკოლის გამოყენება\n"
"--header=x\t\t-H x\tHTTP თავსართის დამატება\n"
"--user-agent=x\t\t-U x\tმომხმარებლის აგენტის დაყენება\n"
"--no-proxy\t\t-N\tპროქსი სერვერის გამოყენების გამორთვა\n"
"--insecure\t\t-k\tSSL სერტიფიკატის შემოწმების გამორთვა\n"
"--no-clobber\t\t-c\tგამოტოვება, თუ ფაილი უკვე არსებობს\n"
"--quiet\t\t\t-q\tstdout-ზე არაფერი იქნება გამოტანილი\n"
"--verbose\t\t-v\tმდგომარეობის შესახებ მეტი ინფორმაცია\n"
"--alternate\t\t-a\tმიმდინარეობის მაჩვენებლის შეცვლა\n"
"--percentage\t\t-p\tზოლის მაგიერ პროცენტების დაწერა (0-100)\n"
"--help\t\t\t-h\tეს ინფორმაცია\n"
"--timeout=x\t\t-T x\tშეტანა/გამოტანისა და მიერთების მოლოდინის ვადის "
"დაყენება\n"
"--version\t\t-V\tინფორმაცია ვერსიის შესახებ\n"
"\n"
"შეცდომების შესახებ მოგვწერეთ ბმულზე https://github.com/axel-download-"
"accelerator/axel/issues\n"

#: src/text.c:741
#, c-format
msgid "Axel %s (%s)\n"
msgstr "Axel %s (%s)\n"

#: src/text.c:755
msgid "and others."
msgstr "და სხვები."

#: src/text.c:756
msgid ""
"Please, see the CREDITS file.\n"
"\n"
msgstr ""
"იხილეთ ფაილი CREDITS.\n"
"\n"

#: src/ssl.c:103
#, c-format
msgid "SSL error: %s\n"
msgstr "SSL-ის შეცდომა: %s\n"

#: src/ssl.c:115
#, c-format
msgid "SSL error: Certificate error\n"
msgstr "SSL-ის შეცდომა: სერტიფიკატის შეცდომა\n"

#: src/ssl.c:122
#, c-format
msgid "SSL error: Certificate not found\n"
msgstr "SSL-ის შეცდომა: სერტიფიკატი ვერ ვიპოვე\n"

#: src/ssl.c:128
#, c-format
msgid "SSL error: Hostname verification failed\n"
msgstr "SSL-ის შეცდომა: ჰოსტის სახელის გადამოწმების შეცდომა\n"

#: src/tcp.c:76
#, c-format
msgid "Unable to connect to server %s:%i: %s\n"
msgstr "სერვერთან (%s:%i) მიერთების შეცდომა: %s\n"
axel-2.17.13/po/nl.po0000644000175000017500000002773314560423122007701 # Dutch translations for axel package.
#
# Copyright 2019-2020  Ismael Luceno
#
# This file is distributed under the same license as the axel package.
#
# Wilmer van der Gaast , 2001
# Ismael Luceno , 2019-2020
msgid ""
msgstr ""
"Project-Id-Version: Axel\n"
"Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/"
"issues\n"
"PO-Revision-Date: 2020-11-22 20:21+0100\n"
"Last-Translator: Ismael Luceno \n"
"Language-Team: Dutch\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8-bit\n"

#: src/axel.c:150
msgid "Buffer resized for this speed."
msgstr "Buffer verkleind voor deze snelheid."

#: src/axel.c:179
msgid "Could not parse URL.\n"
msgstr "Kan URL niet verwerken.\n"

#: src/axel.c:201
#, c-format
msgid "File '%s' already there; not retrieving.\n"
msgstr ""

#: src/axel.c:206
#, c-format
msgid "Incomplete download found, ignoring no-clobber option\n"
msgstr ""

#: src/axel.c:223
#, c-format
msgid "ERROR %d: %s.\n"
msgstr ""

#: src/axel.c:237
#, c-format
msgid "File size: %s (%jd bytes)"
msgstr "Bestandsgrootte: %s (%jd bytes)"

#: src/axel.c:240
msgid "File size: unavailable"
msgstr "Bestandsgrootte: niet beschikbaar"

#: src/axel.c:269
#, c-format
msgid "Opening output file %s"
msgstr "Openen uitvoerbestand %s"

#: src/axel.c:276
msgid "Server unsupported, starting from scratch with one connection."
msgstr "Server niet ondersteund, opnieuw beginnen met 1 verbinding."

#: src/axel.c:293
#, c-format
msgid "%s.st: Error, truncated state file\n"
msgstr ""

#: src/axel.c:301
#, c-format
msgid "Bogus number of connections stored in state file\n"
msgstr ""

#: src/axel.c:313
#, c-format
msgid "State file has old format.\n"
msgstr ""

#: src/axel.c:346
#, c-format
msgid "State file found: %jd bytes downloaded, %jd to go."
msgstr "Statusbestand gevonden: %jd bytes gedownload, %jd te gaan."

#: src/axel.c:352 src/axel.c:363
msgid "Error opening local file"
msgstr "Fout bij openen lokaal bestand"

#: src/axel.c:376
msgid "Crappy filesystem/OS.. Working around. :-("
msgstr "Niet-fatale fout in OS/bestandssysteem, omheen werken.."

#: src/axel.c:389
msgid "Error creating local file"
msgstr "Fout bij maken lokaal bestand"

#: src/axel.c:430
#, c-format
msgid ""
"\n"
"Reactivate connection %d\n"
msgstr ""

#: src/axel.c:459
msgid "Starting download"
msgstr "Begin download"

#: src/axel.c:469 src/axel.c:652
#, c-format
msgid "Connection %i downloading from %s:%i using interface %s"
msgstr "Verbinding %i gebruikt server %s:%i via interface %s"

#: src/axel.c:479 src/axel.c:664
msgid "pthread error!!!"
msgstr "pthread fout!!!"

#: src/axel.c:525
#, c-format
msgid "Error while waiting for connection: %s"
msgstr "Fout bij wachten op verbinding: %s"

#: src/axel.c:557
#, c-format
msgid "Connection %i timed out"
msgstr "Time-out op verbinding %i"

#: src/axel.c:570
#, c-format
msgid "Error on connection %i! Connection closed"
msgstr "Fout op verbinding %i! Verbinding gesloten"

#: src/axel.c:584
#, c-format
msgid "Connection %i unexpectedly closed"
msgstr "Verbinding %i onverwachts gesloten"

#: src/axel.c:588 src/axel.c:604
#, c-format
msgid "Connection %i finished"
msgstr "Verbinding %i klaar"

#: src/axel.c:614
msgid "Write error!"
msgstr "Schrijffout!"

#: src/axel.c:716
#, c-format
msgid "Error while enforcing throttling: %s"
msgstr ""

#: src/axel.c:901
#, c-format
msgid "Too few bytes remaining, forcing a single connection\n"
msgstr ""

#: src/axel.c:920
#, c-format
msgid "Downloading %jd-%jd using conn. %i\n"
msgstr ""

#: src/conf.c:72
#, c-format
msgid "I/O error while reading config file: %s\n"
msgstr ""

#: src/conf.c:90
#, c-format
msgid "Unknown progress bar style \"%s\"\n"
msgstr "Onbekende voortgangsbalkstijl \"%s\"\n"

#: src/conf.c:102
#, c-format
msgid "Unknown protocol \"%s\"\n"
msgstr ""

#: src/conf.c:219
#, c-format
msgid "Requested too many connections, max is %i\n"
msgstr ""

#: src/conf.c:234
#, c-format
msgid "Error in %s line %i.\n"
msgstr "Fout in %s regel %i.\n"

#: src/conf.c:303
#, c-format
msgid "HOME env variable too long\n"
msgstr ""

#: src/conn.c:81
#, c-format
msgid "Unsupported protocol\n"
msgstr ""

#: src/conn.c:87
#, c-format
msgid "Secure protocol is not supported\n"
msgstr ""

#: src/conn.c:477 src/ftp.c:135
#, c-format
msgid "Too many redirects.\n"
msgstr "Te veel redirects.\n"

#: src/conn.c:483
#, c-format
msgid "Redirect loop detected.\n"
msgstr "Omleidingslus gedetecteerd.\n"

#: src/conn.c:538
msgid "Unknown Error"
msgstr ""

#: src/ftp.c:106
#, c-format
msgid "Can't change directory to %s\n"
msgstr ""

#: src/ftp.c:129 src/ftp.c:189
#, c-format
msgid "File not found.\n"
msgstr "Bestand niet gevonden.\n"

#: src/ftp.c:192
#, c-format
msgid "Multiple matches for this URL.\n"
msgstr "Meerdere bestanden passen bij deze URL.\n"

#: src/ftp.c:264
#, c-format
msgid "Error opening passive data connection.\n"
msgstr "Fout bij het openen van een data verbinding.\n"

#: src/ftp.c:298
#, c-format
msgid "Error writing command %s\n"
msgstr "Fout bij het schrijven van commando %s\n"

#: src/ftp.c:322 src/http.c:252
#, c-format
msgid "Connection gone.\n"
msgstr "Verbinding gesloten.\n"

#: src/http.c:118
#, c-format
msgid "Invalid proxy string: %s\n"
msgstr "Ongeldige proxy string: %s\n"

#: src/http.c:240
#, c-format
msgid "Connection gone while writing.\n"
msgstr "Verbinding is verdwenen tijdens het schrijven.\n"

#: src/text.c:151
#, c-format
msgid ""
"Too many custom headers (-H)! Currently only %u custom headers can be "
"appended.\n"
msgstr ""

#: src/text.c:227
#, c-format
msgid "Can't redirect stdout to /dev/null.\n"
msgstr "Fout bij het afsluiten van stdout.\n"

#: src/text.c:269
#, c-format
msgid "Error when trying to read URL (Too long?).\n"
msgstr ""

#: src/text.c:277
#, c-format
msgid "Can't handle URLs of length over %zu\n"
msgstr ""

#: src/text.c:284
#, c-format
msgid "Initializing download: %s\n"
msgstr "Begin download: %s\n"

#: src/text.c:293
#, c-format
msgid "Doing search...\n"
msgstr "Zoeken...\n"

#: src/text.c:296
#, c-format
msgid "File not found\n"
msgstr "Bestand niet gevonden\n"

#: src/text.c:300
#, c-format
msgid "Testing speeds, this can take a while...\n"
msgstr "Snelheden testen, dit kan even duren...\n"

#: src/text.c:303
#, c-format
msgid "Speed testing failed\n"
msgstr ""

#: src/text.c:309
#, c-format
msgid "%i usable servers found, will use these URLs:\n"
msgstr "%i bruikbare servers gevonden, de volgende worden gebruikt:\n"

#: src/text.c:312
msgid "Speed"
msgstr ""

#: src/text.c:356
#, c-format
msgid "Filename too long!\n"
msgstr ""

#: src/text.c:369
#, c-format
msgid "No state file, cannot resume!\n"
msgstr "Geen .st bestand, kan niet resumen!\n"

#: src/text.c:373
#, c-format
msgid "State file found, but no downloaded data. Starting from scratch.\n"
msgstr ".st bestand gevonden maar geen uitvoerbestand. Opnieuw beginnen.\n"

#: src/text.c:461
#, c-format
msgid ""
"\n"
"Downloaded %s in %s. (%.2f KB/s)\n"
msgstr ""
"\n"
"%s gedownload in %s. (%.2f KB/s)\n"

#: src/text.c:498
msgid "Kilo"
msgstr "Kilo"

#: src/text.c:498
msgid "Mega"
msgstr "Mega"

#: src/text.c:498
msgid "Giga"
msgstr "Giga"

#: src/text.c:498
msgid "Tera"
msgstr "Tera"

#: src/text.c:504
#, c-format
msgid "%g %sbyte(s)"
msgstr "%g %sbyte(s)"

#: src/text.c:520
#, c-format
msgid "%i:%02i:%02i hour(s)"
msgstr "%i:%02i:%02i uren"

#: src/text.c:522
#, c-format
msgid "%i:%02i minute(s)"
msgstr "%i:%02i minute(n)"

#: src/text.c:524
#, c-format
msgid "%i second(s)"
msgstr "%i seconde(n)"

#: src/text.c:626
#, c-format
msgid "Can't setup alternate output. Deactivating.\n"
msgstr ""

#: src/text.c:689
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"-s x\tSpecify maximum speed (bytes per second)\n"
"-n x\tSpecify maximum number of connections\n"
"-o f\tSpecify local output file\n"
"-S[n]\tSearch for mirrors and download from n servers\n"
"-4\tUse the IPv4 protocol\n"
"-6\tUse the IPv6 protocol\n"
"-H x\tAdd HTTP header string\n"
"-U x\tSet user agent\n"
"-N\tJust don't use any proxy server\n"
"-k\tDon't verify the SSL certificate\n"
"-c\tSkip download if file already exists\n"
"-q\tLeave stdout alone\n"
"-v\tMore status information\n"
"-a\tAlternate progress indicator\n"
"-p\tPrint simple percentages instead of progress bar (0-100)\n"
"-h\tThis information\n"
"-T x\tSet I/O and connection timeout\n"
"-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues\n"
msgstr ""
"Gebruik: axel [opties] url1 [url2] [url...]\n"
"\n"
"-s x\tMaximale snelheid (bytes per seconde)\n"
"-n x\tMaximale aantal verbindingen\n"
"-o f\tLokaal uitvoerbestand\n"
"-S[x]\tMirrors opzoeken en x mirrors gebruiken\n"
"-4\tGebruik het IPv4-protocol\n"
"-6\tGebruik het IPv6-protocol\n"
"-H x\tHTTP-header reeks toevoegen\n"
"-U x\tStel user agent\n"
"-N\tGeen proxy server gebruiken\n"
"-k\tVerifieer het SSL-certificaat niet\n"
"-c\tSla de download over als het bestand al bestaat\n"
"-q\tGeen uitvoer naar stdout\n"
"-v\tMeer status informatie\n"
"-a\tAlternatieve voortgangs indicator\n"
"-h\tDeze informatie\n"
"-T x\tStel I/O en verbinding time-out\n"
"-V\tVersie informatie\n"
"\n"
"Bezoek https://github.com/axel-download-accelerator/axel/issues\n"

#: src/text.c:712
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tSpecify maximum speed (bytes per second)\n"
"--num-connections=x\t-n x\tSpecify maximum number of connections\n"
"--max-redirect=x\t\tSpecify maximum number of redirections\n"
"--output=f\t\t-o f\tSpecify local output file\n"
"--search[=n]\t\t-S[n]\tSearch for mirrors and download from n servers\n"
"--ipv4\t\t\t-4\tUse the IPv4 protocol\n"
"--ipv6\t\t\t-6\tUse the IPv6 protocol\n"
"--header=x\t\t-H x\tAdd HTTP header string\n"
"--user-agent=x\t\t-U x\tSet user agent\n"
"--no-proxy\t\t-N\tJust don't use any proxy server\n"
"--insecure\t\t-k\tDon't verify the SSL certificate\n"
"--no-clobber\t\t-c\tSkip download if file already exists\n"
"--quiet\t\t\t-q\tLeave stdout alone\n"
"--verbose\t\t-v\tMore status information\n"
"--alternate\t\t-a\tAlternate progress indicator\n"
"--percentage\t\t-p\tPrint simple percentages instead of progress bar "
"(0-100)\n"
"--help\t\t\t-h\tThis information\n"
"--timeout=x\t\t-T x\tSet I/O and connection timeout\n"
"--version\t\t-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues to report "
"bugs\n"
msgstr ""
"Gebruik: axel [opties] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tMaximale snelheid (bytes per seconde)\n"
"--num-connections=x\t-n x\tMaximale aantal verbindingen\n"
"--max-redirect=x\t\tFIXME\n"
"--output=f\t\t-o f\tLokaal uitvoerbestand\n"
"--search[=x]\t\t-S [x]\tMirrors opzoeken en x mirrors gebruiken\n"
"--ipv4\t\t\t-4\tGebruik het IPv4-protocol\n"
"--ipv6\t\t\t-6\tGebruik het IPv6-protocol\n"
"--header=x\t\t-H x\tHTTP-header reeks toevoegen\n"
"--user-agent=x\t\t-U x\tStel user agent\n"
"--no-proxy\t\t-N\tGeen proxy server gebruiken\n"
"--insecure\t\t-k\tVerifieer het SSL-certificaat niet\n"
"--no-clobber\t\t-c\tSla de download over als het bestand al bestaat\n"
"--quiet\t\t\t-q\tGeen uitvoer naar stdout\n"
"--verbose\t\t-v\tMeer status informatie\n"
"--alternate\t\t-a\tAlternatieve voortgangs indicator\n"
"--help\t\t\t-h\tDeze informatie\n"
"--timeout=x\t\t-T x\tStel I/O en verbinding time-out\n"
"--version\t\t-V\tVersie informatie\n"
"\n"
"Bezoek https://github.com/axel-download-accelerator/axel/issues om bugs te "
"melden\n"

#: src/text.c:741
#, c-format
msgid "Axel %s (%s)\n"
msgstr "Axel %s (%s)\n"

#: src/text.c:755
msgid "and others."
msgstr ""

#: src/text.c:756
msgid ""
"Please, see the CREDITS file.\n"
"\n"
msgstr ""

#: src/ssl.c:103
#, c-format
msgid "SSL error: %s\n"
msgstr ""

#: src/ssl.c:115
#, c-format
msgid "SSL error: Certificate error\n"
msgstr ""

#: src/ssl.c:122
#, c-format
msgid "SSL error: Certificate not found\n"
msgstr ""

#: src/ssl.c:128
#, c-format
msgid "SSL error: Hostname verification failed\n"
msgstr ""

#: src/tcp.c:76
#, c-format
msgid "Unable to connect to server %s:%i: %s\n"
msgstr "Kan niet verbinden met server %s:%i %s\n"
axel-2.17.13/po/pt_BR.po0000644000175000017500000003322214560423122010264 # Portuguese translations for axel package.
#
# Copyright 2016-2017  Joao Eriberto Mota Filho
# Copyright 2017-2021  Ismael Luceno
#
# This file is distributed under the same license as the axel package.
#
# Eriberto Mota , 2016-2017
# Ismael Luceno , 2017-2021
#
msgid ""
msgstr ""
"Project-Id-Version: axel 2.17.8\n"
"Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/"
"issues\n"
"PO-Revision-Date: 2021-12-20 02:05+0100\n"
"Last-Translator: Ismael Luceno \n"
"Language-Team: Brazilian Portuguese\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#: src/axel.c:150
msgid "Buffer resized for this speed."
msgstr "Buffer redimensionado para esta velocidade."

#: src/axel.c:179
msgid "Could not parse URL.\n"
msgstr "Não posso analisar esta URL.\n"

#: src/axel.c:201
#, c-format
msgid "File '%s' already there; not retrieving.\n"
msgstr "Arquivo '%s' já existe; ignorando novo download do mesmo.\n"

#: src/axel.c:206
#, c-format
msgid "Incomplete download found, ignoring no-clobber option\n"
msgstr "Encontrado um download incompleto, ignorando opção no-clobber\n"

#: src/axel.c:223
#, c-format
msgid "ERROR %d: %s.\n"
msgstr "ERRO %d: %s.\n"

#: src/axel.c:237
#, c-format
msgid "File size: %s (%jd bytes)"
msgstr "Tamanho do arquivo: %s (%jd bytes)"

#: src/axel.c:240
msgid "File size: unavailable"
msgstr "Tamanho do arquivo: indisponível"

#: src/axel.c:269
#, c-format
msgid "Opening output file %s"
msgstr "Abrindo o arquivo de saída %s"

#: src/axel.c:276
msgid "Server unsupported, starting from scratch with one connection."
msgstr "Servidor não suportado. Iniciando do zero com apenas uma conexão."

#: src/axel.c:293
#, c-format
msgid "%s.st: Error, truncated state file\n"
msgstr "%s.st: Erro, estado do arquivo alterado\n"

#: src/axel.c:301
#, c-format
msgid "Bogus number of connections stored in state file\n"
msgstr "Número incorrecto de conexões armazenado no arquivo de estado\n"

#: src/axel.c:313
#, c-format
msgid "State file has old format.\n"
msgstr "Estado do arquivo foi alterado.\n"

#: src/axel.c:346
#, c-format
msgid "State file found: %jd bytes downloaded, %jd to go."
msgstr "Arquivo de estado encontrado: %jd bytes baixados, %jd restantes."

#: src/axel.c:352 src/axel.c:363
msgid "Error opening local file"
msgstr "Erro ao abrir o arquivo local"

#: src/axel.c:376
msgid "Crappy filesystem/OS.. Working around. :-("
msgstr "Filesystem/SO ruim... Trabalhando em torno disso. :-("

#: src/axel.c:389
msgid "Error creating local file"
msgstr "Erro ao criar o arquivo local"

#: src/axel.c:430
#, c-format
msgid ""
"\n"
"Reactivate connection %d\n"
msgstr ""
"\n"
"Reativar conexão %d\n"

#: src/axel.c:459
msgid "Starting download"
msgstr "Iniciando o download"

#: src/axel.c:469 src/axel.c:652
#, c-format
msgid "Connection %i downloading from %s:%i using interface %s"
msgstr "Conexão %i baixando a partir de %s:%i, usando interface %s"

#: src/axel.c:479 src/axel.c:664
msgid "pthread error!!!"
msgstr "erro de pthread!!!"

#: src/axel.c:525
#, c-format
msgid "Error while waiting for connection: %s"
msgstr "Erro ao esperar por conexão: %s"

#: src/axel.c:557
#, c-format
msgid "Connection %i timed out"
msgstr "Tempo esgotado para a conexão %i"

#: src/axel.c:570
#, c-format
msgid "Error on connection %i! Connection closed"
msgstr "Erro na conexão %i! Conexão fechada."

#: src/axel.c:584
#, c-format
msgid "Connection %i unexpectedly closed"
msgstr "Conexão %i fechada inesperadamente"

#: src/axel.c:588 src/axel.c:604
#, c-format
msgid "Connection %i finished"
msgstr "Conexão %i finalizada"

#: src/axel.c:614
msgid "Write error!"
msgstr "Erro de escrita!"

#: src/axel.c:716
#, c-format
msgid "Error while enforcing throttling: %s"
msgstr "Erro ao aplicar regulagem de velocidade: %s"

#: src/axel.c:901
#, c-format
msgid "Too few bytes remaining, forcing a single connection\n"
msgstr "Muito poucos bytes restantes, forçando uma única conexão\n"

#: src/axel.c:920
#, fuzzy, c-format
msgid "Downloading %jd-%jd using conn. %i\n"
msgstr "Baixando %jd-%jd usando conexão %i\n"

#: src/conf.c:72
#, c-format
msgid "I/O error while reading config file: %s\n"
msgstr "Erro de I/O ao ler arquivo de configuração: %s\n"

#: src/conf.c:90
#, c-format
msgid "Unknown progress bar style \"%s\"\n"
msgstr "Estilo de barra de progresso \"%s\" desconhecido\n"

#: src/conf.c:102
#, c-format
msgid "Unknown protocol \"%s\"\n"
msgstr "Protocolo \"%s\" desconhecido\n"

#: src/conf.c:219
#, c-format
msgid "Requested too many connections, max is %i\n"
msgstr "Demasiadas conexões solicitadas, o máximo é %i\n"

#: src/conf.c:234
#, c-format
msgid "Error in %s line %i.\n"
msgstr "Erro em %s linha %i.\n"

#: src/conf.c:303
#, c-format
msgid "HOME env variable too long\n"
msgstr "Variável HOME muito longa\n"

#: src/conn.c:81
#, c-format
msgid "Unsupported protocol\n"
msgstr "Protocolo não suportado\n"

#: src/conn.c:87
#, c-format
msgid "Secure protocol is not supported\n"
msgstr "Protocolo seguro não suportado\n"

#: src/conn.c:477 src/ftp.c:135
#, c-format
msgid "Too many redirects.\n"
msgstr "Redirecionamentos excessivos.\n"

#: src/conn.c:483
#, c-format
msgid "Redirect loop detected.\n"
msgstr "Ciclo de redirecionamento detectado.\n"

#: src/conn.c:538
msgid "Unknown Error"
msgstr "Erro desconhecido"

#: src/ftp.c:106
#, c-format
msgid "Can't change directory to %s\n"
msgstr "Não consigo ir para o diretório %s\n"

#: src/ftp.c:129 src/ftp.c:189
#, c-format
msgid "File not found.\n"
msgstr "Arquivo não encontrado.\n"

#: src/ftp.c:192
#, c-format
msgid "Multiple matches for this URL.\n"
msgstr "Muitas possibilidades (matches) para esta URL.\n"

#: src/ftp.c:264
#, c-format
msgid "Error opening passive data connection.\n"
msgstr "Erro ao abrir conexão passiva.\n"

#: src/ftp.c:298
#, c-format
msgid "Error writing command %s\n"
msgstr "Erro ao escrever comando %s\n"

#: src/ftp.c:322 src/http.c:252
#, c-format
msgid "Connection gone.\n"
msgstr "Conexão perdida.\n"

#: src/http.c:118
#, c-format
msgid "Invalid proxy string: %s\n"
msgstr "String de proxy inválida: %s\n"

#: src/http.c:240
#, c-format
msgid "Connection gone while writing.\n"
msgstr "Conexão perdida enquanto escrevia no disco.\n"

#: src/text.c:151
#, c-format
msgid ""
"Too many custom headers (-H)! Currently only %u custom headers can be "
"appended.\n"
msgstr ""
"Demasiados cabeçalhos personalizados (-H)! Atualmente apenas %u cabeçalhos "
"personalizados podem ser anexados.\n"

#: src/text.c:227
#, c-format
msgid "Can't redirect stdout to /dev/null.\n"
msgstr "Não posso redirecionar a saída padrão para /dev/null.\n"

#: src/text.c:269
#, c-format
msgid "Error when trying to read URL (Too long?).\n"
msgstr "Erro ao tentar ler a URL (muito longa?).\n"

#: src/text.c:277
#, c-format
msgid "Can't handle URLs of length over %zu\n"
msgstr "Não posso manipular URLs com tamanho superior a %zu\n"

#: src/text.c:284
#, c-format
msgid "Initializing download: %s\n"
msgstr "Inicializando download: %s\n"

#: src/text.c:293
#, c-format
msgid "Doing search...\n"
msgstr "Procurando...\n"

#: src/text.c:296
#, c-format
msgid "File not found\n"
msgstr "Arquivo não encontrado\n"

#: src/text.c:300
#, c-format
msgid "Testing speeds, this can take a while...\n"
msgstr "Testando velocidades. Isso pode demorar um pouco...\n"

#: src/text.c:303
#, c-format
msgid "Speed testing failed\n"
msgstr "Falha no teste de velocidade\n"

#: src/text.c:309
#, c-format
msgid "%i usable servers found, will use these URLs:\n"
msgstr "%i servidores possíveis encontrados. Serão utilizadas essas URLs:\n"

#: src/text.c:312
msgid "Speed"
msgstr "Velocidade"

#: src/text.c:356
#, c-format
msgid "Filename too long!\n"
msgstr "Nome de arquivo muito longo!\n"

#: src/text.c:369
#, c-format
msgid "No state file, cannot resume!\n"
msgstr "Estado do arquivo não encontrado. Não posso reiniciar!\n"

#: src/text.c:373
#, c-format
msgid "State file found, but no downloaded data. Starting from scratch.\n"
msgstr ""
"Estado do arquivo encontrado mas não há dados de download. Iniciando do "
"zero.\n"

#: src/text.c:461
#, c-format
msgid ""
"\n"
"Downloaded %s in %s. (%.2f KB/s)\n"
msgstr ""
"\n"
"Baixados %s em %s. (%.2f KB/s)\n"

#: src/text.c:498
msgid "Kilo"
msgstr "Kilo"

#: src/text.c:498
msgid "Mega"
msgstr "Mega"

#: src/text.c:498
msgid "Giga"
msgstr "Giga"

#: src/text.c:498
msgid "Tera"
msgstr "Tera"

#: src/text.c:504
#, c-format
msgid "%g %sbyte(s)"
msgstr "%g %sbyte(s)"

#: src/text.c:520
#, c-format
msgid "%i:%02i:%02i hour(s)"
msgstr "%i:%02i:%02i hora(s)"

#: src/text.c:522
#, c-format
msgid "%i:%02i minute(s)"
msgstr "%i:%02i minuto(s)"

#: src/text.c:524
#, c-format
msgid "%i second(s)"
msgstr "%i segundo(s)"

#: src/text.c:626
#, c-format
msgid "Can't setup alternate output. Deactivating.\n"
msgstr "Não posso configurar uma saída alternativa. Desativando.\n"

#: src/text.c:689
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"-s x\tSpecify maximum speed (bytes per second)\n"
"-n x\tSpecify maximum number of connections\n"
"-o f\tSpecify local output file\n"
"-S[n]\tSearch for mirrors and download from n servers\n"
"-4\tUse the IPv4 protocol\n"
"-6\tUse the IPv6 protocol\n"
"-H x\tAdd HTTP header string\n"
"-U x\tSet user agent\n"
"-N\tJust don't use any proxy server\n"
"-k\tDon't verify the SSL certificate\n"
"-c\tSkip download if file already exists\n"
"-q\tLeave stdout alone\n"
"-v\tMore status information\n"
"-a\tAlternate progress indicator\n"
"-p\tPrint simple percentages instead of progress bar (0-100)\n"
"-h\tThis information\n"
"-T x\tSet I/O and connection timeout\n"
"-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues\n"
msgstr ""
"Uso: axel [opções] url1 [url2] [url...]\n"
"\n"
"-s x\tEspecificar a velocidade máxima (bytes por segundo)\n"
"-n x\tEspecificar o número máximo de conexões\n"
"-o f\tEspecificar o arquivo de saída\n"
"-S[x]\tProcurar por mirrors e baixa a partir de x servidores\n"
"-4\tConectar usando IPv4\n"
"-6\tConectar usando IPv6\n"
"-H x\tAdicionar uma entrada adicional de cabeçalho\n"
"-U x\tConfigurar um user agent\n"
"-N\tNão utilizar qualquer servidor proxy\n"
"-k\tNão verificar o certificado SSL\n"
"-c\tIgnorar download se o arquivo já existir\n"
"-q\tEvitar mensagens na tela\n"
"-v\tAumentar o número de informações\n"
"-a\tIndicador de progresso alternativo\n"
"-h\tMostrar esta tela de ajuda\n"
"-V\tInformação sobre a versão\n"
"\n"
"Visite https://github.com/axel-download-accelerator/axel/issues\n"

#: src/text.c:712
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tSpecify maximum speed (bytes per second)\n"
"--num-connections=x\t-n x\tSpecify maximum number of connections\n"
"--max-redirect=x\t\tSpecify maximum number of redirections\n"
"--output=f\t\t-o f\tSpecify local output file\n"
"--search[=n]\t\t-S[n]\tSearch for mirrors and download from n servers\n"
"--ipv4\t\t\t-4\tUse the IPv4 protocol\n"
"--ipv6\t\t\t-6\tUse the IPv6 protocol\n"
"--header=x\t\t-H x\tAdd HTTP header string\n"
"--user-agent=x\t\t-U x\tSet user agent\n"
"--no-proxy\t\t-N\tJust don't use any proxy server\n"
"--insecure\t\t-k\tDon't verify the SSL certificate\n"
"--no-clobber\t\t-c\tSkip download if file already exists\n"
"--quiet\t\t\t-q\tLeave stdout alone\n"
"--verbose\t\t-v\tMore status information\n"
"--alternate\t\t-a\tAlternate progress indicator\n"
"--percentage\t\t-p\tPrint simple percentages instead of progress bar "
"(0-100)\n"
"--help\t\t\t-h\tThis information\n"
"--timeout=x\t\t-T x\tSet I/O and connection timeout\n"
"--version\t\t-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues to report "
"bugs\n"
msgstr ""
"Uso: axel [opções] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tEspecificar a velocidade máxima (bytes por segundo)\n"
"--num-connections=x\t-n x\tEspecificar o número máximo de conexões\n"
"--max-redirect=x\t\tEspecificar a quantidade máxima de redirecionamentos\n"
"--output=f\t\t-o f\tEspecificar o arquivo de saída\n"
"--search[=x]\t\t-S[x]\tProcurar por mirrors e baixa a partir de x "
"servidores\n"
"--ipv4\t\t\t-4\tUsar o protocolo IPv4\n"
"--ipv6\t\t\t-6\tUsar o protocolo IPv6\n"
"--header=x\t\t-H x\tAdicionar uma entrada adicional de cabeçalho\n"
"--user-agent=x\t\t-U x\tConfigurar um user agent\n"
"--no-proxy\t\t-N\tNão utilizar qualquer servidor proxy\n"
"--insecure\t\t-k\tNão verificar o certificado SSL\n"
"--no-clobber\t\t-c\tIgnorar o download se o arquivo já existir\n"
"--quiet\t\t\t-q\tEvitar mensagens na tela\n"
"--verbose\t\t-v\tAumentar o número de informações\n"
"--alternate\t\t-a\tIndicador de progresso alternativo\n"
"--help\t\t\t-h\tMostrar esta tela de ajuda\n"
"--version\t\t-V\tInformação sobre a versão\n"
"\n"
"Visite https://github.com/axel-download-accelerator/axel/issues to report "
"bugs\n"

#: src/text.c:741
#, c-format
msgid "Axel %s (%s)\n"
msgstr "Axel %s (%s)\n"

#: src/text.c:755
msgid "and others."
msgstr "e outros."

#: src/text.c:756
msgid ""
"Please, see the CREDITS file.\n"
"\n"
msgstr "Por favor, veja o arquivo CREDITS.\n"

#: src/ssl.c:103
#, c-format
msgid "SSL error: %s\n"
msgstr "Erro SSL: %s\n"

#: src/ssl.c:115
#, c-format
msgid "SSL error: Certificate error\n"
msgstr "Erro SSL: Erro de Certificado\n"

#: src/ssl.c:122
#, c-format
msgid "SSL error: Certificate not found\n"
msgstr "Erro SSL: Certificado não encontrado\n"

#: src/ssl.c:128
#, c-format
msgid "SSL error: Hostname verification failed\n"
msgstr "Erro SSL: Verificação do Hostname falhou\n"

#: src/tcp.c:76
#, c-format
msgid "Unable to connect to server %s:%i: %s\n"
msgstr "Não consigo conectar o servidor %s:%i %s\n"
axel-2.17.13/po/ru.po0000644000175000017500000003476314560423122007717 msgid ""
msgstr ""
"Project-Id-Version: Axel\n"
"Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/"
"issues\n"
"PO-Revision-Date: 2020-11-22 20:26+0100\n"
"Last-Translator: newhren \n"
"Language-Team: Russian \n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: src/axel.c:150
msgid "Buffer resized for this speed."
msgstr "Размер буфера изменен для этой скорости."

#: src/axel.c:179
msgid "Could not parse URL.\n"
msgstr "Невозможно обработать URL.\n"

#: src/axel.c:201
#, c-format
msgid "File '%s' already there; not retrieving.\n"
msgstr "Файл '% s' уже существует; не получить.\n"

#: src/axel.c:206
#, c-format
msgid "Incomplete download found, ignoring no-clobber option\n"
msgstr "Обнаружена неполная загрузка, игнорируется опция no-clobber\n"

#: src/axel.c:223
#, c-format
msgid "ERROR %d: %s.\n"
msgstr ""

#: src/axel.c:237
#, fuzzy, c-format
msgid "File size: %s (%jd bytes)"
msgstr "Размер файла: %s (%jd байтасов)"

#: src/axel.c:240
#, fuzzy
msgid "File size: unavailable"
msgstr "Размер файла: недоступен"

#: src/axel.c:269
#, c-format
msgid "Opening output file %s"
msgstr "Открывается выходной файл %s"

#: src/axel.c:276
msgid "Server unsupported, starting from scratch with one connection."
msgstr "Сервер не поддерживается, начинаем заново с одним соединением."

#: src/axel.c:293
#, c-format
msgid "%s.st: Error, truncated state file\n"
msgstr "%s.st: Ошибка, усеченный файл состояния\n"

#: src/axel.c:301
#, c-format
msgid "Bogus number of connections stored in state file\n"
msgstr "Поддельное количество соединений хранится в файле состояния\n"

#: src/axel.c:313
#, c-format
msgid "State file has old format.\n"
msgstr "Государственный файл имеет старый формат\n"

#: src/axel.c:346
#, fuzzy, c-format
msgid "State file found: %jd bytes downloaded, %jd to go."
msgstr "Найден файл состояния: %jd байта(ов) скачано, %jd осталось."

#: src/axel.c:352 src/axel.c:363
msgid "Error opening local file"
msgstr "Ошибка при открытии локального файла"

#: src/axel.c:376
msgid "Crappy filesystem/OS.. Working around. :-("
msgstr ""
"Ошибки в файловой системе или операционной системе.. Пробуем исправить :-("

#: src/axel.c:389
#, fuzzy
msgid "Error creating local file"
msgstr "Ошибка при открытии локального файла"

#: src/axel.c:430
#, c-format
msgid ""
"\n"
"Reactivate connection %d\n"
msgstr ""
"\n"
"Реактивировать соединение %d\n"

#: src/axel.c:459
msgid "Starting download"
msgstr "Начинаем скачивание"

#: src/axel.c:469 src/axel.c:652
#, c-format
msgid "Connection %i downloading from %s:%i using interface %s"
msgstr "Соединение %i скачивает с %s:%i через интерфейс %s"

#: src/axel.c:479 src/axel.c:664
msgid "pthread error!!!"
msgstr "ошибка pthread!!!"

#: src/axel.c:525
#, fuzzy, c-format
msgid "Error while waiting for connection: %s"
msgstr "Ошибка записи команды %s\n"

#: src/axel.c:557
#, c-format
msgid "Connection %i timed out"
msgstr "Время соединения %i вышло"

#: src/axel.c:570
#, c-format
msgid "Error on connection %i! Connection closed"
msgstr "Ошибка в соединении %i! Соединение закрыто"

#: src/axel.c:584
#, c-format
msgid "Connection %i unexpectedly closed"
msgstr "Соединение %i неожиданно закрылось"

#: src/axel.c:588 src/axel.c:604
#, c-format
msgid "Connection %i finished"
msgstr "Соединение %i закончилось"

#: src/axel.c:614
msgid "Write error!"
msgstr "Ошибка записи!"

#: src/axel.c:716
#, c-format
msgid "Error while enforcing throttling: %s"
msgstr "Ошибка при применении регулирования: %s"

#: src/axel.c:901
#, c-format
msgid "Too few bytes remaining, forcing a single connection\n"
msgstr "Осталось слишком мало байтов, форсируя одно соединение\n"

#: src/axel.c:920
#, fuzzy, c-format
msgid "Downloading %jd-%jd using conn. %i\n"
msgstr "Загрузка %jd-%jd с использованием соединения %i\n"

#: src/conf.c:72
#, c-format
msgid "I/O error while reading config file: %s\n"
msgstr "Ошибка ввода-вывода при чтении файла конфигурации: %s\n"

#: src/conf.c:90
#, fuzzy, c-format
msgid "Unknown progress bar style \"%s\"\n"
msgstr "Неизвестный стиль индикатора выполнения «%s»\n"

#: src/conf.c:102
#, fuzzy, c-format
msgid "Unknown protocol \"%s\"\n"
msgstr "Неизвестный протокол «%s»\n"

#: src/conf.c:219
#, c-format
msgid "Requested too many connections, max is %i\n"
msgstr "Запрошено слишком много соединений, максимум %i\n"

#: src/conf.c:234
#, c-format
msgid "Error in %s line %i.\n"
msgstr "Ошибка в файле %s линия %i.\n"

#: src/conf.c:303
#, c-format
msgid "HOME env variable too long\n"
msgstr "Слишком длинная переменная среды HOME\n"

#: src/conn.c:81
#, c-format
msgid "Unsupported protocol\n"
msgstr "Неподдерживаемый протокол\n"

#: src/conn.c:87
#, c-format
msgid "Secure protocol is not supported\n"
msgstr "Безопасный протокол не поддерживается\n"

#: src/conn.c:477 src/ftp.c:135
#, c-format
msgid "Too many redirects.\n"
msgstr "Слишком много перенаправлений.\n"

#: src/conn.c:483
#, c-format
msgid "Redirect loop detected.\n"
msgstr "Обнаружена петля перенаправления.\n"

#: src/conn.c:538
msgid "Unknown Error"
msgstr ""

#: src/ftp.c:106
#, c-format
msgid "Can't change directory to %s\n"
msgstr "Невозможно сменить директорию на %s\n"

#: src/ftp.c:129 src/ftp.c:189
#, c-format
msgid "File not found.\n"
msgstr "Файл не найден.\n"

#: src/ftp.c:192
#, c-format
msgid "Multiple matches for this URL.\n"
msgstr "Несколько совпадений для этого URL.\n"

#: src/ftp.c:264
#, c-format
msgid "Error opening passive data connection.\n"
msgstr "Ошибка открытия пассивного соединения.\n"

#: src/ftp.c:298
#, c-format
msgid "Error writing command %s\n"
msgstr "Ошибка записи команды %s\n"

#: src/ftp.c:322 src/http.c:252
#, c-format
msgid "Connection gone.\n"
msgstr "Соединение пропало.\n"

#: src/http.c:118
#, c-format
msgid "Invalid proxy string: %s\n"
msgstr "Некорректная стока прокси: %s\n"

#: src/http.c:240
#, fuzzy, c-format
msgid "Connection gone while writing.\n"
msgstr "Соединение пропало.\n"

#: src/text.c:151
#, c-format
msgid ""
"Too many custom headers (-H)! Currently only %u custom headers can be "
"appended.\n"
msgstr ""

#: src/text.c:227
#, c-format
msgid "Can't redirect stdout to /dev/null.\n"
msgstr "Невозможно перенаправить stdout в /dev/null.\n"

#: src/text.c:269
#, c-format
msgid "Error when trying to read URL (Too long?).\n"
msgstr "Ошибка при попытке прочитать URL (слишком долго?).\n"

#: src/text.c:277
#, fuzzy, c-format
msgid "Can't handle URLs of length over %zu\n"
msgstr "URLs длинной больше %zu не поддерживаются\n"

#: src/text.c:284
#, c-format
msgid "Initializing download: %s\n"
msgstr "Начинаю скачивание: %s\n"

#: src/text.c:293
#, c-format
msgid "Doing search...\n"
msgstr "Ищем...\n"

#: src/text.c:296
#, c-format
msgid "File not found\n"
msgstr "Файл не найден\n"

#: src/text.c:300
#, c-format
msgid "Testing speeds, this can take a while...\n"
msgstr "Пробуем скорости, это может занять некоторое время...\n"

#: src/text.c:303
#, c-format
msgid "Speed testing failed\n"
msgstr "Тестирование скорости не удалось\n"

#: src/text.c:309
#, c-format
msgid "%i usable servers found, will use these URLs:\n"
msgstr "Найдено %i полезных серверов, будут использованы следующие URLs:\n"

#: src/text.c:312
msgid "Speed"
msgstr "скорость"

#: src/text.c:356
#, c-format
msgid "Filename too long!\n"
msgstr "Имя файла слишком длинное!\n"

#: src/text.c:369
#, c-format
msgid "No state file, cannot resume!\n"
msgstr "Файл состояния не найден, возобновление невозможно!\n"

#: src/text.c:373
#, c-format
msgid "State file found, but no downloaded data. Starting from scratch.\n"
msgstr ""
"Файл состояния найден, но предварительно скачанные данные отсутствуют. "
"Начинаем заново.\n"

#: src/text.c:461
#, c-format
msgid ""
"\n"
"Downloaded %s in %s. (%.2f KB/s)\n"
msgstr ""
"\n"
"%s скачано за %s. (%.2f КБ/с)\n"

#: src/text.c:498
msgid "Kilo"
msgstr "кило"

#: src/text.c:498
msgid "Mega"
msgstr "мега"

#: src/text.c:498
msgid "Giga"
msgstr "гига"

#: src/text.c:498
msgid "Tera"
msgstr "тера"

#: src/text.c:504
#, c-format
msgid "%g %sbyte(s)"
msgstr "%g %sбайта(ов)"

#: src/text.c:520
#, fuzzy, c-format
msgid "%i:%02i:%02i hour(s)"
msgstr "%i:%02i:%02i секунд(ы)"

#: src/text.c:522
#, fuzzy, c-format
msgid "%i:%02i minute(s)"
msgstr "%i:%02i секунд(ы)"

#: src/text.c:524
#, fuzzy, c-format
msgid "%i second(s)"
msgstr "%i секунд(ы)"

#: src/text.c:626
#, c-format
msgid "Can't setup alternate output. Deactivating.\n"
msgstr "Не могу настроить альтернативный выход. Деактивация.\n"

#: src/text.c:689
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"-s x\tSpecify maximum speed (bytes per second)\n"
"-n x\tSpecify maximum number of connections\n"
"-o f\tSpecify local output file\n"
"-S[n]\tSearch for mirrors and download from n servers\n"
"-4\tUse the IPv4 protocol\n"
"-6\tUse the IPv6 protocol\n"
"-H x\tAdd HTTP header string\n"
"-U x\tSet user agent\n"
"-N\tJust don't use any proxy server\n"
"-k\tDon't verify the SSL certificate\n"
"-c\tSkip download if file already exists\n"
"-q\tLeave stdout alone\n"
"-v\tMore status information\n"
"-a\tAlternate progress indicator\n"
"-p\tPrint simple percentages instead of progress bar (0-100)\n"
"-h\tThis information\n"
"-T x\tSet I/O and connection timeout\n"
"-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues\n"
msgstr ""
"Использование: axel [опции] url1 [url2] [url...]\n"
"\n"
"-s x\tМаксимальная скорость (байт в секунду)\n"
"-n x\tМаксимальное число соединений\n"
"-o f\tЛокальный выходной файл\n"
"-S [x]\tПоискать зеркала и скачивать с x серверов\n"
"-N\tНе использовать прокси-сервера\n"
"-q\tНичего не выводить на stdout\n"
"-v\tБольше информации о статусе\n"
"-a\tАльтернативный индикатор прогресса\n"
"-h\tЭта информация\n"
"-V\tИнформация о версии\n"
"\n"

#: src/text.c:712
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tSpecify maximum speed (bytes per second)\n"
"--num-connections=x\t-n x\tSpecify maximum number of connections\n"
"--max-redirect=x\t\tSpecify maximum number of redirections\n"
"--output=f\t\t-o f\tSpecify local output file\n"
"--search[=n]\t\t-S[n]\tSearch for mirrors and download from n servers\n"
"--ipv4\t\t\t-4\tUse the IPv4 protocol\n"
"--ipv6\t\t\t-6\tUse the IPv6 protocol\n"
"--header=x\t\t-H x\tAdd HTTP header string\n"
"--user-agent=x\t\t-U x\tSet user agent\n"
"--no-proxy\t\t-N\tJust don't use any proxy server\n"
"--insecure\t\t-k\tDon't verify the SSL certificate\n"
"--no-clobber\t\t-c\tSkip download if file already exists\n"
"--quiet\t\t\t-q\tLeave stdout alone\n"
"--verbose\t\t-v\tMore status information\n"
"--alternate\t\t-a\tAlternate progress indicator\n"
"--percentage\t\t-p\tPrint simple percentages instead of progress bar "
"(0-100)\n"
"--help\t\t\t-h\tThis information\n"
"--timeout=x\t\t-T x\tSet I/O and connection timeout\n"
"--version\t\t-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues to report "
"bugs\n"
msgstr ""
"Использование: axel [опции] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tМаксимальная скорость (байт в секунду)\n"
"--num-connections=x\t-n x\tМаксимальное число соединений\n"
"--output=f\t\t-o f\tЛокальный выходной файл\n"
"--search[=x]\t\t-S [x]\tПоискать зеркала и скачивать с x серверов\n"
"--no-proxy\t\t-N\tНе использовать прокси-сервера\n"
"--quiet\t\t\t-q\tНичего не выводить на stdout\n"
"--verbose\t\t-v\tБольше информации о статусе\n"
"--alternate\t\t-a\tАльтернативный индикатор прогресса\n"
"--help\t\t\t-h\tЭта информация\n"
"--version\t\t-V\tИнформация о версии\n"
"\n"

#: src/text.c:741
#, fuzzy, c-format
msgid "Axel %s (%s)\n"
msgstr "Axel %s (%s)\n"

#: src/text.c:755
msgid "and others."
msgstr "и другие."

#: src/text.c:756
msgid ""
"Please, see the CREDITS file.\n"
"\n"
msgstr ""
"Пожалуйста, смотрите файл CREDITS.\n"
"\n"

#: src/ssl.c:103
#, c-format
msgid "SSL error: %s\n"
msgstr "Ошибка SSL: %s\n"

#: src/ssl.c:115
#, c-format
msgid "SSL error: Certificate error\n"
msgstr ""

#: src/ssl.c:122
#, c-format
msgid "SSL error: Certificate not found\n"
msgstr ""

#: src/ssl.c:128
#, c-format
msgid "SSL error: Hostname verification failed\n"
msgstr ""

#: src/tcp.c:76
#, c-format
msgid "Unable to connect to server %s:%i: %s\n"
msgstr "Невозможно подсоединиться к серверу %s:%i %s\n"
axel-2.17.13/po/tr.po0000644000175000017500000003321414560423122007704 # Turkish translation for axel
# Copyright (C) 2021 Ahmet Arda Kavakci 
# This file is distributed under the same license as the axel package.
msgid ""
msgstr ""
"Project-Id-Version: axel 2.17.8\n"
"Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/"
"issues\n"
"PO-Revision-Date: 2021-11-30 15:52+0300\n"
"Last-Translator: Ahmet Arda Kavakci \n"
"Language-Team: Turkish \n"
"Language: tr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"

#: src/axel.c:150
msgid "Buffer resized for this speed."
msgstr "Ara bellek bu hız için yeniden boyutlandırıldı."

#: src/axel.c:179
msgid "Could not parse URL.\n"
msgstr "URL çözümlenemedi.\n"

#: src/axel.c:201
#, c-format
msgid "File '%s' already there; not retrieving.\n"
msgstr "'%s' adlı dosya halihazırda bulunuyor; erişim reddedildi.\n"

#: src/axel.c:206
#, c-format
msgid "Incomplete download found, ignoring no-clobber option\n"
msgstr ""
"Tamamlanmamış indirme bulundu, no-clobber (çakışma önleyici) görmezeden "
"geliniyor\n"

#: src/axel.c:223
#, c-format
msgid "ERROR %d: %s.\n"
msgstr ""

#: src/axel.c:237
#, c-format
msgid "File size: %s (%jd bytes)"
msgstr "Dosya boyutu: %s (%jd bayt)"

#: src/axel.c:240
msgid "File size: unavailable"
msgstr "Dosya boyutu: müsait değil"

#: src/axel.c:269
#, c-format
msgid "Opening output file %s"
msgstr "%s çıktı dosyası oluşturuluyor"

#: src/axel.c:276
msgid "Server unsupported, starting from scratch with one connection."
msgstr "Sunucu desteklenmiyor, tek bağlantı ile baştan başlanıyor."

#: src/axel.c:293
#, c-format
msgid "%s.st: Error, truncated state file\n"
msgstr "%s.st: Hata, eksikli durum dosyası\n"

#: src/axel.c:301
#, c-format
msgid "Bogus number of connections stored in state file\n"
msgstr "Durum dosyasında sahte sayıda bağlantı bulunuyor\n"

#: src/axel.c:313
#, c-format
msgid "State file has old format.\n"
msgstr "Durum dosyası eski biçeme sahip.\n"

#: src/axel.c:346
#, c-format
msgid "State file found: %jd bytes downloaded, %jd to go."
msgstr "Durum dosyası bulundu: %jd bayt indirildi, %jd kaldı."

#: src/axel.c:352 src/axel.c:363
msgid "Error opening local file"
msgstr "Yerel dosyayı açarken hata"

#: src/axel.c:376
msgid "Crappy filesystem/OS.. Working around. :-("
msgstr "Dosya sistemi veya İS berbat durumda.. Bir şeyler deneniyor. :-("

#: src/axel.c:389
msgid "Error creating local file"
msgstr "Yerel dosya oluşturulurken hata"

#: src/axel.c:430
#, c-format
msgid ""
"\n"
"Reactivate connection %d\n"
msgstr ""
"\n"
"%d bağlantısını tekrar çalıştır\n"

#: src/axel.c:459
msgid "Starting download"
msgstr "İndirme başlatılıyor"

#: src/axel.c:469 src/axel.c:652
#, c-format
msgid "Connection %i downloading from %s:%i using interface %s"
msgstr "%i bağlantısı %s:%i konumundan %s arayüzü kullanılarak indiriliyor"

#: src/axel.c:479 src/axel.c:664
msgid "pthread error!!!"
msgstr "pthread hatası!!!"

#: src/axel.c:525
#, c-format
msgid "Error while waiting for connection: %s"
msgstr "Bağlantı beklenirken hata: %s"

#: src/axel.c:557
#, c-format
msgid "Connection %i timed out"
msgstr "%i bağlantısı zaman aşımına uğradı"

#: src/axel.c:570
#, c-format
msgid "Error on connection %i! Connection closed"
msgstr "%i bağlantısında hata! Bağlantı kapatıldı."

#: src/axel.c:584
#, c-format
msgid "Connection %i unexpectedly closed"
msgstr "%i bağlantısı beklenmedik bir şekilde kapatıldı"

#: src/axel.c:588 src/axel.c:604
#, c-format
msgid "Connection %i finished"
msgstr "%i bağlantısı tamamlandı"

#: src/axel.c:614
msgid "Write error!"
msgstr "Yazma hatası!"

#: src/axel.c:716
#, c-format
msgid "Error while enforcing throttling: %s"
msgstr "Kısmaya zorlanırken hata: %s"

#: src/axel.c:901
#, c-format
msgid "Too few bytes remaining, forcing a single connection\n"
msgstr "Geriye çok az bayt kaldığı için tekli bağlantıya zorlanıyor\n"

#: src/axel.c:920
#, fuzzy, c-format
msgid "Downloading %jd-%jd using conn. %i\n"
msgstr "%jd-%jd conn kullanılarak indiriliyor. %i\n"

#: src/conf.c:72
#, c-format
msgid "I/O error while reading config file: %s\n"
msgstr "Yapılandırma dosyası okunurken G/Ç hatası: %s\n"

#: src/conf.c:90
#, fuzzy, c-format
msgid "Unknown progress bar style \"%s\"\n"
msgstr "Bilinmeyen ilerleme çubuğu stili \"%s\"\n"

#: src/conf.c:102
#, fuzzy, c-format
msgid "Unknown protocol \"%s\"\n"
msgstr "Bilinmeyen protokol %s\n"

#: src/conf.c:219
#, c-format
msgid "Requested too many connections, max is %i\n"
msgstr "Çok fazla bağlantı istendi, en fazla %i\n"

#: src/conf.c:234
#, c-format
msgid "Error in %s line %i.\n"
msgstr "%s konumunda, %i. satırda hata.\n"

#: src/conf.c:303
#, c-format
msgid "HOME env variable too long\n"
msgstr "HOME ortam değişkeni çok uzun\n"

#: src/conn.c:81
#, c-format
msgid "Unsupported protocol\n"
msgstr "Desteklenmeyen protokol\n"

#: src/conn.c:87
#, c-format
msgid "Secure protocol is not supported\n"
msgstr "Güvenli protokol desteklenmiyor\n"

#: src/conn.c:477 src/ftp.c:135
#, c-format
msgid "Too many redirects.\n"
msgstr "Çok fazla URL yönlendirmesi.\n"

#: src/conn.c:483
#, c-format
msgid "Redirect loop detected.\n"
msgstr "Yönlendirme döngüsü algılandı.\n"

#: src/conn.c:538
msgid "Unknown Error"
msgstr ""

#: src/ftp.c:106
#, c-format
msgid "Can't change directory to %s\n"
msgstr "Dizin %s dizinine değiştirilemiyor\n"

#: src/ftp.c:129 src/ftp.c:189
#, c-format
msgid "File not found.\n"
msgstr "Dosya bulunamadı.\n"

#: src/ftp.c:192
#, c-format
msgid "Multiple matches for this URL.\n"
msgstr "Bu URL için birden fazla eşleşme var.\n"

#: src/ftp.c:264
#, c-format
msgid "Error opening passive data connection.\n"
msgstr "Pasif veri bağlantısı açılırken hata.\n"

#: src/ftp.c:298
#, c-format
msgid "Error writing command %s\n"
msgstr "Komut yazılırken hata: %s\n"

#: src/ftp.c:322 src/http.c:252
#, c-format
msgid "Connection gone.\n"
msgstr "Bağlantı kayboldu.\n"

#: src/http.c:118
#, c-format
msgid "Invalid proxy string: %s\n"
msgstr "Geçersiz vekil sunucu (proxy) girdisi: %s\n"

#: src/http.c:240
#, c-format
msgid "Connection gone while writing.\n"
msgstr "Yazılırken bağlantı kayboldu.\n"

#: src/text.c:151
#, c-format
msgid ""
"Too many custom headers (-H)! Currently only %u custom headers can be "
"appended.\n"
msgstr ""
"Çok fazla özelleştirilmiş üstbilgi (-H)! Şimdilik sadece %u özel "
"üstbilgileri eklenebilir.\n"

#: src/text.c:227
#, c-format
msgid "Can't redirect stdout to /dev/null.\n"
msgstr "stdout, /dev/null'a yönlendirilemiyor.\n"

#: src/text.c:269
#, c-format
msgid "Error when trying to read URL (Too long?).\n"
msgstr "URL okunurken hata (Çok mu uzun?).\n"

#: src/text.c:277
#, c-format
msgid "Can't handle URLs of length over %zu\n"
msgstr "Uzunluğu %zu karakterden fazla olan URL'ler desteklenmiyor\n"

#: src/text.c:284
#, c-format
msgid "Initializing download: %s\n"
msgstr "İndirme başlatılıyor: %s\n"

#: src/text.c:293
#, c-format
msgid "Doing search...\n"
msgstr "Arama yapılıyor...\n"

#: src/text.c:296
#, c-format
msgid "File not found\n"
msgstr "Dosya bulunamadı\n"

#: src/text.c:300
#, c-format
msgid "Testing speeds, this can take a while...\n"
msgstr "Hızlar test ediliyor. Bu biraz zaman alabilir...\n"

#: src/text.c:303
#, c-format
msgid "Speed testing failed\n"
msgstr "Hız testi başarısız\n"

#: src/text.c:309
#, c-format
msgid "%i usable servers found, will use these URLs:\n"
msgstr "%i adet kullanılabilir sunucu bulundu. Bu URL'ler kullanılacak:\n"

#: src/text.c:312
msgid "Speed"
msgstr "Hız"

#: src/text.c:356
#, c-format
msgid "Filename too long!\n"
msgstr "Dosya ismi çok uzun!\n"

#: src/text.c:369
#, c-format
msgid "No state file, cannot resume!\n"
msgstr "Durum dosyası yok, devam edilemiyor!\n"

#: src/text.c:373
#, c-format
msgid "State file found, but no downloaded data. Starting from scratch.\n"
msgstr ""
"Durum dosyası bulundu, ancak indirilmiş veri yok. İndirmeye baştan "
"başlanıyor.\n"

#: src/text.c:461
#, c-format
msgid ""
"\n"
"Downloaded %s in %s. (%.2f KB/s)\n"
msgstr ""
"\n"
"İndirilen: %s / %s. (%.2f KB/s)\n"

#: src/text.c:498
msgid "Kilo"
msgstr "Kilo"

#: src/text.c:498
msgid "Mega"
msgstr "Mega"

#: src/text.c:498
msgid "Giga"
msgstr "Giga"

#: src/text.c:498
msgid "Tera"
msgstr "Tera"

#: src/text.c:504
#, c-format
msgid "%g %sbyte(s)"
msgstr "%g %sbayt"

#: src/text.c:520
#, c-format
msgid "%i:%02i:%02i hour(s)"
msgstr "%i:%02i:%02i saat"

#: src/text.c:522
#, c-format
msgid "%i:%02i minute(s)"
msgstr "%i:%02i dakika"

#: src/text.c:524
#, c-format
msgid "%i second(s)"
msgstr "%i saniye"

#: src/text.c:626
#, c-format
msgid "Can't setup alternate output. Deactivating.\n"
msgstr "Alternatif çıktı kurulamadı. Devre dışı bırakılıyor.\n"

#: src/text.c:689
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"-s x\tSpecify maximum speed (bytes per second)\n"
"-n x\tSpecify maximum number of connections\n"
"-o f\tSpecify local output file\n"
"-S[n]\tSearch for mirrors and download from n servers\n"
"-4\tUse the IPv4 protocol\n"
"-6\tUse the IPv6 protocol\n"
"-H x\tAdd HTTP header string\n"
"-U x\tSet user agent\n"
"-N\tJust don't use any proxy server\n"
"-k\tDon't verify the SSL certificate\n"
"-c\tSkip download if file already exists\n"
"-q\tLeave stdout alone\n"
"-v\tMore status information\n"
"-a\tAlternate progress indicator\n"
"-p\tPrint simple percentages instead of progress bar (0-100)\n"
"-h\tThis information\n"
"-T x\tSet I/O and connection timeout\n"
"-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues\n"
msgstr ""
"Kullanım: axel [seçenekler] url1 [url2] [url...]\n"
"\n"
"-s x\tMaksimum hızı belirle (bayt/saniye)\n"
"-n x\tMaksimum bağlantı sayısını belirle\n"
"-o f\tYerel çıktı dosyasını belirle\n"
"-S[n]\tYansıma (mirror) ara ve n adet sunucudan indir\n"
"-4\tIPv4 protokolünü kullan\n"
"-6\tIPv6 protokolünü kullan\n"
"-H x\tHTTP üstbilgi girdisi ekle\n"
"-U x\tKullanıcı aracısı (user agent) ayarla\n"
"-N\tTam anlamıyla hiçbir vekil sunucu (proxy) kullanma\n"
"-k\tSSL sertifikasını doğrulama\n"
"-c\tDosya hâlihazırda bulunuyorsa indirmeyi atla.\n"
"-q\tstdout'u yalnız bırak\n"
"-v\tDaha fazla durum bilgisi\n"
"-a\tİlerleme göstergesini değiştir\n"
"-h\tBu mesajı göster\n"
"-T x\tG/Ç ve bağlantı zaman aşımı ayarla\n"
"-V\tSürüm bilgisi\n"
"\n"
"Hata bildirmek için https://github.com/axel-download-accelerator/axel/issues "
"ziyaret edin.\n"

#: src/text.c:712
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tSpecify maximum speed (bytes per second)\n"
"--num-connections=x\t-n x\tSpecify maximum number of connections\n"
"--max-redirect=x\t\tSpecify maximum number of redirections\n"
"--output=f\t\t-o f\tSpecify local output file\n"
"--search[=n]\t\t-S[n]\tSearch for mirrors and download from n servers\n"
"--ipv4\t\t\t-4\tUse the IPv4 protocol\n"
"--ipv6\t\t\t-6\tUse the IPv6 protocol\n"
"--header=x\t\t-H x\tAdd HTTP header string\n"
"--user-agent=x\t\t-U x\tSet user agent\n"
"--no-proxy\t\t-N\tJust don't use any proxy server\n"
"--insecure\t\t-k\tDon't verify the SSL certificate\n"
"--no-clobber\t\t-c\tSkip download if file already exists\n"
"--quiet\t\t\t-q\tLeave stdout alone\n"
"--verbose\t\t-v\tMore status information\n"
"--alternate\t\t-a\tAlternate progress indicator\n"
"--percentage\t\t-p\tPrint simple percentages instead of progress bar "
"(0-100)\n"
"--help\t\t\t-h\tThis information\n"
"--timeout=x\t\t-T x\tSet I/O and connection timeout\n"
"--version\t\t-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues to report "
"bugs\n"
msgstr ""
"Kullanım: axel [seçenekler] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tMaksimum hızı belirle (bayt/saniye)\n"
"--num-connections=x\t-n x\tMaksimum bağlantı sayısını belirle\n"
"--max-redirect=x\t\tMaksimum yönlendirme sayısını belirle\n"
"--output=f\t\t-o f\tYerel çıktı dosyasını belirle\n"
"--search[=n]\t\t-S[n]\tYansıma (mirror) ara ve n adet sunucudan indir\n"
"--ipv4\t\t\t-4\tIPv4 protokolünü kullan\n"
"--ipv6\t\t\t-6\tIPv6 protokolünü kullan\n"
"--header=x\t\t-H x\tHTTP üstbilgi girdisi ekle\n"
"--user-agent=x\t\t-U x\tKullanıcı aracısı (user agent) ayarla\n"
"--no-proxy\t\t-N\tTam anlamıyla hiçbir vekil sunucu (proxy) kullanma\n"
"--insecure\t\t-k\tSSL sertifikasını doğrulama\n"
"--no-clobber\t\t-c\tDosya hâlihazırda bulunuyorsa indirmeyi atla.\n"
"--quiet\t\t\t-q\tstdout'u yalnız bırak\n"
"--verbose\t\t-v\tDaha fazla durum bilgisi\n"
"--alternate\t\t-a\tİlerleme göstergesini değiştir\n"
"--help\t\t\t-h\tBu mesajı göster\n"
"--timeout=x\t\t-T x\tG/Ç ve bağlantı zaman aşımı ayarla\n"
"--version\t\t-V\tSürüm bilgisi\n"
"\n"
"Hata bildirmek için https://github.com/axel-download-accelerator/axel/"
"issuesziyaret edin.\n"

#: src/text.c:741
#, c-format
msgid "Axel %s (%s)\n"
msgstr "Axel %s (%s)\n"

#: src/text.c:755
msgid "and others."
msgstr "ve diğerleri."

#: src/text.c:756
msgid ""
"Please, see the CREDITS file.\n"
"\n"
msgstr ""
"Lütfen CREDITS dosyasına göz atın.\n"
"\n"

#: src/ssl.c:103
#, c-format
msgid "SSL error: %s\n"
msgstr "SSL hatası: %s\n"

#: src/ssl.c:115
#, c-format
msgid "SSL error: Certificate error\n"
msgstr "SSL hatası: Sertifika hatası\n"

#: src/ssl.c:122
#, c-format
msgid "SSL error: Certificate not found\n"
msgstr "SSL hatası: Sertifika bulunamadı\n"

#: src/ssl.c:128
#, c-format
msgid "SSL error: Hostname verification failed\n"
msgstr "SSL hatası: Ana makine adı onaylanamadı\n"

#: src/tcp.c:76
#, c-format
msgid "Unable to connect to server %s:%i: %s\n"
msgstr "Sunucuya bağlanılamadı: %s:%i %s\n"
axel-2.17.13/po/zh_CN.po0000644000175000017500000003144014560423122010257 # Shuge Lee , 2008.
# Jeff Bai , 2016.
msgid ""
msgstr ""
"Project-Id-Version: Axel\n"
"Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/"
"issues\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2020-11-22 20:28+0100\n"
"Last-Translator: WhiredPlanck \n"
"Language-Team: Simplified Chinese \n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Last-Revision: Li Jin \n"
"X-Generator: Poedit 2.4.1\n"

#: src/axel.c:150
msgid "Buffer resized for this speed."
msgstr "为这个速率调整缓冲区大小。"

#: src/axel.c:179
msgid "Could not parse URL.\n"
msgstr "无法解析 URL。\n"

#: src/axel.c:201
#, c-format
msgid "File '%s' already there; not retrieving.\n"
msgstr "文件 '%s' 已存在\n"

#: src/axel.c:206
#, c-format
msgid "Incomplete download found, ignoring no-clobber option\n"
msgstr "发现不完整的下载,忽略 no-clobber 选项\n"

#: src/axel.c:223
#, c-format
msgid "ERROR %d: %s.\n"
msgstr ""

#: src/axel.c:237
#, fuzzy, c-format
msgid "File size: %s (%jd bytes)"
msgstr "文件大小:%s (%jd 字节)"

#: src/axel.c:240
msgid "File size: unavailable"
msgstr "文件大小:不可用"

#: src/axel.c:269
#, c-format
msgid "Opening output file %s"
msgstr "正在打开输出文件 %s"

#: src/axel.c:276
msgid "Server unsupported, starting from scratch with one connection."
msgstr "服务器不支持,使用单个连接从头下载。"

#: src/axel.c:293
#, c-format
msgid "%s.st: Error, truncated state file\n"
msgstr "%s.st: 错误,已清空的状态文件\n"

#: src/axel.c:301
#, c-format
msgid "Bogus number of connections stored in state file\n"
msgstr "状态文件中存储的连接数有误\n"

#: src/axel.c:313
#, c-format
msgid "State file has old format.\n"
msgstr "状态文件版本陈旧\n"

#: src/axel.c:346
#, fuzzy, c-format
msgid "State file found: %jd bytes downloaded, %jd to go."
msgstr "找到状态文件:已下载 %jd 字节,剩余 %jd 字节。"

#: src/axel.c:352 src/axel.c:363
msgid "Error opening local file"
msgstr "无法打开本地文件"

#: src/axel.c:376
msgid "Crappy filesystem/OS.. Working around. :-("
msgstr "文件系统/操作系统不讨喜…… 正在寻求解决方法。:-("

#: src/axel.c:389
msgid "Error creating local file"
msgstr "无法创建本地文件"

#: src/axel.c:430
#, c-format
msgid ""
"\n"
"Reactivate connection %d\n"
msgstr ""
"\n"
"重新激活连接 %d\n"

#: src/axel.c:459
msgid "Starting download"
msgstr "正在开始下载"

#: src/axel.c:469 src/axel.c:652
#, c-format
msgid "Connection %i downloading from %s:%i using interface %s"
msgstr "连接 %1$i 正通过接口 %4$s 从 %2$s:%3$i 下载"

#: src/axel.c:479 src/axel.c:664
msgid "pthread error!!!"
msgstr "pthread 出错啦!!!"

#: src/axel.c:525
#, c-format
msgid "Error while waiting for connection: %s"
msgstr "等待连接 %s 时出错"

#: src/axel.c:557
#, c-format
msgid "Connection %i timed out"
msgstr "连接 %i 超时"

#: src/axel.c:570
#, c-format
msgid "Error on connection %i! Connection closed"
msgstr "连接 %i 出错!连接中断"

#: src/axel.c:584
#, c-format
msgid "Connection %i unexpectedly closed"
msgstr "连接 %i 被异常中断"

#: src/axel.c:588 src/axel.c:604
#, c-format
msgid "Connection %i finished"
msgstr "连接 %i 完成下载"

#: src/axel.c:614
msgid "Write error!"
msgstr "写入错误!"

#: src/axel.c:716
#, c-format
msgid "Error while enforcing throttling: %s"
msgstr "强制调整流量时出错:%s"

#: src/axel.c:901
#, c-format
msgid "Too few bytes remaining, forcing a single connection\n"
msgstr "剩余字节数过小,强制单连接下载\n"

#: src/axel.c:920
#, fuzzy, c-format
msgid "Downloading %jd-%jd using conn. %i\n"
msgstr "使用连接下载 %jd-%jd [%i]\n"

#: src/conf.c:72
#, c-format
msgid "I/O error while reading config file: %s\n"
msgstr "配置文件 I/O 错误:%s\n"

#: src/conf.c:90
#, fuzzy, c-format
msgid "Unknown progress bar style \"%s\"\n"
msgstr "未知的进度条样式 \"%s\"\n"

#: src/conf.c:102
#, fuzzy, c-format
msgid "Unknown protocol \"%s\"\n"
msgstr "未知的协议 \"%s\"\n"

#: src/conf.c:219
#, c-format
msgid "Requested too many connections, max is %i\n"
msgstr "请求连接数过多,最大值为 %i\n"

#: src/conf.c:234
#, c-format
msgid "Error in %s line %i.\n"
msgstr "%s 中第 %i 行出错。\n"

#: src/conf.c:303
#, c-format
msgid "HOME env variable too long\n"
msgstr "HOME 环境变量太长!\n"

#: src/conn.c:81
#, c-format
msgid "Unsupported protocol\n"
msgstr "不支持的协议\n"

#: src/conn.c:87
#, c-format
msgid "Secure protocol is not supported\n"
msgstr "不支持安全协议\n"

#: src/conn.c:477 src/ftp.c:135
#, c-format
msgid "Too many redirects.\n"
msgstr "重定向次数过多。\n"

#: src/conn.c:483
#, c-format
msgid "Redirect loop detected.\n"
msgstr "检测到重定向循环。\n"

#: src/conn.c:538
msgid "Unknown Error"
msgstr "未知错误"

#: src/ftp.c:106
#, c-format
msgid "Can't change directory to %s\n"
msgstr "无法变更目录到 %s\n"

#: src/ftp.c:129 src/ftp.c:189
#, c-format
msgid "File not found.\n"
msgstr "找不到文件。\n"

#: src/ftp.c:192
#, c-format
msgid "Multiple matches for this URL.\n"
msgstr "此 URL 有多个匹配结果。\n"

#: src/ftp.c:264
#, c-format
msgid "Error opening passive data connection.\n"
msgstr "无法打开被动数据连接。\n"

#: src/ftp.c:298
#, c-format
msgid "Error writing command %s\n"
msgstr "写命令 %s 出错\n"

#: src/ftp.c:322 src/http.c:252
#, c-format
msgid "Connection gone.\n"
msgstr "连接已丢失。\n"

#: src/http.c:118
#, c-format
msgid "Invalid proxy string: %s\n"
msgstr "代理字符串无效:%s\n"

#: src/http.c:240
#, c-format
msgid "Connection gone while writing.\n"
msgstr "写入时连接丢失。\n"

#: src/text.c:151
#, c-format
msgid ""
"Too many custom headers (-H)! Currently only %u custom headers can be "
"appended.\n"
msgstr "自定义请求头数过多 (-H)!当前只有 %u 个请求头可被添加。\n"

#: src/text.c:227
#, c-format
msgid "Can't redirect stdout to /dev/null.\n"
msgstr "不能将 stdout 重定向到 /dev/null。\n"

#: src/text.c:269
#, c-format
msgid "Error when trying to read URL (Too long?).\n"
msgstr "尝试读取 URL 时出错(URL 太长?)。\n"

#: src/text.c:277
#, c-format
msgid "Can't handle URLs of length over %zu\n"
msgstr "不能处理长度超过 %zu 的 URL\n"

#: src/text.c:284
#, c-format
msgid "Initializing download: %s\n"
msgstr "正在初始化下载:%s\n"

#: src/text.c:293
#, c-format
msgid "Doing search...\n"
msgstr "正在搜索…\n"

#: src/text.c:296
#, c-format
msgid "File not found\n"
msgstr "找不到文件\n"

#: src/text.c:300
#, c-format
msgid "Testing speeds, this can take a while...\n"
msgstr "正在测试速度,可能需要一些时间…\n"

#: src/text.c:303
#, c-format
msgid "Speed testing failed\n"
msgstr "速度测试失败\n"

#: src/text.c:309
#, c-format
msgid "%i usable servers found, will use these URLs:\n"
msgstr "找到 %i 个可用的服务器,将使用这些 URL:\n"

#: src/text.c:312
msgid "Speed"
msgstr "速度"

#: src/text.c:356
#, c-format
msgid "Filename too long!\n"
msgstr "文件名太长!\n"

#: src/text.c:369
#, c-format
msgid "No state file, cannot resume!\n"
msgstr "没有状态文件,无法恢复下载!\n"

#: src/text.c:373
#, c-format
msgid "State file found, but no downloaded data. Starting from scratch.\n"
msgstr "找到状态文件,但未有下载数据。重新开始下载。\n"

#: src/text.c:461
#, c-format
msgid ""
"\n"
"Downloaded %s in %s. (%.2f KB/s)\n"
msgstr ""
"\n"
"已下载 %s,用时 %s。(%.2f KB/s)\n"

#: src/text.c:498
msgid "Kilo"
msgstr "千"

#: src/text.c:498
msgid "Mega"
msgstr "兆"

#: src/text.c:498
msgid "Giga"
msgstr "吉"

#: src/text.c:498
msgid "Tera"
msgstr "太"

#: src/text.c:504
#, c-format
msgid "%g %sbyte(s)"
msgstr "%g %s字节"

#: src/text.c:520
#, c-format
msgid "%i:%02i:%02i hour(s)"
msgstr "%i 时 %02i 分 %02i 秒"

#: src/text.c:522
#, c-format
msgid "%i:%02i minute(s)"
msgstr "%i 分 %02i 秒"

#: src/text.c:524
#, c-format
msgid "%i second(s)"
msgstr "%i 秒"

#: src/text.c:626
#, c-format
msgid "Can't setup alternate output. Deactivating.\n"
msgstr "无法设置备用输出,进入挂起状态。\n"

#: src/text.c:689
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"-s x\tSpecify maximum speed (bytes per second)\n"
"-n x\tSpecify maximum number of connections\n"
"-o f\tSpecify local output file\n"
"-S[n]\tSearch for mirrors and download from n servers\n"
"-4\tUse the IPv4 protocol\n"
"-6\tUse the IPv6 protocol\n"
"-H x\tAdd HTTP header string\n"
"-U x\tSet user agent\n"
"-N\tJust don't use any proxy server\n"
"-k\tDon't verify the SSL certificate\n"
"-c\tSkip download if file already exists\n"
"-q\tLeave stdout alone\n"
"-v\tMore status information\n"
"-a\tAlternate progress indicator\n"
"-p\tPrint simple percentages instead of progress bar (0-100)\n"
"-h\tThis information\n"
"-T x\tSet I/O and connection timeout\n"
"-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues\n"
msgstr ""
"用法: axel [选项] 地址 1 [地址 2] [地址…]\n"
"\n"
"-s x\t指定最大速率(字节/秒)\n"
"-n x\t指定最大连接数\n"
"-o f\t指定本地输出文件\n"
"-S[n]\t搜索镜像并从 n 个服务器下载\n"
"-4\t使用 IPv4 协议\n"
"-6\t使用 IPv6 协议\n"
"-H x\t添加报头字符串\n"
"-U x\t设置用户代理\n"
"-N\t不使用任何代理服务器\n"
"-k\t不校验 SSL 证书\n"
"-c\t跳过已下载文件\n"
"-q\t使用输出简单信息模式\n"
"-v\t更多状态信息\n"
"-a\t另一种进度指示器\n"
"-h\t帮助信息\n"
"-T x\t设置 I/O 和连接的超时时长\n"
"-V\t版本信息\n"
"\n"
"请前往 https://github.com/axel-download-accelerator/axel/issues 报告问题\n"

#: src/text.c:712
#, fuzzy, c-format
msgid ""
"Usage: axel [options] url1 [url2] [url...]\n"
"\n"
"--max-speed=x\t\t-s x\tSpecify maximum speed (bytes per second)\n"
"--num-connections=x\t-n x\tSpecify maximum number of connections\n"
"--max-redirect=x\t\tSpecify maximum number of redirections\n"
"--output=f\t\t-o f\tSpecify local output file\n"
"--search[=n]\t\t-S[n]\tSearch for mirrors and download from n servers\n"
"--ipv4\t\t\t-4\tUse the IPv4 protocol\n"
"--ipv6\t\t\t-6\tUse the IPv6 protocol\n"
"--header=x\t\t-H x\tAdd HTTP header string\n"
"--user-agent=x\t\t-U x\tSet user agent\n"
"--no-proxy\t\t-N\tJust don't use any proxy server\n"
"--insecure\t\t-k\tDon't verify the SSL certificate\n"
"--no-clobber\t\t-c\tSkip download if file already exists\n"
"--quiet\t\t\t-q\tLeave stdout alone\n"
"--verbose\t\t-v\tMore status information\n"
"--alternate\t\t-a\tAlternate progress indicator\n"
"--percentage\t\t-p\tPrint simple percentages instead of progress bar "
"(0-100)\n"
"--help\t\t\t-h\tThis information\n"
"--timeout=x\t\t-T x\tSet I/O and connection timeout\n"
"--version\t\t-V\tVersion information\n"
"\n"
"Visit https://github.com/axel-download-accelerator/axel/issues to report "
"bugs\n"
msgstr ""
"用法: axel [选项] 地址 1 [地址 2] [地址…]\n"
"\n"
"--max-speed=x\t\t-s x\t指定最大速率(字节/秒)\n"
"--num-connections=x\t-n x\t指定最大连接数\n"
"--maxredirect=x\t-n x\t指定最大重定向次数\n"
"--output=f\t\t-o f\t指定本地输出文件\n"
"--search[=n]\t\t-S [n]\t搜索镜像并从 n 个服务器下载\n"
"--ipv4\t\t\t-4\t使用 IPv4 协议\n"
"--ipv6\t\t\t-6\t使用 IPv6 协议\n"
"--header=x\t\t-H x\t添加报头字符串\n"
"--user-agent=x\t\t-U x\t设置用户代理\n"
"--no-proxy\t\t-N\t不使用任何代理服务器\n"
"--insecure\t\t-k\t不校验 SSL 证书\n"
"--no-clobber\t\t-c\t跳过已下载文件\n"
"--quiet\t\t\t-q\t使用输出简单信息模式\n"
"--verbose\t\t-v\t更多状态信息\n"
"--alternate\t\t-a\t另一种进度指示器\n"
"--help\t\t\t-h\t帮助信息\n"
"--timeout=x\t\t-T x\t设置 I/O 和连接的超时时长\n"
"--version\t\t-V\t版本信息\n"
"\n"
"请前往 https://github.com/axel-download-accelerator/axel/issues 报告问题\n"

#: src/text.c:741
#, c-format
msgid "Axel %s (%s)\n"
msgstr "Axel %s (%s)\n"

#: src/text.c:755
msgid "and others."
msgstr "及其他贡献者。"

#: src/text.c:756
msgid ""
"Please, see the CREDITS file.\n"
"\n"
msgstr ""
"请参阅 CREDITS 文件。\n"
"\n"

#: src/ssl.c:103
#, c-format
msgid "SSL error: %s\n"
msgstr "SSL 错误:%s\n"

#: src/ssl.c:115
#, c-format
msgid "SSL error: Certificate error\n"
msgstr "SSL 错误:证书错误\n"

#: src/ssl.c:122
#, c-format
msgid "SSL error: Certificate not found\n"
msgstr "SSL 错误:证书不存在\n"

#: src/ssl.c:128
#, c-format
msgid "SSL error: Hostname verification failed\n"
msgstr "SSL 错误:主机名验证失败\n"

#: src/tcp.c:76
#, c-format
msgid "Unable to connect to server %s:%i: %s\n"
msgstr "无法连接到服务器 %s:%i:%s\n"
axel-2.17.13/po/de.gmo0000644000175000017500000001623714560423122010021 Qm,",.9hz#
1%0$V,{7!	1	Q	c	*y		#			
)
B
'[
+
$
&

)?O`z(6&A[`e*
.
!L
(n
!
>


A&2h)5Pm&
 I/!y!
:%*<
g=u,&048Am5!$8]v,5'=-U%+&(%%%K-q !.BWq 0#T#l6&79.q:$?=]2Hm;&()6Rr
,HP+8.B<C?60!%Q-"F;&N=O7>4ED$L(:MJ#G/2)1K'IA@3
 59	*
Downloaded %s in %s. (%.2f KB/s)

Reactivate connection %d
%g %sbyte(s)%i second(s)%i usable servers found, will use these URLs:
%i:%02i minute(s)%i:%02i:%02i hour(s)%s.st: Error, truncated state file
Axel %s (%s)
Bogus number of connections stored in state file
Buffer resized for this speed.Can't change directory to %s
Can't handle URLs of length over %zu
Can't redirect stdout to /dev/null.
Can't setup alternate output. Deactivating.
Connection %i downloading from %s:%i using interface %sConnection %i finishedConnection %i timed outConnection %i unexpectedly closedConnection gone while writing.
Connection gone.
Could not parse URL.
Crappy filesystem/OS.. Working around. :-(Doing search...
Downloading %jd-%jd using conn. %i
ERROR %d: %s.
Error creating local fileError in %s line %i.
Error on connection %i! Connection closedError opening local fileError opening passive data connection.
Error when trying to read URL (Too long?).
Error while enforcing throttling: %sError while waiting for connection: %sError writing command %s
File '%s' already there; not retrieving.
File not found
File not found.
File size: %s (%jd bytes)File size: unavailableFilename too long!
GigaHOME env variable too long
I/O error while reading config file: %s
Incomplete download found, ignoring no-clobber option
Initializing download: %s
Invalid proxy string: %s
KiloMegaMultiple matches for this URL.
No state file, cannot resume!
Opening output file %sPlease, see the CREDITS file.

Redirect loop detected.
Requested too many connections, max is %i
SSL error: %s
SSL error: Certificate error
SSL error: Certificate not found
SSL error: Hostname verification failed
Secure protocol is not supported
Server unsupported, starting from scratch with one connection.SpeedSpeed testing failed
Starting downloadState file found, but no downloaded data. Starting from scratch.
State file found: %jd bytes downloaded, %jd to go.State file has old format.
TeraTesting speeds, this can take a while...
Too few bytes remaining, forcing a single connection
Too many custom headers (-H)! Currently only %u custom headers can be appended.
Too many redirects.
Unable to connect to server %s:%i: %s
Unknown ErrorUnknown progress bar style "%s"
Unknown protocol "%s"
Unsupported protocol
Write error!and others.pthread error!!!Project-Id-Version: axel 2.17.8
Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/issues
PO-Revision-Date: 2021-12-20 02:09+0100
Last-Translator: Ismael Luceno 
Language-Team: Deutsch
Language: de
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

%s abgerufen in %s. (%.2f KB/s)

Verbindung %d wieder aktivieren
%g %sbyte(s)%i Sekunde(n)%i benutzbare Server gefunden, werde diese URLs benutzen:
%i:%02i Minute(n)%i:%02i:%02i Stunde(n)%s.st: Fehler, abgeschnittene Statusdatei
Axel %s (%s)
Falsche Anzahl in der Statusdatei gespeicherten Verbindungen
Buffer für diese Geschwindigkeit angepasst.Kann nicht in Verzeichnis %s wechseln
Kann URLs mit mehr als %zu Zeichen nicht nutzen
Kann Standardausgabe nicht nach /dev/null umleiten.
Alternative Ausgabe kann nicht eingerichtet werden. Ausschalten.
Verbindung %i: Abruf von %s:%i über Schnittstelle %sVerbindung %i beendetTime-out bei Verbindung %iVerbindung %i unerwartet getrenntVerbindung verloren beim Schreiben.
Verbindung geschlossen.
Kann URL nicht parsen.
Schlechtes Datei-/Betriebssystem, Umgehung..Suche gestartet...
Herunterladen von %jd-%jd mithilfe der Verbindung %i
FEHLER %d: %s.
Fehler beim Erstellen der lokalen DateiFehler in %s Zeile %i.
Fehler bei Verbindung %i! Verbindung getrenntFehler beim Öffnen der lokalen DateiFehler beim Öffnen der Passiv-Verbindung.
Fehler beim Lesen der URL (Zu lang?).
Fehler beim Erzwingen der Drosselung: %sFehler beim Warten auf Verbindung: %sFehler beim Schreiben des Befehls %s
Datei '%s' bereits vorhanden; nicht abrufen.
Datei nicht gefunden
Datei nicht gefunden.
Dateigröße: %s (%jd bytes)Dateigröße: nicht verfügbarDateiname zu lang!
GigaUmgebungsvariable HOME zu lang!
I/O-Fehler beim Lesen Konfigurationsdatei: %s
Es wurde ein unvollständiger Download gefunden, die No-Clobber-Option wurde ignoriert
Starte Abruf: %s
Ungültige Proxy-Angabe: %s
KiloMegaMehrere Treffer für diese URL.
Keine Status-Datei, Fortsetzung nicht möglich!
Öffne Ausgabedatei: %sBitte sehen Sie die CREDITS-Datei

Umleitungsschleife erkannt.
Zu viele Verbindungen angefordert, das Maximum ist %i
SSL-Fehler: %s
SSL-Fehler: Zertifikatfehler
SSL-Fehler: Zertifikat nicht gefunden
SSL-Fehler: Überprüfung des Hostnames fehlgeschlagen
Das sichere Protokoll wird nicht unterstützt
Server versteht REST nicht, Neustart mit einer Verbindung.GeschwindigkeitGeschwindigkeitstest fehlgeschlagen
Starte AbrufStatus-Datei gefunden, aber noch nichts übertragen. Neustart.
Status-Datei gefunden: %jd bytes übertragen, %jd verbleiben.Statusdatei hat altes Format.
TeraTeste Geschwindigkeiten, das kann etwas dauern...
Es sind zu wenige Bytes übrig, also eine einzelne Verbindung erzwingen
Zu viele benutzerdefinierte Header (-H)! Derzeit können nur %u benutzerdefinierte Header angehängt werden.
Zu viele Weiterleitungen (redirects).
Keine Verbindung mit %s:%i möglich: %s
Unbekannter FehlerUnbekannter Fortschrittsbalken Stil "%s"
Unbekannter Protokoll "%s"
Nicht unterstütztes Protokoll
Schreibfehler!und andere.pthread Fehler!!!axel-2.17.13/po/es.gmo0000644000175000017500000001632114560423122010032 Qm,",.9hz#
1%0$V,{7!	1	Q	c	*y		#			
)
B
'[
+
$
&

)?O`z(6&A[`e*
.
!L
(n
!
>


A&2h)5Pm&
 t/"
?;M)b
D+'23*f<:	!$7$\B$-<X(p*4 "7 Z({"!%>)C3m=)$2N$!4 -%N-t$?	0TDD&4
6?iv,(/:j
,HP+8.B<C?60!%Q-"F;&N=O7>4ED$L(:MJ#G/2)1K'IA@3
 59	*
Downloaded %s in %s. (%.2f KB/s)

Reactivate connection %d
%g %sbyte(s)%i second(s)%i usable servers found, will use these URLs:
%i:%02i minute(s)%i:%02i:%02i hour(s)%s.st: Error, truncated state file
Axel %s (%s)
Bogus number of connections stored in state file
Buffer resized for this speed.Can't change directory to %s
Can't handle URLs of length over %zu
Can't redirect stdout to /dev/null.
Can't setup alternate output. Deactivating.
Connection %i downloading from %s:%i using interface %sConnection %i finishedConnection %i timed outConnection %i unexpectedly closedConnection gone while writing.
Connection gone.
Could not parse URL.
Crappy filesystem/OS.. Working around. :-(Doing search...
Downloading %jd-%jd using conn. %i
ERROR %d: %s.
Error creating local fileError in %s line %i.
Error on connection %i! Connection closedError opening local fileError opening passive data connection.
Error when trying to read URL (Too long?).
Error while enforcing throttling: %sError while waiting for connection: %sError writing command %s
File '%s' already there; not retrieving.
File not found
File not found.
File size: %s (%jd bytes)File size: unavailableFilename too long!
GigaHOME env variable too long
I/O error while reading config file: %s
Incomplete download found, ignoring no-clobber option
Initializing download: %s
Invalid proxy string: %s
KiloMegaMultiple matches for this URL.
No state file, cannot resume!
Opening output file %sPlease, see the CREDITS file.

Redirect loop detected.
Requested too many connections, max is %i
SSL error: %s
SSL error: Certificate error
SSL error: Certificate not found
SSL error: Hostname verification failed
Secure protocol is not supported
Server unsupported, starting from scratch with one connection.SpeedSpeed testing failed
Starting downloadState file found, but no downloaded data. Starting from scratch.
State file found: %jd bytes downloaded, %jd to go.State file has old format.
TeraTesting speeds, this can take a while...
Too few bytes remaining, forcing a single connection
Too many custom headers (-H)! Currently only %u custom headers can be appended.
Too many redirects.
Unable to connect to server %s:%i: %s
Unknown ErrorUnknown progress bar style "%s"
Unknown protocol "%s"
Unsupported protocol
Write error!and others.pthread error!!!Project-Id-Version: axel 2.17.8
Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/issues
PO-Revision-Date: 2021-12-20 02:10+0100
Last-Translator: Ismael Luceno 
Language-Team: Spanish
Language: es
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Plural-Forms: nplurals=2; plural=(n != 1);

Descargado %s en %s. (%.2f KB/s)

Reactivar conexión %d
%g %sbyte(s)%i segundo(s)%i servidores usables encontrados, se utilizarán éstas URLs:
%i:%02i minuto(s)%i:%02i:%02i hora(s)%s.st: Error, archivo de estado truncado
Axel %s (%s)
Número incorrecto de conexiones almacenado en el archivo de estado
Buffer redimensionado para ésta velocidad.No se puede cambiar el directorio a %s
No se pueden manejar URLs de longitud mayor a %zu
No se puede redirigir stdout a /dev/null.
No se puede configurar la salida alternativa. Desactivando.
Conexión %i descargando desde %s:%i usando la interfaz %sConexión %i finalizadaConexión %i caducadaConexión %i cerrada inesperadamenteConexión desaparecida al escribir.
Conexión desaparecida.
No se puede analizar la URL.
Sistema de archivos/SO horrible. Usando solución alternativa. :-(Buscando...
Descargando %jd-%jd usando conn. %i
ERROR %d: %s.
Error creando archivo localError en %s línea %i.
Error en conexión %i! Conexión cerradaError abriendo archivo localError abriendo conexión de datos pasiva.
Error al intentar leer la URL (¿demasiado larga?).
Error al aplicar regulación: %sError al esperar por conexión: %sError escribiendo el comando %s
Archivo '%s' ya existe; no recuperando.
Archivo no encontrado
Archivo no encontrado.
Tamaño de archivo: %s (%jd bytes)Tamaño de archivo: no disponible¡Nombre de archivo demasiado largo!
GigaVariable de entorno HOME demasiado larga
Error de E/S al leer archivo de configuración: %s
Descarga incompleta encontrada, ignorando opción no-clobber
Inicializando descarga: %s
Cadena de proxy inválida: %s
KiloMegaMúltiples coincidencias para ésta URL.
¡No hay archivo de estado, no se puede reanudar!
Abriendo archivo de salida %sPor favor, vea el archivo CREDITS.

Bucle de redirección detectado.
Demasiadas conexiones solicitadas, el máximo es %i
Error de SSL: %s
Error SSL: Error de Certificado
Error SSL: Certificado no encontrado
Error SSL: Verificación de Hostname fallida
Protocolo seguro no está soportado
Servidor no soportado, comenzando desde cero con una conexión.VelocidadFalló la prueba de velocidad
Comenzando descargaArchivo de estado encontrado, pero no hay datos descargados. Comenzando desde cero.
Archivo de estado encontrado: %jd bytes descargados, %jd pendientes.Archivo de estado en formato antiguo.
TeraProbando velocidades, esto puede tomar un tiempo...
Quedan muy pocos bytes, forzando una única conexión
Demasiadas cabeceras personalizadas (-H)! Actualmente sólo %u cabeceras personalizadas pueden anexarse.
Demasiadas redirecciones.
Incapaz de conectarse al servidor %s:%i: %s
Error desconocidoEstilo de barra de progreso «%s» desconocido
Protocolo «%s» desconocido
Protocolo no soportado
Error de escritura!y otros.error de pthread!!!axel-2.17.13/po/id_ID.gmo0000644000175000017500000001320514560423122010371 A$Y,".#2
V1d$,7%]t!*!2L)b'+$&	E	)_						(	6
?
Z
t
y
~




*
8!G>iA4)9c&xyD	&.
U3c,*,;8X
-$Ri&'0
$;`(#.<=k"1B ]~.<	4>YCi%;)0Zgt.*=: !<80,3"	6#7+94A
>5-&)21$'
(@?/%;
Downloaded %s in %s. (%.2f KB/s)

Reactivate connection %d
%g %sbyte(s)%i usable servers found, will use these URLs:
%i:%02i minute(s)%i:%02i:%02i hour(s)%s.st: Error, truncated state file
Axel %s (%s)
Bogus number of connections stored in state file
Buffer resized for this speed.Can't change directory to %s
Can't redirect stdout to /dev/null.
Can't setup alternate output. Deactivating.
Connection %i downloading from %s:%i using interface %sConnection %i finishedConnection %i timed outConnection %i unexpectedly closedConnection gone while writing.
Connection gone.
Could not parse URL.
Crappy filesystem/OS.. Working around. :-(Doing search...
Error creating local fileError in %s line %i.
Error on connection %i! Connection closedError opening local fileError opening passive data connection.
Error when trying to read URL (Too long?).
Error while enforcing throttling: %sError while waiting for connection: %sError writing command %s
File '%s' already there; not retrieving.
File not found
File not found.
Filename too long!
GigaHOME env variable too long
I/O error while reading config file: %s
Incomplete download found, ignoring no-clobber option
Initializing download: %s
Invalid proxy string: %s
KiloMegaMultiple matches for this URL.
No state file, cannot resume!
Opening output file %sPlease, see the CREDITS file.

Redirect loop detected.
Requested too many connections, max is %i
SSL error: %s
Secure protocol is not supported
Server unsupported, starting from scratch with one connection.SpeedSpeed testing failed
Starting downloadState file found, but no downloaded data. Starting from scratch.
State file has old format.
TeraTesting speeds, this can take a while...
Too many redirects.
Unable to connect to server %s:%i: %s
Write error!and others.pthread error!!!Project-Id-Version: axel 2.14.1
Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/issues
PO-Revision-Date: 2020-11-22 20:05+0100
Last-Translator: Mahyuddin  
Language-Team: Indonesian (Indonesia) 
Language: id_ID
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Plural-Forms: nplurals=1; plural=0;
X-Generator: Poedit 1.8.11

Diunduh %s in %s. (%.2f KB/s)

Aktifkan kembali koneksi %d
%g %sbyte(s)%i server yang dapat digunakan ditemukan, akan menggunakan URL ini:
%i:%02i menit(s)%i:%02i:%02i jam(s)%s.st: Galat, bagian berkas terpotong
Axel %s (%s)
Jumlah koneksi palsu tersimpan dalam bagian berkas
Buffer diubah ukurannya untuk kecepatan ini.Tidak dapat mengubah direktori menjadi %s
Tidak bisa mengalihkan stdout ke /dev/null.
Tidak dapat menyiapkan keluaran alternatif. Menonaktifkan.
Sambungan %i diunduh dari %s:%i menggunakan antarmuka %sKoneksi %i selesaiSambungan %i habis waktunyaKoneksi %i tiba-tiba putusKoneksi hilang saat menulis.
Koneksi hilang.
Tidak bisa mengurai URL.
Filesystem/OS jelek.. Bekerja di sekitar. :-(Melakukan pencarian..
Galat membuat berkas lokalGalat di %s baris %i.
Galat pada koneksi %i! Sambungan putusGalat saat membuka berkas lokalGalat saat membuka koneksi data pasif.
Galat saat mencoba membaca URL (Terlalu lama?).
Galat saat menerapkan throttling: %sGalat saat menunggu koneksi: %sGalat menulis perintah %s
Berkas '%s' sudah ada; tidak mengambil.
Berkas tidak ditemukan
Berkas tidak ditemukan.
Nama berkas terlalu panjang!
GigaHOME env variabel terlalu panjang!
Galat I/O saat membaca berkas konfigurasi: %s
Unduhan tidak lengkap ditemukan, mengabaikan opsi no-clobber
Menginisialisasi unduh: %s
String proxy tidak valid: %s
KiloMegaBeberapa kecocokan untuk URL ini.
Tidak ada bagian berkas, tidak bisa melanjutkan!
Membuka berkas keluaran %sSilakan, lihat berkas CREDITS.

Loop pengalihan terdeteksi.
Meminta terlalu banyak koneksi, max adalah %i
SSL galat: %s
Protokol aman tidak didukung
Server tidak didukung, mulai dari dasar dengan satu koneksi.KecepatanPengujian kecepatan gagal
Mulai mengunduhBagian berkas ditemukan, tapi data tidak diunduh. Mulai dari awal.
Bagian berkas memiliki format lama..
TeraMenguji kecepatan, ini bisa memakan waktu beberapa lama...
Terlalu banyak pengalihan.
Tidak bisa terhubung ke server %s:%i: %s
Tulis galat!dan lainnya.pthread galat!!!axel-2.17.13/po/it.gmo0000644000175000017500000001622414560423122010041 Pk".!Pb#w
1%$>,c7!	9	K	*a		#				)
*
'C
+k
$
&

)
'7Hby(6)CHMm*

!4
(V
!
>



A2P)5PU&j
~!u	3&&
M;[+(6.#FRA),5b z1&&72O$'/4-4&b8 'D(I8r;$)$.,S %$/",$O)t'E	4?D:.25&u\,,IdyIHK %*$2E(0PA<J!	"-M?+/N:4.;O
D#731
GC@&,B'96=>F8L)5
Downloaded %s in %s. (%.2f KB/s)

Reactivate connection %d
%g %sbyte(s)%i second(s)%i usable servers found, will use these URLs:
%i:%02i minute(s)%i:%02i:%02i hour(s)%s.st: Error, truncated state file
Axel %s (%s)
Bogus number of connections stored in state file
Buffer resized for this speed.Can't change directory to %s
Can't handle URLs of length over %zu
Can't redirect stdout to /dev/null.
Can't setup alternate output. Deactivating.
Connection %i downloading from %s:%i using interface %sConnection %i finishedConnection %i timed outConnection %i unexpectedly closedConnection gone while writing.
Connection gone.
Could not parse URL.
Crappy filesystem/OS.. Working around. :-(Doing search...
Downloading %jd-%jd using conn. %i
ERROR %d: %s.
Error creating local fileError in %s line %i.
Error on connection %i! Connection closedError opening local fileError opening passive data connection.
Error when trying to read URL (Too long?).
Error while enforcing throttling: %sError while waiting for connection: %sError writing command %s
File '%s' already there; not retrieving.
File not found
File not found.
File size: %s (%jd bytes)File size: unavailableFilename too long!
GigaHOME env variable too long
I/O error while reading config file: %s
Incomplete download found, ignoring no-clobber option
Initializing download: %s
Invalid proxy string: %s
KiloMegaMultiple matches for this URL.
No state file, cannot resume!
Opening output file %sPlease, see the CREDITS file.

Redirect loop detected.
Requested too many connections, max is %i
SSL error: %s
SSL error: Certificate error
SSL error: Certificate not found
SSL error: Hostname verification failed
Secure protocol is not supported
Server unsupported, starting from scratch with one connection.SpeedSpeed testing failed
Starting downloadState file found, but no downloaded data. Starting from scratch.
State file found: %jd bytes downloaded, %jd to go.State file has old format.
TeraTesting speeds, this can take a while...
Too few bytes remaining, forcing a single connection
Too many custom headers (-H)! Currently only %u custom headers can be appended.
Too many redirects.
Unable to connect to server %s:%i: %s
Unknown ErrorUnknown protocol "%s"
Unsupported protocol
Write error!and others.pthread error!!!Project-Id-Version: axel 2.17.8
Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/issues
PO-Revision-Date: 2021-12-20 02:10+0100
Last-Translator: Ismael Luceno 
Language-Team: Italiano (Italia)
Language: it
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Plural-Forms: nplurals=2; plural=(n != 1);

Scaricato %s in %s. (%.2f KB/s)

Riattivando la connessione %d
%g %sbyte%i secondo/i%i server utilizzabili trovati, userò questi URL:
%i:%02i minuto/i%i:%02i:%02i ora/e%s.st: Errore, file di stato troncato
Axel %s (%s)
Numero errato di connessioni memorizzate nel file di stato
Buffer ridimensionato per questa velocità.Impossibile cambiare la directory in %s
Impossibile gestire URL con lunghezza superiore a %zu
Impossibile reindirizzare stdout a /dev/null.
Impossibile impostare barra di progresso alternativo. Disattivazione.
La connessione %i sta scaricando da %s:%i usando l'interfaccia %sConnessione %i terminataConnessione %i scadutaConnessione %i terminata inaspettatamenteConnessione terminata durante la scrittura.
Connessione terminata.
Impossibile interpretare l'URL.
Filesystem/OS scadente.. Raggiro il problema. :-(Ricerca...
Scaricando %jd-%jd usando la conn. %i
ERRORE %d: %s.
Errore nella creazione del file localeErrore in %s linea %i.
Errore nella connessione %i! Connessione terminataErrore nell'apertura del file localeErrore nella connessione passiva dati.
Errore nella lettura dell'URL (Troppo lungo?).
Errore nell'applicazione del limite di velocità: %sErrore durante l'attesa della connessione: %sErrore nella scrittura del comando %s
Il file '%s' è già presente; download non effettuato.
File non trovato
File non trovato.
Dimensione file: %s (%jd byte)Dimensione file: non disponibileNome del file troppo lungo!
GigaVariabile d'ambiente HOME troppo lunga!
Errore I/O nella lettura del file di configurazione: %s
Trovato download incompleto, ignoro l'opzione "no-clobber"
Inizializzazione download: %s
Stringa proxy non valida: %s
KiloMegaPiù corrispondenze per questo URL.
Nessun file di stato, non posso riprendere!
Sto aprendo il file di output %sPer favore, vedere il file CREDITS.

Rilevato ciclo di reindirizzamento.
Richiesto troppe connessioni, il massimo è %i
Errore SSL: %s
Errore SSL: Errore di Certificato
Errore SSL: Certificato non trovato
Errore SSL: Verifica de hostname fallita
Il protocollo sicuro non è supportato
Server non supportato, sto ricominciando da zero con una connessione.VelocitàTest delle velocità fallito
Inizio downloadTrovato file di stato, ma dati non scaricati. Riparto da zero.
Trovato file di stato: %jd byte scaricati, %jd al termine.Il file di stato utilizza il vecchio formato.
TeraTestando le velocità, potrebbe volerci un po'...
Restano pochi byte, forzando una singola connessione
Troppe intestazioni personalizzate (-H)! Attualmente è possibile aggiungere solo %u di intestazioni personalizzate.
Troppi reindirizzamenti.
Impossibile connettersi al server %s:%i: %s
Errore sconosciutoProtocollo "%s" sconosciuto
Protocollo non supportato
Errore di scrittura!e altri.Errore pthread!!!axel-2.17.13/po/ja.gmo0000644000175000017500000001505714560423122010022 @Y".
#"
F1T$,7Md!|*)'Q'j+$)'	7	H	\	(a	6					
 
?
V
v
*

!
>
*0FAX)5&0Wmzb/
3*^emD
A=OH5B>OW+12"d C E1Nw48.4)c\%(#9]Sdk#$)Hry6D.7+=cA@r7+!+II.[0.';7#9:5)0= 	3!4(61
&2*-+/."$
%?>,<@8
Downloaded %s in %s. (%.2f KB/s)

Reactivate connection %d
%g %sbyte(s)%i usable servers found, will use these URLs:
%i:%02i minute(s)%i:%02i:%02i hour(s)%s.st: Error, truncated state file
Axel %s (%s)
Bogus number of connections stored in state file
Buffer resized for this speed.Can't change directory to %s
Can't redirect stdout to /dev/null.
Can't setup alternate output. Deactivating.
Connection %i downloading from %s:%i using interface %sConnection %i finishedConnection %i timed outConnection %i unexpectedly closedConnection gone.
Could not parse URL.
Crappy filesystem/OS.. Working around. :-(Doing search...
ERROR %d: %s.
Error in %s line %i.
Error on connection %i! Connection closedError opening local fileError opening passive data connection.
Error when trying to read URL (Too long?).
Error while enforcing throttling: %sError writing command %s
File '%s' already there; not retrieving.
File not found
File not found.
Filename too long!
GigaI/O error while reading config file: %s
Incomplete download found, ignoring no-clobber option
Initializing download: %s
Invalid proxy string: %s
KiloMegaMultiple matches for this URL.
No state file, cannot resume!
Opening output file %sPlease, see the CREDITS file.

Redirect loop detected.
Requested too many connections, max is %i
SSL error: %s
Secure protocol is not supported
Server unsupported, starting from scratch with one connection.SpeedSpeed testing failed
Starting downloadState file found, but no downloaded data. Starting from scratch.
State file has old format.
TeraTesting speeds, this can take a while...
Too few bytes remaining, forcing a single connection
Too many redirects.
Unable to connect to server %s:%i: %s
Unsupported protocol
Write error!and others.pthread error!!!Project-Id-Version: axel 2.17.8
Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/issues
PO-Revision-Date: 2021-12-20 02:05+0100
Last-Translator: Ismael Luceno 
Language-Team: debian-japanese@lists.debian.org
Language: ja
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

%s を %s にダウンロード。(%.2f KB/s)

接続 %d を再アクティブ化しています
%g %sバイト使用可能なサーバーが %i つ見つかりましたので、以下の URL を使用します:
%i 分 %02i 秒%i 時 %02i 分 %02i 秒%s.st: エラー、状態ファイルが切り捨てられました
Axel %s (%s)
状態ファイルに保存されている接続の偽の数
このスピードに合わせバッファーをリサイズします。ディレクトリーを %s に変更できません
標準出力を /dev/null にリディレクトできません。
代替出力を設定できません。 それを無効に。
接続 %i は %s:%i から、インターフェース %s でダウンロードします接続 %i が終了しました接続 %i がタイムアウトしました接続 %i が不意にクローズされました接続が失われています。
URL を解析できません。
ファイルシステム/OSがイマイチ。回避します。 :-(サーチ中...
エラー %d: %s.
%s の %i 行目でエラー。
接続 %i でエラー! コネクションをクローズしましたローカルファイルをオープンする際にエラー発生しました受動的データー接続の開始でエラー。
URL を読もうとした際に(長すぎ?)エラー。
調整を強制している間のエラー: %sコマンド %s を書く際にエラー
ファイル '%s' はすでに存在します。 だからそれは取得されません。
ファイルが見つかりません
ファイルが見つかりません。
ファイル名が長すぎます!
ギガ構成ファイルの読み取り中に入出力エラーが発生しました: %s
不完全なダウンロードが見つかりましたが、no-clobberオプションは無視されます
ダウンロードを初期化: %s
無効なプロキシストリング: %s
キロメガこの URL には複数のマッチがあります。
状態ファイルがありませんので、再開できません!
出力ファイル %s をオープンしますCREDITS というファイルを見てみましょう

リダイレクションループが検出されました。
要求された接続が多すぎます。最大値は %i です
SSL エラー: %s
セキュアプロトコルはサポートされていません
サポートされていないサーバーなので、単一コネクションを使い最初から始めます。スピードスピードテストに失敗しました
ダウンロード開始します状態ファイルが見つかったけれど、ダウンロードされたデーターが見つかりません。最初から始めます。
状態ファイルは古い形式です。
テラスピードをテスト中、時間がかかるかもしれません...
残りのバイト数が少なすぎて、単一接続が強制される
リディレクト回数が多すぎます。
サーバー %s:%i に接続できません: %s
サポートされていないプロトコル
書き込みエラー!そして他の者。pthread のエラー!!!axel-2.17.13/po/ka.gmo0000644000175000017500000004100614560423122010014 Pk".!Pb#w
1%$>,c7!	9	K	*a		#				)
*
'C
+k
$
&

)
'7Hby(6)CHMm*!
(=
!f
>



A
27j)5P<&Q
xTam=~IPWl|(oE
k^pOml.4aSSV	*`CY>mW5# jY ] _"!|!Z!TZ"M"c"-a#4#9#E#PD$$${+%%K0&L|&&&R&6'F'-(D(%(](aV))a?**>+NT+:++,_z---s..^0Ze0(0D0
	.1Y<:,AA'AHGJ %M*$2D(0@;I!L	"-K>+/N94.:O
C#31
FB?&,A'86<=E7P)5
Downloaded %s in %s. (%.2f KB/s)

Reactivate connection %d
%g %sbyte(s)%i second(s)%i usable servers found, will use these URLs:
%i:%02i minute(s)%i:%02i:%02i hour(s)%s.st: Error, truncated state file
Axel %s (%s)
Bogus number of connections stored in state file
Buffer resized for this speed.Can't change directory to %s
Can't handle URLs of length over %zu
Can't redirect stdout to /dev/null.
Can't setup alternate output. Deactivating.
Connection %i downloading from %s:%i using interface %sConnection %i finishedConnection %i timed outConnection %i unexpectedly closedConnection gone while writing.
Connection gone.
Could not parse URL.
Crappy filesystem/OS.. Working around. :-(Doing search...
Downloading %jd-%jd using conn. %i
ERROR %d: %s.
Error creating local fileError in %s line %i.
Error on connection %i! Connection closedError opening local fileError opening passive data connection.
Error when trying to read URL (Too long?).
Error while enforcing throttling: %sError while waiting for connection: %sError writing command %s
File '%s' already there; not retrieving.
File not found
File not found.
File size: %s (%jd bytes)File size: unavailableFilename too long!
GigaHOME env variable too long
I/O error while reading config file: %s
Incomplete download found, ignoring no-clobber option
Initializing download: %s
Invalid proxy string: %s
KiloMegaMultiple matches for this URL.
No state file, cannot resume!
Opening output file %sPlease, see the CREDITS file.

Requested too many connections, max is %i
SSL error: %s
SSL error: Certificate error
SSL error: Certificate not found
SSL error: Hostname verification failed
Secure protocol is not supported
Server unsupported, starting from scratch with one connection.SpeedSpeed testing failed
Starting downloadState file found, but no downloaded data. Starting from scratch.
State file found: %jd bytes downloaded, %jd to go.State file has old format.
TeraTesting speeds, this can take a while...
Too few bytes remaining, forcing a single connection
Too many custom headers (-H)! Currently only %u custom headers can be appended.
Too many redirects.
Unable to connect to server %s:%i: %s
Unknown ErrorUnsupported protocol
Usage: axel [options] url1 [url2] [url...]

--max-speed=x		-s x	Specify maximum speed (bytes per second)
--num-connections=x	-n x	Specify maximum number of connections
--max-redirect=x		Specify maximum number of redirections
--output=f		-o f	Specify local output file
--search[=n]		-S[n]	Search for mirrors and download from n servers
--ipv4			-4	Use the IPv4 protocol
--ipv6			-6	Use the IPv6 protocol
--header=x		-H x	Add HTTP header string
--user-agent=x		-U x	Set user agent
--no-proxy		-N	Just don't use any proxy server
--insecure		-k	Don't verify the SSL certificate
--no-clobber		-c	Skip download if file already exists
--quiet			-q	Leave stdout alone
--verbose		-v	More status information
--alternate		-a	Alternate progress indicator
--percentage		-p	Print simple percentages instead of progress bar (0-100)
--help			-h	This information
--timeout=x		-T x	Set I/O and connection timeout
--version		-V	Version information

Visit https://github.com/axel-download-accelerator/axel/issues to report bugs
Usage: axel [options] url1 [url2] [url...]

-s x	Specify maximum speed (bytes per second)
-n x	Specify maximum number of connections
-o f	Specify local output file
-S[n]	Search for mirrors and download from n servers
-4	Use the IPv4 protocol
-6	Use the IPv6 protocol
-H x	Add HTTP header string
-U x	Set user agent
-N	Just don't use any proxy server
-k	Don't verify the SSL certificate
-c	Skip download if file already exists
-q	Leave stdout alone
-v	More status information
-a	Alternate progress indicator
-p	Print simple percentages instead of progress bar (0-100)
-h	This information
-T x	Set I/O and connection timeout
-V	Version information

Visit https://github.com/axel-download-accelerator/axel/issues
Write error!and others.pthread error!!!Project-Id-Version: axel
PO-Revision-Date: 
Last-Translator: Temuri Doghonadze 
Language-Team: Georgian <(nothing)>
Language: ka
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Plural-Forms: nplurals=2; plural=(n != 1);
X-Generator: Poedit 3.2.2

გადმოწერილია %s %s-ში. (%.2f კბ/წმ)

კავშირის თავიდან აქტივაცია: %d
%g %sბაიტი%i წამინაპოვნია %i სასარგებლო სერვერი. გამოვიყენებ შემდეგ URL-ებს:
%i:%02i წუთი%i:%02i:%02i საათი%s.st: შეცდომა. მდგომარეობის ფაილი არასრულია
Axel %s (%s)
მდგომარეობის ფაილში დამახსოვრებული მიერთებების რაოდენობა ბუნდოვანია
ბუფერის ზომა ამ სიჩქარისთვის შეიცვლება.საქაღალდის %s-ზე შეცვლა შეუძლებელია
%zu-ზე გრძელი URL-ების დამუშავება შეუძლებელია
შეცდომა stdout-ის /dev/null-ზე გადამისამართებისას.
გამოტანის შეცვლის შეცდომა. დეაქტივაცია.
მიერთება %i ვიწერ %s:%i-დან %s ინტერფეისის გამოყენებითმიერთება %i დასრულდა%i: შეერთების მოლოდინის ვადა ამოიწურამიერთება %i მოულოდნელად დაიხურამიერთება მასში ჩაწერისას გაქრა.
მიერთება გაქრა.
URL-ის დამუშავების შეცდომა
საზიზღარი ფაილური სისტემა/ოს-ი. ვეცდები, რამე ვქნა. :-(ვეძებ...
ვიწერ: %jd-%jd მიერთებებით %i
შეცდომა %d: %s.
ლოკალური ფაილის გახსნის შეცდომაშეცდომა %s-ში, ხაზზე %i.
შეცდომა მიერთებაზე %i! კავშირი დახურულიაშეცდომა ლოკალური ფაილის გახსნისასპასიური მიერთების გახსნის შეცდომა.
შეცდომა URL-ის წაკითხვისას (მეტისმეტად გრძელია?).
შეცდომა ნაძალადევი შეზღუდვისას: %sშეცდომა კავშირის მოლოდინისას: %sბრძანების (%s) ჩაწერის შეცდომა
ფაილი '%s' უკვე გვაქვს; აღარ გადმოვიწერ.
ფაილი ვერ ვიპოვე
ფაილი ვერ მოიძებნა.
ფაილის ზომა: %s (%jd ბაიტი)ფაილის ზომა: მიუწვდომელიაფაილის სახელი ძალიან გრძელია!
გიგაგარემოს ცვლადის HOME მნიშვნელობა მეტისმეტად გრძელია
I/O შეცდომა კონფიგურაციის ფაილის წაკითხვისას: %s
გადმოწერა არასრულია. პარამეტრი no-clobber გამოტოვებულია
გადმოწერის ინიციალიზაცია: %s
პროქსის არასწორი სტრიქონი: %s
კილომეგაამ URL-ს ბევრი დამთხვევა გააჩნია.
მდგომარეობის ფაილი არ არსებობს. გაგრძელება შეუძლებელია!
გამოტანის ფაილის (%s) გახსნაიხილეთ ფაილი CREDITS.

მოთხოვნილია მეტისმეტად ბევრი მიერთება. მაქსიმუმია %i
SSL-ის შეცდომა: %s
SSL-ის შეცდომა: სერტიფიკატის შეცდომა
SSL-ის შეცდომა: სერტიფიკატი ვერ ვიპოვე
SSL-ის შეცდომა: ჰოსტის სახელის გადამოწმების შეცდომა
დაცული პროტოკოლი მხარდაჭერილი არაა
სერვერი მხარდაჭერილი არაა. ვიწყებ ნულიდან, ერთი მიერთებით.სიჩქარესიჩქარის ტესტირების შეცდომა
გადმოწერის დასაწყისიაღმოჩენილია მდგომარეობის ფაილი, მაგრამ არა გადმოწერილი მონაცემები. ვიწყებ ნულიდან.
აღმოჩენილია მდგომარეობის ფაილი: %jd ბაიტი გადმოწერილია, %jd კი დარჩენილი.მდგომარეობის ფაილის ძველი ფორმატი.
ტერასიჩქარის ტესტირება. ამას საკმაო დრო შეიძლება დასჭირდეს...
ძალიან ცოტაღა დარჩა. ერთ მიერთებას ვიტოვებ
ხელით მითითებული თავსართების (-H) რაოდენობა ძალიან დიდია! ამჟამად მხოლოდ %u თავსართი შეგიძლიათ დაუმატოთ.
მეტისმეტად ბევრი გადამისამართება.
სერვერთან (%s:%i) მიერთების შეცდომა: %s
უცნობი შეცდომამხარდაუჭერელი პროტოკოლი
გამოყენება: axel [პარამეტრები] url1 [url2] [url...]

--max-speed=x		-s x	მაქსიმალური სიჩქარის მითითება (ბაიტი წამში)
--num-connections=x	-n x	მიერთებების მაქსიმალური რაოდენობა
--max-redirect=x		გადამისამართებების მაქსიმალური რაოდენობა
--output=f		-o f	ლოკალური გამოტანის ფაილის მითითება
--search[=n]		-S[n]	სარკეების მძებნა და n სარკიდან გადმოწერა
--ipv4			-4	IPv4 პროტოკოლის გამოყენება
--ipv6			-6	IPv6 პროტოკოლის გამოყენება
--header=x		-H x	HTTP თავსართის დამატება
--user-agent=x		-U x	მომხმარებლის აგენტის დაყენება
--no-proxy		-N	პროქსი სერვერის გამოყენების გამორთვა
--insecure		-k	SSL სერტიფიკატის შემოწმების გამორთვა
--no-clobber		-c	გამოტოვება, თუ ფაილი უკვე არსებობს
--quiet			-q	stdout-ზე არაფერი იქნება გამოტანილი
--verbose		-v	მდგომარეობის შესახებ მეტი ინფორმაცია
--alternate		-a	მიმდინარეობის მაჩვენებლის შეცვლა
--percentage		-p	ზოლის მაგიერ პროცენტების დაწერა (0-100)
--help			-h	ეს ინფორმაცია
--timeout=x		-T x	შეტანა/გამოტანისა და მიერთების მოლოდინის ვადის დაყენება
--version		-V	ინფორმაცია ვერსიის შესახებ

შეცდომების შესახებ მოგვწერეთ ბმულზე https://github.com/axel-download-accelerator/axel/issues
გამოყენება: axel [პარამეტრები] url1 [url2] [url...]

-s x	მაქსიმალური სიჩქარის მითითება (ბაიტი წამში)
-n x	მიერთებების მაქსიმალური რაოდენობა
-o f	ლოკალური გამოტანის ფაილის მითითება
-S[n]	სარკეების მძებნა და n სარკიდან გადმოწერა
-4	IPv4 პროტოკოლის გამოყენება
-6	IPv6 პროტოკოლის გამოყენება
-H x	HTTP თავსართის დამატება
-U x	მომხმარებლის აგენტის დაყენება
-N	პროქსი სერვერის გამოყენების გამორთვა
-k	SSL სერტიფიკატის შემოწმების გამორთვა
-c	გამოტოვება, თუ ფაილი უკვე არსებობს
-q	stdout-ზე არაფერი იქნება გამოტანილი
-v	მდგომარეობის შესახებ მეტი ინფორმაცია
-a	მიმდინარეობის მაჩვენებლის შეცვლა
-p	ზოლის მაგიერ პროცენტების დაწერა (0-100)
-h	ეს ინფორმაცია
-T x	შეტანა/გამოტანისა და მიერთების მოლოდინის ვადის დაყენება
-V	ინფორმაცია ვერსიის შესახებ

გვეწვიეთ https://github.com/axel-download-accelerator/axel/issues
ჩაწერის შეცდომა!და სხვები.pthread-ის შეცდომა!!!axel-2.17.13/po/nl.gmo0000644000175000017500000001021214560423122010025 2C<H"Ily.
$	7.f}!**;U)k'&'8Rin>[Am2)	&&	 M	n	{	A	"



<I[
m${#4
"'/Jz7


* 
K
-j
"
'


!2TYm($;SAb:(
'!#Imz2$1.
#0!	,+'(-"*
&/ )%
Downloaded %s in %s. (%.2f KB/s)
%g %sbyte(s)%i second(s)%i usable servers found, will use these URLs:
%i:%02i minute(s)%i:%02i:%02i hour(s)Axel %s (%s)
Buffer resized for this speed.Can't redirect stdout to /dev/null.
Connection %i downloading from %s:%i using interface %sConnection %i finishedConnection %i timed outConnection %i unexpectedly closedConnection gone while writing.
Connection gone.
Could not parse URL.
Crappy filesystem/OS.. Working around. :-(Doing search...
Error creating local fileError in %s line %i.
Error on connection %i! Connection closedError opening local fileError opening passive data connection.
Error while waiting for connection: %sError writing command %s
File not found
File not found.
File size: %s (%jd bytes)File size: unavailableGigaInitializing download: %s
Invalid proxy string: %s
KiloMegaMultiple matches for this URL.
No state file, cannot resume!
Opening output file %sRedirect loop detected.
Server unsupported, starting from scratch with one connection.Starting downloadState file found, but no downloaded data. Starting from scratch.
State file found: %jd bytes downloaded, %jd to go.TeraTesting speeds, this can take a while...
Too many redirects.
Unable to connect to server %s:%i: %s
Unknown progress bar style "%s"
Write error!pthread error!!!Project-Id-Version: Axel
Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/issues
PO-Revision-Date: 2020-11-22 20:21+0100
Last-Translator: Ismael Luceno 
Language-Team: Dutch
Language: nl
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8-bit

%s gedownload in %s. (%.2f KB/s)
%g %sbyte(s)%i seconde(n)%i bruikbare servers gevonden, de volgende worden gebruikt:
%i:%02i minute(n)%i:%02i:%02i urenAxel %s (%s)
Buffer verkleind voor deze snelheid.Fout bij het afsluiten van stdout.
Verbinding %i gebruikt server %s:%i via interface %sVerbinding %i klaarTime-out op verbinding %iVerbinding %i onverwachts geslotenVerbinding is verdwenen tijdens het schrijven.
Verbinding gesloten.
Kan URL niet verwerken.
Niet-fatale fout in OS/bestandssysteem, omheen werken..Zoeken...
Fout bij maken lokaal bestandFout in %s regel %i.
Fout op verbinding %i! Verbinding geslotenFout bij openen lokaal bestandFout bij het openen van een data verbinding.
Fout bij wachten op verbinding: %sFout bij het schrijven van commando %s
Bestand niet gevonden
Bestand niet gevonden.
Bestandsgrootte: %s (%jd bytes)Bestandsgrootte: niet beschikbaarGigaBegin download: %s
Ongeldige proxy string: %s
KiloMegaMeerdere bestanden passen bij deze URL.
Geen .st bestand, kan niet resumen!
Openen uitvoerbestand %sOmleidingslus gedetecteerd.
Server niet ondersteund, opnieuw beginnen met 1 verbinding.Begin download.st bestand gevonden maar geen uitvoerbestand. Opnieuw beginnen.
Statusbestand gevonden: %jd bytes gedownload, %jd te gaan.TeraSnelheden testen, dit kan even duren...
Te veel redirects.
Kan niet verbinden met server %s:%i %s
Onbekende voortgangsbalkstijl "%s"
Schrijffout!pthread fout!!!axel-2.17.13/po/pt_BR.gmo0000644000175000017500000001620614560423122010433 Pk".!Pb#w
1%$>,c7!	9	K	*a					)	
'
+G
$s
&

)
$>Uin(6$)Ih*!
(2
![
>}



A
2,_{)5P1&F
m { w
D!(6
_@m+%596;p;!#!-Es5
&,S q)+ 	;&b{"!1@K/9;#Z%~2
&++ WCx
P@K 4<p$*/!>X	isHGJ$)#1D'/P@;I 	!,M>*.N93-K:O
C"620
FB?%+A&85<=E7L(4
Downloaded %s in %s. (%.2f KB/s)

Reactivate connection %d
%g %sbyte(s)%i second(s)%i usable servers found, will use these URLs:
%i:%02i minute(s)%i:%02i:%02i hour(s)%s.st: Error, truncated state file
Axel %s (%s)
Bogus number of connections stored in state file
Buffer resized for this speed.Can't change directory to %s
Can't handle URLs of length over %zu
Can't redirect stdout to /dev/null.
Can't setup alternate output. Deactivating.
Connection %i downloading from %s:%i using interface %sConnection %i finishedConnection %i timed outConnection %i unexpectedly closedConnection gone while writing.
Connection gone.
Could not parse URL.
Crappy filesystem/OS.. Working around. :-(Doing search...
ERROR %d: %s.
Error creating local fileError in %s line %i.
Error on connection %i! Connection closedError opening local fileError opening passive data connection.
Error when trying to read URL (Too long?).
Error while enforcing throttling: %sError while waiting for connection: %sError writing command %s
File '%s' already there; not retrieving.
File not found
File not found.
File size: %s (%jd bytes)File size: unavailableFilename too long!
GigaHOME env variable too long
I/O error while reading config file: %s
Incomplete download found, ignoring no-clobber option
Initializing download: %s
Invalid proxy string: %s
KiloMegaMultiple matches for this URL.
No state file, cannot resume!
Opening output file %sPlease, see the CREDITS file.

Redirect loop detected.
Requested too many connections, max is %i
SSL error: %s
SSL error: Certificate error
SSL error: Certificate not found
SSL error: Hostname verification failed
Secure protocol is not supported
Server unsupported, starting from scratch with one connection.SpeedSpeed testing failed
Starting downloadState file found, but no downloaded data. Starting from scratch.
State file found: %jd bytes downloaded, %jd to go.State file has old format.
TeraTesting speeds, this can take a while...
Too few bytes remaining, forcing a single connection
Too many custom headers (-H)! Currently only %u custom headers can be appended.
Too many redirects.
Unable to connect to server %s:%i: %s
Unknown ErrorUnknown progress bar style "%s"
Unknown protocol "%s"
Unsupported protocol
Write error!and others.pthread error!!!Project-Id-Version: axel 2.17.8
Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/issues
PO-Revision-Date: 2021-12-20 02:05+0100
Last-Translator: Ismael Luceno 
Language-Team: Brazilian Portuguese
Language: pt_BR
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Plural-Forms: nplurals=2; plural=(n > 1);

Baixados %s em %s. (%.2f KB/s)

Reativar conexão %d
%g %sbyte(s)%i segundo(s)%i servidores possíveis encontrados. Serão utilizadas essas URLs:
%i:%02i minuto(s)%i:%02i:%02i hora(s)%s.st: Erro, estado do arquivo alterado
Axel %s (%s)
Número incorrecto de conexões armazenado no arquivo de estado
Buffer redimensionado para esta velocidade.Não consigo ir para o diretório %s
Não posso manipular URLs com tamanho superior a %zu
Não posso redirecionar a saída padrão para /dev/null.
Não posso configurar uma saída alternativa. Desativando.
Conexão %i baixando a partir de %s:%i, usando interface %sConexão %i finalizadaTempo esgotado para a conexão %iConexão %i fechada inesperadamenteConexão perdida enquanto escrevia no disco.
Conexão perdida.
Não posso analisar esta URL.
Filesystem/SO ruim... Trabalhando em torno disso. :-(Procurando...
ERRO %d: %s.
Erro ao criar o arquivo localErro em %s linha %i.
Erro na conexão %i! Conexão fechada.Erro ao abrir o arquivo localErro ao abrir conexão passiva.
Erro ao tentar ler a URL (muito longa?).
Erro ao aplicar regulagem de velocidade: %sErro ao esperar por conexão: %sErro ao escrever comando %s
Arquivo '%s' já existe; ignorando novo download do mesmo.
Arquivo não encontrado
Arquivo não encontrado.
Tamanho do arquivo: %s (%jd bytes)Tamanho do arquivo: indisponívelNome de arquivo muito longo!
GigaVariável HOME muito longa
Erro de I/O ao ler arquivo de configuração: %s
Encontrado um download incompleto, ignorando opção no-clobber
Inicializando download: %s
String de proxy inválida: %s
KiloMegaMuitas possibilidades (matches) para esta URL.
Estado do arquivo não encontrado. Não posso reiniciar!
Abrindo o arquivo de saída %sPor favor, veja o arquivo CREDITS.
Ciclo de redirecionamento detectado.
Demasiadas conexões solicitadas, o máximo é %i
Erro SSL: %s
Erro SSL: Erro de Certificado
Erro SSL: Certificado não encontrado
Erro SSL: Verificação do Hostname falhou
Protocolo seguro não suportado
Servidor não suportado. Iniciando do zero com apenas uma conexão.VelocidadeFalha no teste de velocidade
Iniciando o downloadEstado do arquivo encontrado mas não há dados de download. Iniciando do zero.
Arquivo de estado encontrado: %jd bytes baixados, %jd restantes.Estado do arquivo foi alterado.
TeraTestando velocidades. Isso pode demorar um pouco...
Muito poucos bytes restantes, forçando uma única conexão
Demasiados cabeçalhos personalizados (-H)! Atualmente apenas %u cabeçalhos personalizados podem ser anexados.
Redirecionamentos excessivos.
Não consigo conectar o servidor %s:%i %s
Erro desconhecidoEstilo de barra de progresso "%s" desconhecido
Protocolo "%s" desconhecido
Protocolo não suportado
Erro de escrita!e outros.erro de pthread!!!axel-2.17.13/po/ru.gmo0000644000175000017500000001575114560423122010057 =S8"9\w.#1	($F,k7!!3*It)'+$2W)q(6	Q	l							
*
J
!Y
>{



A
*F)K5u&
G'+o
6

r
D[qJA]EbTH.-?%:/`-$LRDIX.G,C@\1yCagZ(5!*?3`s3:@CWHs;>%%Ma f:M$2r)7*1#%$3!986&2,0<5=-"':/ +
(4;
.	
Downloaded %s in %s. (%.2f KB/s)

Reactivate connection %d
%g %sbyte(s)%i usable servers found, will use these URLs:
%s.st: Error, truncated state file
Bogus number of connections stored in state file
Buffer resized for this speed.Can't change directory to %s
Can't redirect stdout to /dev/null.
Can't setup alternate output. Deactivating.
Connection %i downloading from %s:%i using interface %sConnection %i finishedConnection %i timed outConnection %i unexpectedly closedConnection gone.
Could not parse URL.
Crappy filesystem/OS.. Working around. :-(Doing search...
Error in %s line %i.
Error on connection %i! Connection closedError opening local fileError opening passive data connection.
Error when trying to read URL (Too long?).
Error while enforcing throttling: %sError writing command %s
File '%s' already there; not retrieving.
File not found
File not found.
Filename too long!
GigaHOME env variable too long
I/O error while reading config file: %s
Incomplete download found, ignoring no-clobber option
Initializing download: %s
Invalid proxy string: %s
KiloMegaMultiple matches for this URL.
No state file, cannot resume!
Opening output file %sPlease, see the CREDITS file.

Redirect loop detected.
Requested too many connections, max is %i
SSL error: %s
Secure protocol is not supported
Server unsupported, starting from scratch with one connection.SpeedSpeed testing failed
Starting downloadState file found, but no downloaded data. Starting from scratch.
State file has old format.
TeraTesting speeds, this can take a while...
Too few bytes remaining, forcing a single connection
Too many redirects.
Unable to connect to server %s:%i: %s
Unsupported protocol
Write error!and others.pthread error!!!Project-Id-Version: Axel
Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/issues
PO-Revision-Date: 2020-11-22 20:26+0100
Last-Translator: newhren 
Language-Team: Russian 
Language: ru
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

%s скачано за %s. (%.2f КБ/с)

Реактивировать соединение %d
%g %sбайта(ов)Найдено %i полезных серверов, будут использованы следующие URLs:
%s.st: Ошибка, усеченный файл состояния
Поддельное количество соединений хранится в файле состояния
Размер буфера изменен для этой скорости.Невозможно сменить директорию на %s
Невозможно перенаправить stdout в /dev/null.
Не могу настроить альтернативный выход. Деактивация.
Соединение %i скачивает с %s:%i через интерфейс %sСоединение %i закончилосьВремя соединения %i вышлоСоединение %i неожиданно закрылосьСоединение пропало.
Невозможно обработать URL.
Ошибки в файловой системе или операционной системе.. Пробуем исправить :-(Ищем...
Ошибка в файле %s линия %i.
Ошибка в соединении %i! Соединение закрытоОшибка при открытии локального файлаОшибка открытия пассивного соединения.
Ошибка при попытке прочитать URL (слишком долго?).
Ошибка при применении регулирования: %sОшибка записи команды %s
Файл '% s' уже существует; не получить.
Файл не найден
Файл не найден.
Имя файла слишком длинное!
гигаСлишком длинная переменная среды HOME
Ошибка ввода-вывода при чтении файла конфигурации: %s
Обнаружена неполная загрузка, игнорируется опция no-clobber
Начинаю скачивание: %s
Некорректная стока прокси: %s
киломегаНесколько совпадений для этого URL.
Файл состояния не найден, возобновление невозможно!
Открывается выходной файл %sПожалуйста, смотрите файл CREDITS.

Обнаружена петля перенаправления.
Запрошено слишком много соединений, максимум %i
Ошибка SSL: %s
Безопасный протокол не поддерживается
Сервер не поддерживается, начинаем заново с одним соединением.скоростьТестирование скорости не удалось
Начинаем скачиваниеФайл состояния найден, но предварительно скачанные данные отсутствуют. Начинаем заново.
Государственный файл имеет старый формат
тераПробуем скорости, это может занять некоторое время...
Осталось слишком мало байтов, форсируя одно соединение
Слишком много перенаправлений.
Невозможно подсоединиться к серверу %s:%i %s
Неподдерживаемый протокол
Ошибка записи!и другие.ошибка pthread!!!axel-2.17.13/po/tr.gmo0000644000175000017500000001562114560423122010052 L|ep"q.
#
C1Q%$,78p!*		4	E	_	)u		'	+	$
&1
X
)r





(#6L8*Q|!(!>
U
[
q
A
2

)5CPy&)5F")		B)l{$
54%+<Q(?H@*]5"BQ g!1,$&Kj=(E\!a3Y+/[`)e&#(%+)Uf#+!?8=VUo7#!2&DYc$"G`o~7H(	
;&%)*EB>L?G+#"J6.@,19F0'<C=A85:! 3I-4$2
/KD
Downloaded %s in %s. (%.2f KB/s)

Reactivate connection %d
%g %sbyte(s)%i second(s)%i usable servers found, will use these URLs:
%i:%02i minute(s)%i:%02i:%02i hour(s)%s.st: Error, truncated state file
Axel %s (%s)
Bogus number of connections stored in state file
Buffer resized for this speed.Can't change directory to %s
Can't handle URLs of length over %zu
Can't redirect stdout to /dev/null.
Can't setup alternate output. Deactivating.
Connection %i downloading from %s:%i using interface %sConnection %i finishedConnection %i timed outConnection %i unexpectedly closedConnection gone while writing.
Connection gone.
Could not parse URL.
Crappy filesystem/OS.. Working around. :-(Doing search...
Error creating local fileError in %s line %i.
Error on connection %i! Connection closedError opening local fileError opening passive data connection.
Error when trying to read URL (Too long?).
Error while enforcing throttling: %sError while waiting for connection: %sError writing command %s
File '%s' already there; not retrieving.
File not found
File not found.
File size: %s (%jd bytes)File size: unavailableFilename too long!
GigaHOME env variable too long
I/O error while reading config file: %s
Incomplete download found, ignoring no-clobber option
Initializing download: %s
Invalid proxy string: %s
KiloMegaMultiple matches for this URL.
No state file, cannot resume!
Opening output file %sPlease, see the CREDITS file.

Redirect loop detected.
Requested too many connections, max is %i
SSL error: %s
SSL error: Certificate error
SSL error: Certificate not found
SSL error: Hostname verification failed
Secure protocol is not supported
Server unsupported, starting from scratch with one connection.SpeedSpeed testing failed
Starting downloadState file found, but no downloaded data. Starting from scratch.
State file found: %jd bytes downloaded, %jd to go.State file has old format.
TeraTesting speeds, this can take a while...
Too few bytes remaining, forcing a single connection
Too many custom headers (-H)! Currently only %u custom headers can be appended.
Too many redirects.
Unable to connect to server %s:%i: %s
Unsupported protocol
Write error!and others.pthread error!!!Project-Id-Version: axel 2.17.8
Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/issues
PO-Revision-Date: 2021-11-30 15:52+0300
Last-Translator: Ahmet Arda Kavakci 
Language-Team: Turkish 
Language: tr
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Plural-Forms: nplurals=2; plural=(n > 1);

İndirilen: %s / %s. (%.2f KB/s)

%d bağlantısını tekrar çalıştır
%g %sbayt%i saniye%i adet kullanılabilir sunucu bulundu. Bu URL'ler kullanılacak:
%i:%02i dakika%i:%02i:%02i saat%s.st: Hata, eksikli durum dosyası
Axel %s (%s)
Durum dosyasında sahte sayıda bağlantı bulunuyor
Ara bellek bu hız için yeniden boyutlandırıldı.Dizin %s dizinine değiştirilemiyor
Uzunluğu %zu karakterden fazla olan URL'ler desteklenmiyor
stdout, /dev/null'a yönlendirilemiyor.
Alternatif çıktı kurulamadı. Devre dışı bırakılıyor.
%i bağlantısı %s:%i konumundan %s arayüzü kullanılarak indiriliyor%i bağlantısı tamamlandı%i bağlantısı zaman aşımına uğradı%i bağlantısı beklenmedik bir şekilde kapatıldıYazılırken bağlantı kayboldu.
Bağlantı kayboldu.
URL çözümlenemedi.
Dosya sistemi veya İS berbat durumda.. Bir şeyler deneniyor. :-(Arama yapılıyor...
Yerel dosya oluşturulurken hata%s konumunda, %i. satırda hata.
%i bağlantısında hata! Bağlantı kapatıldı.Yerel dosyayı açarken hataPasif veri bağlantısı açılırken hata.
URL okunurken hata (Çok mu uzun?).
Kısmaya zorlanırken hata: %sBağlantı beklenirken hata: %sKomut yazılırken hata: %s
'%s' adlı dosya halihazırda bulunuyor; erişim reddedildi.
Dosya bulunamadı
Dosya bulunamadı.
Dosya boyutu: %s (%jd bayt)Dosya boyutu: müsait değilDosya ismi çok uzun!
GigaHOME ortam değişkeni çok uzun
Yapılandırma dosyası okunurken G/Ç hatası: %s
Tamamlanmamış indirme bulundu, no-clobber (çakışma önleyici) görmezeden geliniyor
İndirme başlatılıyor: %s
Geçersiz vekil sunucu (proxy) girdisi: %s
KiloMegaBu URL için birden fazla eşleşme var.
Durum dosyası yok, devam edilemiyor!
%s çıktı dosyası oluşturuluyorLütfen CREDITS dosyasına göz atın.

Yönlendirme döngüsü algılandı.
Çok fazla bağlantı istendi, en fazla %i
SSL hatası: %s
SSL hatası: Sertifika hatası
SSL hatası: Sertifika bulunamadı
SSL hatası: Ana makine adı onaylanamadı
Güvenli protokol desteklenmiyor
Sunucu desteklenmiyor, tek bağlantı ile baştan başlanıyor.HızHız testi başarısız
İndirme başlatılıyorDurum dosyası bulundu, ancak indirilmiş veri yok. İndirmeye baştan başlanıyor.
Durum dosyası bulundu: %jd bayt indirildi, %jd kaldı.Durum dosyası eski biçeme sahip.
TeraHızlar test ediliyor. Bu biraz zaman alabilir...
Geriye çok az bayt kaldığı için tekli bağlantıya zorlanıyor
Çok fazla özelleştirilmiş üstbilgi (-H)! Şimdilik sadece %u özel üstbilgileri eklenebilir.
Çok fazla URL yönlendirmesi.
Sunucuya bağlanılamadı: %s:%i %s
Desteklenmeyen protokol
Yazma hatası!ve diğerleri.pthread hatası!!!axel-2.17.13/po/zh_CN.gmo0000644000175000017500000001447014560423122010427 Kte`"a.#
31As%$,7(`w!*$	5	O	)e		'	+	$	&!
H
)b






(
6"Yt*'Ra!(!>+
1
G
AY


)
5
Pm&
,9:J)c
('%+,1X50GE"1. `94W!+6T(q#6V]qC1.OG$6F'	
:;%()C@=K>E*#"I5-?+08D/&A<749! 2H,3$1
.JGB
Downloaded %s in %s. (%.2f KB/s)

Reactivate connection %d
%g %sbyte(s)%i second(s)%i usable servers found, will use these URLs:
%i:%02i minute(s)%i:%02i:%02i hour(s)%s.st: Error, truncated state file
Axel %s (%s)
Bogus number of connections stored in state file
Buffer resized for this speed.Can't change directory to %s
Can't handle URLs of length over %zu
Can't redirect stdout to /dev/null.
Can't setup alternate output. Deactivating.
Connection %i downloading from %s:%i using interface %sConnection %i finishedConnection %i timed outConnection %i unexpectedly closedConnection gone while writing.
Connection gone.
Could not parse URL.
Crappy filesystem/OS.. Working around. :-(Doing search...
Error creating local fileError in %s line %i.
Error on connection %i! Connection closedError opening local fileError opening passive data connection.
Error when trying to read URL (Too long?).
Error while enforcing throttling: %sError while waiting for connection: %sError writing command %s
File '%s' already there; not retrieving.
File not found
File not found.
File size: unavailableFilename too long!
GigaHOME env variable too long
I/O error while reading config file: %s
Incomplete download found, ignoring no-clobber option
Initializing download: %s
Invalid proxy string: %s
KiloMegaMultiple matches for this URL.
No state file, cannot resume!
Opening output file %sPlease, see the CREDITS file.

Redirect loop detected.
Requested too many connections, max is %i
SSL error: %s
SSL error: Certificate error
SSL error: Certificate not found
SSL error: Hostname verification failed
Secure protocol is not supported
Server unsupported, starting from scratch with one connection.SpeedSpeed testing failed
Starting downloadState file found, but no downloaded data. Starting from scratch.
State file has old format.
TeraTesting speeds, this can take a while...
Too few bytes remaining, forcing a single connection
Too many custom headers (-H)! Currently only %u custom headers can be appended.
Too many redirects.
Unable to connect to server %s:%i: %s
Unknown ErrorUnsupported protocol
Write error!and others.pthread error!!!Project-Id-Version: Axel
Report-Msgid-Bugs-To: https://github.com/axel-download-accelerator/axel/issues
PO-Revision-Date: 2020-11-22 20:28+0100
Last-Translator: WhiredPlanck 
Language-Team: Simplified Chinese 
Language: zh_CN
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Last-Revision: Li Jin 
X-Generator: Poedit 2.4.1

已下载 %s,用时 %s。(%.2f KB/s)

重新激活连接 %d
%g %s字节%i 秒找到 %i 个可用的服务器,将使用这些 URL:
%i 分 %02i 秒%i 时 %02i 分 %02i 秒%s.st: 错误,已清空的状态文件
Axel %s (%s)
状态文件中存储的连接数有误
为这个速率调整缓冲区大小。无法变更目录到 %s
不能处理长度超过 %zu 的 URL
不能将 stdout 重定向到 /dev/null。
无法设置备用输出,进入挂起状态。
连接 %1$i 正通过接口 %4$s 从 %2$s:%3$i 下载连接 %i 完成下载连接 %i 超时连接 %i 被异常中断写入时连接丢失。
连接已丢失。
无法解析 URL。
文件系统/操作系统不讨喜…… 正在寻求解决方法。:-(正在搜索…
无法创建本地文件%s 中第 %i 行出错。
连接 %i 出错!连接中断无法打开本地文件无法打开被动数据连接。
尝试读取 URL 时出错(URL 太长?)。
强制调整流量时出错:%s等待连接 %s 时出错写命令 %s 出错
文件 '%s' 已存在
找不到文件
找不到文件。
文件大小:不可用文件名太长!
吉HOME 环境变量太长!
配置文件 I/O 错误:%s
发现不完整的下载,忽略 no-clobber 选项
正在初始化下载:%s
代理字符串无效:%s
千兆此 URL 有多个匹配结果。
没有状态文件,无法恢复下载!
正在打开输出文件 %s请参阅 CREDITS 文件。

检测到重定向循环。
请求连接数过多,最大值为 %i
SSL 错误:%s
SSL 错误:证书错误
SSL 错误:证书不存在
SSL 错误:主机名验证失败
不支持安全协议
服务器不支持,使用单个连接从头下载。速度速度测试失败
正在开始下载找到状态文件,但未有下载数据。重新开始下载。
状态文件版本陈旧
太正在测试速度,可能需要一些时间…
剩余字节数过小,强制单连接下载
自定义请求头数过多 (-H)!当前只有 %u 个请求头可被添加。
重定向次数过多。
无法连接到服务器 %s:%i:%s
未知错误不支持的协议
写入错误!及其他贡献者。pthread 出错啦!!!axel-2.17.13/po/LINGUAS0000644000175000017500000000005214560423122007736 de es id_ID it ja ka nl pt_BR ru tr zh_CN