Files
espeak-ng/src/ucd-tools/configure.ac
T
Reece H. Dunn 95b5b4d8a0 Add 'src/ucd-tools/' from commit '3b8016e4f5f415175abb966000c1ebd6f15a4697'
git-subtree-dir: src/ucd-tools
git-subtree-mainline: 4d3bc36c47
git-subtree-split: 3b8016e4f5
2017-01-07 09:43:17 +00:00

64 lines
1.7 KiB
Plaintext

AC_PREREQ([2.65])
AC_INIT([Unicode Character Database Tools], [9.0.0], [https://github.com/rhdunn/ucd-tools/issues], [ucd-tools], [https://github.com/rhdunn/ucd-tools])
AM_INIT_AUTOMAKE()
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES])
AM_SILENT_RULES([yes])
AC_CONFIG_SRCDIR([src])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
LT_INIT
dnl ================================================================
dnl Program checks.
dnl ================================================================
AC_PROG_CC
AC_PROG_CXX
AC_PROG_MAKE_SET
dnl ================================================================
dnl library checks.
dnl ================================================================
AC_CHECK_HEADERS([stddef.h]) dnl C89
AC_TYPE_UINT8_T
AC_TYPE_UINT32_T
dnl ================================================================
dnl UCD data configuration.
dnl ================================================================
AC_ARG_WITH([unicode-version],
[AS_HELP_STRING([--with-unicode-version], [Unicode version to support @<:@default=9.0.0@:>@])],
[AS_IF([test x"$withval" != x],
[UCD_VERSION="$withval"])],
[UCD_VERSION="9.0.0"])
AC_SUBST(UCD_VERSION)
dnl ================================================================
dnl Generate output.
dnl ================================================================
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
AC_MSG_NOTICE([
Configuration for Unicode Character Data Tools complete.
Source code location: ${srcdir}
C Compiler: ${CC}
C Compiler flags: ${CFLAGS}
C++ Compiler: ${CXX}
C++ Compiler flags: ${CXXFLAGS}
Unicode version: ${UCD_VERSION}
])