diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -277,6 +277,16 @@ echo "${VERSION}" [ -z "${DOCDIR_set}" ] && DOCDIR="${PREFIX}/share/doc/ct-ng-${VERSION}" [ -z "${MANDIR_set}" ] && MANDIR="${PREFIX}/share/man/man1" +# Check that install PATHs are absolute +for p in BIN LIB DOC MAN; do + var="${p}DIR" + eval v="\${${var}}" + case "${v}" in + /*) ;; + *) do_error "'${var}' is not an absolute path: '${v}'" + esac +done + # Check the existence of absolutely required tools { IFS=' '; |