Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell11
提交
04fef31c
D
dragonwell11
项目概览
openanolis
/
dragonwell11
通知
7
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell11
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
04fef31c
编写于
7月 05, 2017
作者:
D
duke
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
204049ec
abaf2874
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
115 addition
and
34 deletion
+115
-34
.hgtags-top-repo
.hgtags-top-repo
+1
-0
common/autoconf/autogen.sh
common/autoconf/autogen.sh
+14
-4
common/autoconf/generated-configure.sh
common/autoconf/generated-configure.sh
+66
-20
common/autoconf/jdk-options.m4
common/autoconf/jdk-options.m4
+3
-3
common/autoconf/libraries.m4
common/autoconf/libraries.m4
+30
-5
common/makefiles/MakeBase.gmk
common/makefiles/MakeBase.gmk
+1
-2
未找到文件。
.hgtags-top-repo
浏览文件 @
04fef31c
...
...
@@ -204,3 +204,4 @@ fd1a5574cf68af24bfd52decc37ac6361afb278a jdk8-b78
907a926d3c96472f357617b48b6b968ea855c23c jdk8-b80
145dbc56f931c134e837b675b9e6e7bf08902e93 jdk8-b81
29153d0df68f84162ffe8c2cf4f402a3f2245e85 jdk8-b82
466685ba01bfb7bc1e1ac61490fd8c0f3cc18763 jdk8-b83
common/autoconf/autogen.sh
浏览文件 @
04fef31c
...
...
@@ -43,14 +43,24 @@ fi
custom_hook
=
$custom_script_dir
/custom-hook.m4
if
test
"x
`
which autoconf 2> /dev/null
`
"
=
x
;
then
AUTOCONF
=
$(
which autoconf 2> /dev/null
)
;
AUTOCONF_267
=
$(
which autoconf-2.67 2> /dev/null
)
;
echo
"Autoconf found:
${
AUTOCONF
}
"
echo
"Autoconf-2.67 found:
${
AUTOCONF_267
}
"
if
test
"x
${
AUTOCONF
}
"
=
x
;
then
echo
You need autoconf installed to be able to regenerate the configure script
echo
Error: Cannot find autoconf 1>&2
exit
1
fi
echo
Generating generated-configure.sh
cat
$script_dir
/configure.ac |
sed
-e
"s|@DATE_WHEN_GENERATED@|
$TIMESTAMP
|"
| autoconf
-W
all
-I
$script_dir
-
>
$script_dir
/generated-configure.sh
if
test
"x
${
AUTOCONF_267
}
"
!=
x
;
then
AUTOCONF
=
${
AUTOCONF_267
}
;
fi
echo
Generating generated-configure.sh with
${
AUTOCONF
}
cat
$script_dir
/configure.ac |
sed
-e
"s|@DATE_WHEN_GENERATED@|
$TIMESTAMP
|"
|
${
AUTOCONF
}
-W
all
-I
$script_dir
-
>
$script_dir
/generated-configure.sh
rm
-rf
autom4te.cache
if
test
-e
$custom_hook
;
then
...
...
@@ -58,7 +68,7 @@ if test -e $custom_hook; then
# We have custom sources available; also generate configure script
# with custom hooks compiled in.
cat
$script_dir
/configure.ac |
sed
-e
"s|@DATE_WHEN_GENERATED@|
$TIMESTAMP
|"
|
\
sed
-e
"s|#CUSTOM_AUTOCONF_INCLUDE|m4_include([
$custom_hook
])|"
|
autoconf
-W
all
-I
$script_dir
-
>
$custom_script_dir
/generated-configure.sh
sed
-e
"s|#CUSTOM_AUTOCONF_INCLUDE|m4_include([
$custom_hook
])|"
|
${
AUTOCONF
}
-W
all
-I
$script_dir
-
>
$custom_script_dir
/generated-configure.sh
rm
-rf
autom4te.cache
else
echo
No custom hook found:
$custom_hook
...
...
common/autoconf/generated-configure.sh
浏览文件 @
04fef31c
...
...
@@ -1013,6 +1013,7 @@ with_freetype
with_alsa
with_alsa_include
with_alsa_lib
with_giflib
with_zlib
with_stdc__lib
with_num_cores
...
...
@@ -1771,6 +1772,8 @@ Optional Packages:
headers under PATH/include)
--with-alsa-include specify directory for the alsa include files
--with-alsa-lib specify directory for the alsa library
--with-giflib use giflib from build system or OpenJDK source
(system, bundled) [bundled]
--with-zlib use zlib from build system or OpenJDK source
(system, bundled) [bundled]
--with-stdc++lib=<static>,<dynamic>,<default>
...
...
@@ -3753,7 +3756,7 @@ fi
#CUSTOM_AUTOCONF_INCLUDE
# Do not change or remove the following line, it is needed for consistency checks:
DATE_WHEN_GENERATED=136
3706268
DATE_WHEN_GENERATED=136
4922883
###############################################################################
#
...
...
@@ -28903,14 +28906,15 @@ $as_echo "$ENABLE_DEBUG_SYMBOLS" >&6; }
#
# ZIP_DEBUGINFO_FILES
#
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should zip debug-info files" >&5
$as_echo_n "checking if we should zip debug-info files... " >&6; }
# Check whether --enable-zip-debug-info was given.
if test "${enable_zip_debug_info+set}" = set; then :
enableval=$enable_zip_debug_info;
enableval=$enable_zip_debug_info; enable_zip_debug_info="${enableval}"
else
enable_zip_debug_info="yes"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should zip debug-info files" >&5
$as_echo_n "checking if we should zip debug-info files... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_zip_debug_info}" >&5
$as_echo "${enable_zip_debug_info}" >&6; }
...
...
@@ -31178,10 +31182,44 @@ fi
# Check for the gif library
#
USE_EXTERNAL_LIBJPEG=true
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgif" >&5
$as_echo_n "checking for main in -lgif... " >&6; }
if ${ac_cv_lib_gif_main+:} false; then :
# Check whether --with-giflib was given.
if test "${with_giflib+set}" = set; then :
withval=$with_giflib;
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for which giflib to use" >&5
$as_echo_n "checking for which giflib to use... " >&6; }
# 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
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_giflib}" >&5
$as_echo "${with_giflib}" >&6; }
if test "x${with_giflib}" = "xbundled"; then
USE_EXTERNAL_LIBGIF=false
elif test "x${with_giflib}" = "xsystem"; then
ac_fn_cxx_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
if test "x$ac_cv_header_gif_lib_h" = xyes; then :
else
as_fn_error $? "--with-giflib=system specified, but gif_lib.h not found!" "$LINENO" 5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifGetCode in -lgif" >&5
$as_echo_n "checking for DGifGetCode in -lgif... " >&6; }
if ${ac_cv_lib_gif_DGifGetCode+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
...
...
@@ -31189,27 +31227,33 @@ LIBS="-lgif $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char DGifGetCode ();
int
main ()
{
return
main
();
return
DGifGetCode
();
;
return 0;
}
_ACEOF
if ac_fn_cxx_try_link "$LINENO"; then :
ac_cv_lib_gif_
main
=yes
ac_cv_lib_gif_
DGifGetCode
=yes
else
ac_cv_lib_gif_
main
=no
ac_cv_lib_gif_
DGifGetCode
=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_
main
" >&5
$as_echo "$ac_cv_lib_gif_
main
" >&6; }
if test "x$ac_cv_lib_gif_
main
" = xyes; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_
DGifGetCode
" >&5
$as_echo "$ac_cv_lib_gif_
DGifGetCode
" >&6; }
if test "x$ac_cv_lib_gif_
DGifGetCode
" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBGIF 1
_ACEOF
...
...
@@ -31217,13 +31261,15 @@ _ACEOF
LIBS="-lgif $LIBS"
else
USE_EXTERNAL_LIBGIF=false
{ $as_echo "$as_me:${as_lineno-$LINENO}: Will use gif decoder bundled with the OpenJDK source" >&5
$as_echo "$as_me: Will use gif decoder bundled with the OpenJDK source" >&6;}
as_fn_error $? "--with-giflib=system specified, but no giflib found!" "$LINENO" 5
fi
USE_EXTERNAL_LIBGIF=true
else
as_fn_error $? "Invalid value of --with-giflib: ${with_giflib}, use 'system' or 'bundled'" "$LINENO" 5
fi
###############################################################################
#
common/autoconf/jdk-options.m4
浏览文件 @
04fef31c
...
...
@@ -519,10 +519,10 @@ AC_MSG_RESULT([$ENABLE_DEBUG_SYMBOLS])
#
# ZIP_DEBUGINFO_FILES
#
AC_ARG_ENABLE([zip-debug-info],
[AS_HELP_STRING([--disable-zip-debug-info],[disable zipping of debug-info files @<:@enabled@:>@])])
AC_MSG_CHECKING([if we should zip debug-info files])
AC_ARG_ENABLE([zip-debug-info],
[AS_HELP_STRING([--disable-zip-debug-info],[disable zipping of debug-info files @<:@enabled@:>@])],
[enable_zip_debug_info="${enableval}"], [enable_zip_debug_info="yes"])
AC_MSG_RESULT([${enable_zip_debug_info}])
if test "x${enable_zip_debug_info}" = "xno"; then
...
...
common/autoconf/libraries.m4
浏览文件 @
04fef31c
...
...
@@ -499,11 +499,36 @@ AC_SUBST(USE_EXTERNAL_LIBJPEG)
# Check for the gif library
#
USE_EXTERNAL_LIBJPEG=true
AC_CHECK_LIB(gif, main, [],
[ USE_EXTERNAL_LIBGIF=false
AC_MSG_NOTICE([Will use gif decoder bundled with the OpenJDK source])
])
AC_ARG_WITH(giflib, [AS_HELP_STRING([--with-giflib],
[use giflib from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
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)
###############################################################################
...
...
common/makefiles/MakeBase.gmk
浏览文件 @
04fef31c
...
...
@@ -51,9 +51,8 @@ decompress_paths=$(SED) -f $(SRC_ROOT)/common/makefiles/support/ListPathsSafely-
-e 's|X98|$(OUTPUT_ROOT)|g' -e 's|X97|$(SRC_ROOT)|g' \
-e 's|X00|X|g' | tr '\n' '$2'
# Subst in an extra $ to prevent it from disappearing.
define ListPathsSafely_If
$(if $(word $3,$($1)),$(eval $1_LPS$3:=$(call compress_paths,$(
subst $$,$$$$,$(wordlist $3,$4,$($1)
)))))
$(if $(word $3,$($1)),$(eval $1_LPS$3:=$(call compress_paths,$(
wordlist $3,$4,$($1
)))))
endef
define ListPathsSafely_Printf
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录