diff options
| author | Pavel Raiskup <praiskup@redhat.com> | 2014-07-01 13:41:43 +0200 |
|---|---|---|
| committer | Pavel Raiskup <praiskup@redhat.com> | 2014-07-01 13:44:30 +0200 |
| commit | 7b1bb4fd5a05b9c35ae23734f12b2a92fe5f0a57 (patch) | |
| tree | be4ca41ca8c8c169440fd5e4b474ff420867a791 /configure.ac | |
| parent | 6472bbf1c6d2ad140a7502a7788ed6c4a9193a7d (diff) | |
| download | postgresql-setup-7b1bb4fd5a05b9c35ae23734f12b2a92fe5f0a57.tar.gz postgresql-setup-7b1bb4fd5a05b9c35ae23734f12b2a92fe5f0a57.tar.xz postgresql-setup-7b1bb4fd5a05b9c35ae23734f12b2a92fe5f0a57.zip | |
postgresql-check-db-dir generated also
Also generate files using sed as is suggested by autoconf manual
(and the autoconf project does so internally).
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 285b01f..33bb4ef 100644 --- a/configure.ac +++ b/configure.ac @@ -10,6 +10,10 @@ AM_SILENT_RULES([yes]) AC_ARG_VAR([DISTSUFF], [Append string suffix to all binaries]) AC_SUBST([DISTSUFF]) +AC_PATH_PROG([SED], [sed]) +test -z "$ac_cv_path_SED" && + AC_MSG_ERROR([Sed is needed but not found.]) + # For SELinux purposes use rather runuser AC_PATH_PROG([SU], [runuser]) test -z "$ac_cv_path_SU" && @@ -129,7 +133,7 @@ if test -z "$PGDATADIR" -a "$distro_family" = redhat; then fi # TODO -pgdocdir=/usr/share/postgresql/doc +pgdocdir=/usr/share/doc/postgresql AC_SUBST([pgdocdir]) # Deal with previous versions |
