Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
0213a81d
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,发现更多精彩内容 >>
提交
0213a81d
编写于
4月 03, 1997
作者:
M
Marc G. Fournier
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
More modifications to make building more interactive:
Allow installer to change DEF_PGPORT Allow installer to disable HBA
上级
a03dc605
变更
4
展开全部
隐藏空白更改
内联
并排
Showing
4 changed file
with
241 addition
and
179 deletion
+241
-179
src/build
src/build
+25
-2
src/configure
src/configure
+191
-167
src/configure.in
src/configure.in
+21
-6
src/include/config.h.in
src/include/config.h.in
+4
-4
未找到文件。
src/build
浏览文件 @
0213a81d
...
...
@@ -42,14 +42,37 @@ fi
USE_LOCALE
=
no
echo
"Define USE_LOCALE to get Postgres work (sort, search)"
$
ECHO_N
"with national alphabet. [
no
]: $ECHO_C"
$
ECHO_N
"with national alphabet. [
$USE_LOCALE
]: $ECHO_C"
read
a
if
[
"$a."
!=
"."
]
then
USE_LOCALE
=
$
{
a
}
fi
export
BUILDRUN
USE_LOCALE
DEF_PGPORT
=
5432
echo
""
echo
"DEF_PGPORT is the TCP port number on which the Postmaster listens by"
echo
"default. This can be overriden by command options, environment "
echo
"variables, and the postconfig hook."
echo
""
$
ECHO_N
"Define DEF_PGPORT to [$DEF_PGPORT]: $ECHO_C"
read
a
if
[
"$a."
!=
"."
]
then
DEF_PGPORT
=
$
{
a
}
fi
NOHBA
=
no
echo
""
$
ECHO_N
"Do you wish to disable Host Based Authentication(HBA) [no]: $ECHO_C"
read
a
if
[
"$a."
!=
"."
]
then
NOHBA
=
$
{
a
}
fi
export
BUILDRUN
USE_LOCALE
DEF_PGPORT
NOHBA
.
/
configure
--
prefix
=
$
{
IDIR
}
src/configure
浏览文件 @
0213a81d
此差异已折叠。
点击以展开。
src/configure.in
浏览文件 @
0213a81d
...
...
@@ -91,12 +91,6 @@ AC_SUBST(INSTLOPTS)
AC_SUBST(INSTL_LIB_OPTS)
AC_SUBST(INSTL_EXE_OPTS)
if test "$USE_LOCALE" = "yes"
then
AC_MSG_RESULT(setting USE_LOCALE)
AC_DEFINE(USE_LOCALE)
fi
dnl Check the option to echo to inhibit newlines.
ECHO_N_OUT=`echo -n "" | wc -c`
ECHO_C_OUT=`echo "\c" | wc -c`
...
...
@@ -194,4 +188,25 @@ AC_SUBST(STRERROR)
AC_CHECK_FUNC(cbrt, AC_DEFINE(HAVE_CBRT), AC_CHECK_LIB(m, cbrt, AC_DEFINE(HAVE_CBRT)))
AC_CHECK_FUNC(rint, AC_DEFINE(HAVE_RINT), AC_CHECK_LIB(m, rint, AC_DEFINE(HAVE_RINT)))
AC_MSG_CHECKING(setting USE_LOCALE)
if test "$USE_LOCALE" = "yes"
then
AC_MSG_RESULT(enabled)
AC_DEFINE(USE_LOCALE)
else
AC_MSG_RESULT(disabled)
fi
AC_MSG_CHECKING(setting DEF_PGPORT)
AC_DEFINE_UNQUOTED(DEF_PGPORT, "${DEF_PGPORT}")
AC_MSG_RESULT($DEF_PGPORT)
AC_MSG_CHECKING(setting HBA)
if test "$NOHBA" = "no"
then
AC_MSG_RESULT(enabled)
AC_DEFINE(HBA)
else
AC_MSG_RESULT(disabled)
fi
AC_OUTPUT(GNUmakefile Makefile.global backend/port/Makefile bin/psql/Makefile bin/pg_dump/Makefile backend/utils/Gen_fmgrtab.sh)
src/include/config.h.in
浏览文件 @
0213a81d
...
...
@@ -129,16 +129,16 @@
/*
* DEF_PGPORT is the TCP port number on which the Postmaster listens by
* default. This can be overriden by command options, environment variables,
* and the postconfig hook.
* and the postconfig hook.
(set by build script)
*/
#
define DEF_PGPORT "5432"
#
undef DEF_PGPORT
/*
* If you do not plan to use Host based authentication,
* comment out the following line
* comment out the following line
(set by build script)
*/
#
define
HBA
#
undef
HBA
/*
* On architectures for which we have not implemented spinlocks (or
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录