mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
d20e03f107
Assign maintainership to Anders Nordby <anders@fix.no> (approved by current maintainer) PR: 29738 Submitted by: Anders Nordby <anders@fix.no>
23 lines
546 B
Bash
23 lines
546 B
Bash
#! /bin/sh
|
|
# anders@fix.no, 2001-08-07
|
|
|
|
mydir=`dirname $0`
|
|
mylibc=`ldd $1 | tail +2 | awk '{print $1}' | cut -d'.' -f1 | grep ^libc`
|
|
|
|
case $mylibc in
|
|
libc_r)
|
|
echo "Error: Python installation in $2 uses threads. mod_python requires"
|
|
echo "it to be built without threads. Please deinstall & rebuild/reinstall Python with"
|
|
echo "WITHOUT_THREADS set."
|
|
exit 1
|
|
;;
|
|
libc)
|
|
echo "Using a no-threads Python installation (PREFIX $2). Good."
|
|
exit 0
|
|
;;
|
|
*)
|
|
echo "Unknown libc library. Cannot use a Python installation that uses this."
|
|
exit 1
|
|
;;
|
|
esac
|