1

I need to get the shell equivalent of

export PYTHONHTTPSVERIFY=0

to work in an autotools .am file, but can't get it working. I currently have this declaration in my Makefile.am file:

PYTHONHTTPSVERIFY=0

but when the build runs it is not behaving as though that variable is set as an environment variable. Can anyone advise on what the correct syntax is?

1 Answer 1

1

To declare environment variables is better to user the configure.ac file. There you can write:

export PYTHONHTTPSVERIFY=0

However, I am not sure what are you trying to achieve with that. Do you need an environmental variable to run your program or to compile it? In the former case, other methods are preferable.

2
  • This variable only needed for the build, trying your suggestion now. Commented Jun 23, 2017 at 16:58
  • If you need it for building the project, configure.ac is the right place :) Commented Jun 26, 2017 at 6:50

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.