Annotation of gpl/axl/get-python-config, revision 1.1
1.1 ! misho 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>