configure.ac 868 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Process this file with autoconf to produce a configure script.
  2. # Prelude.
  3. AC_PREREQ([2.59])
  4. AC_INIT([Money], [0.3], [check-devel AT lists.sourceforge.net])
  5. AM_PROG_AR
  6. # unique source file --- primitive safety check
  7. AC_CONFIG_SRCDIR([src/money.c])
  8. # fairly severe build strictness
  9. # change foreign to gnu or gnits to comply with gnu standards
  10. AM_INIT_AUTOMAKE([-Wall -Werror foreign 1.11.2])
  11. # Checks for programs.
  12. AC_PROG_CC
  13. AC_PROG_LIBTOOL
  14. # Checks for libraries.
  15. PKG_CHECK_MODULES([CHECK], [check >= 0.9.6])
  16. AM_PROG_CC_C_O
  17. # Checks for header files.
  18. AC_HEADER_STDC
  19. AC_CHECK_HEADERS([stdlib.h])
  20. # Checks for typedefs, structures, and compiler characteristics.
  21. # Checks for library functions.
  22. AC_FUNC_MALLOC
  23. # Output files
  24. AC_CONFIG_HEADERS([config.h])
  25. AC_CONFIG_FILES([Makefile
  26. src/Makefile
  27. tests/Makefile])
  28. AC_OUTPUT