Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
0356aceb
Commit
0356aceb
authored
Dec 20, 1997
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure configure reflects changes
parent
1d5cd311
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
76 additions
and
18 deletions
+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
No files found.
src/configure
View file @
0356aceb
...
@@ -3925,13 +3925,65 @@ else
...
@@ -3925,13 +3925,65 @@ else
STRDUP
=
'../../utils/strdup.o'
STRDUP
=
'../../utils/strdup.o'
fi
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
$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
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_strcasecmp
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
35
"configure"
#line 39
87
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strcasecmp(); below. */
which can conflict with char strcasecmp(); below. */
...
@@ -3954,7 +4006,7 @@ strcasecmp();
...
@@ -3954,7 +4006,7 @@ strcasecmp();
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_func_strcasecmp=yes"
eval
"ac_cv_func_strcasecmp=yes"
else
else
...
@@ -3987,12 +4039,12 @@ fi
...
@@ -3987,12 +4039,12 @@ fi
echo
$ac_n
"checking for cbrt""...
$ac_c
"
1>&6
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
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_cbrt
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line
3996
"configure"
#line
4048
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char cbrt(); below. */
which can conflict with char cbrt(); below. */
...
@@ -4015,7 +4067,7 @@ cbrt();
...
@@ -4015,7 +4067,7 @@ cbrt();
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_func_cbrt=yes"
eval
"ac_cv_func_cbrt=yes"
else
else
...
@@ -4036,7 +4088,7 @@ EOF
...
@@ -4036,7 +4088,7 @@ EOF
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for cbrt in -lm""...
$ac_c
"
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_%'
`
ac_lib_var
=
`
echo
m
'_'
cbrt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -4044,7 +4096,7 @@ else
...
@@ -4044,7 +4096,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
048
"configure"
#line 4
100
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -4055,7 +4107,7 @@ int main() {
...
@@ -4055,7 +4107,7 @@ int main() {
cbrt()
cbrt()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -4081,12 +4133,12 @@ fi
...
@@ -4081,12 +4133,12 @@ fi
fi
fi
echo
$ac_n
"checking for rint""...
$ac_c
"
1>&6
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
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_rint
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
else
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 4
090
"configure"
#line 4
142
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char rint(); below. */
which can conflict with char rint(); below. */
...
@@ -4109,7 +4161,7 @@ rint();
...
@@ -4109,7 +4161,7 @@ rint();
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_func_rint=yes"
eval
"ac_cv_func_rint=yes"
else
else
...
@@ -4130,7 +4182,7 @@ EOF
...
@@ -4130,7 +4182,7 @@ EOF
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
echo
$ac_n
"checking for rint in -lm""...
$ac_c
"
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_%'
`
ac_lib_var
=
`
echo
m
'_'
rint |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
@@ -4138,7 +4190,7 @@ else
...
@@ -4138,7 +4190,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lm
$LIBS
"
LIBS
=
"-lm
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
42
"configure"
#line 41
94
"configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
...
@@ -4149,7 +4201,7 @@ int main() {
...
@@ -4149,7 +4201,7 @@ int main() {
rint()
rint()
; return 0; }
; return 0; }
EOF
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
*
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
else
...
@@ -4176,7 +4228,7 @@ fi
...
@@ -4176,7 +4228,7 @@ fi
echo
$ac_n
"checking setting USE_LOCALE""...
$ac_c
"
1>&6
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"
if
test
"
$USE_LOCALE
"
=
"yes"
then
then
echo
"
$ac_t
""enabled"
1>&6
echo
"
$ac_t
""enabled"
1>&6
...
@@ -4188,14 +4240,14 @@ else
...
@@ -4188,14 +4240,14 @@ else
echo
"
$ac_t
""disabled"
1>&6
echo
"
$ac_t
""disabled"
1>&6
fi
fi
echo
$ac_n
"checking setting DEF_PGPORT""...
$ac_c
"
1>&6
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
cat
>>
confdefs.h
<<
EOF
#define DEF_PGPORT "
${
DEF_PGPORT
}
"
#define DEF_PGPORT "
${
DEF_PGPORT
}
"
EOF
EOF
echo
"
$ac_t
""
$DEF_PGPORT
"
1>&6
echo
"
$ac_t
""
$DEF_PGPORT
"
1>&6
echo
$ac_n
"checking setting HBA""...
$ac_c
"
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"
if
test
"
$NOHBA
"
=
"no"
then
then
echo
"
$ac_t
""enabled"
1>&6
echo
"
$ac_t
""enabled"
1>&6
...
...
src/configure.in
View file @
0356aceb
...
@@ -480,6 +480,9 @@ AC_CHECK_FUNC(strerror,
...
@@ -480,6 +480,9 @@ AC_CHECK_FUNC(strerror,
AC_CHECK_FUNC(strdup,
AC_CHECK_FUNC(strdup,
AC_DEFINE(HAVE_STRDUP),
AC_DEFINE(HAVE_STRDUP),
STRDUP='../../utils/strdup.o')
STRDUP='../../utils/strdup.o')
AC_CHECK_FUNC(strtol,
AC_DEFINE(HAVE_STRTOL),
STRDUP='strtol.o')
AC_CHECK_FUNC(strcasecmp,
AC_CHECK_FUNC(strcasecmp,
AC_DEFINE(HAVE_STRCASECMP),
AC_DEFINE(HAVE_STRCASECMP),
STRCASECMP='strcasecmp.o')
STRCASECMP='strcasecmp.o')
...
...
src/include/config.h.in
View file @
0356aceb
...
@@ -116,6 +116,9 @@ extern int inet_aton(const char *cp, struct in_addr * addr);
...
@@ -116,6 +116,9 @@ extern int inet_aton(const char *cp, struct in_addr * addr);
extern int strcasecmp(char *s1, char *s2);
extern int strcasecmp(char *s1, char *s2);
#endif
#endif
/* Set to 1 if you have strtol() */
#undef HAVE_STRTOL
/* Set to 1 if you have strdup() */
/* Set to 1 if you have strdup() */
#undef HAVE_STRDUP
#undef HAVE_STRDUP
#ifndef HAVE_STRDUP
#ifndef HAVE_STRDUP
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment