diff options
| author | Tom Lane | 2005-09-27 17:39:35 +0000 |
|---|---|---|
| committer | Tom Lane | 2005-09-27 17:39:35 +0000 |
| commit | 4fc935a5d47d40aac5b1ecf51aa5beaab03e8f76 (patch) | |
| tree | 9aef18fd9bff87d88ae58fb0d3eb93654cf9c83e /src/include | |
| parent | 2d8225eecc555552b89b66bc6d975760e4f1de4c (diff) | |
Fix problems with PGXS builds against an installation tree that was
relocated after installation. We can't trust the installation paths
inserted into Makefile.global by configure, so instead we must get the
paths from pg_config. This requires extending pg_config to support all
the separately-configurable path names, but that was on TODO anyway.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/port.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/port.h b/src/include/port.h index 7172ce5fb53..a95ac4a85e7 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/port.h,v 1.82 2005/08/29 19:39:39 tgl Exp $ + * $PostgreSQL: pgsql/src/include/port.h,v 1.83 2005/09/27 17:39:34 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -43,6 +43,8 @@ extern void get_includeserver_path(const char *my_exec_path, char *ret_path); extern void get_lib_path(const char *my_exec_path, char *ret_path); extern void get_pkglib_path(const char *my_exec_path, char *ret_path); extern void get_locale_path(const char *my_exec_path, char *ret_path); +extern void get_doc_path(const char *my_exec_path, char *ret_path); +extern void get_man_path(const char *my_exec_path, char *ret_path); extern void set_pglocale_pgservice(const char *argv0, const char *app); extern bool get_home_path(char *ret_path); extern void get_parent_directory(char *path); |
