X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=aclocal.m4;h=224949bbd4f9dd18994df70e96bbe788c7006883;hb=5a762d689ec34ff8320b37cc1945985d9a0a12b2;hp=7a8ab74a64160bf936538eec3d8710f487ad1790;hpb=2d592fb2f94a9b617bc907251dab6822b637982b;p=swftools.git diff --git a/aclocal.m4 b/aclocal.m4 index 7a8ab74..224949b 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -51,12 +51,12 @@ AC_TRY_RUN([ #include "stdlib.h" int main (int argc, char*argv[]) { - return system("echo `echo 0` > config.tmp2"); + return system("echo `touch config.tmp2`"); } ], OK=OK,,CROSSCOMPILE=1) if test "x${OK}" = "xOK";then - test -s config.tmp2 || OK= + test -e config.tmp2 || OK= fi if test "x${CROSSCOMPILE}" = "x1";then