File:  [ELWIX - Embedded LightWeight unIX -] / gpl / axl / get-python-config
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 8 07:09:12 2011 UTC (12 years, 11 months ago) by misho
Branches: axl, MAIN
CVS tags: HEAD, AXL0_6_7, AXL0_6_1
3th party - XML

#!/bin/bash

python-config --includes > /dev/null 2>&1
if [ "$?" == "0" ]; then
	which python-config
	exit 0;
fi

# get python 2.4 flags
python2.4-config --includes > /dev/null 2>&1
if [ $? == 0 ]; then
	which python2.4-config 
	exit 0;
fi

# get python 2.5 flags
python2.5-config --includes > /dev/null 2>&1
if [ "$?" == "0" ]; then
	which python2.5-config 
	exit 0;
fi


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>