10.其它GNU工具

本系列文章均翻译自Automake官方文档:Automake Manual,github同步项目:question

10.5 Python

AM_PATH_PYTHON ([version], [action-if-found],[action-if-not-found])

寻找python翻译器,会跳过比version小的翻译器。action-if-not-found未传入且没有找到翻译器,那么默认的动作是终止configure。还会创建多个基于python的输出变量。

    AM_PATH_PYTHON([2.6])

猜你喜欢

转载自blog.csdn.net/SHRINKSHR/article/details/85838719
10.