aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2011-04-11 15:36:10 +0200
committerJiri Vanek <[email protected]>2011-04-11 15:36:10 +0200
commit1b28ac5e2988a6796da5e5601c0b717604d44917 (patch)
tree67bcbaa99dbd5d9f42989d83db97a0969ef1a505 /acinclude.m4
parent652b4b1f14e951c29ed56c3f940a42a69a818ccf (diff)
added support for testng
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 3c3803b..fe30345 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -497,6 +497,13 @@ AC_DEFUN([FIND_TOOL],
AC_SUBST([$1])
])
+AC_DEFUN_ONCE([IT_FIND_OPTIONAL_PROG],
+[
+ AC_PATH_PROG([$1], [$2])
+ AM_CONDITIONAL(WITH_$1, test x"$$1" != "x")
+ AC_SUBST([$1])
+])
+
AC_DEFUN([IT_SET_ARCH_SETTINGS],
[
case "${host_cpu}" in