This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author andrei.avk
Recipients Jiachen Yang, Manjusaka, andrei.avk, etale-cohomology, lilydjwg
Date 2021-11-03.17:54:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635962056.72.0.0158946326111.issue41105@roundup.psfhosted.org>
In-reply-to
Content
I think adding this code in the `configure` script may fix it:

as_ac_Header=`$as_echo "ac_cv_header_stropts.h" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "stropts.h" "$as_ac_Header" "$ac_includes_default"
if eval test \"x\$"$as_ac_Header"\" = x"yes" && [ -s stropts.h ]; then :
  cat >>confdefs.h <<_ACEOF
#define `$as_echo "HAVE_stropts.h" | $as_tr_cpp` 1
_ACEOF
fi

here: https://github.com/akulakov/cpython/blob/8f24b7dbcbd83311dad510863d8cb41f0e91b464/configure#L8144

.. but I wasn't able to test it. I have a MacOS system and for me even with a non-empty stropts.h, configure does not pick it up.
History
Date User Action Args
2021-11-03 17:54:16andrei.avksetrecipients: + andrei.avk, lilydjwg, Manjusaka, Jiachen Yang, etale-cohomology
2021-11-03 17:54:16andrei.avksetmessageid: <1635962056.72.0.0158946326111.issue41105@roundup.psfhosted.org>
2021-11-03 17:54:16andrei.avklinkissue41105 messages
2021-11-03 17:54:16andrei.avkcreate