-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
63 lines (48 loc) · 1.47 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
61
62
63
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([libgd-vala-samples], [0.1])
AM_INIT_AUTOMAKE([1.13 foreign no-dist-gzip dist-xz])
AC_CONFIG_SRCDIR([src/test-header-bar.vala])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
# Simplifies the verbosity of the compilation output.
# m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
# Checks for programs.
AC_PROG_CC
AM_PROG_VALAC([0.20])
# Checks for libraries.
PKG_PROG_PKG_CONFIG([0.22])
# Checks for modules.
pkg_modules="glib-2.0 \
gobject-2.0 \
gtk+-3.0"
PKG_CHECK_MODULES(LIBGD_VALA_SAMPLES, [$pkg_modules])
# This variables are defined by pkg-config modules
# AC_SUBST(LIBGD_VALA_SAMPLES_CFLAGS)
# AC_SUBST(LIBGD_VALA_SAMPLES_LIBS)
LT_INIT([disable-static])
LIBGD_INIT([
static
header-bar
stack
revealer
vapi
])
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CONFIG_FILES([Makefile
libgd/Makefile
src/Makefile])
AC_OUTPUT
echo "
configuration summary:
for package: ${PACKAGE}, Ver.: ${VERSION}
source code location ......... ${srcdir}
compiler:..................... ${CC}
valac:........................ ${VALAC}
vapigen:...................... ${VAPIGEN}
prefix:....................... ${prefix}
compiler flags ..............: ${CFLAGS}
compiler pre-processor flags : ${CPPFLAGS}
"