-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.in
57 lines (44 loc) · 1.08 KB
/
configure.in
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
AC_PREREQ(2.59)
AC_INIT([gicr],[1.0])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR(src/Repository.vala)
AC_SUBST(GICR_ABI_MAJOR, 1)
AC_SUBST(GICR_ABI_MINOR, 0)
AM_INIT_AUTOMAKE([-Wno-portability])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AM_MAINTAINER_MODE
GOBJECT_INTROSPECTION_CHECK([0.6.5])
AC_PROG_CC
AM_PROG_LIBTOOL
AM_PROG_VALAC([0.7.0])
AC_PROG_INSTALL
PKG_CHECK_MODULES(GICR, glib-2.0 gobject-2.0 gee-1.0)
LIBS="$INTLLIBS $LIBS"
PATH="${PATH}:${prefix}/bin"
dnl Checks for header files.
AC_HEADER_STDC
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_MSG_CHECKING([if building for some Win32 platform])
case "$host" in
*-*-mingw*|*-*-cygwin*)
platform_win32=yes
;;
*)
platform_win32=no
;;
esac
AC_MSG_RESULT($platform_win32)
AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes)
LIBS="$LIBS $GICR_LIBS"
AC_SUBST(LIBS)
AC_SUBST(VERSION)
AC_SUBST(VERSION_STRING)
AC_SUBST(LFLAGS)
AC_SUBST(GICR_LIBS)
AC_SUBST(GICR_CFLAGS)
AC_CONFIG_FILES([Makefile
src/Makefile
gicr.pc])
AC_OUTPUT