I'm trying to edit a configure script that will execute this piece of code if it is above Automake version x.xx, and if it isn't, it executes a different piece of code.
So, I think that version I want to check for 1.10.
If it's above this version, I want it to be this: m4_rename_force([glibcxx_PRECIOUS],[_AC_ARG_VAR_PRECIOUS])
otherwise, this:
m4_rename([glibcxx_PRECIOUS],[_AC_ARG_VAR_PRECIOUS])
So I would assume it would look something like this(in configure.in):
if test GET_AUTOMAKE_VERSION >= 1.10; then
m4_rename_force([glibcxx_PRECIOUS],[_AC_ARG_VAR_PRECIOUS])
else
m4_rename([glibcxx_PRECIOUS],[_AC_ARG_VAR_PRECIOUS])
fi
Or something like that.
Also, should I check for the autoconf or automake version? Possibly both?