From 78103f138136922d3e568a68e911aa097632bb58 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 18 Sep 2014 14:29:45 +0200 Subject: configure: show the configuration results once done * configure.ac: Print the basic info about configured postgresql-setup project. --- configure.ac | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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 +]) -- cgit