From de1acbf0e3ac1d6a443db7704272a9edab81735b Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 22 Sep 2014 12:48:03 +0200 Subject: configury: PREV_POSTGRES_BIN may be unset * configure.ac: Postpone PREV_POSTGRES_BIN check after the PREVPGENGINE check. --- configure.ac | 8 ++++---- 1 file 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 -- cgit