在 C 编译时检测 --prefix 位置
我正在使用 C 和 Automake 工具。现在。我找不到检测 --prefix
值的方法 这样我就可以搜索我的应用程序的配置文件。
有办法做到这一点吗?一些我能读懂的#ifdef
?
提前致谢。
I'm working with C and Automake tools. Now. I can't find a way to detect the --prefix
value
so I can search for my config files for my application.
Is there a way to do this? Some #ifdef
that I can read?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不想回答我自己的问题,但感谢你们,我弄清楚了如何使其
在需要的地方使用单引号和双引号,然后在我的代码中
I don't like to answer my own question but thanks to you goys i figured it out how to make it work
the single and double quotes where needed, then in my code