I am quite new with using autotools and I am still learning.
So, as stated in the title of my topic I would like to know how to set compilation flags.
I know there already has been a topic on this but it didn't solve my problem :
I used :
...
AC_SUBST([AM_CXXFLAGS], [-Wall -Werror])
...
but unfortunately, when using ./configure
I get:
...
./configure: line 3436: -Wall: command not found
...
and as a result it produces Makefiles but with no targets
Thank you in advance for any help