[libpng17] Disassembled the version number in scripts/options.awk (necessary

for building on SunOs)
This commit is contained in:
John Bowler
2012-12-17 23:36:08 -06:00
committed by Glenn Randers-Pehrson
parent fbbbc620b8
commit b940e5dc5d
3 changed files with 5 additions and 0 deletions

View File

@@ -102,6 +102,7 @@ pre && version == "search" && version_file != FILENAME{
pre && version == "search" && $0 ~ /^ \* libpng version/{
version = substr($0, 4)
gsub(/\./, " PNG_JOIN . PNG_JOIN", version)
print "version =", version >out
next
}