-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
60 lines (47 loc) · 1.22 KB
/
configure.ac
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
52
53
54
55
56
57
58
59
60
dnl -*- mode: m4 -*-
AC_PREREQ(2.63)
AC_INIT([gpattern],[0.1.0],[],[gpattern])
AC_CONFIG_HEADERS([config/config.h])
AC_CONFIG_SRCDIR([src/observable/gobservable.h])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([config])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AC_CANONICAL_TARGET
# require automake 1.11
AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip tar-ustar foreign])
AM_MAINTAINER_MODE([enable])
GETTEXT_PACKAGE=AC_PACKAGE_NAME
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[The name of the gettext domain])
IT_PROG_INTLTOOL(0.50.1)
PKG_PROG_PKG_CONFIG([0.22])
## don't rerun to this point if we abort
AC_CACHE_SAVE
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CXX
AC_ISC_POSIX
AC_HEADER_STDC
# no stupid static libraries
AM_DISABLE_STATIC
# enable libtool
AC_PROG_LIBTOOL
# avoid libtool for LTCOMPILE, use it only to link
## don't rerun to this point if we abort
AC_CACHE_SAVE
GLIB_GSETTINGS
GETTING_STARTED_INIT
PKG_CHECK_MODULES(GPATTERN,
glib-2.0 >= 2.37.0
gtk+-3.0
gobject-2.0)
AC_CONFIG_FILES([
Makefile
src/Makefile
src/document-application/Makefile
src/observable/Makefile
src/observable-collection/Makefile
tests/Makefile
po/Makefile.in
])
AC_OUTPUT