Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
9cb7b76e
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9cb7b76e
编写于
4月 26, 2004
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
More cleanup of thread tests.
上级
9d8b4147
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
71 addition
and
56 deletion
+71
-56
configure
configure
+40
-32
configure.in
configure.in
+31
-24
未找到文件。
configure
浏览文件 @
9cb7b76e
...
...
@@ -19113,12 +19113,7 @@ if test "$no_create" != yes; then
fi
#
# We have to run the thread test here because it is an external program
# that has to be runable separately for cross-compiling.
#
if test "$enable_thread_safety" = yes; then
if test cross_compiling != yes; then
# Check for gmake.
for ac_prog in gmake make
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
...
...
@@ -19159,41 +19154,54 @@ fi
test -n "$MAKE" && break
done
echo "$as_me:$LINENO: checking thread safety of required library functions." >&5
echo $ECHO_N "checking thread safety of required library functions.... $ECHO_C" >&6
if ! $MAKE -v | grep 'GNU Make' >/dev/null
then rm -f $srcdir/src/Makefile.global
echo "$as_me:$LINENO: checking Can not find GNU Make. It is required." >&5
echo $ECHO_N "checking Can not find GNU Make. It is required.... $ECHO_C" >&6
fi
# Thread testing
# We have to run the thread test here because it is an external program
# that has to be runable separately for cross-compiling.
#
if test "$enable_thread_safety" = yes; then
if test cross_compiling != yes; then
#
# Clean, compile, run, and clean thread test directory.
# If test fails for any reason, remove Makefile.global so the user can't
# compile (to simulate a configure failure).
#
$MAKE -C $srcdir/src/tools/thread clean >&5 ||
( rm -f src/Makefile.global
echo "$as_me:$LINENO: checking thread safety of required library functions" >&5
echo $ECHO_N "checking thread safety of required library functions... $ECHO_C" >&6
if ! $MAKE -C $srcdir/src/tools/thread clean >&5
then rm -f $srcdir/src/Makefile.global
{ { echo "$as_me:$LINENO: error: Can not clean thread test directory." >&5
echo "$as_me: error: Can not clean thread test directory." >&2;}
{ (exit 1); exit 1; }; }
) ||
exit $?
$MAKE -C $srcdir/src/tools/thread >&5 ||
( rm -f
src/Makefile.global
{ (exit 1); exit 1; }; }
fi
if ! $MAKE -C $srcdir/src/tools/thread >&5
then rm -f $srcdir/
src/Makefile.global
{ { echo "$as_me:$LINENO: error: Can not build thread test proram." >&5
echo "$as_me: error: Can not build thread test proram." >&2;}
{ (exit 1); exit 1; }; }
) ||
exit $?
$srcdir/src/tools/thread/thread_test >&5 ||
( rm -f
src/Makefile.global
{ (exit 1); exit 1; }; }
fi
if ! $srcdir/src/tools/thread/thread_test >&5
then rm -f $srcdir/
src/Makefile.global
echo "no"
echo
$srcdir/src/tools/thread/thread_test
echo
{ { echo "$as_me:$LINENO: error: Thread test program failed. Your platform is not thread-safe." >&5
echo "$as_me: error: Thread test program failed. Your platform is not thread-safe." >&2;}
{ (exit 1); exit 1; }; }
) ||
exit $?
$MAKE -C $srcdir/src/tools/thread clean >&5 ||
( rm -f
src/Makefile.global
{ (exit 1); exit 1; }; }
fi
if ! $MAKE -C $srcdir/src/tools/thread clean >&5
then rm -f $srcdir/
src/Makefile.global
{ { echo "$as_me:$LINENO: error: Can not clean thread test directory." >&5
echo "$as_me: error: Can not clean thread test directory." >&2;}
{ (exit 1); exit 1; }; }
) ||
exit $?
{ (exit 1); exit 1; }; }
fi
echo "yes"
else
{ echo "$as_me:$LINENO: WARNING:
...
...
configure.in
浏览文件 @
9cb7b76e
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.33
4 2004/04/26 04:04:42
momjian Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.33
5 2004/04/26 13:14:48
momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
...
...
@@ -1215,39 +1215,46 @@ echo >src/include/stamp-h
AC_OUTPUT
#
# Check for gmake.
AC_CHECK_PROGS(MAKE, gmake make)
if ! $MAKE -v | grep 'GNU Make' >/dev/null
then rm -f $srcdir/src/Makefile.global
AC_MSG_CHECKING([Can not find GNU Make. It is required.])
fi
# Thread testing
# We have to run the thread test here because it is an external program
# that has to be runable separately for cross-compiling.
#
if test "$enable_thread_safety" = yes; then
if test cross_compiling != yes; then
AC_CHECK_PROGS(MAKE, gmake make)
AC_MSG_CHECKING([thread safety of required library functions.])
#
# Clean, compile, run, and clean thread test directory.
# If test fails for any reason, remove Makefile.global so the user can't
# compile (to simulate a configure failure).
#
$MAKE -C $srcdir/src/tools/thread clean >&5 ||
( rm -f src/Makefile.global
AC_MSG_ERROR([Can not clean thread test directory.])) ||
exit $?
$MAKE -C $srcdir/src/tools/thread >&5 ||
( rm -f src/Makefile.global
AC_MSG_ERROR([Can not build thread test proram.])) ||
exit $?
$srcdir/src/tools/thread/thread_test >&5 ||
( rm -f src/Makefile.global
AC_MSG_CHECKING([thread safety of required library functions])
if ! $MAKE -C $srcdir/src/tools/thread clean >&5
then rm -f $srcdir/src/Makefile.global
AC_MSG_ERROR([Can not clean thread test directory.])
fi
if ! $MAKE -C $srcdir/src/tools/thread >&5
then rm -f $srcdir/src/Makefile.global
AC_MSG_ERROR([Can not build thread test proram.])
fi
if ! $srcdir/src/tools/thread/thread_test >&5
then rm -f $srcdir/src/Makefile.global
echo "no"
echo
$srcdir/src/tools/thread/thread_test
echo
AC_MSG_ERROR([Thread test program failed. Your platform is not thread-safe.])) ||
exit $?
$MAKE -C $srcdir/src/tools/thread clean >&5 ||
( rm -f
src/Makefile.global
AC_MSG_ERROR([Can not clean thread test directory.])) ||
exit $?
AC_MSG_ERROR([Thread test program failed. Your platform is not thread-safe.])
fi
if ! $MAKE -C $srcdir/src/tools/thread clean >&5
then rm -f $srcdir/
src/Makefile.global
AC_MSG_ERROR([Can not clean thread test directory.])
fi
echo "yes"
else
AC_MSG_WARN([
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录