under my project, I have 3 source code packages, say package1, package2, package3. one of them will be compiled according to a dependent software (e.g. softA) version.
if I input './configure --softA-version=1.7.2', I hope that package3 will be choose.
In the makefile.am, it might look like
if "softA_version" == "1.5.2"; then
SUBDIRS = package1
else if "softA_version == "1.6.4"; then
SUBDIRS = package2
else if "softA_version" == "1.7.2"; then
SUBDIRS = package3
endif
how should I define Micros in configure.ac or a *.m4 file?