summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-04 18:32:44 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-04 18:33:42 +0900
commit93a75d71caf248feb657021679f50d9e1c25f653 (patch)
tree88ab757e4c5c1108ff8cfc26d4697b084e1368f9 /configure.ac
parent97264f434d88af38aead65426d67236c7f89ffc0 (diff)
alpha1 release autofoo/build tree work to pass distcheck and actually workv1.8.0-alpha1
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac82
1 files changed, 43 insertions, 39 deletions
diff --git a/configure.ac b/configure.ac
index b41bd4377..9359596c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,13 +1,13 @@
1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3m4_define([v_maj], [1]) 3m4_define([v_maj], [1])
4m4_define([v_min], [7]) 4m4_define([v_min], [8])
5m4_define([v_mic], [99]) 5m4_define([v_mic], [0])
6m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2>/dev/null || echo 0) | tr -d '\n'])) 6dnl m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2>/dev/null || echo 0) | tr -d '\n']))
7##-- When released, remove the dnl on the below line 7##-- When released, remove the dnl on the below line
8dnl m4_undefine([v_rev]) 8dnl m4_undefine([v_rev])
9##-- When doing snapshots - change soname. remove dnl on below line 9##-- When doing snapshots - change soname. remove dnl on below line
10dnl m4_define([relname], [ver-pre-svn-09]) 10dnl m4_define([relname], [alpha1])
11dnl m4_define([v_rel], [-release relname]) 11dnl m4_define([v_rel], [-release relname])
12##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 12##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])], 13m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])],
@@ -18,7 +18,7 @@ m4_define([lt_age], v_min)
18##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 18##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## 19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
20 20
21AC_INIT([elementary], [v_ver], [enlightenment-devel@lists.sourceforge.net]) 21AC_INIT([elementary], [v_ver-alpha1], [enlightenment-devel@lists.sourceforge.net])
22AC_PREREQ(2.52) 22AC_PREREQ(2.52)
23AC_CONFIG_SRCDIR([configure.ac]) 23AC_CONFIG_SRCDIR([configure.ac])
24AC_CONFIG_MACRO_DIR([m4]) 24AC_CONFIG_MACRO_DIR([m4])
@@ -71,6 +71,10 @@ VMAJ=v_maj
71VMIN=v_min 71VMIN=v_min
72AC_SUBST(VMAJ) 72AC_SUBST(VMAJ)
73AC_SUBST(VMIN) 73AC_SUBST(VMIN)
74ELM_VERSION_MAJOR=v_maj
75ELM_VERSION_MINOR=v_min
76AC_SUBST(ELM_VERSION_MAJOR)
77AC_SUBST(ELM_VERSION_MINOR)
74 78
75# pkg-config 79# pkg-config
76PKG_PROG_PKG_CONFIG 80PKG_PROG_PKG_CONFIG
@@ -228,30 +232,30 @@ AM_CONDITIONAL([ELEMENTARY_WINDOWS_BUILD], [test "x${have_windows}" = "xyes"])
228 232
229PKG_CHECK_MODULES([ELEMENTARY], 233PKG_CHECK_MODULES([ELEMENTARY],
230 [ 234 [
231 eina >= 1.7.99 235 eina >= 1.8.0
232 eet >= 1.7.99 236 eet >= 1.8.0
233 evas >= 1.7.99 237 evas >= 1.8.0
234 ecore >= 1.7.99 238 ecore >= 1.8.0
235 ecore-evas >= 1.7.99 239 ecore-evas >= 1.8.0
236 ecore-file >= 1.7.99 240 ecore-file >= 1.8.0
237 ecore-input >= 1.7.99 241 ecore-input >= 1.8.0
238 edje >= 1.7.99 242 edje >= 1.8.0
239 eo 243 eo >= 1.8.0
240 ] 244 ]
241) 245)
242 246
243EFL_ENABLE_EO_API_SUPPORT 247EFL_ENABLE_EO_API_SUPPORT
244EFL_ENABLE_BETA_API_SUPPORT 248EFL_ENABLE_BETA_API_SUPPORT
245 249
246requirement_elm="edje >= 1.7.99 ecore-file >= 1.7.99 ecore-evas >= 1.7.99 ecore >= 1.7.99 evas >= 1.7.99 eet >= 1.7.99 eina >= 1.7.99 ${requirement_elm}" 250requirement_elm="edje >= 1.8.0 ecore-file >= 1.8.0 ecore-evas >= 1.8.0 ecore >= 1.8.0 evas >= 1.8.0 eet >= 1.8.0 eina >= 1.8.0 ${requirement_elm}"
247 251
248PKG_CHECK_MODULES([ELEMENTARY_ECORE_IMF], 252PKG_CHECK_MODULES([ELEMENTARY_ECORE_IMF],
249 [ecore-imf >= 1.7.99], 253 [ecore-imf >= 1.8.0],
250 [ 254 [
251 ELEMENTARY_ECORE_IMF_INC="#include <Ecore_IMF.h>" 255 ELEMENTARY_ECORE_IMF_INC="#include <Ecore_IMF.h>"
252 AC_DEFINE(HAVE_ELEMENTARY_ECORE_IMF, 1, [Have Ecore_IMF support]) 256 AC_DEFINE(HAVE_ELEMENTARY_ECORE_IMF, 1, [Have Ecore_IMF support])
253 have_ecore_imf="yes" 257 have_ecore_imf="yes"
254 requirement_elm="ecore-imf >= 1.7.99 ${requirement_elm}" 258 requirement_elm="ecore-imf >= 1.8.0 ${requirement_elm}"
255 ], 259 ],
256 [have_ecore_imf="no"]) 260 [have_ecore_imf="no"])
257AC_SUBST(ELEMENTARY_ECORE_IMF_INC) 261AC_SUBST(ELEMENTARY_ECORE_IMF_INC)
@@ -259,12 +263,12 @@ AC_SUBST(ELEMENTARY_ECORE_IMF_INC)
259AM_CONDITIONAL([HAVE_ECORE_IMF], [test "x${have_ecore_imf}" = "xyes"]) 263AM_CONDITIONAL([HAVE_ECORE_IMF], [test "x${have_ecore_imf}" = "xyes"])
260 264
261PKG_CHECK_MODULES([ELEMENTARY_ECORE_CON], 265PKG_CHECK_MODULES([ELEMENTARY_ECORE_CON],
262 [ecore-con >= 1.7.99], 266 [ecore-con >= 1.8.0],
263 [ 267 [
264 ELEMENTARY_ECORE_CON_INC="#include <Ecore_Con.h>" 268 ELEMENTARY_ECORE_CON_INC="#include <Ecore_Con.h>"
265 AC_DEFINE(HAVE_ELEMENTARY_ECORE_CON, 1, [Have Ecore_Con support]) 269 AC_DEFINE(HAVE_ELEMENTARY_ECORE_CON, 1, [Have Ecore_Con support])
266 have_ecore_con="yes" 270 have_ecore_con="yes"
267 requirement_elm="ecore-con >= 1.7.99 ${requirement_elm}" 271 requirement_elm="ecore-con >= 1.8.0 ${requirement_elm}"
268 ], 272 ],
269 [have_ecore_con="no"]) 273 [have_ecore_con="no"])
270AC_SUBST(ELEMENTARY_ECORE_CON_INC) 274AC_SUBST(ELEMENTARY_ECORE_CON_INC)
@@ -309,11 +313,11 @@ AC_ARG_ENABLE([ecore-x],
309 313
310if test "x$want_elementary_x" != "xno"; then 314if test "x$want_elementary_x" != "xno"; then
311 PKG_CHECK_MODULES([ELEMENTARY_X], 315 PKG_CHECK_MODULES([ELEMENTARY_X],
312 [ecore-x >= 1.7.99], 316 [ecore-x >= 1.8.0],
313 [ 317 [
314 AC_DEFINE(HAVE_ELEMENTARY_X, 1, [X11 support for Elementary]) 318 AC_DEFINE(HAVE_ELEMENTARY_X, 1, [X11 support for Elementary])
315 have_elementary_x="yes" 319 have_elementary_x="yes"
316 requirement_elm="ecore-x >= 1.7.99 ${requirement_elm}" 320 requirement_elm="ecore-x >= 1.8.0 ${requirement_elm}"
317 ], 321 ],
318 [have_elementary_x="no"] 322 [have_elementary_x="no"]
319 ) 323 )
@@ -333,11 +337,11 @@ AC_ARG_ENABLE([ecore-fb],
333 337
334if test "x$want_elementary_fb" != "xno"; then 338if test "x$want_elementary_fb" != "xno"; then
335 PKG_CHECK_MODULES([ELEMENTARY_FB], 339 PKG_CHECK_MODULES([ELEMENTARY_FB],
336 [ecore-fb >= 1.7.99], 340 [ecore-fb >= 1.8.0],
337 [ 341 [
338 AC_DEFINE(HAVE_ELEMENTARY_FB, 1, [FB support for Elementary]) 342 AC_DEFINE(HAVE_ELEMENTARY_FB, 1, [FB support for Elementary])
339 have_elementary_fb="yes" 343 have_elementary_fb="yes"
340 requirement_elm="ecore-fb >= 1.7.99 ${requirement_elm}" 344 requirement_elm="ecore-fb >= 1.8.0 ${requirement_elm}"
341 ], 345 ],
342 [have_elementary_fb="no"] 346 [have_elementary_fb="no"]
343 ) 347 )
@@ -356,11 +360,11 @@ AC_ARG_ENABLE([ecore-psl1ght],
356 360
357if test "x$want_elementary_psl1ght" != "xno"; then 361if test "x$want_elementary_psl1ght" != "xno"; then
358 PKG_CHECK_MODULES([ELEMENTARY_PSL1GHT], 362 PKG_CHECK_MODULES([ELEMENTARY_PSL1GHT],
359 [ecore-psl1ght >= 1.7.99], 363 [ecore-psl1ght >= 1.8.0],
360 [ 364 [
361 AC_DEFINE(HAVE_ELEMENTARY_PSL1GHT, 1, [PSL1GHT support for Elementary]) 365 AC_DEFINE(HAVE_ELEMENTARY_PSL1GHT, 1, [PSL1GHT support for Elementary])
362 have_elementary_psl1ght="yes" 366 have_elementary_psl1ght="yes"
363 requirement_elm="ecore-psl1ght >= 1.7.99 ${requirement_elm}" 367 requirement_elm="ecore-psl1ght >= 1.8.0 ${requirement_elm}"
364 ], 368 ],
365 [have_elementary_psl1ght="no"] 369 [have_elementary_psl1ght="no"]
366 ) 370 )
@@ -379,11 +383,11 @@ AC_ARG_ENABLE([ecore-sdl],
379 383
380if test "x$want_elementary_sdl" != "xno"; then 384if test "x$want_elementary_sdl" != "xno"; then
381 PKG_CHECK_MODULES([ELEMENTARY_SDL], 385 PKG_CHECK_MODULES([ELEMENTARY_SDL],
382 [ecore-sdl >= 1.7.99], 386 [ecore-sdl >= 1.8.0],
383 [ 387 [
384 AC_DEFINE(HAVE_ELEMENTARY_SDL, 1, [SDL support for Elementary]) 388 AC_DEFINE(HAVE_ELEMENTARY_SDL, 1, [SDL support for Elementary])
385 have_elementary_sdl="yes" 389 have_elementary_sdl="yes"
386 requirement_elm="ecore-sdl >= 1.7.99 ${requirement_elm}" 390 requirement_elm="ecore-sdl >= 1.8.0 ${requirement_elm}"
387 ], 391 ],
388 [have_elementary_sdl="no"] 392 [have_elementary_sdl="no"]
389 ) 393 )
@@ -402,11 +406,11 @@ AC_ARG_ENABLE([ecore-cocoa],
402 406
403if test "x$want_elementary_cocoa" != "xno"; then 407if test "x$want_elementary_cocoa" != "xno"; then
404 PKG_CHECK_MODULES([ELEMENTARY_COCOA], 408 PKG_CHECK_MODULES([ELEMENTARY_COCOA],
405 [ecore-cocoa >= 1.7.99], 409 [ecore-cocoa >= 1.8.0],
406 [ 410 [
407 AC_DEFINE(HAVE_ELEMENTARY_COCOA, 1, [COCOA support for Elementary]) 411 AC_DEFINE(HAVE_ELEMENTARY_COCOA, 1, [COCOA support for Elementary])
408 have_elementary_cocoa="yes" 412 have_elementary_cocoa="yes"
409 requirement_elm="ecore-cocoa >= 1.7.99 ${requirement_elm}" 413 requirement_elm="ecore-cocoa >= 1.8.0 ${requirement_elm}"
410 ], 414 ],
411 [have_elementary_cocoa="no"] 415 [have_elementary_cocoa="no"]
412 ) 416 )
@@ -425,11 +429,11 @@ AC_ARG_ENABLE([ecore-win32],
425 429
426if test "x$want_elementary_win32" != "xno"; then 430if test "x$want_elementary_win32" != "xno"; then
427 PKG_CHECK_MODULES([ELEMENTARY_WIN32], 431 PKG_CHECK_MODULES([ELEMENTARY_WIN32],
428 [ecore-win32 >= 1.7.99], 432 [ecore-win32 >= 1.8.0],
429 [ 433 [
430 AC_DEFINE(HAVE_ELEMENTARY_WIN32, 1, [Windows XP support for Elementary]) 434 AC_DEFINE(HAVE_ELEMENTARY_WIN32, 1, [Windows XP support for Elementary])
431 have_elementary_win32="yes" 435 have_elementary_win32="yes"
432 requirement_elm="ecore-win32 >= 1.7.99 ${requirement_elm}" 436 requirement_elm="ecore-win32 >= 1.8.0 ${requirement_elm}"
433 ], 437 ],
434 [have_elementary_win32="no"] 438 [have_elementary_win32="no"]
435 ) 439 )
@@ -448,11 +452,11 @@ AC_ARG_ENABLE([ecore-wince],
448 452
449if test "x$want_elementary_wince" != "xno"; then 453if test "x$want_elementary_wince" != "xno"; then
450 PKG_CHECK_MODULES([ELEMENTARY_WINCE], 454 PKG_CHECK_MODULES([ELEMENTARY_WINCE],
451 [ecore-wince >= 1.7.99], 455 [ecore-wince >= 1.8.0],
452 [ 456 [
453 AC_DEFINE(HAVE_ELEMENTARY_WINCE, 1, [Windows CE support for Elementary]) 457 AC_DEFINE(HAVE_ELEMENTARY_WINCE, 1, [Windows CE support for Elementary])
454 have_elementary_wince="yes" 458 have_elementary_wince="yes"
455 requirement_elm="ecore-wince >= 1.7.99 ${requirement_elm}" 459 requirement_elm="ecore-wince >= 1.8.0 ${requirement_elm}"
456 ], 460 ],
457 [have_elementary_wince="no"] 461 [have_elementary_wince="no"]
458 ) 462 )
@@ -496,13 +500,13 @@ AC_ARG_ENABLE([eldbus],
496if test "x$want_elementary_eldbus" != "xno"; then 500if test "x$want_elementary_eldbus" != "xno"; then
497 PKG_CHECK_MODULES([ELEMENTARY_ELDBUS], 501 PKG_CHECK_MODULES([ELEMENTARY_ELDBUS],
498 [ 502 [
499 eldbus >= 1.7.99 503 eldbus >= 1.8.0
500 ], 504 ],
501 [ 505 [
502 AC_DEFINE(HAVE_ELEMENTARY_ELDBUS, 1, [Eldbus support for Elementary]) 506 AC_DEFINE(HAVE_ELEMENTARY_ELDBUS, 1, [Eldbus support for Elementary])
503 have_elementary_eldbus="yes" 507 have_elementary_eldbus="yes"
504 ELM_ELDBUS_DEF="#define" 508 ELM_ELDBUS_DEF="#define"
505 requirement_elm="eldbus >= 1.7.99 ${requirement_elm}" 509 requirement_elm="eldbus >= 1.8.0 ${requirement_elm}"
506 ], 510 ],
507 [have_elementary_eldbus="no"] 511 [have_elementary_eldbus="no"]
508 ) 512 )
@@ -552,15 +556,15 @@ AC_ARG_ENABLE([efreet],
552if test "x$want_elementary_efreet" != "xno"; then 556if test "x$want_elementary_efreet" != "xno"; then
553 PKG_CHECK_MODULES([ELEMENTARY_EFREET], 557 PKG_CHECK_MODULES([ELEMENTARY_EFREET],
554 [ 558 [
555 efreet >= 1.7.99 559 efreet >= 1.8.0
556 efreet-mime >= 1.7.99 560 efreet-mime >= 1.8.0
557 efreet-trash >= 1.7.99 561 efreet-trash >= 1.8.0
558 ], 562 ],
559 [ 563 [
560 AC_DEFINE(HAVE_ELEMENTARY_EFREET, 1, [Efreet support for Elementary]) 564 AC_DEFINE(HAVE_ELEMENTARY_EFREET, 1, [Efreet support for Elementary])
561 have_elementary_efreet="yes" 565 have_elementary_efreet="yes"
562 ELM_EFREET_DEF="#define" 566 ELM_EFREET_DEF="#define"
563 requirement_elm="efreet >= 1.7.99 efreet-mime >= 1.7.99 efreet-trash >= 1.7.99 ${requirement_elm}" 567 requirement_elm="efreet >= 1.8.0 efreet-mime >= 1.8.0 efreet-trash >= 1.8.0 ${requirement_elm}"
564 ], 568 ],
565 [have_elementary_efreet="no"] 569 [have_elementary_efreet="no"]
566 ) 570 )