summaryrefslogtreecommitdiff
blob: d9bafa0690469aa859e0a8a70de5cb8372251c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/configure
+++ b/configure
@@ -1503,7 +1503,7 @@ if [ -n "$gclib" -a -n "$gcinclude" ]; then
 #include <gc.h>
 main()
 {
-  extern unsigned GC_version;
+  unsigned GC_version = GC_get_version();
   printf("%d%02d%03d\n",(GC_version>>16)&0xff,(GC_version>>8)&0xff,GC_version&0xff);
 }
 EOF