summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-05-04 06:44:44 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-05-04 06:44:44 (GMT)
commitc2f7d878972db908f5a1bad7af94c692b6d8c564 (patch)
tree5687eaadba2b722df2bf6c954fc44ebdcf67bcdf /configure.ac
parent0e120525f0a2dfcd417905593cad27169907a4d5 (diff)
downloadcpython-c2f7d878972db908f5a1bad7af94c692b6d8c564.zip
cpython-c2f7d878972db908f5a1bad7af94c692b6d8c564.tar.gz
cpython-c2f7d878972db908f5a1bad7af94c692b6d8c564.tar.bz2
Issue #26932: Fixed support of RTLD_* constants defined as enum values,
not via macros (in particular on Android). Patch by Chi Hsuan Yen.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bfd2b04..f947af9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4342,6 +4342,8 @@ then
[define to 1 if your sem_getvalue is broken.])
fi
+AC_CHECK_DECLS([RTLD_LAZY, RTLD_NOW, RTLD_GLOBAL, RTLD_LOCAL, RTLD_NODELETE, RTLD_NOLOAD, RTLD_DEEPBIND], [], [], [[#include <dlfcn.h>]])
+
# determine what size digit to use for Python's longs
AC_MSG_CHECKING([digit size for Python's longs])
AC_ARG_ENABLE(big-digits,