Commit 3e12cac
committed
Better test for cross-compiling when checking for C99 snprintf
We want to avoid calling AX_FUNC_SNPRINTF entirely if cross-compiling
since it is not possible to undo the setting of PREFER_PORTABLE_SNPRINTF.
The previous attempt to do this failed to take into account that
PREFER_PORTABLE_SNPRINTF would still be defined. GitHub issue #9691 parent 4751a4d commit 3e12cac
2 files changed
Lines changed: 34 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24790 | 24790 | | |
24791 | 24791 | | |
24792 | 24792 | | |
24793 | | - | |
| 24793 | + | |
| 24794 | + | |
| 24795 | + | |
| 24796 | + | |
| 24797 | + | |
| 24798 | + | |
| 24799 | + | |
| 24800 | + | |
| 24801 | + | |
| 24802 | + | |
| 24803 | + | |
| 24804 | + | |
| 24805 | + | |
| 24806 | + | |
| 24807 | + | |
| 24808 | + | |
| 24809 | + | |
| 24810 | + | |
| 24811 | + | |
| 24812 | + | |
| 24813 | + | |
| 24814 | + | |
| 24815 | + | |
| 24816 | + | |
| 24817 | + | |
24794 | 24818 | | |
24795 | 24819 | | |
24796 | 24820 | | |
| |||
24919 | 24943 | | |
24920 | 24944 | | |
24921 | 24945 | | |
24922 | | - | |
24923 | | - | |
24924 | | - | |
24925 | | - | |
24926 | | - | |
24927 | | - | |
24928 | | - | |
24929 | | - | |
24930 | | - | |
24931 | | - | |
24932 | | - | |
24933 | | - | |
24934 | | - | |
| 24946 | + | |
| 24947 | + | |
24935 | 24948 | | |
24936 | 24949 | | |
24937 | 24950 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3060 | 3060 | | |
3061 | 3061 | | |
3062 | 3062 | | |
3063 | | - | |
3064 | | - | |
| 3063 | + | |
3065 | 3064 | | |
3066 | 3065 | | |
3067 | | - | |
3068 | | - | |
3069 | | - | |
3070 | | - | |
| 3066 | + | |
| 3067 | + | |
| 3068 | + | |
| 3069 | + | |
| 3070 | + | |
| 3071 | + | |
3071 | 3072 | | |
3072 | 3073 | | |
3073 | 3074 | | |
| |||
0 commit comments