1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(src/common/cmd/read_invis.c)
4 AM_INIT_AUTOMAKE(dmapi_tests, 1.1)
6 dnl support for cross-compiling
13 AC_PREFIX_DEFAULT(/usr/local/dmapi_tests)
15 dnl Checks for programs.
17 dnl Checks for libraries.
18 AC_CHECK_LIB(handle,path_to_fshandle)
19 AC_CHECK_LIB(dm,dm_init_service)
21 dnl Checks for header files.
22 AC_CHECK_HEADERS(xfs/dmapi.h,have_xfs_dmapi_h=1)
23 AC_CHECK_HEADERS(sys/dmi.h)
25 CPPFLAGS="-I\$(top_srcdir)/src/common"
26 if test "$have_xfs_dmapi_h" = 1; then
27 CPPFLAGS="$CPPFLAGS -I/usr/include/xfs"
37 src/common/cmd/Makefile \
38 src/common/lib/Makefile \
40 src/suite1/cmd/Makefile \
41 src/sample_hsm/Makefile \
44 src/suite2/src/Makefile \