1 Star 0 Fork 0

zhiming_817/openslide-java

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
acinclude.m4 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
# FIND_FILE([OUTPUT], [FILE_NAME], [SEARCH_PATHS])
# The colon-delimited paths in SEARCH_PATHS are searched to determine
# whether they contain the file FILE_NAME. If so, OUTPUT is set to the
# directory containing the file. Otherwise, an error is produced.
# ---------------------------------------------------------------------
AC_DEFUN([FIND_FILE], [
AC_MSG_CHECKING([for $2])
$1=
ac__save_ifs="$IFS"
IFS=:
for ac__path in $3
do
# IFS doesn't consolidate consecutive delimiters
ac__path=$(echo "$ac__path" | sed 's/:*$//')
if test -r "$ac__path/$2" ; then
IFS="$ac__save_ifs"
AC_MSG_RESULT([$ac__path])
$1=$ac__path
break
fi
done
IFS="$ac__save_ifs"
if test "z$$1" = z ; then
AC_MSG_RESULT([not found])
AC_MSG_ERROR([cannot find $2 in $3])
fi
])
# JOIN_EACH([OUTPUT], [PATHS], [SUBDIR])
# Append SUBDIR to each of the colon-delimited PATHS and put the result
# in OUTPUT.
# ---------------------------------------------------------------------
AC_DEFUN([JOIN_EACH], [
$1=
ac__save_ifs="$IFS"
IFS=:
for dir in $2
do
$1="$$1:$dir/$3"
done
IFS="$ac__save_ifs"
])
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/zhiming_817/openslide-java.git
git@gitee.com:zhiming_817/openslide-java.git
zhiming_817
openslide-java
openslide-java
main

搜索帮助