1
by Philip Withnall
Initial commit with all the functionality that the Vala version had, but written in an easier-to-use programming language. |
1 |
AC_INIT(diary, 0.1) |
2 |
||
3 |
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) |
|
4 |
AM_CONFIG_HEADER(config.h) |
|
5 |
AM_MAINTAINER_MODE
|
|
6 |
||
7 |
AC_ISC_POSIX
|
|
8 |
AC_PROG_CC
|
|
9 |
AM_PROG_CC_STDC
|
|
10 |
AC_HEADER_STDC
|
|
11 |
||
12 |
dnl *************************************************************************** |
|
13 |
dnl Options |
|
14 |
dnl *************************************************************************** |
|
15 |
||
16 |
AC_ARG_ENABLE([debug], |
|
8
by Philip Withnall
Fixed test profiling in the Makefile. |
17 |
[ --enable-debug Turn on debugging], |
1
by Philip Withnall
Initial commit with all the functionality that the Vala version had, but written in an easier-to-use programming language. |
18 |
[case "${enableval}" in |
19 |
yes) debug=true ;;
|
|
20 |
no) debug=false ;;
|
|
21 |
*) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) ;; |
|
22 |
esac],[debug=false]) |
|
8
by Philip Withnall
Fixed test profiling in the Makefile. |
23 |
AM_CONDITIONAL([DEBUG], [test x$debug = xtrue]) |
1
by Philip Withnall
Initial commit with all the functionality that the Vala version had, but written in an easier-to-use programming language. |
24 |
|
25 |
dnl *************************************************************************** |
|
26 |
dnl Internationalisation |
|
27 |
dnl *************************************************************************** |
|
28 |
||
29 |
GETTEXT_PACKAGE=diary |
|
30 |
AC_SUBST(GETTEXT_PACKAGE) |
|
31 |
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name]) |
|
32 |
AM_GLIB_GNU_GETTEXT
|
|
33 |
IT_PROG_INTLTOOL([0.35.0]) |
|
34 |
||
35 |
AM_PROG_LIBTOOL
|
|
36 |
||
8
by Philip Withnall
Fixed test profiling in the Makefile. |
37 |
PKG_CHECK_MODULES(STANDARD, glib-2.0 gtk+-2.0 >= 2.12 gmodule-2.0 gio-2.0 sqlite3 gtkspell-2.0) |
38 |
AC_SUBST(STANDARD_CFLAGS) |
|
39 |
AC_SUBST(STANDARD_LIBS) |
|
1
by Philip Withnall
Initial commit with all the functionality that the Vala version had, but written in an easier-to-use programming language. |
40 |
|
41 |
AC_OUTPUT([ |
|
42 |
Makefile
|
|
43 |
src/Makefile
|
|
44 |
po/Makefile.in
|
|
45 |
data/Makefile
|
|
46 |
]) |