summaryrefslogtreecommitdiff
blob: c0de1effc2390151794e8708f1b6b2ddfdbd9ea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- noteedit/configure.in.in	2005/07/04 19:44:25	263
+++ noteedit/configure.in.in	2005/07/28 18:53:19	284
@@ -91,20 +91,22 @@
 then
 	AC_DEFINE(GCC_MAJ_VERS, 2, [main version number of gcc])
 	rm -f compvers.cc compvers.o compvers
+elif test "X$ccversion" = "X3"
+then
+	AC_DEFINE(GCC_MAJ_VERS, 3, [main version number of gcc])
+	rm -f compvers.cc compvers.o compvers
+elif test "X$ccversion" = "X4"
+then
+	AC_DEFINE(GCC_MAJ_VERS, 4, [main version number of gcc])
+	rm -f compvers.cc compvers.o compvers
 else
-	if test "X$ccversion" = "X3"
-	then
-		AC_DEFINE(GCC_MAJ_VERS, 3, [main version number of gcc])
-		rm -f compvers.cc compvers.o compvers
-	else
-		echo ""
-		echo "Cannot determine g++ version"
-		echo "Check your compiler installation or"
-		echo "try to find out why \"./compvers\" doesn't"
-		echo "supply \"2\" or \"3\"!"
-		echo ""
-		exit
-	fi
+	echo ""
+	echo "Cannot determine g++ version"
+	echo "Check your compiler installation or"
+	echo "try to find out why \"./compvers\" doesn't"
+	echo "supply \"2\", \"3\" or \"4\"!"
+	echo ""
+	exit
 fi