aboutsummaryrefslogtreecommitdiffstats
path: root/mk/Autoconf.mk
diff options
context:
space:
mode:
authorkraxel <kraxel>2008-12-18 12:19:58 +0000
committerkraxel <kraxel>2008-12-18 12:19:58 +0000
commit6b051823c1fa1e797abdfa5b696c9f6b051e9f6e (patch)
tree94b06d8c5c381598b45e892261e49cf1189cb75d /mk/Autoconf.mk
parentc31563927b4291cdf4ef698eed706e991a43461f (diff)
downloadxenwatch-6b051823c1fa1e797abdfa5b696c9f6b051e9f6e.tar.gz
- rename xenstore to avoid name conflich with xen-shipped utility.
- update makefile bits. - disable tty busy check. - update version.
Diffstat (limited to 'mk/Autoconf.mk')
-rw-r--r--mk/Autoconf.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/mk/Autoconf.mk b/mk/Autoconf.mk
index 86abd3d..27eeb32 100644
--- a/mk/Autoconf.mk
+++ b/mk/Autoconf.mk
@@ -47,6 +47,11 @@ ac_uname = $(shell \
$(call ac_s_cmd,uname -s | tr 'A-Z' 'a-z');\
$(call ac_fini))
+ac_uname_arch = $(shell \
+ $(call ac_init,for arch);\
+ $(call ac_s_cmd,uname -m | tr 'A-Z' 'a-z');\
+ $(call ac_fini))
+
# check for some header file
# args: header file
ac_header = $(shell \
@@ -127,6 +132,13 @@ ac_pkg_config = $(shell \
$(call ac_b_cmd, pkg-config $(1));\
$(call ac_fini))
+# grep some file
+# args: regex, file
+ac_grep = $(shell \
+ $(call ac_init,for $(1) in $(2));\
+ $(call ac_b_cmd, grep -q $(1) $(2));\
+ $(call ac_fini))
+
########################################################################
# build Make.config