2001-08-16 11:31:29 +02:00
|
|
|
#! /bin/sh
|
|
|
|
# anders@fix.no, 2001-08-07
|
|
|
|
|
2001-11-06 15:24:29 +01:00
|
|
|
pydir=`dirname $1 | sed "s/\/bin//"`
|
2004-03-11 14:20:01 +01:00
|
|
|
if [ "`ldd $1|egrep 'libc_r|libkse|libthr|libpthread'`" ]; then
|
2001-11-06 15:24:29 +01:00
|
|
|
echo "Error: Python installation in $pydir uses threads. mod_python requires"
|
2001-08-16 11:31:29 +02:00
|
|
|
echo "it to be built without threads. Please deinstall & rebuild/reinstall Python with"
|
|
|
|
echo "WITHOUT_THREADS set."
|
|
|
|
exit 1
|
2003-08-05 05:21:47 +02:00
|
|
|
else
|
2001-11-06 15:24:29 +01:00
|
|
|
echo "Using a no-threads Python installation (in $pydir). Good."
|
2001-08-16 11:31:29 +02:00
|
|
|
exit 0
|
2003-08-05 05:21:47 +02:00
|
|
|
fi
|