-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
59 lines (45 loc) · 1.24 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
AC_INIT([cribar],
[0.0.1],
[],
[cribar],
[])
AC_PREREQ(2.63)
AC_CONFIG_AUX_DIR([config])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([src])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AM_INIT_AUTOMAKE([dist-xz no-dist-gzip serial-tests tar-ustar])
AM_MAINTAINER_MODE([enable])
AC_PROG_CC
AC_PROG_CC_C_O
AC_HEADER_STDC
AC_CHECK_LIBM
AC_SUBST(LIBM)
GLIB_GSETTINGS
GTK_MIN_VERSION=3.12
GDKPIXBUF_MIN_VERSION=2.4.0
GIO_MIN_VERSION=2.38.0
GNOME_COMPILE_WARNINGS([maximum])
GNOME_DEBUG_CHECK
GNOME_MAINTAINER_MODE_DEFINES
IT_PROG_INTLTOOL([0.50.1])
GETTEXT_PACKAGE=AC_PACKAGE_TARNAME
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"],
[GETTEXT package name])
AM_GLIB_GNU_GETTEXT
LT_INIT
PKG_CHECK_MODULES(CRIBAR_MODULES, [gtk+-3.0 >= $GTK_MIN_VERSION gdk-pixbuf-2.0 >= $GDKPIXBUF_MIN_VERSION gio-2.0 >= $GIO_MIN_VERSION])
AC_ARG_VAR([DESKTOP_FILE_VALIDATE], [the desktop-file-validate program])
AC_PATH_PROG([DESKTOP_FILE_VALIDATE], [desktop-file-validate], [])
if test -z "$DESKTOP_FILE_VALIDATE"; then
AC_MSG_ERROR([desktop-file-validate not found])
fi
AC_CONFIG_FILES([
Makefile
src/Makefile
tests/Makefile
po/Makefile.in
])
AC_OUTPUT