summaryrefslogtreecommitdiff
path: root/configure.ac
blob: 83e7baa00bdc092514d150801ec4cbcf7a304d9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.57)
AC_INIT(libhangul, 0.0.1, http://kldp.net/projects/hangul/)
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([hangul/hangul.h])
AC_CONFIG_HEADER([config.h])

LIBHANGUL_MAJOR_VERSION=0
LIBHANGUL_MINOR_VERSION=0
LIBHANGUL_MICRO_VERSION=1

LIBHANGUL_VERSION=$LIBHANGUL_MAJOR_VERSION.$LIBHANGUL_MINOR_VERSION.$LIBHANGUL_MICRO_VERSION
AC_SUBST(LIBHANGUL_MAJOR_VERSION)
AC_SUBST(LIBHANGUL_MINOR_VERSION)
AC_SUBST(LIBHANGUL_MICRO_VERSION)
AC_SUBST(LIBHANGUL_VERSION)

# library version
LIBHANGUL_CURRENT=0
LIBHANGUL_REVISION=0
LIBHANGUL_AGE=0

AC_SUBST(LIBHANGUL_CURRENT)
AC_SUBST(LIBHANGUL_REVISION)
AC_SUBST(LIBHANGUL_AGE)

# Checks for programs.
AC_PROG_CC
AC_PROG_LIBTOOL

# Checks for libraries.

# Checks for header files.
AC_CHECK_HEADERS([locale.h stdint.h stdlib.h string.h wchar.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE

# Checks for library functions.
AC_CONFIG_FILES([
Makefile
hangul/Makefile
test/Makefile
libhangul.pc
])

AC_OUTPUT