1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Fix PG_VERSION_NUM awk -F parameter.

This commit is contained in:
Bruce Momjian
2006-02-28 21:59:19 +00:00
parent 2b8afe6193
commit c979afb7e0
2 changed files with 3 additions and 3 deletions

2
configure vendored
View File

@ -4744,7 +4744,7 @@ fi
# Supply a numeric version string for use by 3rd party add-ons
PG_VERSION_NUM="`echo "$PACKAGE_VERSION" | sed 's/A-Za-z.*$//' |
$AWK -F'\.' '{printf \"%d%02d%02d\", $1, $2, (NF >= 3) ? $3 : 0}'`"
$AWK -F'.' '{printf \"%d%02d%02d\", $1, $2, (NF >= 3) ? $3 : 0}'`"
cat >>confdefs.h <<_ACEOF
#define PG_VERSION_NUM $PG_VERSION_NUM