title: pypokereval library configure script fails with "No python development environments found"
body: <p>I'm trying to compile the pypoker-eval-138.0  library for python2.7 (default on mint linux):</p>
  
  <ul>
  <li><a href="http://download.gna.org/pokersource/sources/" rel="nofollow">source tarball dir</a></li>
  <li><a href="http://gna.org/projects/pokersource/" rel="nofollow">GNA pokersource site</a></li>
  </ul>
  
  <p>So when running the configure script via <code>./configure</code>, I get errors regarding the python interpreter version:</p>
  
  <pre><code>    ...snip...
  checking for a Python interpreter with version =2.3... done
  checking for a Python interpreter with version =2.4... done
  checking for a Python interpreter with version =2.5... done
  checking for a Python interpreter with version =2.6... done
  configure: error: No python development environments found
  </code></pre>
  
  <p>Versions of python I have installed:</p>
  
  <pre><code>ls /usr/bin/python*
  /usr/bin/python (/usr/bin/python -&gt; python2.7)
  /usr/bin/python2-dbg-config
  /usr/bin/python2               /usr/bin/python3
  /usr/bin/python2.7             /usr/bin/python3.3
  /usr/bin/python2.7-config      /usr/bin/python3.3m
  /usr/bin/python2.7-dbg         /usr/bin/python3m
  /usr/bin/python2.7-dbg-config  /usr/bin/python-config
  /usr/bin/python2-config        /usr/bin/python-dbg
  /usr/bin/python2-dbg           /usr/bin/python-dbg-config
  </code></pre>
  
  <p>I have also tried <code>./configure PYTHON="/usr/bin/python2.7"</code> and similar but run into variants on the above issue:</p>
  
  <pre><code> ...snip..
   checking whether to enable maintainer-specific portions of Makefiles... no
   checking whether /usr/bin/python2.7 version =2.3... configure: error: too old
  </code></pre>
  
  <p>In an effort to resolve this issue, I have spent a significant amount of time trying to change the aclocal/autoconf setup, but am not very familiar with what should be done. I have the following .m4 files that I have tried editing to varying degrees of failure:</p>
  
  <pre><code> ls ./aclocal.m4 ./config/*
   ./aclocal.m4           ./config/install-sh      ./config/ltsugar.m4
   ./config/ccpython.m4   ./config/libtool.m4      ./config/ltversion.m4
   ./config/config.guess  ./config/ltmain.sh       ./config/missing
   ./config/config.sub    ./config/lt~obsolete.m4  ./config/py-compile
   ./config/depcomp       ./config/ltoptions.m4    ./config/python.m4
  </code></pre>
  
  <p>For example, <code>./config/ccpython.m4</code>:</p>
  
  <pre><code> ...snip..
   AC_DEFUN([ALL_CC_PYTHON],
   [ 
   m4_define([_AM_PYTHON_INTERPRETER_LIST], [python2.6 python2.5 python2.4 python2.3])
   PYTHONS=''
   found_one=''
   _ONE_CC_PYTHON([=2.3], [2_3])
   if test -f "$PYTHON" ; then found_one=$PYTHON ; PYTHONS="$PYTHON $PYTHONS" ; fi
   unset PYTHON
   ...snip..
  </code></pre>
  
  <p>My question is, specifically: how do I compile a python module for 2.7 that has a configure script that only supports up to 2.6? Do I have to regenerate the configure script, or can I just pass some flag or variable to the configure script to force build for 2.7?</p>
  
  <p>Thanks a ton!</p>