Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
0356aceb
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,发现更多精彩内容 >>
提交
0356aceb
编写于
12月 20, 1997
作者:
M
Marc G. Fournier
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make sure configure reflects changes
上级
1d5cd311
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
76 addition
and
18 deletion
+76
-18
src/configure
src/configure
+70
-18
src/configure.in
src/configure.in
+3
-0
src/include/config.h.in
src/include/config.h.in
+3
-0
未找到文件。
src/configure
浏览文件 @
0356aceb
...
...
@@ -3925,13 +3925,65 @@ else
STRDUP
=
'../../utils/strdup.o'
fi
echo
$ac_n
"checking for strtol""...
$ac_c
"
1>&6
echo
"configure:3930: checking for strtol"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strtol
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 3935 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strtol(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char strtol();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_strtol) || defined (__stub___strtol)
choke me
#else
strtol();
#endif
; return 0; }
EOF
if
{
(
eval echo
configure:3958:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_strtol=yes"
else
echo
"configure: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
rm
-rf
conftest
*
eval
"ac_cv_func_strtol=no"
fi
rm
-f
conftest
*
fi
if
eval
"test
\"
`
echo
'$ac_cv_func_'
strtol
`
\"
= yes"
;
then
echo
"
$ac_t
""yes"
1>&6
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_STRTOL 1
EOF
else
echo
"
$ac_t
""no"
1>&6
STRDUP
=
'strtol.o'
fi
echo
$ac_n
"checking for strcasecmp""...
$ac_c
"
1>&6
echo
"configure:39
30
: checking for strcasecmp"
>
&5
echo
"configure:39
82
: checking for strcasecmp"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strcasecmp
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
35
"configure"
#line 39
87
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strcasecmp(); below. */
...
...
@@ -3954,7 +4006,7 @@ strcasecmp();
; return 0; }
EOF
if
{
(
eval echo
configure:
3958
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:
4010
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_strcasecmp=yes"
else
...
...
@@ -3987,12 +4039,12 @@ fi
echo
$ac_n
"checking for cbrt""...
$ac_c
"
1>&6
echo
"configure:
3991
: checking for cbrt"
>
&5
echo
"configure:
4043
: checking for cbrt"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_cbrt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
3996
"configure"
#line
4048
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char cbrt(); below. */
...
...
@@ -4015,7 +4067,7 @@ cbrt();
; return 0; }
EOF
if
{
(
eval echo
configure:40
19
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:40
71
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_cbrt=yes"
else
...
...
@@ -4036,7 +4088,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for cbrt in -lm""...
$ac_c
"
1>&6
echo
"configure:40
40
: checking for cbrt in -lm"
>
&5
echo
"configure:40
92
: checking for cbrt in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
cbrt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4044,7 +4096,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
048
"configure"
#line 4
100
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4055,7 +4107,7 @@ int main() {
cbrt()
; return 0; }
EOF
if
{
(
eval echo
configure:4
059
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:4
111
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4081,12 +4133,12 @@ fi
fi
echo
$ac_n
"checking for rint""...
$ac_c
"
1>&6
echo
"configure:4
085
: checking for rint"
>
&5
echo
"configure:4
137
: checking for rint"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_rint
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
090
"configure"
#line 4
142
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char rint(); below. */
...
...
@@ -4109,7 +4161,7 @@ rint();
; return 0; }
EOF
if
{
(
eval echo
configure:41
13
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:41
65
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_rint=yes"
else
...
...
@@ -4130,7 +4182,7 @@ EOF
else
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for rint in -lm""...
$ac_c
"
1>&6
echo
"configure:41
34
: checking for rint in -lm"
>
&5
echo
"configure:41
86
: checking for rint in -lm"
>
&5
ac_lib_var
=
`
echo
m
'_'
rint |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4138,7 +4190,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
42
"configure"
#line 41
94
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -4149,7 +4201,7 @@ int main() {
rint()
; return 0; }
EOF
if
{
(
eval echo
configure:4
153
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:4
205
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4176,7 +4228,7 @@ fi
echo
$ac_n
"checking setting USE_LOCALE""...
$ac_c
"
1>&6
echo
"configure:4
180
: checking setting USE_LOCALE"
>
&5
echo
"configure:4
232
: checking setting USE_LOCALE"
>
&5
if
test
"
$USE_LOCALE
"
=
"yes"
then
echo
"
$ac_t
""enabled"
1>&6
...
...
@@ -4188,14 +4240,14 @@ else
echo
"
$ac_t
""disabled"
1>&6
fi
echo
$ac_n
"checking setting DEF_PGPORT""...
$ac_c
"
1>&6
echo
"configure:4
192
: checking setting DEF_PGPORT"
>
&5
echo
"configure:4
244
: checking setting DEF_PGPORT"
>
&5
cat
>>
confdefs.h
<<
EOF
#define DEF_PGPORT "
${
DEF_PGPORT
}
"
EOF
echo
"
$ac_t
""
$DEF_PGPORT
"
1>&6
echo
$ac_n
"checking setting HBA""...
$ac_c
"
1>&6
echo
"configure:4
199
: checking setting HBA"
>
&5
echo
"configure:4
251
: checking setting HBA"
>
&5
if
test
"
$NOHBA
"
=
"no"
then
echo
"
$ac_t
""enabled"
1>&6
...
...
src/configure.in
浏览文件 @
0356aceb
...
...
@@ -480,6 +480,9 @@ AC_CHECK_FUNC(strerror,
AC_CHECK_FUNC(strdup,
AC_DEFINE(HAVE_STRDUP),
STRDUP='../../utils/strdup.o')
AC_CHECK_FUNC(strtol,
AC_DEFINE(HAVE_STRTOL),
STRDUP='strtol.o')
AC_CHECK_FUNC(strcasecmp,
AC_DEFINE(HAVE_STRCASECMP),
STRCASECMP='strcasecmp.o')
...
...
src/include/config.h.in
浏览文件 @
0356aceb
...
...
@@ -116,6 +116,9 @@ extern int inet_aton(const char *cp, struct in_addr * addr);
extern int strcasecmp(char *s1, char *s2);
#endif
/* Set to 1 if you have strtol() */
#undef HAVE_STRTOL
/* Set to 1 if you have strdup() */
#undef HAVE_STRDUP
#ifndef HAVE_STRDUP
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录