blob: b8319b4e63e35bc76a1f74f28fccb376099938b7 (
plain) (
tree)
|
|
AC_DEFUN([VL_LIB_ECORE_CON],
[
AC_CACHE_CHECK([for Ecore_Con],
vl_cv_lib_ecore_con,
[
ORIG_LIBS="$LIBS"
TRY_LIBS="-lecore_con"
LIBS="$ORIG_LIBS $TRY_LIBS"
AC_TRY_LINK_FUNC(ecore_con_init, vl_cv_lib_ecore_con="$TRY_LIBS")
if test -n "$vl_cv_lib_ecore_con"; then
LIBS="$ORIG_LIBS $TRY_LIBS"
else
LIBS="$ORIG_LIBS"
AC_MSG_ERROR([You need Ecore_Con])
fi
])
if test -n "$vl_cv_lib_ecore_con"; then
AC_CHECK_HEADERS(Ecore_Con.h)
fi
])
|