Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tmux to 3.2 #6625

Merged
merged 2 commits into from
Apr 13, 2021
Merged

Update tmux to 3.2 #6625

merged 2 commits into from
Apr 13, 2021

Conversation

pschmitt
Copy link
Contributor

tmux 3.2 has been released a few hours ago

I'm by no means an autotools expert, so I really don't know how sane my patch for configure.ac is.
The resulting package builds and runs fine on my Android 11 devices.

@Grimler91
Copy link
Member

What error did you get in config.log without the configure.ac patch? Instead of removing the configure check we can probably bypass it by passing an ac_cv_reallocarray=yes (or something like that, it is defined in config.log) as a configure arg.

That would mean one less patch to maintain so it is desirable.

@pschmitt
Copy link
Contributor Author

@Grimler91

Here's the output from ./build-package.sh -f tmux without the reallocarray patch:

[...]
checking for strtonum... no
checking for working strnlen... yes
checking for working reallocarray... configure: error: in `/home/builder/.termux-build/tmux/src':
configure: error: cannot run test program while cross compiling
See `config.log' for more details
Complete log below
Building dependency libandroid-glob if necessary...
libandroid-glob@0.6-2 built - skipping (rm /data/data/.built-packages/libandroid-glob to force rebuild)
Building dependency libandroid-support if necessary...
libandroid-support@28 built - skipping (rm /data/data/.built-packages/libandroid-support to force rebuild)
Building dependency libevent if necessary...
libevent@2.1.12 built - skipping (rm /data/data/.built-packages/libevent to force rebuild)
Building dependency ncurses if necessary...
ncurses@6.2.20200725-2 built - skipping (rm /data/data/.built-packages/ncurses to force rebuild)
termux - building tmux for arch aarch64...
Applying patch: compat-imsg.c.patch
Applying patch: compat-setproctitle.c.patch
Applying patch: configure.ac.patch
Applying patch: socket-path.patch
configure.ac:45: installing 'etc/compile'
configure.ac:10: installing 'etc/config.guess'
configure.ac:10: installing 'etc/config.sub'
configure.ac:8: installing 'etc/install-sh'
configure.ac:8: installing 'etc/missing'
Makefile.am: installing 'etc/depcomp'
configure.ac: installing 'etc/ylwrap'
configure: WARNING: unrecognized options: --disable-rpath, --disable-rpath-hack, --disable-nls, --enable-shared
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for aarch64-linux-android-strip... aarch64-linux-android-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... aarch64-unknown-linux-android
checking for aarch64-linux-android-gcc... aarch64-linux-android-clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether aarch64-linux-android-clang accepts -g... yes
checking for aarch64-linux-android-clang option to accept ISO C89... none needed
checking whether aarch64-linux-android-clang understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of aarch64-linux-android-clang... none
checking for aarch64-linux-android-clang option to accept ISO C99... none needed
checking how to run the C preprocessor... aarch64-linux-android-cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for bison... bison -y
checking pkg-config is at least version 0.9.0... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking bitstring.h usability... no
checking bitstring.h presence... no
checking for bitstring.h... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking libproc.h usability... no
checking libproc.h presence... no
checking for libproc.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking for stdint.h... (cached) yes
checking sys/dir.h usability... no
checking sys/dir.h presence... no
checking for sys/dir.h... no
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/tree.h usability... no
checking sys/tree.h presence... no
checking for sys/tree.h... no
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking for library containing sys_signame... none required
checking for fmod in -lm... yes
checking for library containing flock... none required
checking for dirfd... yes
checking for flock... yes
checking for prctl... yes
checking for proc_pidinfo... no
checking for sysconf... yes
checking for asprintf... yes
checking for cfmakeraw... yes
checking for clock_gettime... yes
checking for closefrom... no
checking for explicit_bzero... no
checking for fgetln... yes
checking for freezero... no
checking for getdtablecount... no
checking for getdtablesize... no
checking for getline... yes
checking for getprogname... yes
checking for memmem... yes
checking for setenv... yes
checking for setproctitle... no
checking for strcasestr... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strndup... yes
checking for strsep... yes
checking for strtonum... no
checking for working strnlen... yes
checking for working reallocarray... configure: error: in `/home/builder/.termux-build/tmux/src':
configure: error: cannot run test program while cross compiling
See `config.log' for more details

@pschmitt
Copy link
Contributor Author

Oh you wanted the config.log..!

Here it is
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by tmux configure 3.2, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ /home/builder/.termux-build/tmux/src/configure --disable-dependency-tracking --prefix=/data/data/com.termux/files/usr --libdir=/data/data/com.termux/files/usr/lib --sbindir=/data/data/com.termux/files/usr/bin --disable-rpath --disable-rpath-hack --host=aarch64-linux-android --disable-static --disable-nls --enable-shared --libexecdir=/data/data/com.termux/files/usr/libexec

## --------- ##
## Platform. ##
## --------- ##

hostname = 2d2acc03f05e
uname -m = x86_64
uname -r = 5.11.11-200.fc33.x86_64
uname -s = Linux
uname -v = #1 SMP Tue Mar 30 16:53:32 UTC 2021

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/builder/.termux-build/tmux/tmp/config-scripts
PATH: /home/builder/.termux-build/_cache/android-r21d-api-24-v3/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin


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

configure:2369: checking for a BSD-compatible install
configure:2437: result: /usr/bin/install -c
configure:2448: checking whether build environment is sane
configure:2503: result: yes
configure:2560: checking for aarch64-linux-android-strip
configure:2587: result: aarch64-linux-android-strip
configure:2652: checking for a thread-safe mkdir -p
configure:2691: result: /usr/bin/mkdir -p
configure:2698: checking for gawk
configure:2714: found /usr/bin/gawk
configure:2725: result: gawk
configure:2736: checking whether make sets $(MAKE)
configure:2758: result: yes
configure:2787: checking whether make supports nested variables
configure:2804: result: yes
configure:2935: checking build system type
configure:2949: result: x86_64-pc-linux-gnu
configure:2969: checking host system type
configure:2982: result: aarch64-unknown-linux-android
configure:3043: checking for aarch64-linux-android-gcc
configure:3070: result: aarch64-linux-android-clang
configure:3339: checking for C compiler version
configure:3348: aarch64-linux-android-clang --version >&5
Android (6454773 based on r365631c2) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489587874b2a325e7a516b99d838599c6f) (based on LLVM 9.0.8svn)
Target: aarch64-unknown-linux-android24
Thread model: posix
InstalledDir: /home/builder/.termux-build/_cache/android-r21d-api-24-v3/bin
configure:3359: $? = 0
configure:3348: aarch64-linux-android-clang -v >&5
Android (6454773 based on r365631c2) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489587874b2a325e7a516b99d838599c6f) (based on LLVM 9.0.8svn)
Target: aarch64-unknown-linux-android24
Thread model: posix
InstalledDir: /home/builder/.termux-build/_cache/android-r21d-api-24-v3/bin
Found candidate GCC installation: /home/builder/.termux-build/_cache/android-r21d-api-24-v3/bin/../lib/gcc/aarch64-linux-android/4.9.x
Selected GCC installation: /home/builder/.termux-build/_cache/android-r21d-api-24-v3/bin/../lib/gcc/aarch64-linux-android/4.9.x
Candidate multilib: .;@m64
Selected multilib: .;@m64
configure:3359: $? = 0
configure:3348: aarch64-linux-android-clang -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3359: $? = 1
configure:3348: aarch64-linux-android-clang -qversion >&5
clang: error: unknown argument '-qversion'; did you mean '--version'?
clang: error: no input files
configure:3359: $? = 1
configure:3379: checking whether the C compiler works
configure:3401: aarch64-linux-android-clang  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c  >&5
configure:3405: $? = 0
configure:3453: result: yes
configure:3456: checking for C compiler default output file name
configure:3458: result: a.out
configure:3464: checking for suffix of executables
configure:3471: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c  >&5
configure:3475: $? = 0
configure:3497: result: 
configure:3519: checking whether we are cross compiling
configure:3527: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c  >&5
configure:3531: $? = 0
configure:3538: ./conftest
/system/bin/linker64: No such file or directory
configure:3542: $? = 255
configure:3530: result: yes
configure:3535: checking for suffix of object files
configure:3557: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:3561: $? = 0
configure:3582: result: o
configure:3586: checking whether we are using the GNU C compiler
configure:3605: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:3605: $? = 0
configure:3614: result: yes
configure:3623: checking whether aarch64-linux-android-clang accepts -g
configure:3643: aarch64-linux-android-clang -c -g  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:3643: $? = 0
configure:3684: result: yes
configure:3701: checking for aarch64-linux-android-clang option to accept ISO C89
configure:3764: aarch64-linux-android-clang  -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:3764: $? = 0
configure:3777: result: none needed
configure:3802: checking whether aarch64-linux-android-clang understands -c and -o together
configure:3824: aarch64-linux-android-clang -c conftest.c -o conftest2.o
configure:3827: $? = 0
configure:3824: aarch64-linux-android-clang -c conftest.c -o conftest2.o
configure:3827: $? = 0
configure:3839: result: yes
configure:3859: checking whether make supports the include directive
configure:3874: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:3877: $? = 0
configure:3896: result: yes (GNU style)
configure:3921: checking dependency style of aarch64-linux-android-clang
configure:4032: result: none
configure:4048: checking for aarch64-linux-android-clang option to accept ISO C99
configure:4197: aarch64-linux-android-clang  -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:4197: $? = 0
configure:4210: result: none needed
configure:4230: checking how to run the C preprocessor
configure:4300: result: aarch64-linux-android-cpp
configure:4320: aarch64-linux-android-cpp  -I/data/data/com.termux/files/usr/include conftest.c
configure:4320: $? = 0
configure:4334: aarch64-linux-android-cpp  -I/data/data/com.termux/files/usr/include conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
configure:4334: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4362: checking for grep that handles long lines and -e
configure:4420: result: /usr/bin/grep
configure:4425: checking for egrep
configure:4487: result: /usr/bin/grep -E
configure:4497: checking for bison
configure:4513: found /usr/bin/bison
configure:4524: result: bison -y
configure:4645: checking pkg-config is at least version 0.9.0
configure:4648: result: yes
configure:4658: checking for ANSI C header files
configure:4678: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:4678: $? = 0
configure:4762: result: yes
configure:4775: checking for sys/types.h
configure:4775: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:4775: $? = 0
configure:4775: result: yes
configure:4775: checking for sys/stat.h
configure:4775: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:4775: $? = 0
configure:4775: result: yes
configure:4775: checking for stdlib.h
configure:4775: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:4775: $? = 0
configure:4775: result: yes
configure:4775: checking for string.h
configure:4775: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:4775: $? = 0
configure:4775: result: yes
configure:4775: checking for memory.h
configure:4775: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:4775: $? = 0
configure:4775: result: yes
configure:4775: checking for strings.h
configure:4775: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:4775: $? = 0
configure:4775: result: yes
configure:4775: checking for inttypes.h
configure:4775: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:4775: $? = 0
configure:4775: result: yes
configure:4775: checking for stdint.h
configure:4775: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:4775: $? = 0
configure:4775: result: yes
configure:4775: checking for unistd.h
configure:4775: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:4775: $? = 0
configure:4775: result: yes
configure:4788: checking minix/config.h usability
configure:4788: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
conftest.c:54:10: fatal error: 'minix/config.h' file not found
#include <minix/config.h>
         ^~~~~~~~~~~~~~~~
1 error generated.
configure:4788: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:4788: result: no
configure:4788: checking minix/config.h presence
configure:4788: aarch64-linux-android-cpp  -I/data/data/com.termux/files/usr/include conftest.c
conftest.c:21:10: fatal error: 'minix/config.h' file not found
#include <minix/config.h>
         ^~~~~~~~~~~~~~~~
1 error generated.
configure:4788: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <minix/config.h>
configure:4788: result: no
configure:4788: checking for minix/config.h
configure:4788: result: no
configure:4809: checking whether it is safe to define __EXTENSIONS__
configure:4827: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:4827: $? = 0
configure:4834: result: yes
configure:4943: checking bitstring.h usability
configure:4943: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
conftest.c:59:10: fatal error: 'bitstring.h' file not found
#include <bitstring.h>
         ^~~~~~~~~~~~~
1 error generated.
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <bitstring.h>
configure:4943: result: no
configure:4943: checking bitstring.h presence
configure:4943: aarch64-linux-android-cpp  -I/data/data/com.termux/files/usr/include conftest.c
conftest.c:26:10: fatal error: 'bitstring.h' file not found
#include <bitstring.h>
         ^~~~~~~~~~~~~
1 error generated.
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
| #include <bitstring.h>
configure:4943: result: no
configure:4943: checking for bitstring.h
configure:4943: result: no
configure:4943: checking dirent.h usability
configure:4943: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:4943: $? = 0
configure:4943: result: yes
configure:4943: checking dirent.h presence
configure:4943: aarch64-linux-android-cpp  -I/data/data/com.termux/files/usr/include conftest.c
configure:4943: $? = 0
configure:4943: result: yes
configure:4943: checking for dirent.h
configure:4943: result: yes
configure:4943: checking fcntl.h usability
configure:4943: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:4943: $? = 0
configure:4943: result: yes
configure:4943: checking fcntl.h presence
configure:4943: aarch64-linux-android-cpp  -I/data/data/com.termux/files/usr/include conftest.c
configure:4943: $? = 0
configure:4943: result: yes
configure:4943: checking for fcntl.h
configure:4943: result: yes
configure:4943: checking for inttypes.h
configure:4943: result: yes
configure:4943: checking libproc.h usability
configure:4943: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
conftest.c:62:10: fatal error: 'libproc.h' file not found
#include <libproc.h>
         ^~~~~~~~~~~
1 error generated.
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <libproc.h>
configure:4943: result: no
configure:4943: checking libproc.h presence
configure:4943: aarch64-linux-android-cpp  -I/data/data/com.termux/files/usr/include conftest.c
conftest.c:29:10: fatal error: 'libproc.h' file not found
#include <libproc.h>
         ^~~~~~~~~~~
1 error generated.
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| /* end confdefs.h.  */
| #include <libproc.h>
configure:4943: result: no
configure:4943: checking for libproc.h
configure:4943: result: no
configure:4943: checking libutil.h usability
configure:4943: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
conftest.c:62:10: fatal error: 'libutil.h' file not found
#include <libutil.h>
         ^~~~~~~~~~~
1 error generated.
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <libutil.h>
configure:4943: result: no
configure:4943: checking libutil.h presence
configure:4943: aarch64-linux-android-cpp  -I/data/data/com.termux/files/usr/include conftest.c
conftest.c:29:10: fatal error: 'libutil.h' file not found
#include <libutil.h>
         ^~~~~~~~~~~
1 error generated.
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| /* end confdefs.h.  */
| #include <libutil.h>
configure:4943: result: no
configure:4943: checking for libutil.h
configure:4943: result: no
configure:4943: checking ndir.h usability
configure:4943: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
conftest.c:62:10: fatal error: 'ndir.h' file not found
#include <ndir.h>
         ^~~~~~~~
1 error generated.
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <ndir.h>
configure:4943: result: no
configure:4943: checking ndir.h presence
configure:4943: aarch64-linux-android-cpp  -I/data/data/com.termux/files/usr/include conftest.c
conftest.c:29:10: fatal error: 'ndir.h' file not found
#include <ndir.h>
         ^~~~~~~~
1 error generated.
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| /* end confdefs.h.  */
| #include <ndir.h>
configure:4943: result: no
configure:4943: checking for ndir.h
configure:4943: result: no
configure:4943: checking paths.h usability
configure:4943: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:4943: $? = 0
configure:4943: result: yes
configure:4943: checking paths.h presence
configure:4943: aarch64-linux-android-cpp  -I/data/data/com.termux/files/usr/include conftest.c
configure:4943: $? = 0
configure:4943: result: yes
configure:4943: checking for paths.h
configure:4943: result: yes
configure:4943: checking pty.h usability
configure:4943: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
configure:4943: $? = 0
configure:4943: result: yes
configure:4943: checking pty.h presence
configure:4943: aarch64-linux-android-cpp  -I/data/data/com.termux/files/usr/include conftest.c
configure:4943: $? = 0
configure:4943: result: yes
configure:4943: checking for pty.h
configure:4943: result: yes
configure:4943: checking for stdint.h
configure:4943: result: yes
configure:4943: checking sys/dir.h usability
configure:4943: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
conftest.c:65:10: fatal error: 'sys/dir.h' file not found
#include <sys/dir.h>
         ^~~~~~~~~~~
1 error generated.
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PTY_H 1
| #define HAVE_STDINT_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/dir.h>
configure:4943: result: no
configure:4943: checking sys/dir.h presence
configure:4943: aarch64-linux-android-cpp  -I/data/data/com.termux/files/usr/include conftest.c
conftest.c:32:10: fatal error: 'sys/dir.h' file not found
#include <sys/dir.h>
         ^~~~~~~~~~~
1 error generated.
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PTY_H 1
| #define HAVE_STDINT_H 1
| /* end confdefs.h.  */
| #include <sys/dir.h>
configure:4943: result: no
configure:4943: checking for sys/dir.h
configure:4943: result: no
configure:4943: checking sys/ndir.h usability
configure:4943: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
conftest.c:65:10: fatal error: 'sys/ndir.h' file not found
#include <sys/ndir.h>
         ^~~~~~~~~~~~
1 error generated.
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PTY_H 1
| #define HAVE_STDINT_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/ndir.h>
configure:4943: result: no
configure:4943: checking sys/ndir.h presence
configure:4943: aarch64-linux-android-cpp  -I/data/data/com.termux/files/usr/include conftest.c
conftest.c:32:10: fatal error: 'sys/ndir.h' file not found
#include <sys/ndir.h>
         ^~~~~~~~~~~~
1 error generated.
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PTY_H 1
| #define HAVE_STDINT_H 1
| /* end confdefs.h.  */
| #include <sys/ndir.h>
configure:4943: result: no
configure:4943: checking for sys/ndir.h
configure:4943: result: no
configure:4943: checking sys/tree.h usability
configure:4943: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
conftest.c:65:10: fatal error: 'sys/tree.h' file not found
#include <sys/tree.h>
         ^~~~~~~~~~~~
1 error generated.
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PTY_H 1
| #define HAVE_STDINT_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <sys/tree.h>
configure:4943: result: no
configure:4943: checking sys/tree.h presence
configure:4943: aarch64-linux-android-cpp  -I/data/data/com.termux/files/usr/include conftest.c
conftest.c:32:10: fatal error: 'sys/tree.h' file not found
#include <sys/tree.h>
         ^~~~~~~~~~~~
1 error generated.
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PTY_H 1
| #define HAVE_STDINT_H 1
| /* end confdefs.h.  */
| #include <sys/tree.h>
configure:4943: result: no
configure:4943: checking for sys/tree.h
configure:4943: result: no
configure:4943: checking util.h usability
configure:4943: aarch64-linux-android-clang -c  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include conftest.c >&5
conftest.c:65:10: fatal error: 'util.h' file not found
#include <util.h>
         ^~~~~~~~
1 error generated.
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PTY_H 1
| #define HAVE_STDINT_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <util.h>
configure:4943: result: no
configure:4943: checking util.h presence
configure:4943: aarch64-linux-android-cpp  -I/data/data/com.termux/files/usr/include conftest.c
conftest.c:32:10: fatal error: 'util.h' file not found
#include <util.h>
         ^~~~~~~~
1 error generated.
configure:4943: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PTY_H 1
| #define HAVE_STDINT_H 1
| /* end confdefs.h.  */
| #include <util.h>
configure:4943: result: no
configure:4943: checking for util.h
configure:4943: result: no
configure:4955: checking for library containing sys_signame
configure:4986: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c  >&5
configure:4986: $? = 0
configure:5003: result: none required
configure:5014: checking for fmod in -lm
configure:5039: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm   >&5
conftest.c:40:6: warning: incompatible redeclaration of library function 'fmod' [-Wincompatible-library-redeclaration]
char fmod ();
     ^
conftest.c:40:6: note: 'fmod' is a builtin with type 'double (double, double)'
1 warning generated.
configure:5039: $? = 0
configure:5048: result: yes
configure:5061: checking for library containing flock
configure:5092: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
configure:5092: $? = 0
configure:5109: result: none required
configure:5128: checking for dirfd
configure:5128: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
configure:5128: $? = 0
configure:5128: result: yes
configure:5128: checking for flock
configure:5128: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
configure:5128: $? = 0
configure:5128: result: yes
configure:5128: checking for prctl
configure:5128: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
configure:5128: $? = 0
configure:5128: result: yes
configure:5128: checking for proc_pidinfo
configure:5128: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
/tmp/conftest-bdd820.o:conftest.c:function main: error: undefined reference to 'proc_pidinfo'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:5128: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PTY_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_SIGNAME 1
| #define HAVE_LIBM 1
| #define HAVE_DIRFD 1
| #define HAVE_FLOCK 1
| #define HAVE_PRCTL 1
| /* end confdefs.h.  */
| /* Define proc_pidinfo to an innocuous variant, in case <limits.h> declares proc_pidinfo.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define proc_pidinfo innocuous_proc_pidinfo
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char proc_pidinfo (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef proc_pidinfo
| 
| /* 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 proc_pidinfo ();
| /* 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_proc_pidinfo || defined __stub___proc_pidinfo
| choke me
| #endif
| 
| int
| main ()
| {
| return proc_pidinfo ();
|   ;
|   return 0;
| }
configure:5128: result: no
configure:5128: checking for sysconf
configure:5128: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
configure:5128: $? = 0
configure:5128: result: yes
configure:5139: checking for asprintf
configure:5139: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
conftest.c:72:18: warning: format string missing [-Wformat]
return asprintf ();
       ~~~~~~~~  ^
1 warning generated.
configure:5139: $? = 0
configure:5139: result: yes
configure:5152: checking for cfmakeraw
configure:5152: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
configure:5152: $? = 0
configure:5152: result: yes
configure:5165: checking for clock_gettime
configure:5165: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
configure:5165: $? = 0
configure:5165: result: yes
configure:5178: checking for closefrom
configure:5178: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
/tmp/conftest-d1044c.o:conftest.c:function main: error: undefined reference to 'closefrom'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:5178: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PTY_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_SIGNAME 1
| #define HAVE_LIBM 1
| #define HAVE_DIRFD 1
| #define HAVE_FLOCK 1
| #define HAVE_PRCTL 1
| #define HAVE_SYSCONF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_CFMAKERAW 1
| #define HAVE_CLOCK_GETTIME 1
| /* end confdefs.h.  */
| /* Define closefrom to an innocuous variant, in case <limits.h> declares closefrom.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define closefrom innocuous_closefrom
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char closefrom (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef closefrom
| 
| /* 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 closefrom ();
| /* 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_closefrom || defined __stub___closefrom
| choke me
| #endif
| 
| int
| main ()
| {
| return closefrom ();
|   ;
|   return 0;
| }
configure:5178: result: no
configure:5191: checking for explicit_bzero
configure:5191: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
/tmp/conftest-fb45b3.o:conftest.c:function main: error: undefined reference to 'explicit_bzero'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:5191: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PTY_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_SIGNAME 1
| #define HAVE_LIBM 1
| #define HAVE_DIRFD 1
| #define HAVE_FLOCK 1
| #define HAVE_PRCTL 1
| #define HAVE_SYSCONF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_CFMAKERAW 1
| #define HAVE_CLOCK_GETTIME 1
| /* end confdefs.h.  */
| /* Define explicit_bzero to an innocuous variant, in case <limits.h> declares explicit_bzero.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define explicit_bzero innocuous_explicit_bzero
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char explicit_bzero (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef explicit_bzero
| 
| /* 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 explicit_bzero ();
| /* 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_explicit_bzero || defined __stub___explicit_bzero
| choke me
| #endif
| 
| int
| main ()
| {
| return explicit_bzero ();
|   ;
|   return 0;
| }
configure:5191: result: no
configure:5204: checking for fgetln
configure:5204: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
configure:5204: $? = 0
configure:5204: result: yes
configure:5217: checking for freezero
configure:5217: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
/tmp/conftest-1bce22.o:conftest.c:function main: error: undefined reference to 'freezero'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:5217: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PTY_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_SIGNAME 1
| #define HAVE_LIBM 1
| #define HAVE_DIRFD 1
| #define HAVE_FLOCK 1
| #define HAVE_PRCTL 1
| #define HAVE_SYSCONF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_CFMAKERAW 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_FGETLN 1
| /* end confdefs.h.  */
| /* Define freezero to an innocuous variant, in case <limits.h> declares freezero.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define freezero innocuous_freezero
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char freezero (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef freezero
| 
| /* 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 freezero ();
| /* 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_freezero || defined __stub___freezero
| choke me
| #endif
| 
| int
| main ()
| {
| return freezero ();
|   ;
|   return 0;
| }
configure:5217: result: no
configure:5230: checking for getdtablecount
configure:5230: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
/tmp/conftest-3abba3.o:conftest.c:function main: error: undefined reference to 'getdtablecount'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:5230: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PTY_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_SIGNAME 1
| #define HAVE_LIBM 1
| #define HAVE_DIRFD 1
| #define HAVE_FLOCK 1
| #define HAVE_PRCTL 1
| #define HAVE_SYSCONF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_CFMAKERAW 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_FGETLN 1
| /* end confdefs.h.  */
| /* Define getdtablecount to an innocuous variant, in case <limits.h> declares getdtablecount.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define getdtablecount innocuous_getdtablecount
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char getdtablecount (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef getdtablecount
| 
| /* 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 getdtablecount ();
| /* 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_getdtablecount || defined __stub___getdtablecount
| choke me
| #endif
| 
| int
| main ()
| {
| return getdtablecount ();
|   ;
|   return 0;
| }
configure:5230: result: no
configure:5243: checking for getdtablesize
configure:5243: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
/tmp/conftest-2d55c5.o:conftest.c:function main: error: undefined reference to 'getdtablesize'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:5243: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PTY_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_SIGNAME 1
| #define HAVE_LIBM 1
| #define HAVE_DIRFD 1
| #define HAVE_FLOCK 1
| #define HAVE_PRCTL 1
| #define HAVE_SYSCONF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_CFMAKERAW 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_FGETLN 1
| /* end confdefs.h.  */
| /* Define getdtablesize to an innocuous variant, in case <limits.h> declares getdtablesize.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define getdtablesize innocuous_getdtablesize
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char getdtablesize (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef getdtablesize
| 
| /* 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 getdtablesize ();
| /* 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_getdtablesize || defined __stub___getdtablesize
| choke me
| #endif
| 
| int
| main ()
| {
| return getdtablesize ();
|   ;
|   return 0;
| }
configure:5243: result: no
configure:5256: checking for getline
configure:5256: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
configure:5256: $? = 0
configure:5256: result: yes
configure:5269: checking for getprogname
configure:5269: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
configure:5269: $? = 0
configure:5269: result: yes
configure:5282: checking for memmem
configure:5282: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
configure:5282: $? = 0
configure:5282: result: yes
configure:5295: checking for setenv
configure:5295: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
configure:5295: $? = 0
configure:5295: result: yes
configure:5308: checking for setproctitle
configure:5308: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
/tmp/conftest-4a0928.o:conftest.c:function main: error: undefined reference to 'setproctitle'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:5308: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PTY_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_SIGNAME 1
| #define HAVE_LIBM 1
| #define HAVE_DIRFD 1
| #define HAVE_FLOCK 1
| #define HAVE_PRCTL 1
| #define HAVE_SYSCONF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_CFMAKERAW 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_FGETLN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETPROGNAME 1
| #define HAVE_MEMMEM 1
| #define HAVE_SETENV 1
| /* end confdefs.h.  */
| /* Define setproctitle to an innocuous variant, in case <limits.h> declares setproctitle.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define setproctitle innocuous_setproctitle
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char setproctitle (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef setproctitle
| 
| /* 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 setproctitle ();
| /* 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_setproctitle || defined __stub___setproctitle
| choke me
| #endif
| 
| int
| main ()
| {
| return setproctitle ();
|   ;
|   return 0;
| }
configure:5308: result: no
configure:5321: checking for strcasestr
configure:5321: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
configure:5321: $? = 0
configure:5321: result: yes
configure:5334: checking for strlcat
configure:5334: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
conftest.c:70:6: warning: incompatible redeclaration of library function 'strlcat' [-Wincompatible-library-redeclaration]
char strlcat ();
     ^
conftest.c:70:6: note: 'strlcat' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
1 warning generated.
configure:5334: $? = 0
configure:5334: result: yes
configure:5347: checking for strlcpy
configure:5347: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
conftest.c:71:6: warning: incompatible redeclaration of library function 'strlcpy' [-Wincompatible-library-redeclaration]
char strlcpy ();
     ^
conftest.c:71:6: note: 'strlcpy' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
1 warning generated.
configure:5347: $? = 0
configure:5347: result: yes
configure:5360: checking for strndup
configure:5360: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
conftest.c:72:6: warning: incompatible redeclaration of library function 'strndup' [-Wincompatible-library-redeclaration]
char strndup ();
     ^
conftest.c:72:6: note: 'strndup' is a builtin with type 'char *(const char *, unsigned long)'
1 warning generated.
configure:5360: $? = 0
configure:5360: result: yes
configure:5373: checking for strsep
configure:5373: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
configure:5373: $? = 0
configure:5373: result: yes
configure:5386: checking for strtonum
configure:5386: aarch64-linux-android-clang -o conftest  -fstack-protector-strong -Oz  -I/data/data/com.termux/files/usr/include -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob conftest.c -lm  >&5
/tmp/conftest-fd068d.o:conftest.c:function main: error: undefined reference to 'strtonum'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:5386: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "tmux"
| #define PACKAGE_TARNAME "tmux"
| #define PACKAGE_VERSION "3.2"
| #define PACKAGE_STRING "tmux 3.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "tmux"
| #define VERSION "3.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DIRENT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PTY_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_SIGNAME 1
| #define HAVE_LIBM 1
| #define HAVE_DIRFD 1
| #define HAVE_FLOCK 1
| #define HAVE_PRCTL 1
| #define HAVE_SYSCONF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_CFMAKERAW 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_FGETLN 1
| #define HAVE_GETLINE 1
| #define HAVE_GETPROGNAME 1
| #define HAVE_MEMMEM 1
| #define HAVE_SETENV 1
| #define HAVE_STRCASESTR 1
| #define HAVE_STRLCAT 1
| #define HAVE_STRLCPY 1
| #define HAVE_STRNDUP 1
| #define HAVE_STRSEP 1
| /* end confdefs.h.  */
| /* Define strtonum to an innocuous variant, in case <limits.h> declares strtonum.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define strtonum innocuous_strtonum
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char strtonum (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef strtonum
| 
| /* 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 strtonum ();
| /* 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_strtonum || defined __stub___strtonum
| choke me
| #endif
| 
| int
| main ()
| {
| return strtonum ();
|   ;
|   return 0;
| }
configure:5386: result: no
configure:5400: checking for working strnlen
configure:5448: result: yes
configure:5461: checking for working reallocarray
configure:5464: error: in `/home/builder/.termux-build/tmux/src':
configure:5466: error: cannot run test program while cross compiling
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=aarch64-linux-android-clang
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=' -fstack-protector-strong -Oz'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=' -I/data/data/com.termux/files/usr/include'
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value=aarch64-linux-android-cpp
ac_cv_env_FUZZING_LIBS_set=
ac_cv_env_FUZZING_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob'
ac_cv_env_LIBEVENT_CFLAGS_set=
ac_cv_env_LIBEVENT_CFLAGS_value=
ac_cv_env_LIBEVENT_CORE_CFLAGS_set=
ac_cv_env_LIBEVENT_CORE_CFLAGS_value=
ac_cv_env_LIBEVENT_CORE_LIBS_set=
ac_cv_env_LIBEVENT_CORE_LIBS_value=
ac_cv_env_LIBEVENT_LIBS_set=
ac_cv_env_LIBEVENT_LIBS_value=
ac_cv_env_LIBNCURSESW_CFLAGS_set=
ac_cv_env_LIBNCURSESW_CFLAGS_value=
ac_cv_env_LIBNCURSESW_LIBS_set=
ac_cv_env_LIBNCURSESW_LIBS_value=
ac_cv_env_LIBNCURSES_CFLAGS_set=
ac_cv_env_LIBNCURSES_CFLAGS_value=
ac_cv_env_LIBNCURSES_LIBS_set=
ac_cv_env_LIBNCURSES_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIBTINFO_CFLAGS_set=
ac_cv_env_LIBTINFO_CFLAGS_value=
ac_cv_env_LIBTINFO_LIBS_set=
ac_cv_env_LIBTINFO_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=set
ac_cv_env_PKG_CONFIG_LIBDIR_value=/data/data/com.termux/files/usr/lib/pkgconfig
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=set
ac_cv_env_PKG_CONFIG_value=/home/builder/.termux-build/_cache/android-r21d-api-24-v3/bin/aarch64-linux-android-pkg-config
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=aarch64-linux-android
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_asprintf=yes
ac_cv_func_calloc_0_nonnull=yes
ac_cv_func_cfmakeraw=yes
ac_cv_func_chown_works=yes
ac_cv_func_clock_gettime=yes
ac_cv_func_closefrom=no
ac_cv_func_dirfd=yes
ac_cv_func_explicit_bzero=no
ac_cv_func_fgetln=yes
ac_cv_func_flock=yes
ac_cv_func_freezero=no
ac_cv_func_getdtablecount=no
ac_cv_func_getdtablesize=no
ac_cv_func_getgroups_works=yes
ac_cv_func_getline=yes
ac_cv_func_getprogname=yes
ac_cv_func_getpwent=no
ac_cv_func_getpwnam=no
ac_cv_func_getpwuid=no
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memmem=yes
ac_cv_func_nl_langinfo=yes
ac_cv_func_posix_spawn=no
ac_cv_func_posix_spawnp=no
ac_cv_func_prctl=yes
ac_cv_func_proc_pidinfo=no
ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_setenv=yes
ac_cv_func_setproctitle=no
ac_cv_func_sigsetmask=no
ac_cv_func_strcasestr=yes
ac_cv_func_strlcat=yes
ac_cv_func_strlcpy=yes
ac_cv_func_strndup=yes
ac_cv_func_strnlen_working=yes
ac_cv_func_strsep=yes
ac_cv_func_strtonum=no
ac_cv_func_sysconf=yes
ac_cv_header_bitstring_h=no
ac_cv_header_dirent_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libproc_h=no
ac_cv_header_libutil_h=no
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_ndir_h=no
ac_cv_header_paths_h=yes
ac_cv_header_pty_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_dir_h=no
ac_cv_header_sys_ndir_h=no
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_tree_h=no
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_util_h=no
ac_cv_host=aarch64-unknown-linux-android
ac_cv_lib_m_fmod=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=aarch64-linux-android-clang
ac_cv_prog_CPP=aarch64-linux-android-cpp
ac_cv_prog_STRIP=aarch64-linux-android-strip
ac_cv_prog_YACC='bison -y'
ac_cv_prog_cc_c89=
ac_cv_prog_cc_c99=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_search_flock='none required'
ac_cv_search_sys_signame='none required'
am_cv_CC_dependencies_compiler_type=none
am_cv_func_working_getline=yes
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
gl_cv_C_locale_sans_EILSEQ=yes
gl_cv_func_dup2_works=yes
gl_cv_func_fcntl_f_dupfd_cloexec=yes
gl_cv_func_fcntl_f_dupfd_works=yes
gl_cv_func_fnmatch_posix=yes
gl_cv_func_getcwd_abort_bug=no
gl_cv_func_getcwd_null=yes
gl_cv_func_getcwd_path_max=yes
gl_cv_func_getcwd_posix_signature=yes
gl_cv_func_gettimeofday_clobber=no
gl_cv_func_gettimeofday_posix_signature=yes
gl_cv_func_link_works=yes
gl_cv_func_lstat_dereferences_slashed_symlink=yes
gl_cv_func_malloc_0_nonnull=yes
gl_cv_func_memchr_works=yes
gl_cv_func_mkdir_trailing_dot_works=yes
gl_cv_func_mkdir_trailing_slash_works=yes
gl_cv_func_mkfifo_works=yes
gl_cv_func_mknod_works=yes
gl_cv_func_realpath_works=yes
gl_cv_func_select_detects_ebadf=yes
gl_cv_func_snprintf_posix=yes
gl_cv_func_snprintf_retval_c99=yes
gl_cv_func_snprintf_truncation_c99=yes
gl_cv_func_stat_dir_slash=yes
gl_cv_func_stat_file_slash=yes
gl_cv_func_strerror_0_works=yes
gl_cv_func_strtold_works=yes
gl_cv_func_symlink_works=yes
gl_cv_func_tzset_clobber=no
gl_cv_func_unlink_honors_slashes=yes
gl_cv_func_vsnprintf_posix=yes
gl_cv_func_vsnprintf_zerosize_c99=yes
gl_cv_func_wcwidth_works=yes
gl_cv_func_working_getdelim=yes
gl_cv_func_working_mkstemp=yes
gl_cv_func_working_mktime=yes
gl_cv_func_working_strerror=yes
gl_cv_header_working_fcntl_h=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/builder/.termux-build/tmux/src/etc/missing aclocal-1.16'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_CFLAGS=''
AM_CPPFLAGS=''
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_LDFLAGS=''
AM_V='$(V)'
AUTOCONF='${SHELL} /home/builder/.termux-build/tmux/src/etc/missing autoconf'
AUTOHEADER='${SHELL} /home/builder/.termux-build/tmux/src/etc/missing autoheader'
AUTOMAKE='${SHELL} /home/builder/.termux-build/tmux/src/etc/missing automake-1.16'
AWK='gawk'
CC='aarch64-linux-android-clang'
CCDEPMODE='depmode=none'
CFLAGS=' -fstack-protector-strong -Oz'
CPP='aarch64-linux-android-cpp'
CPPFLAGS=' -I/data/data/com.termux/files/usr/include'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
FUZZING_LIBS=''
GREP='/usr/bin/grep'
HAVE_UTF8PROC_FALSE=''
HAVE_UTF8PROC_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
IS_AIX_FALSE=''
IS_AIX_TRUE=''
IS_DARWIN_FALSE=''
IS_DARWIN_TRUE=''
IS_DEBUG_FALSE=''
IS_DEBUG_TRUE='#'
IS_DRAGONFLY_FALSE=''
IS_DRAGONFLY_TRUE=''
IS_FREEBSD_FALSE=''
IS_FREEBSD_TRUE=''
IS_GCC_FALSE='#'
IS_GCC_TRUE=''
IS_HAIKU_FALSE=''
IS_HAIKU_TRUE=''
IS_HPUX_FALSE=''
IS_HPUX_TRUE=''
IS_LINUX_FALSE=''
IS_LINUX_TRUE=''
IS_NETBSD_FALSE=''
IS_NETBSD_TRUE=''
IS_OPENBSD_FALSE=''
IS_OPENBSD_TRUE=''
IS_SUNCC_FALSE=''
IS_SUNCC_TRUE='#'
IS_SUNOS_FALSE=''
IS_SUNOS_TRUE=''
IS_UNKNOWN_FALSE=''
IS_UNKNOWN_TRUE=''
LDFLAGS='-L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -landroid-glob'
LIBEVENT_CFLAGS=''
LIBEVENT_CORE_CFLAGS=''
LIBEVENT_CORE_LIBS=''
LIBEVENT_LIBS=''
LIBNCURSESW_CFLAGS=''
LIBNCURSESW_LIBS=''
LIBNCURSES_CFLAGS=''
LIBNCURSES_LIBS=''
LIBOBJS=' closefrom.o explicit_bzero.o freezero.o getdtablecount.o getdtablesize.o setproctitle.o strtonum.o'
LIBS='-lm '
LIBTINFO_CFLAGS=''
LIBTINFO_LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/builder/.termux-build/tmux/src/etc/missing makeinfo'
MANFORMAT=''
MKDIR_P='/usr/bin/mkdir -p'
NEED_FORKPTY_FALSE=''
NEED_FORKPTY_TRUE=''
NEED_FUZZING_FALSE=''
NEED_FUZZING_TRUE='#'
OBJEXT='o'
PACKAGE='tmux'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='tmux'
PACKAGE_STRING='tmux 3.2'
PACKAGE_TARNAME='tmux'
PACKAGE_URL=''
PACKAGE_VERSION='3.2'
PATH_SEPARATOR=':'
PKG_CONFIG='/home/builder/.termux-build/_cache/android-r21d-api-24-v3/bin/aarch64-linux-android-pkg-config'
PKG_CONFIG_LIBDIR='/data/data/com.termux/files/usr/lib/pkgconfig'
PKG_CONFIG_PATH=''
PLATFORM=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP='aarch64-linux-android-strip'
VERSION='3.2'
XOPEN_DEFINES=''
YACC='bison -y'
YFLAGS=''
ac_ct_CC=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='aarch64-unknown-linux-android'
host_alias='aarch64-linux-android'
host_cpu='aarch64'
host_os='linux-android'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/builder/.termux-build/tmux/src/etc/install-sh'
libdir='/data/data/com.termux/files/usr/lib'
libexecdir='/data/data/com.termux/files/usr/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/data/data/com.termux/files/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='/data/data/com.termux/files/usr/bin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "tmux"
#define PACKAGE_TARNAME "tmux"
#define PACKAGE_VERSION "3.2"
#define PACKAGE_STRING "tmux 3.2"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "tmux"
#define VERSION "3.2"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define HAVE_DIRENT_H 1
#define HAVE_FCNTL_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_PATHS_H 1
#define HAVE_PTY_H 1
#define HAVE_STDINT_H 1
#define HAVE_SYS_SIGNAME 1
#define HAVE_LIBM 1
#define HAVE_DIRFD 1
#define HAVE_FLOCK 1
#define HAVE_PRCTL 1
#define HAVE_SYSCONF 1
#define HAVE_ASPRINTF 1
#define HAVE_CFMAKERAW 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_FGETLN 1
#define HAVE_GETLINE 1
#define HAVE_GETPROGNAME 1
#define HAVE_MEMMEM 1
#define HAVE_SETENV 1
#define HAVE_STRCASESTR 1
#define HAVE_STRLCAT 1
#define HAVE_STRLCPY 1
#define HAVE_STRNDUP 1
#define HAVE_STRSEP 1

configure: exit 1

@Grimler91
Copy link
Member

Alright, doesn't seem to be any cached values we can set, so your way is the best way I suppose, thanks!

@Grimler91 Grimler91 merged commit c5c24fd into termux:master Apr 13, 2021
@jakirkham jakirkham mentioned this pull request Sep 4, 2021
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants