File: configure.ac

package info (click to toggle)
ibus-libthai 0.1.4-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,260 kB
  • sloc: sh: 4,730; ansic: 936; makefile: 99; sed: 16
file content (49 lines) | stat: -rw-r--r-- 1,282 bytes parent folder | download | duplicates (3)
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
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.68])
AC_INIT([ibus-libthai],
        m4_esyscmd([build-aux/git-version-gen]),
        [theppitak@gmail.com])
AC_CONFIG_SRCDIR([src/main.c])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR(build-aux)
AC_CONFIG_MACRO_DIR([m4])

AM_INIT_AUTOMAKE([dist-xz no-dist-gzip])

# Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_RANLIB

GETTEXT_PACKAGE="$PACKAGE_NAME"
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[The gettext domain])

AM_GNU_GETTEXT_VERSION([0.18.1])
AM_GNU_GETTEXT([external])


# Checks for libraries.

# Checks for header files.
AC_CHECK_HEADERS([libintl.h locale.h])

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.
AC_CHECK_FUNCS([memmove memset setlocale])

PKG_CHECK_MODULES(IBUS, [ibus-1.0 >= 1.2.99])
PKG_CHECK_MODULES(GLIB, [glib-2.0])
PKG_CHECK_MODULES(GTK, [gtk+-3.0 >= 3.16])
PKG_CHECK_MODULES(LIBTHAI, [libthai >= 0.1.19])

AC_CONFIG_FILES([Makefile
                 src/Makefile
                 src/libthai.xml.in
                 setup/Makefile
                 icons/Makefile
                 po/Makefile.in])
AC_OUTPUT