summaryrefslogtreecommitdiff
path: root/configure.ac
blob: b5438536bd3a1c2e3e5c7a7a193b9b1de6b1a491 (plain)
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
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([emc], [0.0.1], [ccarvalho@expertisesolutions.com])
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADERS([config.h])

#EFL_COMPILER_FLAG([-Wall -Wextra -Wpointer-arith -Wno-missing-field-initializers -fvisibility=hidden -fdata-sections -ffunction-sections])
#EFL_LINKER_FLAG([-fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed -Wl,--no-copy-dt-needed-entries])

# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_MAKE_SET

AC_CHECK_HEADER_STDBOOL
AC_CHECK_FUNCS([memset])

# Checks for libraries.
# Check for EFL
PKG_CHECK_MODULES([EMC],
[
 elementary-cxx >= 1.11.0
 elementary >= 1.11.0
 eo >= 1.11.0
 efl-cxx >= 1.11.99
 eo-cxx >= 1.11.0
 eina-cxx >= 1.11.0
 edje-cxx >= 1.11.0
 evas-cxx >= 1.11.0
 ecore-cxx >= 1.11.0
 edje-cxx >= 1.11.0
 eolian-cxx >= 1.11.0
 eio-cxx >= 1.11.0
 esskyuehl >= 1.0.0
 esskyuehl-cxx >= 1.0.0
 sqlite3 >= 1.0.0
 taglib >= 1.9.1
])

AC_CHECK_HEADER(jpeglib.h,, AC_MSG_ERROR([no jpeglib.h. Please install libjpeg >= 8.0]))
AC_CHECK_LIB([jpeg], jpeg_mem_dest,, AC_MSG_ERROR([no libjpeg. Please install libjpeg >= 8.0]))

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.

AC_CONFIG_FILES([Makefile
                 src/Makefile])
AC_OUTPUT