Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 68 lines (51 sloc) 2.022 kb
8952358 @aftian Change: Use manokwari brand
aftian authored
1 AC_INIT([manokwari], [0.1.0], [], [manokwari])
3b0446e @adzymaniac New: Adding Autoconf ;)
adzymaniac authored
2 AC_CONFIG_SRCDIR([Makefile.am])
3 AC_CONFIG_HEADERS(config.h)
4 AM_INIT_AUTOMAKE([dist-bzip2])
5 AM_MAINTAINER_MODE
6
7 AC_PROG_CC
8 AM_PROG_CC_C_O
9 AC_DISABLE_STATIC
10 AC_PROG_LIBTOOL
11
4a7ee88 @aftian Changes: use valac 0.14 at configure.ac
aftian authored
12 AM_PROG_VALAC([0.14.0])
3b0446e @adzymaniac New: Adding Autoconf ;)
adzymaniac authored
13
bf3e914 @mdamt Changes: Depends on webkitgtk
mdamt authored
14 AC_ARG_ENABLE([devel], AC_HELP_STRING([--enable-devel],[Enable development mode with system dir in current directory]), USE_DEVEL="$enableval", USE_DEVEL="no")
15 if test $USE_DEVEL = yes ; then
16 AC_DEFINE_UNQUOTED(SYSTEM_PATH, "$PWD/system", [Location of the JS scripts])
17 AC_SUBST(SYSTEM_PATH)
18 else
8952358 @aftian Change: Use manokwari brand
aftian authored
19 AC_DEFINE(SYSTEM_PATH, "/usr/lib/manokwari/system", [Location of the JS scripts])
bf3e914 @mdamt Changes: Depends on webkitgtk
mdamt authored
20 AC_SUBST(SYSTEM_PATH)
21 fi
22
23
3b0446e @adzymaniac New: Adding Autoconf ;)
adzymaniac authored
24 AH_TEMPLATE([GETTEXT_PACKAGE], [Package name for gettext])
8952358 @aftian Change: Use manokwari brand
aftian authored
25 GETTEXT_PACKAGE=manokwari
3b0446e @adzymaniac New: Adding Autoconf ;)
adzymaniac authored
26 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE")
27 AC_SUBST(GETTEXT_PACKAGE)
28 AM_GLIB_GNU_GETTEXT
29 IT_PROG_INTLTOOL([0.35.0])
30
31 AC_SUBST(CFLAGS)
32 AC_SUBST(CPPFLAGS)
33 AC_SUBST(LDFLAGS)
34
35 GLIB_REQUIRED=2.12.0
9e360b9 @adzymaniac Changes: Add PKG_CHECK_MODULES and VALA_PACKAGES
adzymaniac authored
36 GTK_REQUIRED=3.0.8
37 ATK_REQUIRED=2.0.0
38 GEE_REQUIRED=0.6.1
39 CAIRO_REQUIRED=1.10.2
40 LIBGNOME_MENU_REQUIRED=2.30.5
e1d1041 @adzymaniac Changes: Add libwnck on PKG_CHECK_MODULES
adzymaniac authored
41 LIBWNCK_REQUIRED=3.0.0
6830545 Changes: Make a single instance, depends on libunique-3.0
Mohammad Anwari authored
42 UNIQUE_REQUIRED=3.0.0
bf3e914 @mdamt Changes: Depends on webkitgtk
mdamt authored
43 WEBKIT_REQUIRED=1.3.0
44
3b0446e @adzymaniac New: Adding Autoconf ;)
adzymaniac authored
45
8952358 @aftian Change: Use manokwari brand
aftian authored
46 PKG_CHECK_MODULES(MANOKWARI, glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gtk+-3.0 >= $GTK_REQUIRED atk >= $ATK_REQUIRED gee-1.0 >= $GEE_REQUIRED cairo >= $CAIRO_REQUIRED libgnome-menu >= $LIBGNOME_MENU_REQUIRED libwnck-3.0 >= $LIBWNCK_REQUIRED unique-3.0 >= $UNIQUE_REQUIRED webkitgtk-3.0 >= $WEBKIT_REQUIRED)
b7271eb @adzymaniac Changes: Modify BLANKON_PANEL_CFLAGS
adzymaniac authored
47
4a9774d Changes: Removed hard-coded CFLAGS
Mohammad Anwari authored
48 WNCK_GMENU_DISCLAIMER='-DGMENU_I_KNOW_THIS_IS_UNSTABLE -DWNCK_I_KNOW_THIS_IS_UNSTABLE'
b7271eb @adzymaniac Changes: Modify BLANKON_PANEL_CFLAGS
adzymaniac authored
49
4a9774d Changes: Removed hard-coded CFLAGS
Mohammad Anwari authored
50 AC_SUBST(WNCK_GMENU_DISCLAIMER)
8952358 @aftian Change: Use manokwari brand
aftian authored
51 AC_SUBST(MANOKWARI_CFLAGS)
52 AC_SUBST(MANOKWARI_LIBS)
3b0446e @adzymaniac New: Adding Autoconf ;)
adzymaniac authored
53
8952358 @aftian Change: Use manokwari brand
aftian authored
54 VALA_PACKAGES="--pkg atk --pkg gdk-x11-3.0 --pkg gee-1.0 --pkg cairo --pkg gtk+-3.0 --pkg gio-unix-2.0 --pkg libgnome-menu --pkg gdk-3.0 --pkg libwnck-3.0 --pkg unique-3.0 --pkg webkit-1.0 --pkg javascriptcore --pkg libsoup-2.4"
9e360b9 @adzymaniac Changes: Add PKG_CHECK_MODULES and VALA_PACKAGES
adzymaniac authored
55
56 AC_SUBST(VALA_PACKAGES)
57
b8d7541 @adzymaniac Changes: Add AC_PREFIX_DEFAULT
adzymaniac authored
58 AC_PREFIX_DEFAULT("/usr")
59
3b0446e @adzymaniac New: Adding Autoconf ;)
adzymaniac authored
60 AC_CONFIG_FILES([Makefile
4b024e2 @adzymaniac Changes: Fix AC_CONFIG_FILES for files under data directory
adzymaniac authored
61 data/Makefile
8952358 @aftian Change: Use manokwari brand
aftian authored
62 data/manokwari.desktop
3b0446e @adzymaniac New: Adding Autoconf ;)
adzymaniac authored
63 src/Makefile
80199f6 @aftian New: Makefile for system
aftian authored
64 system/Makefile
3b0446e @adzymaniac New: Adding Autoconf ;)
adzymaniac authored
65 po/Makefile.in])
66
67 AC_OUTPUT
Something went wrong with that request. Please try again.