summaryrefslogtreecommitdiff
path: root/legacy/eet/m4
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/eet/m4')
-rw-r--r--legacy/eet/m4/efl_fnmatch.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/legacy/eet/m4/efl_fnmatch.m4 b/legacy/eet/m4/efl_fnmatch.m4
index a92ac6b636..b5555ee338 100644
--- a/legacy/eet/m4/efl_fnmatch.m4
+++ b/legacy/eet/m4/efl_fnmatch.m4
@@ -24,6 +24,18 @@ if (! test "x${ac_cv_search_fnmatch}" = "xnone required") && (! test "x${ac_cv_s
24 EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch} 24 EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
25fi 25fi
26 26
27if test "x${_efl_have_fnmatch}" != "xyes" -a "x${enable_exotic}" = "xyes"; then
28 LDFLAGS_SAVE="$LDFLAGS"
29 LDFLAGS="$LDFLAGS $EXOTIC_LIBS"
30 AC_CHECK_LIB([exotic], [fnmatch],
31 [_efl_have_fnmatch="yes"],
32 [_efl_have_fnmatch="no"])
33
34 if test "x${_efl_have_fnmatch}" = "xyes"; then
35 EFL_FNMATCH_LIBS="exotic"
36 fi
37fi
38
27AC_SUBST(EFL_FNMATCH_LIBS) 39AC_SUBST(EFL_FNMATCH_LIBS)
28 40
29AS_IF([test "x$_efl_have_fnmatch" = "xyes"], [$1], [$2]) 41AS_IF([test "x$_efl_have_fnmatch" = "xyes"], [$1], [$2])