diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2014-09-22 12:48:03 +0200 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2014-09-22 12:49:36 +0200 |
commit | de1acbf0e3ac1d6a443db7704272a9edab81735b (patch) | |
tree | 8cee2d111f16b83e4dc1640128b8b7375c99a1d1 /configure.ac | |
parent | 8054cec9eae4e424b4b1c6bf848672a39978a10f (diff) | |
download | postgresql-setup-de1acbf0e3ac1d6a443db7704272a9edab81735b.tar.gz postgresql-setup-de1acbf0e3ac1d6a443db7704272a9edab81735b.tar.xz postgresql-setup-de1acbf0e3ac1d6a443db7704272a9edab81735b.zip |
configury: PREV_POSTGRES_BIN may be unset
* configure.ac: Postpone PREV_POSTGRES_BIN check after
the PREVPGENGINE check.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 22526f6..6d7971a 100644 --- a/configure.ac +++ b/configure.ac @@ -133,12 +133,12 @@ if test -z "$PREVMAJORVERSION"; then AC_MSG_RESULT($PREVMAJORVERSION) fi -if test -z "$PREV_POSTGRES_BIN"; then - AC_MSG_ERROR([can not detect \$PREV_POSTGRES_BIN]) -fi - # Detect PREVPGENGINE if test -z "$PREVPGENGINE"; then + if test -z "$PREV_POSTGRES_BIN"; then + AC_MSG_ERROR([can not detect \$PREV_POSTGRES_BIN]) + fi + PREVPGENGINE=`AS_DIRNAME($PREV_POSTGRES_BIN)` fi |