summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorƁukasz Langa <lukasz@langa.pl>2022-05-03 16:27:38 (GMT)
committerGitHub <noreply@github.com>2022-05-03 16:27:38 (GMT)
commit6c25bf07e86b6d8d5e50488835f70539f382d7e0 (patch)
tree1ba0b23ccfc45a397eb510de520995d080fbef1e /configure
parentfeca9bbd1f6489f2b6d2783bfc22fdb96e45b69f (diff)
downloadcpython-6c25bf07e86b6d8d5e50488835f70539f382d7e0.zip
cpython-6c25bf07e86b6d8d5e50488835f70539f382d7e0.tar.gz
cpython-6c25bf07e86b6d8d5e50488835f70539f382d7e0.tar.bz2
gh-89452: Prefer gdbm-compat over ndbm (#92208)
This makes macOS gdbm provided by Homebrew not segfault through correct selection of the linked library (-lgdbm_compat) *AND* the correct ndbm-style header (gdbm-ndbm.h instead of the invalid ndbm.h).
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 2c47a1e..0f5c2c8 100755
--- a/configure
+++ b/configure
@@ -13726,7 +13726,7 @@ $as_echo_n "checking for --with-dbmliborder... " >&6; }
if test "${with_dbmliborder+set}" = set; then :
withval=$with_dbmliborder;
else
- with_dbmliborder=ndbm:gdbm:bdb
+ with_dbmliborder=gdbm:ndbm:bdb
fi
@@ -13749,7 +13749,7 @@ done
IFS=$as_save_IFS
if test "x$with_dbmliborder" = xerror; then :
- as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:... (ndbm:gdbm:bdb)" "$LINENO" 5
+ as_fn_error $? "proper usage is --with-dbmliborder=db1:db2:... (gdbm:ndbm:bdb)" "$LINENO" 5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dbmliborder" >&5