summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac15
1 files changed, 14 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3e0f378..843f29d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -130,8 +130,12 @@ if test -z "$PREVMAJORVERSION"; then
| sed 's/.*postgresql-\([[0-9\.]]\+\).*/\1/')
;;
esac
+ AC_MSG_RESULT($PREVMAJORVERSION)
+fi
+
+if test -z "$PREV_POSTGRES_BIN"; then
+ AC_MSG_ERROR([can not detect \$PREV_POSTGRES_BIN])
fi
-AC_MSG_RESULT($PREVMAJORVERSION)
# Detect PREVPGENGINE
if test -z "$PREVPGENGINE"; then
@@ -174,3 +178,12 @@ PGSETUP_SUBST_REQ([POSTGRES_HOMEDIR], [full path to postgres home dir])
PGSETUP_SUBST_REQ([PGDATADIR], [full path to postgres data dir])
AC_OUTPUT
+
+AC_MSG_NOTICE([Configured the folowing way:
+
+ PostgreSQL version: $PGVERSION
+ PGDATADIR: $PGDATADIR
+ Upgrade from: $PREVMAJORVERSION
+ PREV_POSTGRES_BIN: $PREV_POSTGRES_BIN
+ README_DIST: $README_DIST
+])