-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigure.ac
More file actions
99 lines (72 loc) · 2.43 KB
/
configure.ac
File metadata and controls
99 lines (72 loc) · 2.43 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# vim:set et ts=4:
#
# Linux Do - A new IDE for newbee
#
# Copyright (c) 2010-2010 microcai <microcai@fedoraproject.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# if not 1, append datestamp to the version number.
m4_define([package_name], [LinuxDo])
AC_INIT([package_name], [0.0.1], [ microcaicai@gmail.com ], [package_name])
AM_INIT_AUTOMAKE([1.10])
# AC_GNU_SOURCE
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
AC_PROG_RANLIB
AC_PROG_CC
AC_HEADER_STDC
AC_PREFIX_DEFAULT(/usr)
# define GETTEXT_* variables
GETTEXT_PACKAGE="$PACKAGE_NAME"
AC_SUBST(GETTEXT_PACKAGE)
AC_SUBST(prefix)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Define to the read-only architecture-independent data directory.])
AC_PATH_PROG(PROG_FLEX,flex,["no"])
AS_IF([test "x${PROG_FLEX}" = "xno"],[AC_MSG_FAILURE(flex not found,1)])
AC_PATH_PROG(PROG_BISON,bison,["no"])
AS_IF([test "x${PROG_BISON}" = "xno"],[AC_MSG_FAILURE(bison not found,1)])
AC_PATH_PROG(GLIB_GENMARSHAL,glib-genmarshal,["no"])
AS_IF([test "x${GLIB_GENMARSHAL}" = "xno"],[AC_MSG_FAILURE(bison not found,1)])
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION(0.16.1)
PKG_CHECK_MODULES(GTK2, [
gtk+-2.0 >= 2.10
])
PKG_CHECK_MODULES(GTKSOURCEVIEW2, [
gtksourceview-2.0
])
PKG_CHECK_MODULES(LIBVTE, [
vte >= 0.22
])
PKG_CHECK_MODULES(DBUS_GLIB, [
dbus-glib-1
])
PKG_CHECK_MODULES(ALL_NEEDED, [
gtksourceview-2.0 gtk+-2.0 vte dbus-glib-1 gconf-2.0
])
AC_DEFINE(MICROCAI_WITHEMAIL,"microcai@fedoraproject.org",[author microcai and his email])
AC_SUBST(appicondir,["/usr/share/icons/hicolor/scalable/apps/"])
AC_DEFINE(APPICONDIR,["/usr/share/icons/hicolor/scalable/apps/"],[the dir hold icon file])
#AC_SUBST_FILE(iconsdir)
# OUTPUT files
AC_CONFIG_FILES(
po/Makefile.in
src/Makefile
src/gedit/Makefile
icons/Makefile
doc/Makefile
Makefile
)
AC_OUTPUT