[Xapian-tickets] [Xapian] #509: syntax error in configure.ac (cygwin python detection)
Xapian
nobody at xapian.org
Fri Oct 8 14:22:37 BST 2010
#509: syntax error in configure.ac (cygwin python detection)
-----------------------------+----------------------------------------------
Reporter: jilles | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone:
Component: Xapian-bindings | Version: 1.0.18
Severity: normal | Keywords:
Blockedby: | Platform: All
Blocking: |
-----------------------------+----------------------------------------------
The cygwin python detection added in r11804 contains a syntax error: the
closing parenthesis should be inside the single-quotes, not outside. This
means it can never have fulfilled the intended purpose.
(However, the build may have worked with ash variants as sh, because most
of these have a bug that causes the extraneous parenthesis to be silently
ignored. Python will then report a syntax error but this is not checked
and {{{PYTHON_LIBS}}} ends up empty as if r11804 weren't there.)
I plan to fix the ash bug (in FreeBSD sh in particular), which causes the
shell to abort when it encounters the error, even if the cygwin case is
not executed. This is also how I found this {{{configure.ac}}} bug.
After fixing the syntax error, {{{PYTHON_LIBS}}} appears to be set to
sensible values for python 2.6 and 3.1. I do not have Windows so I cannot
check if the cygwin build now works.
--
Ticket URL: <http://trac.xapian.org/ticket/509>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list