File: configure.ac

package info (click to toggle)
uim-chewing 0.1.0-6
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 1,420 kB
  • sloc: sh: 10,953; ansic: 895; lisp: 382; makefile: 44
file content (34 lines) | stat: -rw-r--r-- 857 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
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)

AC_INIT([uim-chewing], [0.1.0])
AM_INIT_AUTOMAKE(1.8.3)
AC_CONFIG_HEADER([config.h])

AC_PROG_CC
AC_PROG_LIBTOOL
AC_PATH_PROG(RSVG, rsvg)

AM_MAINTAINER_MODE

PKG_CHECK_MODULES(CHEWING, [chewing >= 0.3.2])
CHEWING_DATADIR=`$PKG_CONFIG chewing --variable=datadir`
AC_DEFINE_UNQUOTED(CHEWING_DATADIR, "$CHEWING_DATADIR", [Chewing data dir])

PKG_CHECK_MODULES(UIM, [uim >= 1.5.0])
UIM_LIBDIR=`$PKG_CONFIG uim --variable=libdir`
UIM_SCMDIR=`$PKG_CONFIG uim --variable=uim_scmdir`
uim_pixmapsdir=`$PKG_CONFIG uim --variable=uim_datadir`/pixmaps

AC_SUBST(CHEWING_DATADIR)
AC_SUBST(UIM_LIBDIR)
AC_SUBST(UIM_SCMDIR)
AC_SUBST(uim_pixmapsdir)


AC_CONFIG_FILES([Makefile
                 scm/Makefile
                 src/Makefile
                 pixmaps/Makefile
		 ])
AC_OUTPUT