Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ce307333
Commit
ce307333
authored
Dec 29, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Require a new enough flex version.
Wine needs a newer flex version than the prediluvian 2.5.4a.
parent
af302090
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
0 deletions
+31
-0
configure
configure
+17
-0
configure.ac
configure.ac
+14
-0
No files found.
configure
View file @
ce307333
...
...
@@ -4214,6 +4214,23 @@ if test "$FLEX" = "none"
then
as_fn_error
"no suitable flex found. Please install the 'flex' package."
"
$LINENO
"
5
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether flex is recent enough"
>
&5
$as_echo_n
"checking whether flex is recent enough... "
>
&6
;
}
cat
>
conftest.l
<<
EOF
%top{
#include "prediluvian.h"
}
%%
EOF
if
$FLEX
-t
conftest.l
>
/dev/null 2>&1
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: yes"
>
&5
$as_echo
"yes"
>
&6
;
}
else
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
$as_echo
"no"
>
&6
;
}
as_fn_error
"Your flex version is too old. Please install flex version 2.5.33 or newer."
"
$LINENO
"
5
fi
for
ac_prog
in
bison
do
...
...
configure.ac
View file @
ce307333
...
...
@@ -230,6 +230,20 @@ if test "$FLEX" = "none"
then
AC_MSG_ERROR([no suitable flex found. Please install the 'flex' package.])
fi
AC_MSG_CHECKING([whether flex is recent enough])
cat >conftest.l <<EOF
%top{
#include "prediluvian.h"
}
%%
EOF
if $FLEX -t conftest.l >/dev/null 2>&1
then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([Your flex version is too old. Please install flex version 2.5.33 or newer.])
fi
dnl Check for bison
AC_CHECK_PROGS(BISON,bison,none)
...
...
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