Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8
提交
84f57479
D
dragonwell8
项目概览
openanolis
/
dragonwell8
通知
5
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
84f57479
编写于
4月 02, 2013
作者:
O
omajid
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8011278: Allow using a system-installed giflib
Reviewed-by: andrew, prr
上级
ff158f8f
变更
2
展开全部
隐藏空白更改
内联
并排
Showing
2 changed file
with
321 addition
and
228 deletion
+321
-228
common/autoconf/generated-configure.sh
common/autoconf/generated-configure.sh
+291
-223
common/autoconf/libraries.m4
common/autoconf/libraries.m4
+30
-5
未找到文件。
common/autoconf/generated-configure.sh
浏览文件 @
84f57479
此差异已折叠。
点击以展开。
common/autoconf/libraries.m4
浏览文件 @
84f57479
...
@@ -499,11 +499,36 @@ AC_SUBST(USE_EXTERNAL_LIBJPEG)
...
@@ -499,11 +499,36 @@ AC_SUBST(USE_EXTERNAL_LIBJPEG)
# Check for the gif library
# Check for the gif library
#
#
USE_EXTERNAL_LIBJPEG=true
AC_ARG_WITH(giflib, [AS_HELP_STRING([--with-giflib],
AC_CHECK_LIB(gif, main, [],
[use giflib from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
[ USE_EXTERNAL_LIBGIF=false
AC_MSG_NOTICE([Will use gif decoder bundled with the OpenJDK source])
])
AC_MSG_CHECKING([for which giflib to use])
# default is bundled
DEFAULT_GIFLIB=bundled
#
# if user didn't specify, use DEFAULT_GIFLIB
#
if test "x${with_giflib}" = "x"; then
with_giflib=${DEFAULT_GIFLIB}
fi
AC_MSG_RESULT(${with_giflib})
if test "x${with_giflib}" = "xbundled"; then
USE_EXTERNAL_LIBGIF=false
elif test "x${with_giflib}" = "xsystem"; then
AC_CHECK_HEADER(gif_lib.h, [],
[ AC_MSG_ERROR([--with-giflib=system specified, but gif_lib.h not found!])])
AC_CHECK_LIB(gif, DGifGetCode, [],
[ AC_MSG_ERROR([--with-giflib=system specified, but no giflib found!])])
USE_EXTERNAL_LIBGIF=true
else
AC_MSG_ERROR([Invalid value of --with-giflib: ${with_giflib}, use 'system' or 'bundled'])
fi
AC_SUBST(USE_EXTERNAL_LIBGIF)
AC_SUBST(USE_EXTERNAL_LIBGIF)
###############################################################################
###############################################################################
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录