您如何定义在./configure --help中看到的选项? [英] How do you define the options you see in ./configure --help?

查看:176
本文介绍了您如何定义在./configure --help中看到的选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在尝试设置要与自动工具一起安装的软件包.

I'm currently trying to set up a package to be installed with autotools.

在大多数(如果不是全部)主要软件包中,configure --help列出了大量选项,例如./configure --ENABLE-FLOAT等.我想知道在哪里可以定义这些选项.

In most, if not all, major software packages, configure --help lists a large number of options like ./configure --ENABLE-FLOAT, etc. I was wondering where I can define these options.

谢谢

山姆

推荐答案

使用 在您的configure.ac文件中.

Use AC_ARG_ENABLE and AC_ARG_WITH in your configure.ac file.

这篇关于您如何定义在./configure --help中看到的选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆