From 1b28ac5e2988a6796da5e5601c0b717604d44917 Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Mon, 11 Apr 2011 15:36:10 +0200 Subject: added support for testng --- acinclude.m4 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'acinclude.m4') 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 -- cgit v1.2.3