~xav0989/ubuntu/vivid/mailman/ubuntu-logo

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2008-04-24 19:30:49 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080424193049-jy5fa9tus40tjbmn
Tags: 1:2.1.10-2
Apply upstream patch to fix regression in cmd_subscribe
so that email subscribe to the -subscribe or -join address or the
-request address with a bare 'subscribe' command results in the message
being shunted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1849
1849
    except distutils.errors.DistutilsPlatformError:
1850
1850
        res = "no"
1851
1851
    else:
1852
 
        res = "yes"
 
1852
        # some RedHat packages put distutils in python, but the C headers
 
1853
        # are in python-devel so check for headers too.
 
1854
        import os.path
 
1855
        pdothpath = distutils.sysconfig.get_config_var('CONFINCLUDEPY')
 
1856
        if os.path.isfile(os.path.join(pdothpath, "Python.h")):
 
1857
            res = "yes"
 
1858
        else:
 
1859
            res = "no"
1853
1860
fp = open("conftest.out", "w")
1854
1861
fp.write("%s\n" % res)
1855
1862
fp.close()
1865
1872
***** Distutils is not available or is incomplete for $PYTHON
1866
1873
***** If you installed Python from RPM (or other package manager)
1867
1874
***** be sure to install the -devel package, or install Python
1868
 
***** from source.  See README.LINUX for details" >&5
 
1875
***** from source.  See sec. 15.1 of the Installation Manual for
 
1876
***** details" >&5
1869
1877
echo "$as_me: error:
1870
1878
 
1871
1879
***** Distutils is not available or is incomplete for $PYTHON
1872
1880
***** If you installed Python from RPM (or other package manager)
1873
1881
***** be sure to install the -devel package, or install Python
1874
 
***** from source.  See README.LINUX for details" >&2;}
 
1882
***** from source.  See sec. 15.1 of the Installation Manual for
 
1883
***** details" >&2;}
1875
1884
   { (exit 1); exit 1; }; }
1876
1885
fi
1877
1886
{ echo "$as_me:$LINENO: result: $havedistutils" >&5