summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 56a681b)
raw | patch | inline | side by side (parent: 56a681b)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 14 Oct 2012 21:02:19 +0000 (23:02 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 14 Oct 2012 21:02:19 +0000 (23:02 +0200) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 67af327e86f2428b02315da9d7553b10b766a572..d84ab3a30bdde80a84d8e8aac7b021b0b3717076 100644 (file)
--- a/configure.ac
+++ b/configure.ac
have_xsltproc="yes"
AC_PATH_PROG([XSLTPROC], [xsltproc])
if test "x$XSLTPROC" = "x"; then
- have_xsltproc="no"
- build_documentation="no (missing xsltproc)"
+ have_xsltproc="no"
+ build_documentation="no (missing xsltproc)"
fi
have_a2x="yes"
AC_PATH_PROG([A2X], [a2x])
if test "x$A2X" = "x"; then
- have_a2x="no"
- build_documentation="no (missing a2x)"
+ have_a2x="no"
+ build_documentation="no (missing a2x)"
fi
AC_SUBST([A2X])
AC_MSG_ERROR([could not find pg_config in \$PATH; rerun configure with the --with-pgconfig parameter.])
fi
else
+ AC_MSG_CHECKING([pg_config usability])
if test "x$PG_CONFIG" = "xyes" -o "x$PG_CONFIG" = "xno"; then
AC_MSG_ERROR([please specify a parameter for --with-pgconfig])
else
AC_MSG_ERROR([the specified path to pg_config does not exist: $PG_CONFIG])
fi
fi
+ AC_MSG_RESULT([yes])
fi
AC_SUBST([PG_CONFIG])
+AC_MSG_CHECKING([for pgxs.mk])
PGXS=`$PG_CONFIG --pgxs`
if ! test -f "$PGXS"; then
AC_MSG_ERROR([could not find PGXS Makefile: '$PGXS'])
fi
AC_SUBST([PGXS])
+AC_MSG_RESULT($PGXS)
PG_VERSION=`$PG_CONFIG --version`