blob: 01728534656e37327f395fb04544a801ee0a50ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
AC_DEFUN([VL_LIB_ECORE],
[
AC_CACHE_CHECK([for Ecore],
vl_cv_lib_ecore,
[
ORIG_LIBS="$LIBS"
TRY_LIBS="-lecore"
LIBS="$ORIG_LIBS $TRY_LIBS"
AC_TRY_LINK_FUNC(ecore_init, vl_cv_lib_ecore="$TRY_LIBS")
if test -n "$vl_cv_lib_ecore"; then
LIBS="$ORIG_LIBS $TRY_LIBS"
else
LIBS="$ORIG_LIBS"
AC_MSG_ERROR([You need Ecore])
fi
])
if test -n "$vl_cv_lib_ecore"; then
AC_CHECK_HEADERS(Ecore.h)
fi
])
|