summaryrefslogtreecommitdiff
path: root/legacy/escape/configure.ac
diff options
context:
space:
mode:
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>2011-09-07 07:18:07 +0000
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>2011-09-07 07:18:07 +0000
commitf26611c3de57b4a90232aed44535e80d3c855ea7 (patch)
tree9ed07ed608ba4a47b17d6b62af791ef6cb1033ef /legacy/escape/configure.ac
parentdf91f38ffbbcbaa375e4f62d984d7ef1e3000d91 (diff)
Adding Escape: A compatibility library for jailbroken PS3s (PSL1GHT)
SVN revision: 63260
Diffstat (limited to 'legacy/escape/configure.ac')
-rw-r--r--legacy/escape/configure.ac122
1 files changed, 122 insertions, 0 deletions
diff --git a/legacy/escape/configure.ac b/legacy/escape/configure.ac
new file mode 100644
index 0000000000..41016ae4bb
--- /dev/null
+++ b/legacy/escape/configure.ac
@@ -0,0 +1,122 @@
1
2### Version
3
4m4_define([v_maj], [0])
5m4_define([v_min], [99])
6m4_define([v_mic], [0])
7
8m4_define([escape_version], [v_maj.v_min.v_mic])
9
10m4_define([lt_cur], m4_eval(v_maj + v_min))
11m4_define([lt_rev], v_mic)
12m4_define([lt_age], v_min)
13
14AC_INIT([escape], [escape_version], [enlightenment-devel@lists.sourceforge.net])
15AC_PREREQ([2.52])
16AC_CONFIG_SRCDIR([configure.ac])
17AC_CONFIG_MACRO_DIR([m4])
18
19AC_CONFIG_HEADERS([config.h])
20AH_TOP([
21#ifndef EFL_CONFIG_H__
22#define EFL_CONFIG_H__
23])
24AH_BOTTOM([
25#endif /* EFL_CONFIG_H__ */
26])
27
28
29### If the host is not for PS3
30AC_PROG_LIBTOOL
31AC_CANONICAL_HOST
32
33case "$host_vendor" in
34 ps3*)
35 ;;
36 *)
37 AC_MSG_ERROR([OS must be PS3. Exiting...])
38 ;;
39esac
40
41AM_INIT_AUTOMAKE([1.6 dist-bzip2])
42m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
43
44LT_PREREQ([2.4])
45
46VMAJ=v_maj
47AC_SUBST(VMAJ)
48
49version_info="lt_cur:lt_rev:lt_age"
50AC_SUBST(version_info)
51
52
53### Checks for programs
54AM_PROG_AS
55AC_PROG_CXX
56AC_LANG(C)
57AC_PROG_CPP
58AC_PROG_CC
59
60### Checks for libraries
61
62ESCAPE_CFLAGS=""
63ESCAPE_CPPFLAGS=""
64ESCAPE_LIBS="-llv2"
65
66AC_SUBST(ESCAPE_CPPFLAGS)
67AC_SUBST(ESCAPE_CFLAGS)
68AC_SUBST(ESCAPE_LIBS)
69
70### Checks for header files
71AC_CHECK_HEADERS([errno.h])
72
73
74### Checks for types
75EFL_CHECK_PATH_MAX
76
77
78### Checks for structures
79
80
81### Checks for compiler characteristics
82AC_C_CONST
83
84### Checks for linker characteristics
85
86
87### Checks for library functions
88
89
90AC_CONFIG_FILES([
91Makefile
92escape.pc
93src/Makefile
94src/lib/Makefile
95])
96
97AC_OUTPUT
98
99
100#####################################################################
101## Info
102
103echo
104echo
105echo
106echo "------------------------------------------------------------------------"
107echo "$PACKAGE_NAME $PACKAGE_VERSION"
108echo "------------------------------------------------------------------------"
109echo
110echo "Configuration Options Summary:"
111echo
112echo " OS...................: ${host_os}"
113echo
114echo "Compilation............: make (or gmake)"
115echo " CPPFLAGS.............: $CPPFLAGS"
116echo " CFLAGS...............: $CFLAGS"
117echo " CXXFLAGS.............: $CXXFLAGS"
118echo " LDFLAGS..............: $LDFLAGS"
119echo
120echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
121echo " prefix...............: $prefix"
122echo