【问题标题】:Autotools: include python script in ./configure.shAutotools:在 ./configure.sh 中包含 python 脚本
【发布时间】:2013-09-12 15:28:11
【问题描述】:

我们的 Linux C 应用程序的构建是由 GNU Autotools 执行的,在此过程中,我们需要查看客户端的文件系统并构建相当复杂的配置文件。从我们的角度来看,Python 脚本是解决这个问题的最好方法。

  1. 那么,是否可以在里面运行自定义 python 脚本 ./configure.sh
  2. 应如何为此更改 configure.acMakefile.am 文件?

谢谢。

【问题讨论】:

    标签: python linux configure autotools autoconf


    【解决方案1】:

    我有点假设 configure.shconfigure

    1. 当然。 configure 只是一个 shell 脚本。
    2. automake 有用于Python 的工具,Autoconf Macro Archive 也有一些 Python 宏。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-11-06
      • 2023-01-08
      • 2023-03-09
      • 1970-01-01
      • 2017-04-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多