mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Add up-to-date autotools pieces to dmapi tests
This commit is contained in:
Vendored
+1460
File diff suppressed because it is too large
Load Diff
Vendored
+1549
File diff suppressed because it is too large
Load Diff
+20709
File diff suppressed because it is too large
Load Diff
@@ -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
File diff suppressed because it is too large
Load Diff
+6402
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user