blob: f6123718037f7e8158ff2653240b95aff76cf0f2 (
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_CONFIG],
[
AC_CACHE_CHECK([for Ecore_Config],
vl_cv_lib_ecore_config,
[
ORIG_LIBS="$LIBS"
TRY_LIBS="-lecore_config"
LIBS="$ORIG_LIBS $TRY_LIBS"
AC_TRY_LINK_FUNC(ecore_config_system_init, vl_cv_lib_ecore_config="$TRY_LIBS")
if test -n "$vl_cv_lib_ecore_config"; then
LIBS="$ORIG_LIBS $TRY_LIBS"
else
LIBS="$ORIG_LIBS"
AC_MSG_ERROR([You need Ecore_Config])
fi
])
if test -n "$vl_cv_lib_ecore_config"; then
AC_CHECK_HEADERS(Ecore_Config.h)
fi
])
|