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

Tor Lillqvist tml at collabora.com
Tue Dec 17 05:33:52 PST 2013


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 05fa566b17902f76343952fb8355d576208fd097
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Dec 17 15:31:24 2013 +0200

    Touch a plain file and not /dev/null to avoid problem on Cygwin at least
    
    Touch the "warn" file that we use to save warnings detected during
    configury.
    
    Change-Id: I44ad9a878f7768af6046337c0465e00061306dda

diff --git a/configure.ac b/configure.ac
index ab86c34..897aac8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9953,7 +9953,7 @@ 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
+if ! "$TOUCH" -h warn 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
 


More information about the Libreoffice-commits mailing list