diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2014-09-18 14:29:45 +0200 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2014-09-18 14:39:36 +0200 |
commit | 78103f138136922d3e568a68e911aa097632bb58 (patch) | |
tree | 5a26573c78b347e1c9d144b92e0910b1bc73749c | |
parent | fc976d7de6c88cae8c4ac9946f963f5e736a17ea (diff) | |
download | postgresql-setup-78103f138136922d3e568a68e911aa097632bb58.tar.gz postgresql-setup-78103f138136922d3e568a68e911aa097632bb58.tar.xz postgresql-setup-78103f138136922d3e568a68e911aa097632bb58.zip |
configure: show the configuration results once done
* configure.ac: Print the basic info about configured
postgresql-setup project.
-rw-r--r-- | configure.ac | 15 |
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 +]) |