update to find programs from path instead of being hardcoded when build

This commit is contained in:
Blake J. Harnden 2018-03-21 23:07:34 -07:00
parent 4987019cf8
commit 987e6f4f50
3 changed files with 26 additions and 17 deletions

View file

@ -15,11 +15,11 @@ AM_INIT_AUTOMAKE([tar-ustar])
PACKAGE_DATE=m4_esyscmd_s([date +%Y%m%d])
PACKAGE_VENDOR="CORE Developers"
PACKAGE_MAINTAINERS="$PACKAGE_VENDOR <$PACKAGE_BUGREPORT>"
# core specific variables
CORE_LIB_DIR="\${prefix}/lib/core"
# TODO: hard setting path, until support by setup.py
CORE_CONF_DIR="/etc/core"
CORE_DATA_DIR="\${datarootdir}/core"
# TODO: verify there is need to hard set /var
CORE_DATA_DIR="\${datadir}/core"
CORE_STATE_DIR="/var"
AC_SUBST(PACKAGE_DATE)