I have a little problem with autoconf, I know that you can use configure.ac to add some defines to configure.h, but is there a way to do something like this:
in one of my headers I have
#ifndef SIZE
#define SIZE 4
#endif
now I want to have an option that if I invoke
./configure
it creates makefile and the size is 4, but when someone does
./configure --block-size=num
the SIZE will be set to num, preferably I want to do this without config.h, I just want him to add something to makefile, so the compilation will be invoked with
-DSIZE=num
Quite simple.