summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMichael Felt <aixtools@users.noreply.github.com>2017-12-19 12:58:49 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-12-19 12:58:49 (GMT)
commitc5ae169e1b73315672770517bf51cf8464286c76 (patch)
tree799e3be3da572d073580c444ff877bff8f1efd18 /configure
parent319c0345cdd8fddb49d235462e71883f1dd51b99 (diff)
downloadcpython-c5ae169e1b73315672770517bf51cf8464286c76.zip
cpython-c5ae169e1b73315672770517bf51cf8464286c76.tar.gz
cpython-c5ae169e1b73315672770517bf51cf8464286c76.tar.bz2
bpo-26439 Fix ctypes.util.find_library failure on AIX (#4507)
Implement find_library() support in ctypes/util for AIX. Add some AIX specific tests.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 11 insertions, 1 deletions
diff --git a/configure b/configure
index 20d8095..24ae256 100755
--- a/configure
+++ b/configure
@@ -9872,7 +9872,6 @@ fi
-
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
@@ -14360,6 +14359,17 @@ fi
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_RTLD_DEEPBIND $ac_have_decl
_ACEOF
+ac_fn_c_check_decl "$LINENO" "RTLD_MEMBER" "ac_cv_have_decl_RTLD_MEMBER" "#include <dlfcn.h>
+"
+if test "x$ac_cv_have_decl_RTLD_MEMBER" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_RTLD_MEMBER $ac_have_decl
+_ACEOF
# determine what size digit to use for Python's longs