>>>>> Martin Landa <[EMAIL PROTECTED]> writes:

[...]

 > Python version is determined from small python script(s).

[...]

 > I didn't change this part of configure script.

 > The problem with python-config is that there is *no* version
 > switch.

 > Usage: /usr/bin/python-config
 > [--prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--help]

 > So how to determine python version using python-config?

 > You can currently run with --with-python=/usr/bin/python2.5 to
 > force using version 2.5.

        BTW, there're some Python-related Autoconf code in Automake and
        in the Autoconf Macro Archive, e. g.:

$ dpkg -S python.m4 
autoconf-archive: /usr/share/autoconf-archive/ax_boost_python.m4
autoconf-archive: /usr/share/autoconf-archive/ax_python.m4
autoconf-archive: /usr/share/autoconf-archive/ax_with_python.m4
autoconf-archive: /usr/share/autoconf-archive/az_python.m4
automake: /usr/share/aclocal-1.10/python.m4
$ 

        At the first glance, `az_python.m4' seems to be the most
        suitable.  Apparently, it doesn't depend on `python-config', but
        accesses the same configuration storage using the ways native to
        Python.

        Is this check suitable for GRASS?

[...]

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to