blob: 16feb10b62f2e0c3cf06c20cd4b0a2fdc9cb05f2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
AC_DEFUN([AC_CHK_EVAS],
[
AC_ARG_WITH(
[evas-config],
[ --with-evas-config=EVAS_CONFIG_PATH use evas-config specified ],
[EVAS_CONFIG=$withval;
if ! test -x "$EVAS_CONFIG"; then
AC_MSG_ERROR([$EVAS_CONFIG not found])
fi],
[AC_PATH_PROG(EVAS_CONFIG, "evas-config", "", $PATH)
if test -z "$EVAS_CONFIG"; then
AC_MSG_ERROR([You need evas !])
fi])
evas_cflags=`$EVAS_CONFIG --cflags`
evas_libs=`$EVAS_CONFIG --libs`
AC_SUBST(evas_cflags)
AC_SUBST(evas_libs)
])
|