-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
41 lines (30 loc) · 931 Bytes
/
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
AC_PREREQ([2.64])
AC_INIT([GRInd],
[0.1],
[grind])
AC_CONFIG_SRCDIR([src/grind-plugin.c])
AC_CONFIG_MACRO_DIR([build/m4])
AC_CONFIG_AUX_DIR([build/aux])
AM_INIT_AUTOMAKE([1.11.1 -Wall -Werror foreign subdir-objects])
AC_CONFIG_HEADERS([config.h])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
# Checks for programs.
LT_PREREQ([2.2.0])
LT_INIT
AC_PROG_CC
AC_PROG_CC_C_O
AC_PATH_PROG([GLIB_MKENUMS], [glib-mkenums], [NONE])
AS_IF([test "x$GLIB_MKENUMS" = xNONE],
[AC_MSG_ERROR([cannot find glib-mkenums])])
# Checks for libraries.
PKG_CHECK_MODULES([GRIND], [geany >= 0.21
gtk+-2.0
glib-2.0 >= 2.28])
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
# Checks for library functions.
AC_CONFIG_FILES([Makefile
src/Makefile])
AC_OUTPUT