configure.ac 1007 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Process this file with autoconf to produce a configure script.
  2. AC_INIT([org-merge-driver], [0.1], [youngar17@gmail.com])
  3. AC_CONFIG_AUX_DIR([config])
  4. PKG_CHECK_MODULES([CHECK], [check >= 0.9.4],,
  5. AC_MSG_WARN([Check is required to run unit tests http://check.sourceforge.net/]))
  6. AM_INIT_AUTOMAKE([-Wall -Werror gnu parallel-tests])
  7. AC_CONFIG_MACRO_DIR([m4])
  8. ## Check for programs
  9. AC_PROG_CC # c compiler
  10. gl_EARLY # gnu lib
  11. AM_PROG_CC_C_O
  12. AM_PROG_LEX # flex
  13. if test "x$LEX" != xflex; then
  14. AC_MSG_WARN([To generate the lexer, Flex is required. Lexer will not be regenerated.])
  15. AC_SUBST([LEX],[:])
  16. fi
  17. AC_PROG_YACC # bison
  18. AC_PROG_AWK # ak
  19. AC_REQUIRE_AUX_FILE([tap-driver.sh]) # testing driver
  20. ## gnulib macros
  21. gl_INIT
  22. ## Check for headers
  23. ## Check for typedefs, structures, and compilers characteristics
  24. ## Check for library functions
  25. ## Output files
  26. AC_CONFIG_HEADERS([config.h])
  27. AC_CONFIG_FILES([
  28. Makefile
  29. src/Makefile
  30. gnulib/lib/Makefile
  31. tests/Makefile
  32. doc/Makefile
  33. ])
  34. AC_OUTPUT