summaryrefslogtreecommitdiff
path: root/legacy/evil/configure.ac
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-11-13 23:52:18 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-11-13 23:52:18 +0000
commitcd926b304dc8f072d99d55f90ef4bd6ad9d3a62f (patch)
treeab108ceeb5d9b72e9998c7e5c58d7ba3aaeed5e7 /legacy/evil/configure.ac
parent30965869f0e3aaea6adb2765e98a6797e9f03749 (diff)
move libs already in EFL into... IN-EFL - this will stop/prevent/limit
thnigs like people using them and patching them, etc. SVN revision: 79255
Diffstat (limited to 'legacy/evil/configure.ac')
-rw-r--r--legacy/evil/configure.ac171
1 files changed, 0 insertions, 171 deletions
diff --git a/legacy/evil/configure.ac b/legacy/evil/configure.ac
deleted file mode 100644
index 8045d46840..0000000000
--- a/legacy/evil/configure.ac
+++ /dev/null
@@ -1,171 +0,0 @@
1
2### Version
3
4m4_define([v_maj], [1])
5m4_define([v_min], [7])
6m4_define([v_mic], [0])
7
8m4_define([evil_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([evil], [evil_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 Windows, or is ceGCC, we exit
30
31AC_CANONICAL_HOST
32
33case "$host_os" in
34 cegcc*)
35 AC_MSG_ERROR([ceGCC compiler is not supported anymore. Exiting...])
36 ;;
37 mingw*)
38 ;;
39 *)
40dnl AC_MSG_ERROR([OS must be Windows. Exiting...])
41 ;;
42esac
43
44AM_INIT_AUTOMAKE([1.6 dist-bzip2])
45m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
46
47lt_cv_deplibs_check_method='pass_all'
48LT_INIT([win32-dll])
49
50VMAJ=v_maj
51AC_SUBST([VMAJ])
52
53version_info="lt_cur:lt_rev:lt_age"
54AC_SUBST([version_info])
55
56
57### Needed information
58
59EFL_SELECT_WINDOWS_VERSION
60
61
62### Checks for programs
63AM_PROG_AS
64AC_PROG_CXX
65AC_LANG([C])
66AC_PROG_CPP
67AC_PROG_CC
68
69# doxygen program for documentation building
70
71EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
72
73
74### Checks for libraries
75
76EVIL_LIBS=""
77EVIL_DLFCN_LIBS=""
78case "$host_os" in
79 mingw32ce*)
80 EVIL_LIBS="-lws2"
81 EVIL_DLFCN_LIBS="-ltoolhelp"
82 ;;
83 *)
84 EVIL_LIBS="-lole32 -luuid -lws2_32 -lsecur32"
85 EVIL_DLFCN_LIBS="-lpsapi"
86 ;;
87esac
88AC_SUBST([EVIL_LIBS])
89AC_SUBST([EVIL_DLFCN_LIBS])
90
91
92### Checks for header files
93AC_CHECK_HEADERS([errno.h])
94
95
96### Checks for types
97
98
99### Checks for structures
100
101
102### Checks for compiler characteristics
103EFL_ATTRIBUTE_UNUSED
104
105EVIL_CPPFLAGS="-DEFL_EVIL_BUILD"
106EVIL_DLFCN_CPPFLAGS="-DEFL_EVIL_DLFCN_BUILD -DPSAPI_VERSION=1"
107EVIL_CFLAGS="-Wall -Wextra -Wshadow -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -mms-bitfields"
108EVIL_CXXFLAGS=""
109have_wince="no"
110case "$host_os" in
111 mingw32ce*)
112 have_wince="yes"
113 ;;
114 *)
115 have_wince="no"
116 EVIL_CXXFLAGS="-fno-rtti -fno-exceptions"
117 EVIL_CPPFLAGS="-DSECURITY_WIN32"
118 ;;
119esac
120AC_SUBST([EVIL_CPPFLAGS])
121AC_SUBST([EVIL_DLFCN_CPPFLAGS])
122AC_SUBST([EVIL_CFLAGS])
123AC_SUBST([EVIL_CXXFLAGS])
124
125AM_CONDITIONAL(EVIL_HAVE_WINCE, test "x${have_wince}" = "xyes")
126
127
128### Checks for linker characteristics
129
130
131### Checks for library functions
132
133
134AC_CONFIG_FILES([
135Makefile
136evil.pc
137doc/Makefile
138src/Makefile
139src/bin/Makefile
140src/lib/Makefile
141])
142
143AC_OUTPUT
144
145
146#####################################################################
147## Info
148
149echo
150echo
151echo
152echo "------------------------------------------------------------------------"
153echo "$PACKAGE_NAME $PACKAGE_VERSION"
154echo "------------------------------------------------------------------------"
155echo
156echo "Configuration Options Summary:"
157echo
158echo " OS...................: ${host_os}"
159echo " Windows version......: ${_efl_windows_version}"
160echo
161echo " Documentation........: ${build_doc}"
162echo
163echo "Compilation............: make (or gmake)"
164echo " CPPFLAGS.............: $CPPFLAGS"
165echo " CFLAGS...............: $CFLAGS"
166echo " CXXFLAGS.............: $CXXFLAGS"
167echo " LDFLAGS..............: $LDFLAGS"
168echo
169echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
170echo " prefix...............: $prefix"
171echo