I want to enable devtoolset-9 from autotools i.e. from configure.ac. I need to do this as I am using gcc 4 and gcc 9 both for the compilation. I know the option scl enable devtoolset-9 'make' but want a mechanism to enable it from configure script.
I tried multiple options like setting up SHELL, CC variable as CC='source scl_source enable devtoolset-9; gcc' but none of them worked.
Please let me know can it be done?