build! fix breaks!

SVN revision: 35473
This commit is contained in:
Carsten Haitzler 2008-08-14 01:16:27 +00:00
parent 4ff8a43130
commit f4b75390de
2 changed files with 17 additions and 5 deletions

View File

@ -209,14 +209,24 @@ PKG_CHECK_MODULES(ECORE_TXT, [
ecore-txt
], [
have_temp="yes"
# This test will succeed as these modules are also checked before
have_bat="yes"
], [ have_temp="no"])
AM_CONDITIONAL(HAVE_TEMPERATURE, test x$have_temp = "xyes")
if test x$have_temp = "xyes"; then
PKG_CHECK_MODULES(TEMPERATURE, [
ecore
ecore-file
])
], [ have_temp="no"])
AM_CONDITIONAL(HAVE_TEMPERATURE, test x$have_temp = "xyes")
fi
AM_CONDITIONAL(HAVE_BATTERY, test x$have_bat = "xyes")
if test x$have_bat = "xyes"; then
PKG_CHECK_MODULES(BATTERY, [
ecore
ecore-file
ecore-con
])
fi
PKG_CHECK_MODULES(E_DBUS, edbus, have_edbus=yes, have_edbus=no)
PKG_CHECK_MODULES(E_HAL, ehal, have_ehal=yes, have_ehal=no)
@ -232,8 +242,8 @@ if test x$have_edbus = "xyes"; then
fi
fi
e_libs=$E_LIBS" "$LIBINTL" "$fnmatch_libs" "
e_cflags="-DUSE_E_CONFIG_H "$define_e_dbus" "$E_CFLAGS" "$E_DBUS_CFLAGS" "
e_libs=$E_LIBS" "$LIBINTL" "$fnmatch_libs" "$ECORE_IMF_LIBS" "
e_cflags="-DUSE_E_CONFIG_H "$define_e_dbus" "$E_CFLAGS" "$E_DBUS_CFLAGS" "$ECORE_IMF_CFLAGS" "
e_configflags="-DUSE_E_CONFIG_H "$define_e_dbus" "
AC_SUBST(e_libs)

View File

@ -3,7 +3,9 @@
*/
#include "e.h"
#ifdef HAVE_ECORE_IMF
#include <Ecore_IMF.h>
#endif
EAPI int e_precache_end = 0;