File: configure.ac

package info (click to toggle)
stardict 3.0.6-0.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 28,072 kB
  • sloc: cpp: 74,453; xml: 20,424; sh: 16,098; ansic: 3,883; python: 1,086; makefile: 1,069; php: 308; perl: 223
file content (45 lines) | stat: -rw-r--r-- 1,160 bytes parent folder | download
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
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.59)
AC_INIT([StarDict], 3.0.6, [http://www.stardict.org])
AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE([1.9 tar-ustar dist-bzip2])

AC_CONFIG_MACRO_DIR([m4])

# Checks for programs.
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.

AC_ARG_ENABLE([dict],
  AS_HELP_STRING([--disable-dict],[Disable StarDict dictionary (default: enabled)]),
  [enable_dict=$enableval],
  [enable_dict=yes])

AC_ARG_ENABLE([tools],
  AS_HELP_STRING([--disable-tools],[Disable StarDict tools (default: enabled)]),
  [enable_tools=$enableval],
  [enable_tools=yes])

AM_CONDITIONAL([BUILD_DICT], [test "x$enable_dict" = xyes])
AM_CONDITIONAL([BUILD_TOOLS], [test "x$enable_tools" = xyes])

AC_CONFIG_FILES([Makefile])
AC_CONFIG_SUBDIRS([lib])
if test "x$enable_dict" = "xyes" ; then
  AC_CONFIG_SUBDIRS([dict])
fi
if test "x$enable_tools" = "xyes" ; then
  AC_CONFIG_SUBDIRS([tools])
fi
AC_OUTPUT


echo "

Type \"make\" to compile stardict.

"