forked from enlightenment/efl
parent
88d43e8435
commit
64f1c415e2
|
@ -8,5 +8,5 @@ Description: A Library that implements fast data types and miscellaneous tools
|
|||
@pkgconfig_requires_private@: @requirement_eina@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -leina
|
||||
Libs.private: -ldl
|
||||
Libs.private: @EFL_FNMATCH_LIBS@ -ldl
|
||||
Cflags: -I${includedir}/eina-@VMAJ@ -I${includedir}/eina-@VMAJ@/eina
|
||||
|
|
|
@ -4,6 +4,7 @@ dnl That code is public domain and can be freely used or copied.
|
|||
dnl Macro that check if fnmatch functions are available or not.
|
||||
|
||||
dnl Usage: EFL_CHECK_FNMATCH([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
|
||||
dnl Call AC_SUBST(EFL_FNMATCH_LIBS)
|
||||
|
||||
AC_DEFUN([EFL_CHECK_FNMATCH],
|
||||
[
|
||||
|
@ -17,6 +18,14 @@ if test "x${_efl_have_fnmatch}" = "xyes" ; then
|
|||
[_efl_have_fnmatch="no"])
|
||||
fi
|
||||
|
||||
EFL_FNMATCH_LIBS=""
|
||||
|
||||
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
|
||||
EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
|
||||
fi
|
||||
|
||||
AC_SUBST(EFL_FNMATCH_LIBS)
|
||||
|
||||
AS_IF([test "x$_efl_have_fnmatch" = "xyes"], [$1], [$2])
|
||||
|
||||
])
|
||||
|
|
Loading…
Reference in New Issue