Browse Source

Fixed version parsing

Zakay Danial 13 years ago
parent
commit
e21b955c6a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config.m4

+ 1 - 1
config.m4

@@ -51,7 +51,7 @@ int main ()
 		return 0;
 		return 0;
 	}
 	}
 	return 1;
 	return 1;
-}], [ac_cv_v8_version=`cat ./conftestval`], [ac_cv_v8_version=NONE], [ac_cv_v8_version=NONE])
+}], [ac_cv_v8_version=`cat ./conftestval|awk '{print $1}'`], [ac_cv_v8_version=NONE], [ac_cv_v8_version=NONE])
 AC_LANG_RESTORE
 AC_LANG_RESTORE
 LIBS=$old_LIBS
 LIBS=$old_LIBS
 LDFLAGS=$old_LDFLAGS
 LDFLAGS=$old_LDFLAGS