summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-12-17 15:41:54 +0200
committerTor Lillqvist <tml@collabora.com>2013-12-17 15:41:54 +0200
commit236c0762c14cace93deae4175073519ef67e4b48 (patch)
tree6242fd074393f4af4eb0dec9a88901450d894f52 /configure.ac
parent05fa566b17902f76343952fb8355d576208fd097 (diff)
touch -h requires the file to exist, funnily enough
Change-Id: I38639236f9e7cc2ec8f4e4f9adc708822bc2f73d
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 897aac81fabb..69fb9eb23752 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9953,6 +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])
+touch warn
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