summaryrefslogtreecommitdiff
path: root/m4/efl.m4
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2013-01-17 02:35:29 +0000
committerCedric BAIL <cedric.bail@free.fr>2013-01-17 02:35:29 +0000
commit098a745c4b0820b1d4ce68e78ec0cc9d948b9793 (patch)
treea52ae82bfb0495caa53245f052f4ccd81239a3a3 /m4/efl.m4
parent0bcbfcf4c19bbd5a9f319d30c0e63c9bcfa7e687 (diff)
efl: revert r82914 which was a revert of r82909.
SVN revision: 82915
Diffstat (limited to 'm4/efl.m4')
-rw-r--r--m4/efl.m413
1 files changed, 5 insertions, 8 deletions
diff --git a/m4/efl.m4 b/m4/efl.m4
index cbd379171b..90e4cb7c39 100644
--- a/m4/efl.m4
+++ b/m4/efl.m4
@@ -108,6 +108,7 @@ esac
108requirements_pc_[]m4_defn([DOWNEFL])="${depname} >= ${PACKAGE_VERSION} ${requirements_pc_[][]m4_defn([DOWNEFL])}" 108requirements_pc_[]m4_defn([DOWNEFL])="${depname} >= ${PACKAGE_VERSION} ${requirements_pc_[][]m4_defn([DOWNEFL])}"
109requirements_cflags_[]m4_defn([DOWNEFL])="-I\$(top_srcdir)/src/lib/${libdirname} -I\$(top_builddir)/src/lib/${libdirname} ${requirements_cflags_[][]m4_defn([DOWNEFL])}" 109requirements_cflags_[]m4_defn([DOWNEFL])="-I\$(top_srcdir)/src/lib/${libdirname} -I\$(top_builddir)/src/lib/${libdirname} ${requirements_cflags_[][]m4_defn([DOWNEFL])}"
110requirements_internal_libs_[]m4_defn([DOWNEFL])="lib/${libdirname}/lib${libname}.la ${requirements_internal_libs_[][]m4_defn([DOWNEFL])}" 110requirements_internal_libs_[]m4_defn([DOWNEFL])="lib/${libdirname}/lib${libname}.la ${requirements_internal_libs_[][]m4_defn([DOWNEFL])}"
111requirements_internal_deps_libs_[]m4_defn([DOWNEFL])="${requirements_libs_[]m4_defn([DOWNOTHER])} ${requirements_internal_deps_libs_[][]m4_defn([DOWNEFL])}"
111m4_popdef([DOWNOTHER])dnl 112m4_popdef([DOWNOTHER])dnl
112m4_popdef([DOWNEFL])dnl 113m4_popdef([DOWNEFL])dnl
113]) 114])
@@ -191,15 +192,10 @@ m4_popdef([DOWN])
191 192
192dnl EFL_OPTIONAL_INTERNAL_DEPEND_PKG(EFL, VARIABLE, NAME) 193dnl EFL_OPTIONAL_INTERNAL_DEPEND_PKG(EFL, VARIABLE, NAME)
193AC_DEFUN([EFL_OPTIONAL_INTERNAL_DEPEND_PKG], 194AC_DEFUN([EFL_OPTIONAL_INTERNAL_DEPEND_PKG],
194[ 195[dnl
195m4_pushdef([DOWN], m4_translit([$3], [-A-Z], [_a-z]))dnl
196
197 have_[]m4_defn([DOWN])="no"
198 if test "x$2" = "xyes"; then 196 if test "x$2" = "xyes"; then
199 EFL_INTERNAL_DEPEND_PKG([$1], [$3]) 197 EFL_INTERNAL_DEPEND_PKG([$1], [$3])
200 fi 198 fi
201
202m4_popdef([DOWN])
203]) 199])
204 200
205dnl EFL_ADD_LIBS(PKG, LIBS) 201dnl EFL_ADD_LIBS(PKG, LIBS)
@@ -230,6 +226,7 @@ m4_pushdef([DOWN], m4_translit([$1], [-A-Z], [_a-z]))dnl
230m4_pushdef([UP], m4_translit([$1], [-a-z], [_A-Z]))dnl 226m4_pushdef([UP], m4_translit([$1], [-a-z], [_A-Z]))dnl
231 227
232requirements_internal_libs_[]m4_defn([DOWN])="" 228requirements_internal_libs_[]m4_defn([DOWN])=""
229requirements_internal_deps_libs_[]m4_defn([DOWN])=""
233requirements_libs_[]m4_defn([DOWN])="" 230requirements_libs_[]m4_defn([DOWN])=""
234requirements_cflags_[]m4_defn([DOWN])="" 231requirements_cflags_[]m4_defn([DOWN])=""
235requirements_pc_[]m4_defn([DOWN])="" 232requirements_pc_[]m4_defn([DOWN])=""
@@ -274,10 +271,10 @@ case "m4_defn([DOWN])" in
274esac 271esac
275 272
276m4_defn([UP])_LDFLAGS="${m4_defn([UP])_LDFLAGS} ${EFL_COV_CFLAGS} ${EFL_LDFLAGS}" 273m4_defn([UP])_LDFLAGS="${m4_defn([UP])_LDFLAGS} ${EFL_COV_CFLAGS} ${EFL_LDFLAGS}"
277m4_defn([UP])_LIBS="${m4_defn([UP])_LIBS} ${m4_defn([UP])_LDFLAGS} ${EFL_COV_LIBS} ${EFL_LIBS} ${requirements_internal_libs_[]m4_defn([DOWN])} ${requirements_libs_[]m4_defn([DOWN])} ${requirements_libs_efl} " 274m4_defn([UP])_LIBS="${m4_defn([UP])_LIBS} ${m4_defn([UP])_LDFLAGS} ${EFL_COV_LIBS} ${EFL_LIBS} ${requirements_internal_libs_[]m4_defn([DOWN])} ${requirements_internal_deps_libs_[]m4_defn([DOWN])} ${requirements_libs_[]m4_defn([DOWN])} ${requirements_libs_efl} "
278m4_defn([UP])_INTERNAL_LIBS="${m4_defn([UP])_INTERNAL_LIBS} ${requirements_internal_libs_[]m4_defn([DOWN])}" 275m4_defn([UP])_INTERNAL_LIBS="${m4_defn([UP])_INTERNAL_LIBS} ${requirements_internal_libs_[]m4_defn([DOWN])}"
279USE_[]m4_defn([UP])_LIBS="${m4_defn([UP])_LIBS} lib/${libdirname}/lib${libname}.la" 276USE_[]m4_defn([UP])_LIBS="${m4_defn([UP])_LIBS} lib/${libdirname}/lib${libname}.la"
280USE_[]m4_defn([UP])_INTERNAL_LIBS="${m4_defn([UP])_INTERNAL_LIBS} lib/${libdirname}/lib${libname}.la" 277USE_[]m4_defn([UP])_INTERNAL_LIBS="${m4_defn([UP])_INTERNAL_LIBS} lib/${libdirname}/lib${libname}.la ${requirements_internal_deps_libs_[]m4_defn([DOWN])}"
281m4_defn([UP])_CFLAGS="${m4_defn([UP])_CFLAGS} ${EFL_CFLAGS} -I\$(top_srcdir)/src/lib/${libdirname} -I\$(top_builddir)/src/lib/${libdirname} ${requirements_cflags_[]m4_defn([DOWN])} ${requirements_cflags_efl} -DEFL_[]m4_defn([UP])_BUILD=1" 278m4_defn([UP])_CFLAGS="${m4_defn([UP])_CFLAGS} ${EFL_CFLAGS} -I\$(top_srcdir)/src/lib/${libdirname} -I\$(top_builddir)/src/lib/${libdirname} ${requirements_cflags_[]m4_defn([DOWN])} ${requirements_cflags_efl} -DEFL_[]m4_defn([UP])_BUILD=1"
282requirements_pc_[]m4_defn([DOWN])="${requirements_pc_[]m4_defn([DOWN])} ${requirements_pc_efl}" 279requirements_pc_[]m4_defn([DOWN])="${requirements_pc_[]m4_defn([DOWN])} ${requirements_pc_efl}"
283requirements_pc_deps_[]m4_defn([DOWN])="${requirements_pc_deps_[]m4_defn([DOWN])} ${requirements_pc_deps_efl}" 280requirements_pc_deps_[]m4_defn([DOWN])="${requirements_pc_deps_[]m4_defn([DOWN])} ${requirements_pc_deps_efl}"