add configure check for Tru64 sub-second timestamp resolution
[metze/samba/wip.git] / source4 / configure.ac
index 4ce55c82ba7ec23f31a26af36c64ff1783287150..ef3bfd73f6df544724f9075dad6ddcacd6cff737 100644 (file)
@@ -61,12 +61,7 @@ SMB_EXT_LIB_FROM_PKGCONFIG(LIBTDB, tdb >= 1.1.3,
 SMB_INCLUDE_MK(../lib/tdb/python.mk) 
 
 SMB_EXT_LIB_FROM_PKGCONFIG(LIBTEVENT, tevent >= 0.9.2,
-       [],
-       [
-               m4_include(../lib/tevent/libtevent.m4)
-               SMB_INCLUDE_MK(../lib/tevent/config.mk)
-               AC_CONFIG_FILES(../lib/tevent/tevent.pc)
-       ]
+       [],[m4_include(../lib/tevent/samba.m4)]
 )
 
 SMB_INCLUDE_MK(../lib/tevent/python.mk) 
@@ -127,7 +122,7 @@ CFLAGS="${CFLAGS} ${DEVELOPER_CFLAGS}"
 # final configure stuff
 
 AC_MSG_CHECKING([configure summary])
-AC_TRY_RUN([#include "${srcdir-.}/build/tests/summary.c"],
+AC_TRY_RUN([#include "${srcdir-.}/../tests/summary.c"],
            AC_MSG_RESULT(yes),
           AC_MSG_ERROR([summary failure. Aborting config]); exit 1;,
           AC_MSG_WARN([cannot run when cross-compiling]))