Move configure test files to the top-level and share them between s3 and
[amitay/samba.git] / source4 / build / m4 / check_cc.m4
index 51531ca7765d65ecc6425de9fe394edec812ac89..1683cb028ae64e86fb56f2f6f7fddedebf199062 100644 (file)
@@ -51,7 +51,7 @@ if test x"$samba_cv_CC_NEGATIVE_ENUM_VALUES" != x"yes"; then
 fi
 
 AC_MSG_CHECKING([for test routines])
-AC_TRY_RUN([#include "${srcdir-.}/build/tests/trivial.c"],
+AC_TRY_RUN([#include "${srcdir-.}/../tests/trivial.c"],
            AC_MSG_RESULT(yes),
            AC_MSG_ERROR([cant find test code. Aborting config]),
            AC_MSG_WARN([cannot run when cross-compiling]))