A mail formatter.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

48 lines
1.1 KiB

  1. dnl Configure template for the fmail package
  2. AC_INIT([fmail], [0.2.0],
  3. [dgouttegattat@incenp.org])
  4. AC_CONFIG_SRCDIR([configure.ac])
  5. AC_CONFIG_MACRO_DIR([m4])
  6. AC_CONFIG_AUX_DIR([config])
  7. AC_CONFIG_HEADERS([config.h])
  8. AC_CONFIG_LIBOBJ_DIR([lib])
  9. AC_USE_SYSTEM_EXTENSIONS
  10. AM_INIT_AUTOMAKE([foreign])
  11. dnl Check for development tools
  12. AC_PROG_CC
  13. AC_PROG_RANLIB
  14. AC_PROG_INSTALL
  15. dnl Check for some non-ubiquitous functions
  16. ICP_CHECK_NOTCH_FUNCS
  17. dnl Check for GPGME
  18. AM_PATH_GPGME([],
  19. [CFLAGS="$CFLAGS $GPGME_CFLAGS"
  20. LIBS="$LIBS $GPGME_LIBS"],
  21. [AC_MSG_ERROR([libgpgme not found])])
  22. dnl Check for libmagic
  23. AC_CHECK_HEADERS([magic.h], [],
  24. [AC_MSG_ERROR([magic.h header not found])])
  25. AC_SEARCH_LIBS([magic_open], [magic], [],
  26. [AC_MSG_ERROR([libmagic not found])])
  27. dnl Output files
  28. AC_CONFIG_FILES([Makefile lib/Makefile src/Makefile
  29. man/Makefile man/fmail.1])
  30. AC_OUTPUT
  31. dnl Summary
  32. echo "
  33. ${PACKAGE_NAME} version ${PACKAGE_VERSION}
  34. Configuration complete
  35. Prefix: '${prefix}'
  36. Compiler: '${CC} ${CFLAGS} ${CPPFLAGS}'
  37. "