-
Notifications
You must be signed in to change notification settings - Fork 27
/
configure.ac
39 lines (27 loc) · 961 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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT(GitBlocks, 0.7.3, [email protected])
AM_INIT_AUTOMAKE([subdir-objects])
AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_LIBTOOL
AC_PROG_CXX
# Checks for libraries & headers.
LT_INIT([dlopen])
WX_CFLAGS=`wx-config --version=2.8 --cflags`
WX_LIBS=`wx-config --version=2.8 --libs`
AC_SUBST(WX_CFLAGS)
AC_SUBST(WX_LIBS)
PKG_CHECK_MODULES([CB], [codeblocks])
AC_SUBST(CB_CFLAGS)
AC_SUBST(CB_LIBS)
cb_plugin_datadir="`$PKG_CONFIG codeblocks --variable sharedir`/codeblocks/"
cb_plugin_libdir="`$PKG_CONFIG codeblocks --variable libdir`/codeblocks/plugins/"
AC_SUBST([cb_plugin_datadir])
AC_SUBST([cb_plugin_libdir])
# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
# Checks for library functions.
AC_CONFIG_FILES([Makefile])
AC_OUTPUT