Add up-to-date autotools pieces to dmapi tests

This commit is contained in:
Dean Roehrich
2004-12-10 21:20:53 +00:00
parent 908e57261a
commit 044307612b
6 changed files with 30684 additions and 0 deletions
+1460
View File
File diff suppressed because it is too large Load Diff
+1549
View File
File diff suppressed because it is too large Load Diff
Vendored Executable
+20709
View File
File diff suppressed because it is too large Load Diff
+42
View File
@@ -0,0 +1,42 @@
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/common/cmd/read_invis.c)
AM_INIT_AUTOMAKE(dmapi_tests, 1.1)
AC_PROG_CC
AM_PROG_LIBTOOL
AC_PREFIX_DEFAULT(/usr/local/dmapi_tests)
dnl Checks for programs.
dnl Checks for libraries.
AC_CHECK_LIB(dm,dm_init_service)
dnl Checks for header files.
AC_CHECK_HEADERS(xfs/dmapi.h,have_xfs_dmapi_h=1)
AC_CHECK_HEADERS(sys/dmi.h)
CPPFLAGS="-I\$(top_srcdir)/src/common"
if test "$have_xfs_dmapi_h" = 1; then
CPPFLAGS="$CPPFLAGS -I/usr/include/xfs"
CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE"
fi
AC_SUBST(CPPFLAGS)
AC_OUTPUT( \
Makefile \
src/Makefile \
src/common/Makefile \
src/common/cmd/Makefile \
src/common/lib/Makefile \
src/suite1/Makefile \
src/suite1/cmd/Makefile \
src/sample_hsm/Makefile \
src/simple/Makefile \
src/suite2/Makefile \
src/suite2/src/Makefile \
)
Executable
+522
View File
File diff suppressed because it is too large Load Diff
+6402
View File
File diff suppressed because it is too large Load Diff