diff options
author | Hsia-Jun(Randy) Li <randy.li@synaptics.com> | 2022-01-17 13:28:45 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2022-01-20 10:56:32 -0500 |
commit | 4b0d09c0726176f6ba2b3f80639e5c94765edc06 (patch) | |
tree | c552aa48f3f3a638cc0feacd6415cda7656300e4 /configure.ac | |
parent | d0252f2efdf006f83d89cdd732d3a15a7d7fecb9 (diff) | |
download | ti-rpc-4b0d09c0726176f6ba2b3f80639e5c94765edc06.tar.gz |
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 <randy.li@synaptics.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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]) |