-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
43 lines (35 loc) · 1.21 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
AC_PREREQ([2.68])
AC_INIT([appconcepts],[1],[[email protected]])
AM_INIT_AUTOMAKE([foreign -Wall -Werror -Wno-portability silent-rules subdir-objects color-tests no-dist-gzip dist-xz])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_HEADERS([config.h])
AC_PREFIX_DEFAULT(/usr/local)
AM_SILENT_RULES([yes])
LT_PREREQ(2.2)
LT_INIT([disable-static])
# Checks for programs.
AC_PROG_CC
# PkgConfig tests
PKG_CHECK_MODULES([GIO_UNIX], [gio-unix-2.0])
PKG_CHECK_MODULES([GLIB], [glib-2.0])
# GTK3 required for IDemoApp
PKG_CHECK_MODULES([GTK3], [gtk+-3.0 >= 3.8.0])
AC_ARG_VAR([GDBUS_CODEGEN], [The gdbus-codegen executable])
AC_PATH_PROG([GDBUS_CODEGEN], [gdbus-codegen])
AC_OUTPUT
AC_MSG_RESULT([
appconcepts $VERSION
========
prefix: ${prefix}
libdir: ${libdir}
sysconfdir: ${sysconfdir}
exec_prefix: ${exec_prefix}
bindir: ${bindir}
sbindir: ${sbindir}
datarootdir: ${datarootdir}
mandir: ${mandir}
compiler: ${CC}
cflags: ${CFLAGS}
ldflags: ${LDFLAGS}
])