configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) New commits: commit 877f7e6eaee9d7da176d02b06dee9847cc332d13 Author: Douglas Mencken <dougmenc...@gmail.com> Date: Thu Dec 12 08:08:22 2013 -0500
Add check for touch -h to configure.ac Change-Id: I53c452dac9cef64fce9a3e7e28956efe95fc4c24 Reviewed-on: https://gerrit.libreoffice.org/7046 Reviewed-by: Norbert Thiebaud <nthieb...@gmail.com> Tested-by: Norbert Thiebaud <nthieb...@gmail.com> diff --git a/configure.ac b/configure.ac index a7c8c80..687965c 100644 --- a/configure.ac +++ b/configure.ac @@ -9948,6 +9948,15 @@ if test $build_os = cygwin; then 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 =================================================================== R="" _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits