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
c068f670
Commit
c068f670
authored
Mar 16, 2004
by
Mike McCormack
Committed by
Alexandre Julliard
Mar 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Require bison to compile Wine.
parent
a54e3216
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
54 additions
and
98 deletions
+54
-98
Make.rules.in
Make.rules.in
+3
-2
README
README
+1
-2
configure
configure
+31
-72
configure.ac
configure.ac
+8
-7
README.de
documentation/README.de
+3
-3
README.fr
documentation/README.fr
+2
-3
README.it
documentation/README.it
+2
-3
README.pt
documentation/README.pt
+2
-3
README.pt_br
documentation/README.pt_br
+2
-3
No files found.
Make.rules.in
View file @
c068f670
...
...
@@ -25,7 +25,8 @@ CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
LIBS = @LIBS@
YACC = @YACC@
BISON = @BISON@
YACC = $(BISON) -y
LEX = @LEX@
LEXLIB = @LEXLIB@
EXEEXT = @EXEEXT@
...
...
@@ -103,7 +104,7 @@ prog_manext = 1
api_manext = 3w
conf_manext = 5
CLEAN_FILES = *.o *.a *.so *.ln *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej \
*.flc *.spec.c *.spec.def *.dbg.c
y.tab.c y
.tab.h @LEX_OUTPUT_ROOT@.c core
*.flc *.spec.c *.spec.def *.dbg.c
*.tab.c *
.tab.h @LEX_OUTPUT_ROOT@.c core
OBJS = $(C_SRCS:.c=.o) $(EXTRA_OBJS)
...
...
README
View file @
c068f670
...
...
@@ -81,8 +81,7 @@ Build tool requirements:
Of course you also need "make" (most likely GNU make).
You also need flex version 2.5 or later and yacc.
Bison will work as a replacement for yacc. If you are
You also need flex version 2.5 or later and bison. If you are
using RedHat or Debian, install the flex and bison packages.
Optional support libraries:
...
...
configure
View file @
c068f670
...
...
@@ -311,7 +311,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
ac_subst_vars
=
'SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WIN16_FILES WIN16_INSTALL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS
YACC LEX LEXLIB LEX_OUTPUT_ROOT XYACC XLEX
AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS DB2TXT LIBPTHREAD JPEGLIB EGREP GIFLIB XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS CAPI4LINUXLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS WINE_BINARIES MAIN_BINARY LDD ALLOCA LIBOBJS LTLIBOBJS'
ac_subst_vars
=
'SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WIN16_FILES WIN16_INSTALL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS
LEX LEXLIB LEX_OUTPUT_ROOT XLEX BISON
AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS DB2TXT LIBPTHREAD JPEGLIB EGREP GIFLIB XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS CAPI4LINUXLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS WINE_BINARIES MAIN_BINARY LDD ALLOCA LIBOBJS LTLIBOBJS'
ac_subst_files
=
'MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
# Initialize some variables set by options.
...
...
@@ -4500,47 +4500,6 @@ fi
fi
for
ac_prog
in
'bison -y'
byacc
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
echo
"
$as_me
:
$LINENO
: checking for
$ac_word
"
>
&5
echo
$ECHO_N
"checking for
$ac_word
...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_prog_YACC
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
if
test
-n
"
$YACC
"
;
then
ac_cv_prog_YACC
=
"
$YACC
"
# Let the user override the test.
else
as_save_IFS
=
$IFS
;
IFS
=
$PATH_SEPARATOR
for
as_dir
in
$PATH
do
IFS
=
$as_save_IFS
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
$as_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
ac_cv_prog_YACC
=
"
$ac_prog
"
echo
"
$as_me
:
$LINENO
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
fi
done
done
fi
fi
YACC
=
$ac_cv_prog_YACC
if
test
-n
"
$YACC
"
;
then
echo
"
$as_me
:
$LINENO
: result:
$YACC
"
>
&5
echo
"
${
ECHO_T
}
$YACC
"
>
&6
else
echo
"
$as_me
:
$LINENO
: result: no"
>
&5
echo
"
${
ECHO_T
}
no"
>
&6
fi
test
-n
"
$YACC
"
&&
break
done
test
-n
"
$YACC
"
||
YACC
=
"yacc"
for
ac_prog
in
flex lex
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
...
...
@@ -4813,17 +4772,17 @@ fi
fi
for
ac_prog
in
$
YACC
bison yacc
for
ac_prog
in
$
LEX
flex lex
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
echo
"
$as_me
:
$LINENO
: checking for
$ac_word
"
>
&5
echo
$ECHO_N
"checking for
$ac_word
...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_prog_X
YACC
+set
}
"
=
set
;
then
if
test
"
${
ac_cv_prog_X
LEX
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
if
test
-n
"
$X
YACC
"
;
then
ac_cv_prog_X
YACC
=
"
$XYACC
"
# Let the user override the test.
if
test
-n
"
$X
LEX
"
;
then
ac_cv_prog_X
LEX
=
"
$XLEX
"
# Let the user override the test.
else
as_save_IFS
=
$IFS
;
IFS
=
$PATH_SEPARATOR
for
as_dir
in
$PATH
...
...
@@ -4832,7 +4791,7 @@ do
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
$as_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
ac_cv_prog_X
YACC
=
"
$ac_prog
"
ac_cv_prog_X
LEX
=
"
$ac_prog
"
echo
"
$as_me
:
$LINENO
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
fi
...
...
@@ -4841,36 +4800,37 @@ done
fi
fi
X
YACC
=
$ac_cv_prog_XYACC
if
test
-n
"
$X
YACC
"
;
then
echo
"
$as_me
:
$LINENO
: result:
$X
YACC
"
>
&5
echo
"
${
ECHO_T
}
$X
YACC
"
>
&6
X
LEX
=
$ac_cv_prog_XLEX
if
test
-n
"
$X
LEX
"
;
then
echo
"
$as_me
:
$LINENO
: result:
$X
LEX
"
>
&5
echo
"
${
ECHO_T
}
$X
LEX
"
>
&6
else
echo
"
$as_me
:
$LINENO
: result: no"
>
&5
echo
"
${
ECHO_T
}
no"
>
&6
fi
test
-n
"
$X
YACC
"
&&
break
test
-n
"
$X
LEX
"
&&
break
done
test
-n
"
$X
YACC
"
||
XYACC
=
"none"
test
-n
"
$X
LEX
"
||
XLEX
=
"none"
if
test
"
$X
YACC
"
=
"none"
if
test
"
$X
LEX
"
=
"none"
then
{
{
echo
"
$as_me
:
$LINENO
: error: no suitable
bison/yacc found. Please install the 'bison
' package."
>
&5
echo
"
$as_me
: error: no suitable
bison/yacc found. Please install the 'bison
' package."
>
&2
;
}
{
{
echo
"
$as_me
:
$LINENO
: error: no suitable
lex found. Please install the 'flex
' package."
>
&5
echo
"
$as_me
: error: no suitable
lex found. Please install the 'flex
' package."
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
fi
for
ac_prog
in
$LEX
flex lex
for
ac_prog
in
bison
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set
dummy
$ac_prog
;
ac_word
=
$2
echo
"
$as_me
:
$LINENO
: checking for
$ac_word
"
>
&5
echo
$ECHO_N
"checking for
$ac_word
...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_prog_
XLEX
+set
}
"
=
set
;
then
if
test
"
${
ac_cv_prog_
BISON
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
if
test
-n
"
$
XLEX
"
;
then
ac_cv_prog_
XLEX
=
"
$XLEX
"
# Let the user override the test.
if
test
-n
"
$
BISON
"
;
then
ac_cv_prog_
BISON
=
"
$BISON
"
# Let the user override the test.
else
as_save_IFS
=
$IFS
;
IFS
=
$PATH_SEPARATOR
for
as_dir
in
$PATH
...
...
@@ -4879,7 +4839,7 @@ do
test
-z
"
$as_dir
"
&&
as_dir
=
.
for
ac_exec_ext
in
''
$ac_executable_extensions
;
do
if
$as_executable_p
"
$as_dir
/
$ac_word$ac_exec_ext
"
;
then
ac_cv_prog_
XLEX
=
"
$ac_prog
"
ac_cv_prog_
BISON
=
"
$ac_prog
"
echo
"
$as_me
:
$LINENO
: found
$as_dir
/
$ac_word$ac_exec_ext
"
>
&5
break
2
fi
...
...
@@ -4888,23 +4848,23 @@ done
fi
fi
XLEX
=
$ac_cv_prog_XLEX
if
test
-n
"
$
XLEX
"
;
then
echo
"
$as_me
:
$LINENO
: result:
$
XLEX
"
>
&5
echo
"
${
ECHO_T
}
$
XLEX
"
>
&6
BISON
=
$ac_cv_prog_BISON
if
test
-n
"
$
BISON
"
;
then
echo
"
$as_me
:
$LINENO
: result:
$
BISON
"
>
&5
echo
"
${
ECHO_T
}
$
BISON
"
>
&6
else
echo
"
$as_me
:
$LINENO
: result: no"
>
&5
echo
"
${
ECHO_T
}
no"
>
&6
fi
test
-n
"
$
XLEX
"
&&
break
test
-n
"
$
BISON
"
&&
break
done
test
-n
"
$
XLEX
"
||
XLEX
=
"none"
test
-n
"
$
BISON
"
||
BISON
=
"none"
if
test
"
$
XLEX
"
=
"none"
if
test
"
$
BISON
"
=
"none"
then
{
{
echo
"
$as_me
:
$LINENO
: error: no suitable
lex found. Please install the 'flex
' package."
>
&5
echo
"
$as_me
: error: no suitable
lex found. Please install the 'flex
' package."
>
&2
;
}
{
{
echo
"
$as_me
:
$LINENO
: error: no suitable
bison found. Please install the 'bison
' package."
>
&5
echo
"
$as_me
: error: no suitable
bison found. Please install the 'bison
' package."
>
&2
;
}
{
(
exit
1
)
;
exit
1
;
}
;
}
fi
...
...
@@ -20960,12 +20920,11 @@ s,@X_CFLAGS@,$X_CFLAGS,;t t
s,@X_PRE_LIBS@,
$X_PRE_LIBS
,;t t
s,@X_LIBS@,
$X_LIBS
,;t t
s,@X_EXTRA_LIBS@,
$X_EXTRA_LIBS
,;t t
s,@YACC@,
$YACC
,;t t
s,@LEX@,
$LEX
,;t t
s,@LEXLIB@,
$LEXLIB
,;t t
s,@LEX_OUTPUT_ROOT@,
$LEX_OUTPUT_ROOT
,;t t
s,@XYACC@,
$XYACC
,;t t
s,@XLEX@,
$XLEX
,;t t
s,@BISON@,
$BISON
,;t t
s,@AS@,
$AS
,;t t
s,@ac_ct_AS@,
$ac_ct_AS
,;t t
s,@LD@,
$LD
,;t t
...
...
configure.ac
View file @
c068f670
...
...
@@ -63,22 +63,23 @@ AC_CACHE_CHECK([for the directory containing the Wine tools], wine_cv_toolsdir,
AC_SUBST(TOOLSDIR,$wine_cv_toolsdir)
AC_PATH_XTRA
AC_PROG_YACC
AC_PROG_LEX
dnl **** Just additional warning checks, since AC_PROG just sets '
yacc
' even
dnl **** Just additional warning checks, since AC_PROG just sets '
lex
' even
dnl **** without one present.
AC_CHECK_PROGS(XYACC,$YACC bison yacc,none)
if test "$XYACC" = "none"
then
AC_MSG_ERROR([no suitable bison/yacc found. Please install the 'bison' package.])
fi
AC_CHECK_PROGS(XLEX,$LEX flex lex,none)
if test "$XLEX" = "none"
then
AC_MSG_ERROR([no suitable lex found. Please install the 'flex' package.])
fi
dnl Check for bison
AC_CHECK_PROGS(BISON,bison,none)
if test "$BISON" = "none"
then
AC_MSG_ERROR([no suitable bison found. Please install the 'bison' package.])
fi
AC_CHECK_TOOLS(AS,[gas as],as)
AC_CHECK_TOOL(LD,ld,ld)
AC_CHECK_TOOL(AR,ar,ar)
...
...
documentation/README.de
View file @
c068f670
...
...
@@ -86,9 +86,9 @@ Vorausgesetzte Build-Tools:
Natürlich benötigen Sie auch "make" (höchstwahrscheinlich GNU make).
Des Weiteren benötigen Sie flex in der Version 2.5 oder höher und
yacc
.
Bison kann als Ersatz für yacc dienen. Wenn Sie RedHat oder Debian
benutzen, installieren Sie bitte die flex-
und bison-Pakete.
Des Weiteren benötigen Sie flex in der Version 2.5 oder höher und
bison
.
Wenn Sie RedHat oder Debian benutzen, installieren Sie bitte die flex-
und bison-Pakete.
Optionale Support-Libraries:
Wenn Sie CUPS Drucker-Unterstützung haben wollen, installieren Sie bitte
...
...
documentation/README.fr
View file @
c068f670
...
...
@@ -88,9 +88,8 @@ inconnue.
Évidemment, vous aurez besoin de "make" (très probablement GNU make).
Vous aurez également besoin de flex version 2.5 ou supérieure et yacc.
Bison fonctionnera en replacement de yacc. Si vous utilisez RedHat ou Debian,
installez les paquets flex et bison.
Vous aurez également besoin de flex version 2.5 ou supérieure et bison.
Si vous utilisez RedHat ou Debian, installez les paquets flex et bison.
Librairies optionnelles :
Si vous voulez un support d'impression à l'aide de CUPS, SVP installez à la
...
...
documentation/README.it
View file @
c068f670
...
...
@@ -86,9 +86,8 @@ dei file. Pgcc al momento non funziona con Wine. La causa di questo problema
Chiaramente è necessario anche "make" (più precisamente GNU make).
E' necessario anche flex versione 2.5 o successiva e yacc.
Bison può essere utilizzato al posto di yacc. Se stai usando una RedHat o
Debian, installa i pacchetti Flex e Bison.
E' necessario anche flex versione 2.5 o successiva e bison.
Se stai usando una RedHat o Debian, installa i pacchetti Flex e Bison.
Librerie per supporti opzionali:
...
...
documentation/README.pt
View file @
c068f670
...
...
@@ -94,9 +94,8 @@ desconhecida.
Claro que tambm precisas fazer "make" (geralmente como o GNU make).
Tu também necessitas do flex versao 2.5 ou superior e o yacc.
Bison irá trabalhar como substituição do yacc. Se estiveres a usar
RedHat ou Debian, instala os pacotes do flex e do bison.
Tu também necessitas do flex versao 2.5 ou superior e o bison.
Se estiveres a usar RedHat ou Debian, instala os pacotes do flex e do bison.
Para o processamento automático dos scripts de teste, tu também irás
precisar do libperl "development header support" (pacote libperl-dev em
...
...
documentation/README.pt_br
View file @
c068f670
...
...
@@ -82,9 +82,8 @@ problema é desconhecida.
Naturalmente que necessita do "make" (comumente o GNU make).
Tamném precisa do flex versão 2.5 ou posterior e do yacc.
O Bison funciona como um substituto do yacc. Se estiver usando
RedHat ou Debian, instale os pacotes do flex e do bison.
Tamném precisa do flex versão 2.5 ou posterior e do bison.
Se estiver usando RedHat ou Debian, instale os pacotes do flex e do bison.
Bibliotecas de suporte opcionais:
Se desejar o suporte de impressão do CUPS, por favor instale os pacotes
...
...
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