Hey,

I would like to detect the major version of gcc in configure.ac. A guy told me to use sed like that:

GCC_MAJOR_VERSION=`$CC -dumpversion | sed "s/\..*//"`

Is there a better way to do that with autoconf macros ?

thank you

Vincent Torri


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to