|
From: | Vincent Torri |
Subject: | detection of gcc version |
Date: | Sun, 11 Jan 2009 07:09:15 +0100 (CET) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |