eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
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.

configure.ac 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. AC_PREREQ([2.65])
  2. AC_INIT([Unicode Character Database Tools], [10.0.0], [https://github.com/rhdunn/ucd-tools/issues], [ucd-tools], [https://github.com/rhdunn/ucd-tools])
  3. AM_INIT_AUTOMAKE()
  4. m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES])
  5. AM_SILENT_RULES([yes])
  6. AC_CONFIG_SRCDIR([src])
  7. AC_CONFIG_MACRO_DIR([m4])
  8. AC_CONFIG_HEADERS([config.h])
  9. LT_INIT
  10. dnl ================================================================
  11. dnl Program checks.
  12. dnl ================================================================
  13. AC_PROG_CC
  14. AC_PROG_CXX
  15. AC_PROG_MAKE_SET
  16. dnl ================================================================
  17. dnl library checks.
  18. dnl ================================================================
  19. AC_CHECK_HEADERS([stddef.h]) dnl C89
  20. AC_CHECK_FUNCS([iswblank]) dnl C99
  21. AC_TYPE_UINT8_T
  22. AC_TYPE_UINT32_T
  23. dnl ================================================================
  24. dnl UCD data configuration.
  25. dnl ================================================================
  26. AC_ARG_WITH([unicode-version],
  27. [AS_HELP_STRING([--with-unicode-version], [Unicode version to support @<:@default=10.0.0@:>@])],
  28. [AS_IF([test x"$withval" != x],
  29. [UCD_VERSION="$withval"])],
  30. [UCD_VERSION="10.0.0"])
  31. AC_SUBST(UCD_VERSION)
  32. dnl ================================================================
  33. dnl Compiler warnings.
  34. dnl
  35. dnl Reference: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
  36. dnl ================================================================
  37. AX_CHECK_COMPILE_FLAG([-Wreturn-type], [CFLAGS="-Wreturn-type $CFLAGS"])
  38. dnl ================================================================
  39. dnl Generate output.
  40. dnl ================================================================
  41. AC_CONFIG_FILES([Makefile])
  42. AC_OUTPUT
  43. AC_MSG_NOTICE([
  44. Configuration for Unicode Character Data Tools complete.
  45. Source code location: ${srcdir}
  46. C Compiler: ${CC}
  47. C Compiler flags: ${CFLAGS}
  48. C++ Compiler: ${CXX}
  49. C++ Compiler flags: ${CXXFLAGS}
  50. Unicode version: ${UCD_VERSION}
  51. ])