Commit 45b54b0
committed
Review conf_syslibs.py: fix check_funcs return value and minor cleanup.
- pyconf.py / pyconf.awk: check_funcs/pyconf_check_funcs now return True/1
if any function was found, matching AC_CHECK_FUNCS action-if-found semantics.
Previously returned None/0, causing the backtrace/dladdr1 check in
check_base_libraries to never set ac_cv_require_ldl, so -ldl was never
added to LDFLAGS for faulthandler support.
- conf_syslibs.py: fix module docstring (remove incorrect "pthreads setup",
add missing check_stat_timestamps and setup_tzpath descriptions).
- conf_syslibs.py: initialize r and libatomic_needed before with-blocks to
avoid Pyright possibly-unbound warnings.
Assisted-by: Claude1 parent d547345 commit 45b54b0
File tree
3 files changed
+22
-9
lines changed- Tools/configure
- transpiler
3 files changed
+22
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| 301 | + | |
301 | 302 | | |
302 | 303 | | |
303 | 304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3170 | 3170 | | |
3171 | 3171 | | |
3172 | 3172 | | |
3173 | | - | |
3174 | | - | |
| 3173 | + | |
| 3174 | + | |
| 3175 | + | |
| 3176 | + | |
| 3177 | + | |
| 3178 | + | |
| 3179 | + | |
3175 | 3180 | | |
3176 | 3181 | | |
3177 | 3182 | | |
3178 | 3183 | | |
| 3184 | + | |
| 3185 | + | |
| 3186 | + | |
3179 | 3187 | | |
3180 | 3188 | | |
3181 | 3189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
765 | | - | |
| 765 | + | |
| 766 | + | |
766 | 767 | | |
| 768 | + | |
767 | 769 | | |
768 | 770 | | |
769 | 771 | | |
770 | 772 | | |
771 | 773 | | |
| 774 | + | |
772 | 775 | | |
| 776 | + | |
773 | 777 | | |
774 | 778 | | |
775 | 779 | | |
| |||
0 commit comments