diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2016-07-22 08:20:28 +0200 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2016-07-22 08:20:28 +0200 |
commit | 3fcfb0e1f4cf535ce3356ecef32a21a9e9fc27b5 (patch) | |
tree | 21edbc3325b8df4933e943d257e685862ff890ae /m4/packaging.m4 | |
parent | 300dc14017f27bc2ea79c0bb01a627d84d7790f6 (diff) | |
download | postgresql-setup-master.tar.gz postgresql-setup-master.tar.xz postgresql-setup-master.zip |
Diffstat (limited to 'm4/packaging.m4')
-rw-r--r-- | m4/packaging.m4 | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/m4/packaging.m4 b/m4/packaging.m4 deleted file mode 100644 index 3d166d3..0000000 --- a/m4/packaging.m4 +++ /dev/null @@ -1,44 +0,0 @@ -AC_DEFUN([PGSETUP_PACKAGING_INIT], [ - AC_CACHE_CHECK( - [for oprating system (distribution)], - [pgsetup_cv_os_family], [ - pgsetup_cv_os_family= - if test -r /etc/redhat-release; then - pgsetup_cv_os_family=redhat - fi - ] - ) - - case $pgsetup_cv_os_family in - redhat) - AC_PATH_PROG([RPM], [rpm]) - if test -z "$ac_cv_path_RPM"; then - AC_MSG_ERROR("can not find RPM package manager") - fi - ;; - *) - AC_MSG_ERROR([rpm distro only ATM (todo)]) - ;; - esac -]) - -# PGSETUP_SUBST_REQ(VARIABLE,DESCRIPTION) -# --------------------------------------- -# Make sure that the VARIABLE is mentioned in './configure --help' output and -# that it is not empty after processing this macro. Use the DESCRIPTION as a -# comment. -m4_define([PGSETUP_SUBST_REQ], [ - AC_ARG_VAR([$1], [$2]) - _AX_TEXT_TPL_SUBST([$1]) - test -z "$[]$1" && - AC_MSG_ERROR([the \$$1 variable is not set]) -]) - -# PGSETUP_SUBST_OPT(VARIABLE, DEFAULT, DESCRIPTION) -# ------------------------------------------------- -m4_define([PGSETUP_SUBST_OPT], [ - AC_ARG_VAR([$1], [$3]) - test -z "$[]$1" && - $1=$2 - _AX_TEXT_TPL_SUBST($1) -]) |