Fresco/config compiler.m4,1.4,1.5
Tobias Hunger <[email protected]> Wed, 04 Jun 2003 17:39:02 -0500
| Newsgroups | gmane.comp.video.fresco.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvs/fresco/Fresco/config
In directory purcel:/tmp/cvs-serv26332
Modified Files:
compiler.m4
Log Message:
Make configure stop if g++ isen't of version >= 3.0. Closes bug273
Index: compiler.m4
===================================================================
RCS file: /cvs/fresco/Fresco/config/compiler.m4,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- compiler.m4 14 May 2003 22:42:13 -0000 1.4
+++ compiler.m4 4 Jun 2003 22:38:59 -0000 1.5
@@ -59,6 +59,12 @@
changequote([, ])
if test ".$ac_cv_prog_gcc" = ".yes" ; then
+ AC_MSG_CHECKING([Checking GCC version >= 3.0])
+ if test `$CXX -dumpversion | cut -d. -f1` -lt 3 ; then
+ AC_MSG_ERROR([GCC is too old])
+ else
+ AC_MSG_RESULT([ok])
+ fi
for flag in "-pipe" ; do
case "$CFLAGS" in
( *${flag}* ) ;;