1 AC_DEFUN(RFX_CHECK_SYSTEM_BACKTICKS,
3 AC_MSG_CHECKING([whether system() can handle command substitution])
6 int main (int argc, char*argv[])
8 return system("test `touch config.tmp2`");
10 ], OK=OK,,CROSSCOMPILE=1)
12 if test "x${OK}" = "xOK";then
13 test -f config.tmp2 || OK=
16 if test "x${CROSSCOMPILE}" = "x1";then
19 if test "x${OK}" = "xOK";then
23 export SYSTEM_BACKTICKS
24 AC_DEFINE_UNQUOTED(SYSTEM_BACKTICKS, 1)