Nicolas Lehuen wrote:
The problem is that this won't work when building on Windows. I think
we should use Python scripts instead of configure, grep et al which
are not truly portable (well, I hear you, portable everywhere except
on Windows :)).

Use python? PYTHON???? Well, the very idea... :)

Same principal, different tool. I'd still be willing to take a shot at it.

Just curious - how does the use of awk and sed in configure impact building on Windows?

Regards,
Jim


2005/5/20, Jim Gallacher (JIRA) <[EMAIL PROTECTED]>:

    [ 
http://issues.apache.org/jira/browse/MODPYTHON-55?page=comments#action_65861 ]

Jim Gallacher commented on MODPYTHON-55:
----------------------------------------

Would it be appropriate to determine the version at configure time?

If so we could create a file mod_python/__init__.py.in which would contain:
version="@MP_VERSION@"

and configure would grep src/include/mpversion.h for MPV_STRING and generate 
__init__.py from __init__.py.in.

If this seems reasonable I can put something together.


Add a version attribute to the mod_python module.
-------------------------------------------------

        Key: MODPYTHON-55
        URL: http://issues.apache.org/jira/browse/MODPYTHON-55
    Project: mod_python
       Type: Improvement
   Versions: 3.1.4
   Reporter: Nicolas Lehuen
   Assignee: Nicolas Lehuen
    Fix For: 3.2.0

(asked by dharana) There is no easy way to know the version of mod_python used from within an handler. Why not try to add a version string attribute to the mod_python module ?

-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira





Reply via email to