configure.ac 725 B

12345678910111213141516171819202122232425262728293031323334353637
  1. AC_PREREQ(2.59)
  2. AC_INIT(luksmeta, 8)
  3. AC_CANONICAL_SYSTEM
  4. AC_PROG_CC_C99
  5. AM_INIT_AUTOMAKE([subdir-objects foreign no-dist-gzip dist-bzip2 parallel-tests])
  6. AM_SILENT_RULES([yes])
  7. AM_PROG_CC_C_O
  8. LT_INIT([disable-static])
  9. PKG_PROG_PKG_CONFIG([0.25])
  10. PKG_CHECK_MODULES([cryptsetup], [libcryptsetup >= 1.5.1])
  11. LUKSMETA_CFLAGS="\
  12. -Wall \
  13. -Wextra \
  14. -Werror \
  15. -Wstrict-aliasing \
  16. -Wchar-subscripts \
  17. -Wformat-security \
  18. -Wmissing-declarations \
  19. -Wmissing-prototypes \
  20. -Wnested-externs \
  21. -Wpointer-arith \
  22. -Wshadow \
  23. -Wsign-compare \
  24. -Wstrict-prototypes \
  25. -Wtype-limits \
  26. -Wunused-function \
  27. -Wno-missing-field-initializers \
  28. -Wno-unused-parameter \
  29. "
  30. AC_SUBST([LUKSMETA_CFLAGS])
  31. AC_CONFIG_FILES([luksmeta.pc Makefile])
  32. AC_OUTPUT