summaryrefslogblamecommitdiff
path: root/www/mod_python/pkg-req.threads
blob: 918d09944ed4a521b0f33a83f5d75f45f265c48f (plain) (tree)
1
2
3
4
5
6
7
8
9


                           
                                    
                                   
                                                                                     


                                                                                               
    
                                                                        
              
  
#! /bin/sh
# anders@fix.no, 2001-08-07

pydir=`dirname $1 | sed "s/\/bin//"`
if [ "`ldd $1|grep libc_r`" ]; then
	echo "Error: Python installation in $pydir uses threads. mod_python requires"
	echo "it to be built without threads. Please deinstall & rebuild/reinstall Python with"
	echo "WITHOUT_THREADS set."
	exit 1
else
	echo "Using a no-threads Python installation (in $pydir). Good."
	exit 0
fi