From 4b0d09c0726176f6ba2b3f80639e5c94765edc06 Mon Sep 17 00:00:00 2001 From: "Hsia-Jun(Randy) Li" Date: Mon, 17 Jan 2022 13:28:45 -0500 Subject: build: use autoconf archive to link pthread For Android bionic, pthread is a part of that c library. Signed-off-by: Hsia-Jun(Randy) Li Signed-off-by: Steve Dickson --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 013718a..23c4ac8 100644 --- a/configure.ac +++ b/configure.ac @@ -94,7 +94,7 @@ AC_PROG_LIBTOOL AC_HEADER_DIRENT AC_PREFIX_DEFAULT(/usr) AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h locale.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h features.h gssapi/gssapi_ext.h]) -AC_CHECK_LIB([pthread], [pthread_create]) +AX_PTHREAD AC_CHECK_FUNCS([getrpcbyname getrpcbynumber setrpcent endrpcent getrpcent]) AC_CONFIG_FILES([Makefile src/Makefile man/Makefile doc/Makefile]) -- cgit v1.2.1