How do you define the options you see in ./configure --help?

扶醉桌前 提交于 2019-12-23 02:48:18

问题


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

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.

Thanks,

Sam


回答1:


Use AC_ARG_ENABLE and AC_ARG_WITH in your configure.ac file.



来源:https://stackoverflow.com/questions/2655177/how-do-you-define-the-options-you-see-in-configure-help

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!