summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-10-26 09:01:52 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-10-26 09:01:52 +0000
commit5bdb5d376373dab8bf624388cac520094be95b63 (patch)
treee494c3a000eeb506e63cd55a77f310767633e0d8 /configure.ac
parent124e0d4afdff0937d8be8014f4dea5f78aa9f76f (diff)
merge: add embryo
please check and report problems (not cosmetic ones) someone should update the efl.spec.in file, i don't know that stuff SVN revision: 78512
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac79
1 files changed, 70 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index a99357b351..bff70be5d7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,7 +57,7 @@ requirements_libs_eo=""
57requirements_libs_eet="" 57requirements_libs_eet=""
58#requirements_libs_evas="" 58#requirements_libs_evas=""
59#requirements_libs_ecore="" 59#requirements_libs_ecore=""
60#requirements_libs_embryo="" 60requirements_libs_embryo=""
61#requirements_libs_eio="" 61#requirements_libs_eio=""
62#requirements_libs_edje="" 62#requirements_libs_edje=""
63#requirements_libs_efreet="" 63#requirements_libs_efreet=""
@@ -73,7 +73,7 @@ requirements_libs_deps_eo=""
73requirements_libs_deps_eet="" 73requirements_libs_deps_eet=""
74#requirements_libs_deps_evas="" 74#requirements_libs_deps_evas=""
75#requirements_libs_deps_ecore="" 75#requirements_libs_deps_ecore=""
76#requirements_libs_deps_embryo="" 76requirements_libs_deps_embryo=""
77#requirements_libs_deps_eio="" 77#requirements_libs_deps_eio=""
78#requirements_libs_deps_edje="" 78#requirements_libs_deps_edje=""
79#requirements_libs_deps_efreet="" 79#requirements_libs_deps_efreet=""
@@ -88,7 +88,7 @@ requirements_pc_eo=""
88requirements_pc_eet="" 88requirements_pc_eet=""
89#requirements_pc_evas="" 89#requirements_pc_evas=""
90#requirements_pc_ecore="" 90#requirements_pc_ecore=""
91#requirements_pc_embryo="" 91requirements_pc_embryo=""
92#requirements_pc_eio="" 92#requirements_pc_eio=""
93#requirements_pc_edje="" 93#requirements_pc_edje=""
94#requirements_pc_efreet="" 94#requirements_pc_efreet=""
@@ -103,7 +103,7 @@ requirements_pc_deps_eo=""
103requirements_pc_deps_eet="" 103requirements_pc_deps_eet=""
104#requirements_pc_deps_evas="" 104#requirements_pc_deps_evas=""
105#requirements_pc_deps_ecore="" 105#requirements_pc_deps_ecore=""
106#requirements_pc_deps_embryo="" 106requirements_pc_deps_embryo=""
107#requirements_pc_deps_eio="" 107#requirements_pc_deps_eio=""
108#requirements_pc_deps_edje="" 108#requirements_pc_deps_edje=""
109#requirements_pc_deps_efreet="" 109#requirements_pc_deps_efreet=""
@@ -119,7 +119,7 @@ AC_SUBST([requirements_libs_eo])
119AC_SUBST([requirements_libs_eet]) 119AC_SUBST([requirements_libs_eet])
120#AC_SUBST([requirements_libs_evas]) 120#AC_SUBST([requirements_libs_evas])
121#AC_SUBST([requirements_libs_ecore]) 121#AC_SUBST([requirements_libs_ecore])
122#AC_SUBST([requirements_libs_embryo]) 122AC_SUBST([requirements_libs_embryo])
123#AC_SUBST([requirements_libs_eio]) 123#AC_SUBST([requirements_libs_eio])
124#AC_SUBST([requirements_libs_edje]) 124#AC_SUBST([requirements_libs_edje])
125#AC_SUBST([requirements_libs_efreet]) 125#AC_SUBST([requirements_libs_efreet])
@@ -134,7 +134,7 @@ AC_SUBST([requirements_pc_eo])
134AC_SUBST([requirements_pc_eet]) 134AC_SUBST([requirements_pc_eet])
135#AC_SUBST([requirements_pc_evas]) 135#AC_SUBST([requirements_pc_evas])
136#AC_SUBST([requirements_pc_ecore]) 136#AC_SUBST([requirements_pc_ecore])
137#AC_SUBST([requirements_pc_embryo]) 137AC_SUBST([requirements_pc_embryo])
138#AC_SUBST([requirements_pc_eio]) 138#AC_SUBST([requirements_pc_eio])
139#AC_SUBST([requirements_pc_edje]) 139#AC_SUBST([requirements_pc_edje])
140#AC_SUBST([requirements_pc_efreet]) 140#AC_SUBST([requirements_pc_efreet])
@@ -331,6 +331,9 @@ strlcpy \
331 331
332AC_FUNC_ALLOCA 332AC_FUNC_ALLOCA
333 333
334EFL_CHECK_FUNCS([EFL], [fnmatch gettimeofday])
335
336
334 337
335###################### EFL ###################### 338###################### EFL ######################
336 339
@@ -583,7 +586,7 @@ EFL_CHECK_LINKER_FLAGS([EINA], [-fno-strict-aliasing])
583 586
584### Checks for library functions 587### Checks for library functions
585 588
586EFL_CHECK_FUNCS([EINA], [dirfd dlopen dladdr fnmatch iconv shm_open setxattr]) 589EFL_CHECK_FUNCS([EINA], [dirfd dlopen dladdr iconv shm_open setxattr])
587 590
588enable_log="no" 591enable_log="no"
589if test "x${efl_func_fnmatch}" = "xyes" && test "x${want_log}" = "xyes" ; then 592if test "x${efl_func_fnmatch}" = "xyes" && test "x${want_log}" = "xyes" ; then
@@ -752,8 +755,6 @@ EET_LIBS="${EET_LIBS} ${requirements_libs_deps_eet}"
752 755
753### Checks for compiler characteristics 756### Checks for compiler characteristics
754 757
755EFL_CHECK_COMPILER_FLAGS([EET], [-Wshadow -Wpointer-arith])
756
757### Checks for linker characteristics 758### Checks for linker characteristics
758 759
759case "${host_os}" in 760case "${host_os}" in
@@ -815,8 +816,65 @@ AM_CONDITIONAL([EO_BUILD_EXAMPLE_EVAS], [test "x${have_elm}" = "xyes"])
815#### End of Eo 816#### End of Eo
816 817
817 818
819#### Embryo
820
821AC_MSG_NOTICE([Embryo checks])
822
823### Default values
824
825### Additional options to configure
826
827### Checks for programs
828
829### Checks for libraries
830
831## Compatibility layers
832
833# Evil library for compilation on Windows
834
835case "$host_os" in
836 mingw*)
837 requirements_pc_embryo="${requirements_pc_embryo} evil >= ${PACKAGE_VERSION}"
838 ;;
839esac
840
841# Eina library
842
843requirements_pc_embryo="eina >= ${PACKAGE_VERSION} ${requirements_pc_embryo}"
844
845AC_ARG_VAR([EMBRYO_CFLAGS], [preprocessor flags for Embryo])
846AC_SUBST([EMBRYO_CFLAGS])
847AC_ARG_VAR([EMBRYO_LIBS], [linker flags for Embryo])
848AC_SUBST([EMBRYO_LIBS])
849
850### Checks for header files
851
852### Checks for types
853
854### Checks for structures
855
856### Checks for compiler characteristics
857
858### Checks for linker characteristics
859
860### Checks for library functions
861
862if ! test "x${efl_func_fnmatch}" = "xyes" ; then
863 AC_MSG_ERROR([Cannot find fnmatch()])
864fi
865
866if ! test "x${efl_func_gettimeofday}" = "xyes" ; then
867 AC_MSG_ERROR([Cannot find gettimeofday()])
868fi
869
870### Check availability
871
872#### End of Embryo
873
874
818AC_CONFIG_FILES([ 875AC_CONFIG_FILES([
819Makefile 876Makefile
877data/Makefile
820doc/Makefile 878doc/Makefile
821doc/Doxyfile 879doc/Doxyfile
822src/Makefile 880src/Makefile
@@ -826,6 +884,7 @@ src/benchmarks/eo/Makefile
826src/bin/Makefile 884src/bin/Makefile
827src/bin/evil/Makefile 885src/bin/evil/Makefile
828src/bin/eet/Makefile 886src/bin/eet/Makefile
887src/bin/embryo/Makefile
829src/examples/Makefile 888src/examples/Makefile
830src/examples/eina/Makefile 889src/examples/eina/Makefile
831src/examples/eet/Makefile 890src/examples/eet/Makefile
@@ -836,6 +895,7 @@ src/lib/eina/Makefile
836src/lib/eina/eina_config.h 895src/lib/eina/eina_config.h
837src/lib/eet/Makefile 896src/lib/eet/Makefile
838src/lib/eo/Makefile 897src/lib/eo/Makefile
898src/lib/embryo/Makefile
839src/modules/Makefile 899src/modules/Makefile
840src/modules/eina/Makefile 900src/modules/eina/Makefile
841src/modules/eina/mp/Makefile 901src/modules/eina/mp/Makefile
@@ -853,6 +913,7 @@ pc/evil.pc
853pc/eina.pc 913pc/eina.pc
854pc/eet.pc 914pc/eet.pc
855pc/eo.pc 915pc/eo.pc
916pc/embryo.pc
856]) 917])
857 918
858AC_OUTPUT 919AC_OUTPUT