Super User Asked by Tomasso on December 15, 2020
How can my configure.ac portably set an environment variable?
I want my configure script to set an environment variable. On linux and MacOS this would be:
export MYVAR=somevalue
On Windows it is (presumably, I don’t use Windows):
setx MYVAR "somevalue"
How to express this in the configure.ac script? Is there an AC_* macro that outputs the command for the current OS?
Thanks!
2 Asked on August 5, 2020 by mill
1 Asked on August 5, 2020 by kaleb
1 Asked on August 4, 2020 by techhorse
1 Asked on August 1, 2020 by finn-rup-nielsen
1 Asked on July 29, 2020 by igrimpe
2 Asked on July 27, 2020 by saadq
1 Asked on July 26, 2020 by cicekadam
4 Asked on July 26, 2020 by aarav-prasad
2 Asked on July 24, 2020 by marcusw
Get help from others!
Recent Answers
Recent Questions
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP