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
dcc9d373
Commit
dcc9d373
authored
Jul 13, 2009
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the configure messages rejecting old bison and flex versions include
the full path and version of the program being rejected.
parent
34a11144
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
19 deletions
+22
-19
config/programs.m4
config/programs.m4
+5
-5
configure
configure
+17
-14
No files found.
config/programs.m4
View file @
dcc9d373
# $PostgreSQL: pgsql/config/programs.m4,v 1.2
5 2009/07/13 01:51:56
tgl Exp $
# $PostgreSQL: pgsql/config/programs.m4,v 1.2
6 2009/07/13 05:36:53
tgl Exp $
# PGAC_PATH_BISON
# PGAC_PATH_BISON
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
AC_DEFUN([PGAC_PATH_BISON],
AC_DEFUN([PGAC_PATH_BISON],
[# Let the user override the search
[# Let the user override the search
if test -z "$BISON"; then
if test -z "$BISON"; then
AC_
CHECK
_PROGS(BISON, bison)
AC_
PATH
_PROGS(BISON, bison)
fi
fi
if test "$BISON"; then
if test "$BISON"; then
...
@@ -19,8 +19,8 @@ if test "$BISON"; then
...
@@ -19,8 +19,8 @@ if test "$BISON"; then
if echo "$pgac_bison_version" | $AWK '{ if ([$]4 < 1.875) exit 0; else exit 1;}'
if echo "$pgac_bison_version" | $AWK '{ if ([$]4 < 1.875) exit 0; else exit 1;}'
then
then
AC_MSG_WARN([
AC_MSG_WARN([
*** The installed version of Bison is too old to use with PostgreSQL.
*** The installed version of Bison
, $BISON,
is too old to use with PostgreSQL.
*** Bison version 1.875 or later is required.])
*** Bison version 1.875 or later is required
, but this is $pgac_bison_version
.])
BISON=""
BISON=""
fi
fi
fi
fi
...
@@ -76,7 +76,7 @@ else
...
@@ -76,7 +76,7 @@ else
else
else
AC_MSG_WARN([
AC_MSG_WARN([
*** The installed version of Flex, $pgac_candidate, is too old to use with PostgreSQL.
*** The installed version of Flex, $pgac_candidate, is too old to use with PostgreSQL.
*** Flex version 2.5.31 or later is required.])
*** Flex version 2.5.31 or later is required
, but this is $pgac_flex_version
.])
fi
fi
fi
fi
fi
fi
...
...
configure
View file @
dcc9d373
...
@@ -6685,20 +6685,22 @@ do
...
@@ -6685,20 +6685,22 @@ do
set
dummy
$ac_prog
;
ac_word
=
$2
set
dummy
$ac_prog
;
ac_word
=
$2
{
$as_echo
"
$as_me
:
$LINENO
: checking for
$ac_word
"
>
&5
{
$as_echo
"
$as_me
:
$LINENO
: checking for
$ac_word
"
>
&5
$as_echo_n
"checking for
$ac_word
... "
>
&6
;
}
$as_echo_n
"checking for
$ac_word
... "
>
&6
;
}
if
test
"
${
ac_cv_p
rog
_BISON
+set
}
"
=
set
;
then
if
test
"
${
ac_cv_p
ath
_BISON
+set
}
"
=
set
;
then
$as_echo_n
"(cached) "
>
&6
$as_echo_n
"(cached) "
>
&6
else
else
if
test
-n
"
$BISON
"
;
then
case
$BISON
in
ac_cv_prog_BISON
=
"
$BISON
"
# Let the user override the test.
[
\\
/]
*
|
?:[
\\
/]
*
)
else
ac_cv_path_BISON
=
"
$BISON
"
# Let the user override the test with a path.
as_save_IFS
=
$IFS
;
IFS
=
$PATH_SEPARATOR
;;
*
)
as_save_IFS
=
$IFS
;
IFS
=
$PATH_SEPARATOR
for
as_dir
in
$PATH
for
as_dir
in
$PATH
do
do
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
if
{
test
-f
"
$as_dir
/
$ac_word$ac_exec_ext
"
&&
$as_test_x
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
}
;
then
ac_cv_p
rog_BISON
=
"
$ac_prog
"
ac_cv_p
ath_BISON
=
"
$as_dir
/
$ac_word$ac_exec_ext
"
$as_echo
"
$as_me
:
$LINENO
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
$as_echo
"
$as_me
:
$LINENO
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
break
2
fi
fi
...
@@ -6706,9 +6708,10 @@ done
...
@@ -6706,9 +6708,10 @@ done
done
done
IFS
=
$as_save_IFS
IFS
=
$as_save_IFS
;;
esac
fi
fi
fi
BISON
=
$ac_cv_path_BISON
BISON
=
$ac_cv_prog_BISON
if
test
-n
"
$BISON
"
;
then
if
test
-n
"
$BISON
"
;
then
{
$as_echo
"
$as_me
:
$LINENO
: result:
$BISON
"
>
&5
{
$as_echo
"
$as_me
:
$LINENO
: result:
$BISON
"
>
&5
$as_echo
"
$BISON
"
>
&6
;
}
$as_echo
"
$BISON
"
>
&6
;
}
...
@@ -6730,11 +6733,11 @@ $as_echo "$as_me: using $pgac_bison_version" >&6;}
...
@@ -6730,11 +6733,11 @@ $as_echo "$as_me: using $pgac_bison_version" >&6;}
if
echo
"
$pgac_bison_version
"
|
$AWK
'{ if ($4 < 1.875) exit 0; else exit 1;}'
if
echo
"
$pgac_bison_version
"
|
$AWK
'{ if ($4 < 1.875) exit 0; else exit 1;}'
then
then
{
$as_echo
"
$as_me
:
$LINENO
: WARNING:
{
$as_echo
"
$as_me
:
$LINENO
: WARNING:
*** The installed version of Bison is too old to use with PostgreSQL.
*** The installed version of Bison
,
$BISON
,
is too old to use with PostgreSQL.
*** Bison version 1.875 or later is required."
>
&5
*** Bison version 1.875 or later is required
, but this is
$pgac_bison_version
."
>
&5
$as_echo
"
$as_me
: WARNING:
$as_echo
"
$as_me
: WARNING:
*** The installed version of Bison is too old to use with PostgreSQL.
*** The installed version of Bison
,
$BISON
,
is too old to use with PostgreSQL.
*** Bison version 1.875 or later is required."
>
&2
;
}
*** Bison version 1.875 or later is required
, but this is
$pgac_bison_version
."
>
&2
;
}
BISON
=
""
BISON
=
""
fi
fi
fi
fi
...
@@ -6787,10 +6790,10 @@ else
...
@@ -6787,10 +6790,10 @@ else
else
else
{
$as_echo
"
$as_me
:
$LINENO
: WARNING:
{
$as_echo
"
$as_me
:
$LINENO
: WARNING:
*** The installed version of Flex,
$pgac_candidate
, is too old to use with PostgreSQL.
*** The installed version of Flex,
$pgac_candidate
, is too old to use with PostgreSQL.
*** Flex version 2.5.31 or later is required."
>
&5
*** Flex version 2.5.31 or later is required
, but this is
$pgac_flex_version
."
>
&5
$as_echo
"
$as_me
: WARNING:
$as_echo
"
$as_me
: WARNING:
*** The installed version of Flex,
$pgac_candidate
, is too old to use with PostgreSQL.
*** The installed version of Flex,
$pgac_candidate
, is too old to use with PostgreSQL.
*** Flex version 2.5.31 or later is required."
>
&2
;
}
*** Flex version 2.5.31 or later is required
, but this is
$pgac_flex_version
."
>
&2
;
}
fi
fi
fi
fi
fi
fi
...
...
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