[Libreoffice-commits] core.git: configure.ac

Douglas Mencken dougmencken at gmail.com
Tue Dec 17 04:16:03 PST 2013


 configure.ac |    9 +++++++++
 1 file changed, 9 insertions(+)

New commits:
commit 877f7e6eaee9d7da176d02b06dee9847cc332d13
Author: Douglas Mencken <dougmencken at 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 <nthiebaud at gmail.com>
    Tested-by: Norbert Thiebaud <nthiebaud at 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=""


More information about the Libreoffice-commits mailing list