mirror of
https://github.com/home-assistant/operating-system.git
synced 2026-05-25 09:58:51 +01:00
dcfb296dcf
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
29 lines
526 B
Bash
29 lines
526 B
Bash
#!/bin/sh
|
|
|
|
#
|
|
# Minimal pg_config implementation as replacement for the native pg_config application
|
|
# Only implements --includedir and --libdir
|
|
#
|
|
|
|
prefix=/usr
|
|
|
|
case "$1" in
|
|
--includedir)
|
|
echo "$prefix/include"
|
|
;;
|
|
--includedir-server)
|
|
echo "$prefix/include/postgresql/server"
|
|
;;
|
|
--libdir)
|
|
echo "$prefix/lib"
|
|
;;
|
|
--version)
|
|
echo "PostgreSQL @POSTGRESQL_VERSION@"
|
|
;;
|
|
--configure)
|
|
echo "@POSTGRESQL_CONF_OPTIONS@"
|
|
;;
|
|
*)
|
|
echo "Usage: $0 {--includedir|--includedir-server|--libdir|--version|--configure}"
|
|
esac
|