diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2012-06-28 23:01:51 +0000 |
---|---|---|
committer | Vincent Torri <vincent.torri@gmail.com> | 2012-06-28 23:01:51 +0000 |
commit | 077ce3eef667ee1e0c3a302e51313cd1950ca0e2 (patch) | |
tree | 8cb018f6d7c55230aeb4d5b72d97bb7fc83762ef | |
parent | c205ac3a49100b55257a6f484564b517f9de7999 (diff) | |
download | eina-077ce3eef667ee1e0c3a302e51313cd1950ca0e2.tar.gz |
Eina: check if fnmatch() is also in libc
SVN revision: 73018
-rw-r--r-- | m4/common/efl_check_funcs.m4 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/m4/common/efl_check_funcs.m4 b/m4/common/efl_check_funcs.m4 index ba221f0..bee392e 100644 --- a/m4/common/efl_check_funcs.m4 +++ b/m4/common/efl_check_funcs.m4 @@ -216,8 +216,13 @@ case "$host_os" in _efl_have_fct="yes" ;; *) +dnl Check is fnmatch is in libc + _EFL_CHECK_FUNC_FNMATCH_PRIV([$1], [], [_efl_have_fct="yes"], [_efl_have_fct="no"]) + dnl Check is fnmatch is in libfnmatch - _EFL_CHECK_FUNC_FNMATCH_PRIV([$1], [-lfnmatch], [_efl_have_fct="yes"], [_efl_have_fct="no"]) + if test "x${_efl_have_fct}" = "xno" ; then + _EFL_CHECK_FUNC_FNMATCH_PRIV([$1], [-lfnmatch], [_efl_have_fct="yes"], [_efl_have_fct="no"]) + fi dnl Check is fnmatch is in libiberty if test "x${_efl_have_fct}" = "xno" ; then |