diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/eet/m4/efl_fnmatch.m4 | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to '')
-rw-r--r-- | libraries/eet/m4/efl_fnmatch.m4 | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libraries/eet/m4/efl_fnmatch.m4 b/libraries/eet/m4/efl_fnmatch.m4 new file mode 100644 index 0000000..a92ac6b --- /dev/null +++ b/libraries/eet/m4/efl_fnmatch.m4 | |||
@@ -0,0 +1,31 @@ | |||
1 | dnl Copyright (C) 2010 Vincent Torri <vtorri at univ-evry dot fr> | ||
2 | dnl That code is public domain and can be freely used or copied. | ||
3 | |||
4 | dnl Macro that check if fnmatch functions are available or not. | ||
5 | |||
6 | dnl Usage: EFL_CHECK_FNMATCH([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) | ||
7 | dnl Call AC_SUBST(EFL_FNMATCH_LIBS) | ||
8 | |||
9 | AC_DEFUN([EFL_CHECK_FNMATCH], | ||
10 | [ | ||
11 | |||
12 | AC_CHECK_HEADER([fnmatch.h], [_efl_have_fnmatch="yes"], [_efl_have_fnmatch="no"]) | ||
13 | |||
14 | if test "x${_efl_have_fnmatch}" = "xyes" ; then | ||
15 | AC_SEARCH_LIBS([fnmatch], | ||
16 | [fnmatch evil iberty], | ||
17 | [_efl_have_fnmatch="yes"], | ||
18 | [_efl_have_fnmatch="no"]) | ||
19 | fi | ||
20 | |||
21 | EFL_FNMATCH_LIBS="" | ||
22 | |||
23 | if (! test "x${ac_cv_search_fnmatch}" = "xnone required") && (! test "x${ac_cv_search_fnmatch}" = "xno") && (! test "x${ac_cv_search_fnmatch}" = "x-levil") ; then | ||
24 | EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch} | ||
25 | fi | ||
26 | |||
27 | AC_SUBST(EFL_FNMATCH_LIBS) | ||
28 | |||
29 | AS_IF([test "x$_efl_have_fnmatch" = "xyes"], [$1], [$2]) | ||
30 | |||
31 | ]) | ||