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

    1: #!/bin/bash
    2: 
    3: python-config --includes > /dev/null 2>&1
    4: if [ "$?" == "0" ]; then
    5: 	which python-config
    6: 	exit 0;
    7: fi
    8: 
    9: # get python 2.4 flags
   10: python2.4-config --includes > /dev/null 2>&1
   11: if [ $? == 0 ]; then
   12: 	which python2.4-config 
   13: 	exit 0;
   14: fi
   15: 
   16: # get python 2.5 flags
   17: python2.5-config --includes > /dev/null 2>&1
   18: if [ "$?" == "0" ]; then
   19: 	which python2.5-config 
   20: 	exit 0;
   21: fi
   22: 

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