[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 08/15: Check AWK usability when XKB is enabled
From: |
Samuel Thibault |
Subject: |
[hurd] 08/15: Check AWK usability when XKB is enabled |
Date: |
Sun, 05 Jul 2015 00:42:00 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit f397f7c9c2a864f6496732a1406ed1f546cf3ad6
Author: Diego Nieto Cid <address@hidden>
Date: Fri Jun 5 00:28:19 2015 -0300
Check AWK usability when XKB is enabled
* configure.ac: test whether AWK provides strtonum function.
---
configure.ac | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/configure.ac b/configure.ac
index 71f3a0e..b03057b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -292,6 +292,14 @@ PKG_CHECK_MODULES([X11], [x11 xproto],
have_x11=no])
], [have_x11=no])
])
+
+AS_IF([test "$have_x11" = "yes"],
+ [AC_MSG_CHECKING([whether AWK is usable])
+ AS_IF([test "$AWK" != ":" && $AWK 'BEGIN { strtonum("1"); }' 2>/dev/null],
+ [AC_MSG_RESULT([yes])],
+ [AC_MSG_RESULT([no])
+ AC_MSG_ERROR([$AWK does not provide required strtonum function])])])
+
AC_SUBST([have_x11])
AC_SUBST([XKB_BASE])
AC_DEFINE_UNQUOTED([X11_PREFIX], "$X11_PREFIX")
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] branch upstream updated (eef94c4 -> 3dc2076), Samuel Thibault, 2015/07/04
- [hurd] 01/15: console-client: fix build with -O0, Samuel Thibault, 2015/07/04
- [hurd] 02/15: console-client: avoid nested function, Samuel Thibault, 2015/07/04
- [hurd] 09/15: libdiskfs: do not print a message on ENOMEM, Samuel Thibault, 2015/07/04
- [hurd] 15/15: Merge remote-tracking branch 'upstream/master' into upstream, Samuel Thibault, 2015/07/04
- [hurd] 08/15: Check AWK usability when XKB is enabled,
Samuel Thibault <=
- [hurd] 07/15: console-client: Fix lower range of binary search, Samuel Thibault, 2015/07/04
- [hurd] 04/15: utils/rpctrace: fix build with -O0, Samuel Thibault, 2015/07/04
- [hurd] 06/15: console-client: assert precondition, Samuel Thibault, 2015/07/04
- [hurd] 05/15: utils/vmstat: fix integer overflow, Samuel Thibault, 2015/07/04
- [hurd] 03/15: console-client: fix binary search, Samuel Thibault, 2015/07/04
- [hurd] 11/15: Cope with scripts which chmod -x directories, Samuel Thibault, 2015/07/04
- [hurd] 10/15: Fix ps -o %r infinite loop, Samuel Thibault, 2015/07/04
- [hurd] 14/15: Do not keep mutex locked while waiting for authenticate loop, Samuel Thibault, 2015/07/04
- [hurd] 13/15: utils/rpcscan: new utility, Samuel Thibault, 2015/07/04
- [hurd] 12/15: utils: split-off the message id parsing, Samuel Thibault, 2015/07/04