Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.x: don’t include editline/readline.h, use the embedded readline #64

Closed

Conversation

markmentovai
Copy link

When building for a Python whose own readline module has been configured to use editline, WITH_EDITLINE will be defined during the python-gnureadline build, by virtue of its inclusion of "pyconfig.h" (via "Python.h"). This macro being defined caused python-gnureadline to a problem because python-gnureadline is expecting and has configured itself to use its own embedded copy of GNU readline.

This removes the HAVE_EDITLINE branch to allow the expected readline headers to be included.

See https://trac.macports.org/ticket/68265.

When building for a Python whose own readline module has been configured
to use editline, WITH_EDITLINE will be defined during the
python-gnureadline build, by virtue of its inclusion of "pyconfig.h"
(via "Python.h"). This macro being defined caused python-gnureadline to
a problem because python-gnureadline is expecting and has configured
itself to use its own embedded copy of GNU readline.

This removes the HAVE_EDITLINE branch to allow the expected readline
headers to be included.

See https://trac.macports.org/ticket/68265.
@ludwigschwardt
Copy link
Owner

ludwigschwardt commented Apr 26, 2024

Thanks Mark, closed as this is included in #71.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants