~enlightenment-git/enlightenment-svn/e-modules-extra

« back to all changes in this revision

Viewing changes to everything-wallpaper/configure.ac

  • Committer: jeffdameth
  • Date: 2010-05-18 06:08:27 UTC
  • Revision ID: svn-v4:7cbeb6ba-43b4-40fd-8cce-4c39aea84d33:trunk/E-MODULES-EXTRA:48960
going to move wallpaper out of e modules. who wants to have it can get it here :)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl Process this file with autoconf to produce a configure script.
 
2
 
 
3
# get rid of that stupid cache mechanism
 
4
rm -f config.cache
 
5
 
 
6
AC_INIT(everything-wallpaper, 0.0.1, hannes.janetzek@gmail.com)
 
7
AC_PREREQ(2.52)
 
8
AC_CONFIG_SRCDIR(configure.ac)
 
9
AC_CANONICAL_BUILD
 
10
AC_CANONICAL_HOST
 
11
AC_ISC_POSIX
 
12
 
 
13
AM_INIT_AUTOMAKE(1.8)
 
14
AM_CONFIG_HEADER(config.h)
 
15
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
16
 
 
17
AC_PROG_CC
 
18
AM_PROG_CC_STDC
 
19
AC_HEADER_STDC
 
20
AC_C_CONST
 
21
AC_C___ATTRIBUTE__
 
22
 
 
23
define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
 
24
define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
 
25
AC_PROG_LIBTOOL
 
26
 
 
27
AM_GNU_GETTEXT([external])
 
28
AM_GNU_GETTEXT_VERSION(0.14)
 
29
 
 
30
PKG_CHECK_MODULES(E, [enlightenment])
 
31
PKG_CHECK_MODULES(EVRY, [everything])
 
32
 
 
33
release=$(pkg-config --variable=release enlightenment)
 
34
MODULE_ARCH="$host_os-$host_cpu-$release"
 
35
AC_SUBST(MODULE_ARCH)
 
36
AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
 
37
 
 
38
# Find edje_cc
 
39
PKG_CHECK_MODULES(EDJE, [edje >= 0.5.0])
 
40
AC_ARG_WITH(edje-cc,
 
41
  AC_HELP_STRING([--with-edje-cc=PATH], [specify a specific path to edje_cc]),
 
42
  [
 
43
    v=$withval;
 
44
    EDJE_CC=$v
 
45
  ],[
 
46
    EDJE_CC=$(pkg-config --variable=prefix edje)/bin/edje_cc
 
47
  ]
 
48
)
 
49
AC_SUBST(EDJE_CC)
 
50
AC_MSG_CHECKING([Which edje_cc to use])
 
51
AC_MSG_RESULT(${EDJE_CC})
 
52
 
 
53
datadir=$(pkg-config --variable=modules enlightenment)/${PACKAGE}
 
54
AC_ARG_ENABLE(homedir-install,
 
55
  AS_HELP_STRING([--enable-homedir-install], [Install module in homedir]),
 
56
  [ datadir="${HOME}/.e/e/modules/${PACKAGE}" ]
 
57
)
 
58
 
 
59
AC_OUTPUT([
 
60
Makefile
 
61
src/Makefile
 
62
po/Makefile.in
 
63
module.desktop
 
64
e_module.spec
 
65
], [
 
66
])