Add check for touch -h to configure.ac
Change-Id: I53c452dac9cef64fce9a3e7e28956efe95fc4c24 Reviewed-on: https://gerrit.libreoffice.org/7046 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
This commit is contained in:
committed by
Norbert Thiebaud
parent
9cd1ab37e9
commit
877f7e6eae
@@ -9947,6 +9947,15 @@ if test $build_os = cygwin; then
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl ===================================================================
|
||||
dnl We need touch with -h option support.
|
||||
dnl ===================================================================
|
||||
AC_PATH_PROG(TOUCH, touch)
|
||||
test -z "$TOUCH" && AC_MSG_ERROR([touch is required])
|
||||
if ! "$TOUCH" -h /dev/null 2>/dev/null > /dev/null; then
|
||||
AC_MSG_ERROR([touch version with -h option support is required to build, please install it and make sure it is the one found first in PATH],,)
|
||||
fi
|
||||
|
||||
dnl ===================================================================
|
||||
dnl Test which vclplugs have to be built.
|
||||
dnl ===================================================================
|
||||
|
Reference in New Issue
Block a user