summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-09-26 06:56:52 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-09-26 06:56:52 +0000
commit3b5a3448b7dfc53c2f129bdb04bea9f7a02741a6 (patch)
tree18ad8a6b1841e9832c85a46f887b2cd6d6dacc4b /configure.ac
parent195d31c73fef88cfaa803b07b2ae3cba983a4093 (diff)
merge: add eo
SVN revision: 77072
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac77
1 files changed, 75 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index a957637542..380b8fda85 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,8 +51,6 @@ AC_SUBST([VMAJ])
51 51
52#### Default values 52#### Default values
53 53
54want_eina="yes"
55want_eet="yes"
56want_evas="yes" 54want_evas="yes"
57want_ecore="yes" 55want_ecore="yes"
58want_embryo="yes" 56want_embryo="yes"
@@ -97,6 +95,7 @@ requirements_libs_deps_elementary=""
97 95
98requirements_pc_eina="" 96requirements_pc_eina=""
99requirements_pc_eet="" 97requirements_pc_eet=""
98requirements_pc_eo=""
100requirements_pc_evas="" 99requirements_pc_evas=""
101requirements_pc_ecore="" 100requirements_pc_ecore=""
102requirements_pc_embryo="" 101requirements_pc_embryo=""
@@ -140,6 +139,7 @@ AC_SUBST([requirements_libs_elementary])
140 139
141AC_SUBST([requirements_pc_eina]) 140AC_SUBST([requirements_pc_eina])
142AC_SUBST([requirements_pc_eet]) 141AC_SUBST([requirements_pc_eet])
142AC_SUBST([requirements_pc_eo])
143AC_SUBST([requirements_pc_evas]) 143AC_SUBST([requirements_pc_evas])
144AC_SUBST([requirements_pc_ecore]) 144AC_SUBST([requirements_pc_ecore])
145AC_SUBST([requirements_pc_embryo]) 145AC_SUBST([requirements_pc_embryo])
@@ -197,6 +197,7 @@ AM_CONDITIONAL([HAVE_WINDOWS], [test "x${have_windows}" = "xyes"])
197#### Additional options to configure 197#### Additional options to configure
198 198
199EFL_ENABLE_LIB([eet], [yes]) 199EFL_ENABLE_LIB([eet], [yes])
200EFL_ENABLE_LIB([eo], [yes])
200 201
201 202
202# Assert or fail. 203# Assert or fail.
@@ -1141,6 +1142,62 @@ fi
1141#### End of Eet 1142#### End of Eet
1142 1143
1143 1144
1145#### Eo
1146
1147efl_have_eo="no"
1148
1149if test "x${efl_want_build_eo}" = "xyes" ; then
1150
1151AC_MSG_NOTICE([Eo checks])
1152
1153### Default values
1154
1155### Additional options to configure
1156
1157### Checks for programs
1158
1159### Checks for libraries
1160
1161# Eina library
1162
1163requirements_pc_eo="eina >= 1.7.99"
1164
1165PKG_CHECK_MODULES([EO], [${requirements_pc_eo}])
1166
1167# Example (evas one)
1168
1169PKG_CHECK_MODULES([ELM], [elementary >= 1.7.0], [have_elm="yes"], [have_elm="no"])
1170AM_CONDITIONAL([EO_BUILD_EXAMPLE_EVAS], [test "x${have_elm}" = "xyes"])
1171
1172### Checks for header files
1173
1174### Checks for types
1175
1176### Checks for structures
1177
1178### Checks for compiler characteristics
1179
1180EFL_EO_BUILD=""
1181case "$host_os" in
1182 mingw*)
1183 EFL_EO_BUILD="-DEFL_EO_BUILD"
1184 ;;
1185esac
1186AC_SUBST([EFL_EO_BUILD])
1187
1188### Checks for linker characteristics
1189
1190### Checks for library functions
1191
1192### Check availability
1193
1194efl_have_eo="yes"
1195
1196fi
1197
1198#### End of Eo
1199
1200
1144#### Evas 1201#### Evas
1145 1202
1146#AC_MSG_NOTICE([Evas checks]) 1203#AC_MSG_NOTICE([Evas checks])
@@ -1166,12 +1223,14 @@ doc/Doxyfile
1166src/Makefile 1223src/Makefile
1167src/benchmarks/Makefile 1224src/benchmarks/Makefile
1168src/benchmarks/eina/Makefile 1225src/benchmarks/eina/Makefile
1226src/benchmarks/eo/Makefile
1169src/bin/Makefile 1227src/bin/Makefile
1170src/bin/evil/Makefile 1228src/bin/evil/Makefile
1171src/bin/eet/Makefile 1229src/bin/eet/Makefile
1172src/examples/Makefile 1230src/examples/Makefile
1173src/examples/eina/Makefile 1231src/examples/eina/Makefile
1174src/examples/eet/Makefile 1232src/examples/eet/Makefile
1233src/examples/eo/Makefile
1175src/include/Makefile 1234src/include/Makefile
1176src/include/eina/Makefile 1235src/include/eina/Makefile
1177src/include/eina/eina_config.h 1236src/include/eina/eina_config.h
@@ -1179,6 +1238,7 @@ src/lib/Makefile
1179src/lib/evil/Makefile 1238src/lib/evil/Makefile
1180src/lib/eina/Makefile 1239src/lib/eina/Makefile
1181src/lib/eet/Makefile 1240src/lib/eet/Makefile
1241src/lib/eo/Makefile
1182src/modules/Makefile 1242src/modules/Makefile
1183src/modules/eina/Makefile 1243src/modules/eina/Makefile
1184src/modules/eina/mp/Makefile 1244src/modules/eina/mp/Makefile
@@ -1194,11 +1254,13 @@ src/scripts/eina/Makefile
1194src/tests/Makefile 1254src/tests/Makefile
1195src/tests/eina/Makefile 1255src/tests/eina/Makefile
1196src/tests/eet/Makefile 1256src/tests/eet/Makefile
1257src/tests/eo/Makefile
1197eina.spec 1258eina.spec
1198eet.spec 1259eet.spec
1199evil.pc 1260evil.pc
1200eina.pc 1261eina.pc
1201eet.pc 1262eet.pc
1263eo.pc
1202]) 1264])
1203 1265
1204AC_OUTPUT 1266AC_OUTPUT
@@ -1263,6 +1325,7 @@ echo " Pass through.......: ${enable_pass_through}"
1263echo 1325echo
1264if test "x${efl_have_eet}" = "xno" ; then 1326if test "x${efl_have_eet}" = "xno" ; then
1265echo "Eet....................: no" 1327echo "Eet....................: no"
1328echo
1266else 1329else
1267echo "Eet" 1330echo "Eet"
1268echo 1331echo
@@ -1278,6 +1341,16 @@ echo " Tests................: make check (Coverage: ${_efl_enable_coverage})"
1278echo " Examples.............: make examples" 1341echo " Examples.............: make examples"
1279echo " installation.......: make install-examples" 1342echo " installation.......: make install-examples"
1280fi 1343fi
1344if test "x${efl_have_eo}" = "xno" ; then
1345echo "Eo.....................: no"
1346echo
1347else
1348echo "Eo"
1349echo
1350echo " Tests................: make check (Coverage: ${_efl_enable_coverage})"
1351echo " Examples.............: make examples"
1352echo " installation.......: make install-examples"
1353fi
1281echo 1354echo
1282echo "Compilation............: make (or gmake)" 1355echo "Compilation............: make (or gmake)"
1283echo " CPPFLAGS.............: $CPPFLAGS" 1356echo " CPPFLAGS.............: $CPPFLAGS"