-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
42 lines (33 loc) · 1.01 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
AC_INIT([dnfstrap], [0.3])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIRS([m4])
AM_INIT_AUTOMAKE([foreign subdir-objects])
AM_SILENT_RULES([yes])
AM_PROG_VALAC([0.28])
AM_PROG_CC_C_O
dnl ###########################################################################
dnl Dependencies
dnl ###########################################################################
GLIB_REQUIRED=2.40.0
AC_SUBST([GLIB_REQUIRED])
PKG_CHECK_MODULES(dnfstrap_U, [
glib-2.0 >= $GLIB_REQUIRED
gobject-2.0 >= $GLIB_REQUIRED
gio-2.0 >= $GLIB_REQUIRED
libdnf
])
AC_SUBST([dnfstrap_U_VALAFLAGS], ["--pkg gio-2.0 \
--pkg posix \
--thread \
--target-glib=$GLIB_REQUIRED \
--enable-experimental \
--enable-experimental-non-null \
--fatal-warnings"])
dnl ###########################################################################
dnl Files to generate
dnl ###########################################################################
AC_CONFIG_FILES([
Makefile
src/Makefile
])
AC_OUTPUT