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
b32a290b
Commit
b32a290b
authored
Jan 06, 2009
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update SELECT version() to show whether it is a 32 or 64-bit backend binary.
parent
02aa5f19
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
909 additions
and
501 deletions
+909
-501
configure
configure
+901
-495
configure.in
configure.in
+4
-2
doc/src/sgml/start.sgml
doc/src/sgml/start.sgml
+4
-4
No files found.
configure
View file @
b32a290b
...
@@ -690,6 +690,8 @@ OBJEXT
...
@@ -690,6 +690,8 @@ OBJEXT
SUN_STUDIO_CC
SUN_STUDIO_CC
CPP
CPP
GCC
GCC
GREP
EGREP
TAS
TAS
autodepend
autodepend
INCLUDES
INCLUDES
...
@@ -710,8 +712,6 @@ with_libxml
...
@@ -710,8 +712,6 @@ with_libxml
with_libxslt
with_libxslt
with_system_tzdata
with_system_tzdata
with_zlib
with_zlib
GREP
EGREP
ELF_SYS
ELF_SYS
LDFLAGS_SL
LDFLAGS_SL
LD
LD
...
@@ -4587,113 +4587,925 @@ else
...
@@ -4587,113 +4587,925 @@ else
cc_string
=
$CC
cc_string
=
$CC
fi
fi
cat
>>
confdefs.h
<<
_ACEOF
{
echo
"
$as_me
:
$LINENO
: checking for grep that handles long lines and -e"
>
&5
#define PG_VERSION_STR "PostgreSQL
$PACKAGE_VERSION
on
$host
, compiled by
$cc_string
"
echo
$ECHO_N
"checking for grep that handles long lines and -e...
$ECHO_C
"
>
&6
;
}
_ACEOF
if
test
"
${
ac_cv_path_GREP
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
# Extract the first word of "grep ggrep" to use in msg output
if
test
-z
"
$GREP
"
;
then
set
dummy
grep
ggrep
;
ac_prog_name
=
$2
if
test
"
${
ac_cv_path_GREP
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_path_GREP_found
=
false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS
=
$IFS
;
IFS
=
$PATH_SEPARATOR
for
as_dir
in
$PATH$PATH_SEPARATOR
/usr/xpg4/bin
do
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_prog
in
grep
ggrep
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
ac_path_GREP
=
"
$as_dir
/
$ac_prog$ac_exec_ext
"
{
test
-f
"
$ac_path_GREP
"
&&
$as_test_x
"
$ac_path_GREP
"
;
}
||
continue
# Check for GNU ac_path_GREP and select it if it is found.
# Check for GNU $ac_path_GREP
case
`
"
$ac_path_GREP
"
--version
2>&1
`
in
*
GNU
*
)
ac_cv_path_GREP
=
"
$ac_path_GREP
"
ac_path_GREP_found
=
:
;;
*
)
ac_count
=
0
echo
$ECHO_N
"0123456789
$ECHO_C
"
>
"conftest.in"
while
:
do
cat
"conftest.in"
"conftest.in"
>
"conftest.tmp"
mv
"conftest.tmp"
"conftest.in"
cp
"conftest.in"
"conftest.nl"
echo
'GREP'
>>
"conftest.nl"
"
$ac_path_GREP
"
-e
'GREP$'
-e
'-(cannot match)-'
<
"conftest.nl"
>
"conftest.out"
2>/dev/null
||
break
diff
"conftest.out"
"conftest.nl"
>
/dev/null 2>&1
||
break
ac_count
=
`
expr
$ac_count
+ 1
`
if
test
$ac_count
-gt
${
ac_path_GREP_max
-0
}
;
then
# Best one so far, save it but keep looking for a better one
ac_cv_path_GREP
=
"
$ac_path_GREP
"
ac_path_GREP_max
=
$ac_count
fi
# 10*(2^10) chars as input seems more than enough
test
$ac_count
-gt
10
&&
break
done
rm
-f
conftest.in conftest.tmp conftest.nl conftest.out
;;
esac
$ac_path_GREP_found
&&
break
3
done
done
#
done
# Set up TAS assembly code if needed; the template file has now had its
IFS
=
$as_save_IFS
# chance to request this.
#
ac_config_links
=
"
$ac_config_links
src/backend/port/tas.s:src/backend/port/tas/
${
tas_file
}
"
if
test
"
$need_tas
"
=
yes
;
then
TAS
=
tas.o
else
TAS
=
""
fi
fi
GREP
=
"
$ac_cv_path_GREP
"
if
test
-z
"
$GREP
"
;
then
#
{
{
echo
"
$as_me
:
$LINENO
: error: no acceptable
$ac_prog_name
could be found in
$PATH$PATH_SEPARATOR
/usr/xpg4/bin"
>
&5
# Automatic dependency tracking
echo
"
$as_me
: error: no acceptable
$ac_prog_name
could be found in
$PATH$PATH_SEPARATOR
/usr/xpg4/bin"
>
&2
;
}
#
pgac_args
=
"
$pgac_args
enable_depend"
# Check whether --enable-depend was given.
if
test
"
${
enable_depend
+set
}
"
=
set
;
then
enableval
=
$enable_depend
;
case
$enableval
in
yes
)
autodepend
=
yes
;;
no
)
:
;;
*
)
{
{
echo
"
$as_me
:
$LINENO
: error: no argument expected for --enable-depend option"
>
&5
echo
"
$as_me
: error: no argument expected for --enable-depend option"
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
;;
fi
esac
else
else
enable_depend
=
no
ac_cv_path_GREP
=
$GREP
fi
fi
fi
{
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_path_GREP
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_path_GREP
"
>
&6
;
}
GREP
=
"
$ac_cv_path_GREP
"
{
echo
"
$as_me
:
$LINENO
: checking for egrep"
>
&5
echo
$ECHO_N
"checking for egrep...
$ECHO_C
"
>
&6
;
}
if
test
"
${
ac_cv_path_EGREP
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
if
echo
a |
$GREP
-E
'(a|b)'
>
/dev/null 2>&1
then
ac_cv_path_EGREP
=
"
$GREP
-E"
else
# Extract the first word of "egrep" to use in msg output
if
test
-z
"
$EGREP
"
;
then
set
dummy egrep
;
ac_prog_name
=
$2
if
test
"
${
ac_cv_path_EGREP
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_path_EGREP_found
=
false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS
=
$IFS
;
IFS
=
$PATH_SEPARATOR
for
as_dir
in
$PATH$PATH_SEPARATOR
/usr/xpg4/bin
do
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_prog
in
egrep
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
ac_path_EGREP
=
"
$as_dir
/
$ac_prog$ac_exec_ext
"
{
test
-f
"
$ac_path_EGREP
"
&&
$as_test_x
"
$ac_path_EGREP
"
;
}
||
continue
# Check for GNU ac_path_EGREP and select it if it is found.
# Check for GNU $ac_path_EGREP
case
`
"
$ac_path_EGREP
"
--version
2>&1
`
in
*
GNU
*
)
ac_cv_path_EGREP
=
"
$ac_path_EGREP
"
ac_path_EGREP_found
=
:
;;
*
)
ac_count
=
0
echo
$ECHO_N
"0123456789
$ECHO_C
"
>
"conftest.in"
while
:
do
cat
"conftest.in"
"conftest.in"
>
"conftest.tmp"
mv
"conftest.tmp"
"conftest.in"
cp
"conftest.in"
"conftest.nl"
echo
'EGREP'
>>
"conftest.nl"
"
$ac_path_EGREP
"
'EGREP$'
<
"conftest.nl"
>
"conftest.out"
2>/dev/null
||
break
diff
"conftest.out"
"conftest.nl"
>
/dev/null 2>&1
||
break
ac_count
=
`
expr
$ac_count
+ 1
`
if
test
$ac_count
-gt
${
ac_path_EGREP_max
-0
}
;
then
# Best one so far, save it but keep looking for a better one
ac_cv_path_EGREP
=
"
$ac_path_EGREP
"
ac_path_EGREP_max
=
$ac_count
fi
# 10*(2^10) chars as input seems more than enough
test
$ac_count
-gt
10
&&
break
done
rm
-f
conftest.in conftest.tmp conftest.nl conftest.out
;;
esac
#
$ac_path_EGREP_found
&&
break
3
# Enable assert checks
done
#
done
pgac_args
=
"
$pgac_args
enable_cassert"
done
IFS
=
$as_save_IFS
# Check whether --enable-cassert was given.
if
test
"
${
enable_cassert
+set
}
"
=
set
;
then
enableval
=
$enable_cassert
;
case
$enableval
in
yes
)
cat
>>
confdefs.h
<<
\
_ACEOF
fi
#define USE_ASSERT_CHECKING 1
_ACEOF
;;
EGREP
=
"
$ac_cv_path_EGREP
"
no
)
if
test
-z
"
$EGREP
"
;
then
:
{
{
echo
"
$as_me
:
$LINENO
: error: no acceptable
$ac_prog_name
could be found in
$PATH$PATH_SEPARATOR
/usr/xpg4/bin"
>
&5
;;
echo
"
$as_me
: error: no acceptable
$ac_prog_name
could be found in
$PATH$PATH_SEPARATOR
/usr/xpg4/bin"
>
&2
;
}
*
)
{
{
echo
"
$as_me
:
$LINENO
: error: no argument expected for --enable-cassert option"
>
&5
echo
"
$as_me
: error: no argument expected for --enable-cassert option"
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
;;
fi
esac
else
else
enable_cassert
=
no
ac_cv_path_EGREP
=
$EGREP
fi
fi
fi
fi
{
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_path_EGREP
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_path_EGREP
"
>
&6
;
}
EGREP
=
"
$ac_cv_path_EGREP
"
#
{
echo
"
$as_me
:
$LINENO
: checking for ANSI C header files"
>
&5
# Include directories
echo
$ECHO_N
"checking for ANSI C header files...
$ECHO_C
"
>
&6
;
}
#
if
test
"
${
ac_cv_header_stdc
+set
}
"
=
set
;
then
ac_save_IFS
=
$IFS
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
IFS
=
"
${
IFS
}${
PATH_SEPARATOR
}
"
else
# SRCH_INC comes from the template file
cat
>
conftest.
$ac_ext
<<
_ACEOF
for
dir
in
$with_includes
$SRCH_INC
;
do
/* confdefs.h. */
if
test
-d
"
$dir
"
;
then
_ACEOF
INCLUDES
=
"
$INCLUDES
-I
$dir
"
cat
confdefs.h
>>
conftest.
$ac_ext
else
cat
>>
conftest.
$ac_ext
<<
_ACEOF
{
echo
"
$as_me
:
$LINENO
: WARNING: *** Include directory
$dir
does not exist."
>
&5
/* end confdefs.h. */
echo
"
$as_me
: WARNING: *** Include directory
$dir
does not exist."
>
&2
;
}
#include <stdlib.h>
fi
#include <stdarg.h>
done
#include <string.h>
IFS
=
$ac_save_IFS
#include <float.h>
int
main ()
{
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
if
{
(
ac_try
=
"
$ac_compile
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_compile
"
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
test
-z
"
$ac_c_werror_flag
"
||
test
!
-s
conftest.err
}
&&
test
-s
conftest.
$ac_objext
;
then
ac_cv_header_stdc
=
yes
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
#
ac_cv_header_stdc
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
if
test
$ac_cv_header_stdc
=
yes
;
then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <string.h>
_ACEOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
$EGREP
"memchr"
>
/dev/null 2>&1
;
then
:
else
ac_cv_header_stdc
=
no
fi
rm
-f
conftest
*
fi
if
test
$ac_cv_header_stdc
=
yes
;
then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <stdlib.h>
_ACEOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
$EGREP
"free"
>
/dev/null 2>&1
;
then
:
else
ac_cv_header_stdc
=
no
fi
rm
-f
conftest
*
fi
if
test
$ac_cv_header_stdc
=
yes
;
then
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
if
test
"
$cross_compiling
"
=
yes
;
then
:
else
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <ctype.h>
#include <stdlib.h>
#if ((' ' & 0x0FF) == 0x020)
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#else
# define ISLOWER(c)
\
(('a' <= (c) && (c) <= 'i')
\
|| ('j' <= (c) && (c) <= 'r')
\
|| ('s' <= (c) && (c) <= 'z'))
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
#endif
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int
main ()
{
int i;
for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i))
|| toupper (i) != TOUPPER (i))
return 2;
return 0;
}
_ACEOF
rm
-f
conftest
$ac_exeext
if
{
(
ac_try
=
"
$ac_link
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_link
"
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
ac_try
=
'./conftest$ac_exeext'
{
(
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_try
"
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
;
}
;
then
:
else
echo
"
$as_me
: program exited with status
$ac_status
"
>
&5
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
(
exit
$ac_status
)
ac_cv_header_stdc
=
no
fi
rm
-f
core
*
.core core.conftest.
*
gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
fi
fi
fi
{
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_header_stdc
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_header_stdc
"
>
&6
;
}
if
test
$ac_cv_header_stdc
=
yes
;
then
cat
>>
confdefs.h
<<
\
_ACEOF
#define STDC_HEADERS 1
_ACEOF
fi
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
for
ac_header
in
sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h
\
inttypes.h stdint.h unistd.h
do
as_ac_Header
=
`
echo
"ac_cv_header_
$ac_header
"
|
$as_tr_sh
`
{
echo
"
$as_me
:
$LINENO
: checking for
$ac_header
"
>
&5
echo
$ECHO_N
"checking for
$ac_header
...
$ECHO_C
"
>
&6
;
}
if
{
as_var
=
$as_ac_Header
;
eval
"test
\"\$
{
$as_var
+set}
\"
= set"
;
}
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <
$ac_header
>
_ACEOF
rm
-f
conftest.
$ac_objext
if
{
(
ac_try
=
"
$ac_compile
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_compile
"
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
test
-z
"
$ac_c_werror_flag
"
||
test
!
-s
conftest.err
}
&&
test
-s
conftest.
$ac_objext
;
then
eval
"
$as_ac_Header
=yes"
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
eval
"
$as_ac_Header
=no"
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
fi
ac_res
=
`
eval echo
'${'
$as_ac_Header
'}'
`
{
echo
"
$as_me
:
$LINENO
: result:
$ac_res
"
>
&5
echo
"
${
ECHO_T
}
$ac_res
"
>
&6
;
}
if
test
`
eval echo
'${'
$as_ac_Header
'}'
`
=
yes
;
then
cat
>>
confdefs.h
<<
_ACEOF
#define `echo "HAVE_
$ac_header
" |
$as_tr_cpp
` 1
_ACEOF
fi
done
{
echo
"
$as_me
:
$LINENO
: checking for void *"
>
&5
echo
$ECHO_N
"checking for void *...
$ECHO_C
"
>
&6
;
}
if
test
"
${
ac_cv_type_void_p
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
$ac_includes_default
typedef void * ac__type_new_;
int
main ()
{
if ((ac__type_new_ *) 0)
return 0;
if (sizeof (ac__type_new_))
return 0;
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
if
{
(
ac_try
=
"
$ac_compile
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_compile
"
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
test
-z
"
$ac_c_werror_flag
"
||
test
!
-s
conftest.err
}
&&
test
-s
conftest.
$ac_objext
;
then
ac_cv_type_void_p
=
yes
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_type_void_p
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
fi
{
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_type_void_p
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_type_void_p
"
>
&6
;
}
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
# This bug is HP SR number 8606223364.
{
echo
"
$as_me
:
$LINENO
: checking size of void *"
>
&5
echo
$ECHO_N
"checking size of void *...
$ECHO_C
"
>
&6
;
}
if
test
"
${
ac_cv_sizeof_void_p
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
if
test
"
$cross_compiling
"
=
yes
;
then
# Depending upon the size, compute the lo and hi bounds.
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
$ac_includes_default
typedef void * ac__type_sizeof_;
int
main ()
{
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
test_array [0] = 0
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
if
{
(
ac_try
=
"
$ac_compile
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_compile
"
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
test
-z
"
$ac_c_werror_flag
"
||
test
!
-s
conftest.err
}
&&
test
-s
conftest.
$ac_objext
;
then
ac_lo
=
0
ac_mid
=
0
while
:
;
do
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
$ac_includes_default
typedef void * ac__type_sizeof_;
int
main ()
{
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <=
$ac_mid
)];
test_array [0] = 0
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
if
{
(
ac_try
=
"
$ac_compile
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_compile
"
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
test
-z
"
$ac_c_werror_flag
"
||
test
!
-s
conftest.err
}
&&
test
-s
conftest.
$ac_objext
;
then
ac_hi
=
$ac_mid
;
break
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_lo
=
`
expr
$ac_mid
+ 1
`
if
test
$ac_lo
-le
$ac_mid
;
then
ac_lo
=
ac_hi
=
break
fi
ac_mid
=
`
expr
2
'*'
$ac_mid
+ 1
`
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
done
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
$ac_includes_default
typedef void * ac__type_sizeof_;
int
main ()
{
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
test_array [0] = 0
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
if
{
(
ac_try
=
"
$ac_compile
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_compile
"
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
test
-z
"
$ac_c_werror_flag
"
||
test
!
-s
conftest.err
}
&&
test
-s
conftest.
$ac_objext
;
then
ac_hi
=
-1
ac_mid
=
-1
while
:
;
do
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
$ac_includes_default
typedef void * ac__type_sizeof_;
int
main ()
{
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >=
$ac_mid
)];
test_array [0] = 0
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
if
{
(
ac_try
=
"
$ac_compile
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_compile
"
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
test
-z
"
$ac_c_werror_flag
"
||
test
!
-s
conftest.err
}
&&
test
-s
conftest.
$ac_objext
;
then
ac_lo
=
$ac_mid
;
break
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_hi
=
`
expr
'('
$ac_mid
')'
- 1
`
if
test
$ac_mid
-le
$ac_hi
;
then
ac_lo
=
ac_hi
=
break
fi
ac_mid
=
`
expr
2
'*'
$ac_mid
`
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
done
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_lo
=
ac_hi
=
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
# Binary search between lo and hi bounds.
while
test
"x
$ac_lo
"
!=
"x
$ac_hi
"
;
do
ac_mid
=
`
expr
'('
$ac_hi
-
$ac_lo
')'
/ 2 +
$ac_lo
`
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
$ac_includes_default
typedef void * ac__type_sizeof_;
int
main ()
{
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <=
$ac_mid
)];
test_array [0] = 0
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
if
{
(
ac_try
=
"
$ac_compile
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_compile
"
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
test
-z
"
$ac_c_werror_flag
"
||
test
!
-s
conftest.err
}
&&
test
-s
conftest.
$ac_objext
;
then
ac_hi
=
$ac_mid
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_lo
=
`
expr
'('
$ac_mid
')'
+ 1
`
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
done
case
$ac_lo
in
?
*
)
ac_cv_sizeof_void_p
=
$ac_lo
;;
''
)
if
test
"
$ac_cv_type_void_p
"
=
yes
;
then
{
{
echo
"
$as_me
:
$LINENO
: error: cannot compute sizeof (void *)
See
\`
config.log' for more details."
>
&5
echo
"
$as_me
: error: cannot compute sizeof (void *)
See
\`
config.log' for more details."
>
&2
;
}
{
(
exit
77
)
;
exit
77
;
}
;
}
else
ac_cv_sizeof_void_p
=
0
fi
;;
esac
else
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
$ac_includes_default
typedef void * ac__type_sizeof_;
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
FILE *f = fopen ("conftest.val", "w");
if (! f)
return 1;
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
{
long int i = longval ();
if (i != ((long int) (sizeof (ac__type_sizeof_))))
return 1;
fprintf (f, "%ld
\n
", i);
}
else
{
unsigned long int i = ulongval ();
if (i != ((long int) (sizeof (ac__type_sizeof_))))
return 1;
fprintf (f, "%lu
\n
", i);
}
return ferror (f) || fclose (f) != 0;
;
return 0;
}
_ACEOF
rm
-f
conftest
$ac_exeext
if
{
(
ac_try
=
"
$ac_link
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_link
"
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
ac_try
=
'./conftest$ac_exeext'
{
(
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_try
"
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
;
}
;
then
ac_cv_sizeof_void_p
=
`
cat
conftest.val
`
else
echo
"
$as_me
: program exited with status
$ac_status
"
>
&5
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
(
exit
$ac_status
)
if
test
"
$ac_cv_type_void_p
"
=
yes
;
then
{
{
echo
"
$as_me
:
$LINENO
: error: cannot compute sizeof (void *)
See
\`
config.log' for more details."
>
&5
echo
"
$as_me
: error: cannot compute sizeof (void *)
See
\`
config.log' for more details."
>
&2
;
}
{
(
exit
77
)
;
exit
77
;
}
;
}
else
ac_cv_sizeof_void_p
=
0
fi
fi
rm
-f
core
*
.core core.conftest.
*
gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
fi
rm
-f
conftest.val
fi
{
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_sizeof_void_p
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_sizeof_void_p
"
>
&6
;
}
cat
>>
confdefs.h
<<
_ACEOF
#define SIZEOF_VOID_P
$ac_cv_sizeof_void_p
_ACEOF
cat
>>
confdefs.h
<<
_ACEOF
#define PG_VERSION_STR "PostgreSQL
$PACKAGE_VERSION
on
$host
, compiled by
$cc_string
, `expr
$ac_cv_sizeof_void_p
\*
8`-bit"
_ACEOF
#
# Set up TAS assembly code if needed; the template file has now had its
# chance to request this.
#
ac_config_links
=
"
$ac_config_links
src/backend/port/tas.s:src/backend/port/tas/
${
tas_file
}
"
if
test
"
$need_tas
"
=
yes
;
then
TAS
=
tas.o
else
TAS
=
""
fi
#
# Automatic dependency tracking
#
pgac_args
=
"
$pgac_args
enable_depend"
# Check whether --enable-depend was given.
if
test
"
${
enable_depend
+set
}
"
=
set
;
then
enableval
=
$enable_depend
;
case
$enableval
in
yes
)
autodepend
=
yes
;;
no
)
:
;;
*
)
{
{
echo
"
$as_me
:
$LINENO
: error: no argument expected for --enable-depend option"
>
&5
echo
"
$as_me
: error: no argument expected for --enable-depend option"
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
;;
esac
else
enable_depend
=
no
fi
#
# Enable assert checks
#
pgac_args
=
"
$pgac_args
enable_cassert"
# Check whether --enable-cassert was given.
if
test
"
${
enable_cassert
+set
}
"
=
set
;
then
enableval
=
$enable_cassert
;
case
$enableval
in
yes
)
cat
>>
confdefs.h
<<
\
_ACEOF
#define USE_ASSERT_CHECKING 1
_ACEOF
;;
no
)
:
;;
*
)
{
{
echo
"
$as_me
:
$LINENO
: error: no argument expected for --enable-cassert option"
>
&5
echo
"
$as_me
: error: no argument expected for --enable-cassert option"
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
;;
esac
else
enable_cassert
=
no
fi
#
# Include directories
#
ac_save_IFS
=
$IFS
IFS
=
"
${
IFS
}${
PATH_SEPARATOR
}
"
# SRCH_INC comes from the template file
for
dir
in
$with_includes
$SRCH_INC
;
do
if
test
-d
"
$dir
"
;
then
INCLUDES
=
"
$INCLUDES
-I
$dir
"
else
{
echo
"
$as_me
:
$LINENO
: WARNING: *** Include directory
$dir
does not exist."
>
&5
echo
"
$as_me
: WARNING: *** Include directory
$dir
does not exist."
>
&2
;
}
fi
done
IFS
=
$ac_save_IFS
#
# Library directories
# Library directories
#
#
ac_save_IFS
=
$IFS
ac_save_IFS
=
$IFS
...
@@ -5542,179 +6354,16 @@ fi
...
@@ -5542,179 +6354,16 @@ fi
#
#
# Elf
# Elf
#
#
# Assume system is ELF if it predefines __ELF__ as 1,
# otherwise believe host_os based default.
case
$host_os
in
freebsd1
*
|
freebsd2
*
)
elf
=
no
;;
freebsd3
*
|
freebsd4
*
)
elf
=
yes
;;
esac
{
echo
"
$as_me
:
$LINENO
: checking for grep that handles long lines and -e"
>
&5
echo
$ECHO_N
"checking for grep that handles long lines and -e...
$ECHO_C
"
>
&6
;
}
if
test
"
${
ac_cv_path_GREP
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
# Extract the first word of "grep ggrep" to use in msg output
if
test
-z
"
$GREP
"
;
then
set
dummy
grep
ggrep
;
ac_prog_name
=
$2
if
test
"
${
ac_cv_path_GREP
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_path_GREP_found
=
false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS
=
$IFS
;
IFS
=
$PATH_SEPARATOR
for
as_dir
in
$PATH$PATH_SEPARATOR
/usr/xpg4/bin
do
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_prog
in
grep
ggrep
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
ac_path_GREP
=
"
$as_dir
/
$ac_prog$ac_exec_ext
"
{
test
-f
"
$ac_path_GREP
"
&&
$as_test_x
"
$ac_path_GREP
"
;
}
||
continue
# Check for GNU ac_path_GREP and select it if it is found.
# Check for GNU $ac_path_GREP
case
`
"
$ac_path_GREP
"
--version
2>&1
`
in
*
GNU
*
)
ac_cv_path_GREP
=
"
$ac_path_GREP
"
ac_path_GREP_found
=
:
;;
*
)
ac_count
=
0
echo
$ECHO_N
"0123456789
$ECHO_C
"
>
"conftest.in"
while
:
do
cat
"conftest.in"
"conftest.in"
>
"conftest.tmp"
mv
"conftest.tmp"
"conftest.in"
cp
"conftest.in"
"conftest.nl"
echo
'GREP'
>>
"conftest.nl"
"
$ac_path_GREP
"
-e
'GREP$'
-e
'-(cannot match)-'
<
"conftest.nl"
>
"conftest.out"
2>/dev/null
||
break
diff
"conftest.out"
"conftest.nl"
>
/dev/null 2>&1
||
break
ac_count
=
`
expr
$ac_count
+ 1
`
if
test
$ac_count
-gt
${
ac_path_GREP_max
-0
}
;
then
# Best one so far, save it but keep looking for a better one
ac_cv_path_GREP
=
"
$ac_path_GREP
"
ac_path_GREP_max
=
$ac_count
fi
# 10*(2^10) chars as input seems more than enough
test
$ac_count
-gt
10
&&
break
done
rm
-f
conftest.in conftest.tmp conftest.nl conftest.out
;;
esac
$ac_path_GREP_found
&&
break
3
done
done
done
IFS
=
$as_save_IFS
fi
GREP
=
"
$ac_cv_path_GREP
"
if
test
-z
"
$GREP
"
;
then
{
{
echo
"
$as_me
:
$LINENO
: error: no acceptable
$ac_prog_name
could be found in
$PATH$PATH_SEPARATOR
/usr/xpg4/bin"
>
&5
echo
"
$as_me
: error: no acceptable
$ac_prog_name
could be found in
$PATH$PATH_SEPARATOR
/usr/xpg4/bin"
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
fi
else
ac_cv_path_GREP
=
$GREP
fi
fi
{
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_path_GREP
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_path_GREP
"
>
&6
;
}
GREP
=
"
$ac_cv_path_GREP
"
{
echo
"
$as_me
:
$LINENO
: checking for egrep"
>
&5
echo
$ECHO_N
"checking for egrep...
$ECHO_C
"
>
&6
;
}
if
test
"
${
ac_cv_path_EGREP
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
if
echo
a |
$GREP
-E
'(a|b)'
>
/dev/null 2>&1
then
ac_cv_path_EGREP
=
"
$GREP
-E"
else
# Extract the first word of "egrep" to use in msg output
if
test
-z
"
$EGREP
"
;
then
set
dummy egrep
;
ac_prog_name
=
$2
if
test
"
${
ac_cv_path_EGREP
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_path_EGREP_found
=
false
# Loop through the user's path and test for each of PROGNAME-LIST
as_save_IFS
=
$IFS
;
IFS
=
$PATH_SEPARATOR
for
as_dir
in
$PATH$PATH_SEPARATOR
/usr/xpg4/bin
do
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_prog
in
egrep
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
ac_path_EGREP
=
"
$as_dir
/
$ac_prog$ac_exec_ext
"
{
test
-f
"
$ac_path_EGREP
"
&&
$as_test_x
"
$ac_path_EGREP
"
;
}
||
continue
# Check for GNU ac_path_EGREP and select it if it is found.
# Check for GNU $ac_path_EGREP
case
`
"
$ac_path_EGREP
"
--version
2>&1
`
in
*
GNU
*
)
ac_cv_path_EGREP
=
"
$ac_path_EGREP
"
ac_path_EGREP_found
=
:
;;
*
)
ac_count
=
0
echo
$ECHO_N
"0123456789
$ECHO_C
"
>
"conftest.in"
while
:
do
cat
"conftest.in"
"conftest.in"
>
"conftest.tmp"
mv
"conftest.tmp"
"conftest.in"
cp
"conftest.in"
"conftest.nl"
echo
'EGREP'
>>
"conftest.nl"
"
$ac_path_EGREP
"
'EGREP$'
<
"conftest.nl"
>
"conftest.out"
2>/dev/null
||
break
diff
"conftest.out"
"conftest.nl"
>
/dev/null 2>&1
||
break
ac_count
=
`
expr
$ac_count
+ 1
`
if
test
$ac_count
-gt
${
ac_path_EGREP_max
-0
}
;
then
# Best one so far, save it but keep looking for a better one
ac_cv_path_EGREP
=
"
$ac_path_EGREP
"
ac_path_EGREP_max
=
$ac_count
fi
# 10*(2^10) chars as input seems more than enough
test
$ac_count
-gt
10
&&
break
done
rm
-f
conftest.in conftest.tmp conftest.nl conftest.out
;;
esac
$ac_path_EGREP_found
&&
break
3
done
done
done
IFS
=
$as_save_IFS
fi
EGREP
=
"
$ac_cv_path_EGREP
"
if
test
-z
"
$EGREP
"
;
then
{
{
echo
"
$as_me
:
$LINENO
: error: no acceptable
$ac_prog_name
could be found in
$PATH$PATH_SEPARATOR
/usr/xpg4/bin"
>
&5
echo
"
$as_me
: error: no acceptable
$ac_prog_name
could be found in
$PATH$PATH_SEPARATOR
/usr/xpg4/bin"
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
fi
else
ac_cv_path_EGREP
=
$EGREP
fi
fi
fi
{
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_path_EGREP
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_path_EGREP
"
>
&6
;
}
EGREP
=
"
$ac_cv_path_EGREP
"
# Assume system is ELF if it predefines __ELF__ as 1,
# otherwise believe host_os based default.
case
$host_os
in
freebsd1
*
|
freebsd2
*
)
elf
=
no
;;
freebsd3
*
|
freebsd4
*
)
elf
=
yes
;;
esac
cat
>
conftest.
$ac_ext
<<
_ACEOF
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
/* confdefs.h. */
...
@@ -9110,249 +9759,6 @@ fi
...
@@ -9110,249 +9759,6 @@ fi
## Header files
## Header files
##
##
{
echo
"
$as_me
:
$LINENO
: checking for ANSI C header files"
>
&5
echo
$ECHO_N
"checking for ANSI C header files...
$ECHO_C
"
>
&6
;
}
if
test
"
${
ac_cv_header_stdc
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>
int
main ()
{
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
if
{
(
ac_try
=
"
$ac_compile
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_compile
"
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
test
-z
"
$ac_c_werror_flag
"
||
test
!
-s
conftest.err
}
&&
test
-s
conftest.
$ac_objext
;
then
ac_cv_header_stdc
=
yes
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_header_stdc
=
no
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
if
test
$ac_cv_header_stdc
=
yes
;
then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <string.h>
_ACEOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
$EGREP
"memchr"
>
/dev/null 2>&1
;
then
:
else
ac_cv_header_stdc
=
no
fi
rm
-f
conftest
*
fi
if
test
$ac_cv_header_stdc
=
yes
;
then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <stdlib.h>
_ACEOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
$EGREP
"free"
>
/dev/null 2>&1
;
then
:
else
ac_cv_header_stdc
=
no
fi
rm
-f
conftest
*
fi
if
test
$ac_cv_header_stdc
=
yes
;
then
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
if
test
"
$cross_compiling
"
=
yes
;
then
:
else
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <ctype.h>
#include <stdlib.h>
#if ((' ' & 0x0FF) == 0x020)
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#else
# define ISLOWER(c)
\
(('a' <= (c) && (c) <= 'i')
\
|| ('j' <= (c) && (c) <= 'r')
\
|| ('s' <= (c) && (c) <= 'z'))
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
#endif
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int
main ()
{
int i;
for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i))
|| toupper (i) != TOUPPER (i))
return 2;
return 0;
}
_ACEOF
rm
-f
conftest
$ac_exeext
if
{
(
ac_try
=
"
$ac_link
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_link
"
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
ac_try
=
'./conftest$ac_exeext'
{
(
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_try
"
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
;
}
;
then
:
else
echo
"
$as_me
: program exited with status
$ac_status
"
>
&5
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
(
exit
$ac_status
)
ac_cv_header_stdc
=
no
fi
rm
-f
core
*
.core core.conftest.
*
gmon.out bb.out conftest
$ac_exeext
conftest.
$ac_objext
conftest.
$ac_ext
fi
fi
fi
{
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_header_stdc
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_header_stdc
"
>
&6
;
}
if
test
$ac_cv_header_stdc
=
yes
;
then
cat
>>
confdefs.h
<<
\
_ACEOF
#define STDC_HEADERS 1
_ACEOF
fi
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
for
ac_header
in
sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h
\
inttypes.h stdint.h unistd.h
do
as_ac_Header
=
`
echo
"ac_cv_header_
$ac_header
"
|
$as_tr_sh
`
{
echo
"
$as_me
:
$LINENO
: checking for
$ac_header
"
>
&5
echo
$ECHO_N
"checking for
$ac_header
...
$ECHO_C
"
>
&6
;
}
if
{
as_var
=
$as_ac_Header
;
eval
"test
\"\$
{
$as_var
+set}
\"
= set"
;
}
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
$ac_includes_default
#include <
$ac_header
>
_ACEOF
rm
-f
conftest.
$ac_objext
if
{
(
ac_try
=
"
$ac_compile
"
case
"((
$ac_try
"
in
*
\"
*
|
*
\`
*
|
*
\\
*
)
ac_try_echo
=
\$
ac_try
;;
*
)
ac_try_echo
=
$ac_try
;;
esac
eval
"echo
\"\$
as_me:
$LINENO
:
$ac_try_echo
\"
"
)
>
&5
(
eval
"
$ac_compile
"
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
test
-z
"
$ac_c_werror_flag
"
||
test
!
-s
conftest.err
}
&&
test
-s
conftest.
$ac_objext
;
then
eval
"
$as_ac_Header
=yes"
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
eval
"
$as_ac_Header
=no"
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
fi
ac_res
=
`
eval echo
'${'
$as_ac_Header
'}'
`
{
echo
"
$as_me
:
$LINENO
: result:
$ac_res
"
>
&5
echo
"
${
ECHO_T
}
$ac_res
"
>
&6
;
}
if
test
`
eval echo
'${'
$as_ac_Header
'}'
`
=
yes
;
then
cat
>>
confdefs.h
<<
_ACEOF
#define `echo "HAVE_
$ac_header
" |
$as_tr_cpp
` 1
_ACEOF
fi
done
...
@@ -27280,6 +27686,8 @@ OBJEXT!$OBJEXT$ac_delim
...
@@ -27280,6 +27686,8 @@ OBJEXT!$OBJEXT$ac_delim
SUN_STUDIO_CC!
$SUN_STUDIO_CC$ac_delim
SUN_STUDIO_CC!
$SUN_STUDIO_CC$ac_delim
CPP!
$CPP$ac_delim
CPP!
$CPP$ac_delim
GCC!
$GCC$ac_delim
GCC!
$GCC$ac_delim
GREP!
$GREP$ac_delim
EGREP!
$EGREP$ac_delim
TAS!
$TAS$ac_delim
TAS!
$TAS$ac_delim
autodepend!
$autodepend$ac_delim
autodepend!
$autodepend$ac_delim
INCLUDES!
$INCLUDES$ac_delim
INCLUDES!
$INCLUDES$ac_delim
...
@@ -27300,8 +27708,6 @@ with_libxml!$with_libxml$ac_delim
...
@@ -27300,8 +27708,6 @@ with_libxml!$with_libxml$ac_delim
with_libxslt!
$with_libxslt$ac_delim
with_libxslt!
$with_libxslt$ac_delim
with_system_tzdata!
$with_system_tzdata$ac_delim
with_system_tzdata!
$with_system_tzdata$ac_delim
with_zlib!
$with_zlib$ac_delim
with_zlib!
$with_zlib$ac_delim
GREP!
$GREP$ac_delim
EGREP!
$EGREP$ac_delim
ELF_SYS!
$ELF_SYS$ac_delim
ELF_SYS!
$ELF_SYS$ac_delim
LDFLAGS_SL!
$LDFLAGS_SL$ac_delim
LDFLAGS_SL!
$LDFLAGS_SL$ac_delim
LD!
$LD$ac_delim
LD!
$LD$ac_delim
...
...
configure.in
View file @
b32a290b
dnl Process this file with autoconf to produce a configure script.
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.5
79 2009/01/05 10:25:59 petere
Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.5
80 2009/01/06 03:05:23 momjian
Exp $
dnl
dnl
dnl Developers, please strive to achieve this order:
dnl Developers, please strive to achieve this order:
dnl
dnl
...
@@ -496,8 +496,10 @@ if test x"$GCC" = x"yes" ; then
...
@@ -496,8 +496,10 @@ if test x"$GCC" = x"yes" ; then
else
else
cc_string=$CC
cc_string=$CC
fi
fi
AC_CHECK_SIZEOF([void *])
AC_DEFINE_UNQUOTED(PG_VERSION_STR,
AC_DEFINE_UNQUOTED(PG_VERSION_STR,
["PostgreSQL $PACKAGE_VERSION on $host, compiled by $cc_string"],
["PostgreSQL $PACKAGE_VERSION on $host, compiled by $cc_string
, `expr $ac_cv_sizeof_void_p \* 8`-bit
"],
[A string containing the version number, platform, and C compiler])
[A string containing the version number, platform, and C compiler])
...
...
doc/src/sgml/start.sgml
View file @
b32a290b
<!-- $PostgreSQL: pgsql/doc/src/sgml/start.sgml,v 1.4
7 2008/05/16 17:17:00
momjian Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/start.sgml,v 1.4
8 2009/01/06 03:05:23
momjian Exp $ -->
<chapter id="tutorial-start">
<chapter id="tutorial-start">
<title>Getting Started</title>
<title>Getting Started</title>
...
@@ -362,9 +362,9 @@ mydb=#
...
@@ -362,9 +362,9 @@ mydb=#
<indexterm><primary>version</primary></indexterm>
<indexterm><primary>version</primary></indexterm>
<screen>
<screen>
<prompt>mydb=></prompt> <userinput>SELECT version();</userinput>
<prompt>mydb=></prompt> <userinput>SELECT version();</userinput>
version
version
----------------------------------------------------------------
-------
----------------------------------------------------------------
PostgreSQL &version; on i586-pc-linux-gnu, compiled by GCC 2.96
PostgreSQL &version; on i586-pc-linux-gnu, compiled by GCC 2.96
, 32-bit
(1 row)
(1 row)
<prompt>mydb=></prompt> <userinput>SELECT current_date;</userinput>
<prompt>mydb=></prompt> <userinput>SELECT current_date;</userinput>
...
...
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