Commits

Harald Klimach committed 74f3ac3

Synchronize the xlf version detection to the xlc one.

Comments (0)

Files changed (1)

waflib/extras/fc_xlf.py

 	except Errors.WafError:
 		conf.fatal('Could not find xlf %r' % cmd)
 
-	for v in (r"IBM XL Fortran.*, V(?P<major>\d*)\.(?P<minor>\d*)", r"IBM XL Fortran.*Version: V(?P<major>\d*)\.(?P<minor>\d*)"):
-		version_re = re.compile(v, re.I | re.M).search
+	for v in (r"IBM XL Fortran.* V(?P<major>\d*)\.(?P<minor>\d*)"):
+		version_re = re.compile(v, re.I).search
 		match = version_re(out or err)
 		if match:
 			k = match.groupdict()