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
2a4707ab
Commit
2a4707ab
authored
Oct 11, 1998
by
Uwe Bonnes
Committed by
Alexandre Julliard
Oct 11, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't install object files when --disable-lib is selected.
parent
fd314683
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
165 additions
and
158 deletions
+165
-158
Makefile.in
Makefile.in
+4
-2
configure
configure
+158
-155
configure.in
configure.in
+3
-1
No files found.
Makefile.in
View file @
2a4707ab
...
...
@@ -117,6 +117,8 @@ EMUOBJS = \
LIB_TARGET
=
@LIB_TARGET@
ALT_LINK
=
@ALT_LINK@
all
:
$(MAIN_TARGET)
@MAKE_RULES@
...
...
@@ -130,7 +132,7 @@ emu: wine
lib
:
$(LIBSUBDIRS) $(LIB_TARGET)
wine wine.sym
:
$(LIBSUBDIRS) $(LIB_TARGET) $(EMUSUBDIRS) dummy
$(CC)
-o
wine
$(EMUOBJS)
$(LIB_TARGET)
$(LDOPTIONS)
$(X_LIBS)
$(XPM_LIB)
$(XLIB)
$(LIBS)
$(CC)
-o
wine
$(EMUOBJS)
$(LIB_TARGET)
$(
ALT_LINK)
$(
LDOPTIONS)
$(X_LIBS)
$(XPM_LIB)
$(XLIB)
$(LIBS)
nm
-n
wine |
grep
-v
_compiled
>
wine.sym
libwine.a
:
$(LIBOBJS)
...
...
@@ -151,7 +153,7 @@ uninstall_emu: uninstall_lib
install_lib
:
install_includes
[
-d
$(libdir)
]
||
$(MKDIR)
$(libdir)
$(INSTALL_DATA)
$(LIB_TARGET)
$(libdir)
if
[
$(LIB_TARGET)
]
;
then
$(INSTALL_DATA)
$(LIB_TARGET)
$(libdir)
;
fi
$(INSTALL_DATA)
wine.sym
$(libdir)
/wine.sym
uninstall_lib
:
uninstall_includes
...
...
configure
View file @
2a4707ab
...
...
@@ -561,6 +561,7 @@ test -z "$PROGEXT" && PROGEXT=""
MAIN_TARGET
=
emu
LIB_TARGET
=
libwine.a
ALT_LINK
=
" "
TRACE_MSGS
=
yes
# the TRACE() macro
DEBUG_MSGS
=
yes
# the TRACE(), WARN(), and FIXME() macros.
...
...
@@ -581,7 +582,7 @@ fi
# Check whether --enable-lib or --disable-lib was given.
if
test
"
${
enable_lib
+set
}
"
=
set
;
then
enableval
=
"
$enable_lib
"
if
test
"
$enableval
"
=
"no"
;
then
LIB_TARGET
=
"
\$
(LIBOBJS)
"
;
fi
if
test
"
$enableval
"
=
"no"
;
then
ALT_LINK
=
"
\$
(LIBOBJS)"
;
LIB_TARGET
=
"
"
;
fi
fi
...
...
@@ -611,6 +612,7 @@ fi
if
test
"
$DEBUG_MSGS
"
=
"no"
then
cat
>>
confdefs.h
<<
\
EOF
...
...
@@ -633,7 +635,7 @@ fi
echo
$ac_n
"checking whether
${
MAKE
-make
}
sets
\$
{MAKE}""...
$ac_c
"
1>&6
echo
"configure:63
7
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
echo
"configure:63
9
: checking whether
${
MAKE
-make
}
sets
\$
{MAKE}"
>
&5
set
dummy
${
MAKE
-make
}
;
ac_make
=
`
echo
"
$2
"
|
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_make_
${
ac_make
}
_set
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -662,7 +664,7 @@ fi
# Extract the first word of "gcc", so it can be a program name with args.
set
dummy gcc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:66
6
: checking for
$ac_word
"
>
&5
echo
"configure:66
8
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -691,7 +693,7 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set
dummy cc
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:69
5
: checking for
$ac_word
"
>
&5
echo
"configure:69
7
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_CC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -739,7 +741,7 @@ fi
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works""...
$ac_c
"
1>&6
echo
"configure:74
3
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
echo
"configure:74
5
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) works"
>
&5
ac_ext
=
c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
...
...
@@ -749,11 +751,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS
cross_compiling
=
$ac_cv_prog_cc_cross
cat
>
conftest.
$ac_ext
<<
EOF
#line 75
3
"configure"
#line 75
5
"configure"
#include "confdefs.h"
main(){return(0);}
EOF
if
{
(
eval echo
configure:75
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:75
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
ac_cv_prog_cc_works
=
yes
# If we can't run a trivial program, we are probably using a cross compiler.
if
(
./conftest
;
exit
)
2>/dev/null
;
then
...
...
@@ -773,12 +775,12 @@ if test $ac_cv_prog_cc_works = no; then
{
echo
"configure: error: installation or configuration problem: C compiler cannot create executables."
1>&2
;
exit
1
;
}
fi
echo
$ac_n
"checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler""...
$ac_c
"
1>&6
echo
"configure:77
7
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"configure:77
9
: checking whether the C compiler (
$CC
$CFLAGS
$LDFLAGS
) is a cross-compiler"
>
&5
echo
"
$ac_t
""
$ac_cv_prog_cc_cross
"
1>&6
cross_compiling
=
$ac_cv_prog_cc_cross
echo
$ac_n
"checking whether we are using GNU C""...
$ac_c
"
1>&6
echo
"configure:78
2
: checking whether we are using GNU C"
>
&5
echo
"configure:78
4
: checking whether we are using GNU C"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_gcc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -787,7 +789,7 @@ else
yes;
#endif
EOF
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:79
1
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep
yes
>
/dev/null 2>&1
;
then
if
{
ac_try
=
'${CC-cc} -E conftest.c'
;
{
(
eval echo
configure:79
3
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
;
}
| egrep
yes
>
/dev/null 2>&1
;
then
ac_cv_prog_gcc
=
yes
else
ac_cv_prog_gcc
=
no
...
...
@@ -802,7 +804,7 @@ if test $ac_cv_prog_gcc = yes; then
ac_save_CFLAGS
=
"
$CFLAGS
"
CFLAGS
=
echo
$ac_n
"checking whether
${
CC
-cc
}
accepts -g""...
$ac_c
"
1>&6
echo
"configure:80
6
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
echo
"configure:80
8
: checking whether
${
CC
-cc
}
accepts -g"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_cc_g
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -830,7 +832,7 @@ else
fi
echo
$ac_n
"checking how to run the C preprocessor""...
$ac_c
"
1>&6
echo
"configure:83
4
: checking how to run the C preprocessor"
>
&5
echo
"configure:83
6
: checking how to run the C preprocessor"
>
&5
# On Suns, sometimes $CPP names a directory.
if
test
-n
"
$CPP
"
&&
test
-d
"
$CPP
"
;
then
CPP
=
...
...
@@ -845,13 +847,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat
>
conftest.
$ac_ext
<<
EOF
#line 8
49
"configure"
#line 8
51
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:85
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:85
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
:
...
...
@@ -862,13 +864,13 @@ else
rm
-rf
conftest
*
CPP
=
"
${
CC
-cc
}
-E -traditional-cpp"
cat
>
conftest.
$ac_ext
<<
EOF
#line 86
6
"configure"
#line 86
8
"configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:87
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:87
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
:
...
...
@@ -895,7 +897,7 @@ echo "$ac_t""$CPP" 1>&6
# Uses ac_ vars as temps to allow command line to override cache and checks.
# --without-x overrides everything else, but does not touch the cache.
echo
$ac_n
"checking for X""...
$ac_c
"
1>&6
echo
"configure:
899
: checking for X"
>
&5
echo
"configure:
901
: checking for X"
>
&5
# Check whether --with-x or --without-x was given.
if
test
"
${
with_x
+set
}
"
=
set
;
then
...
...
@@ -957,12 +959,12 @@ if test "$ac_x_includes" = NO; then
# First, try using that file with no special directory specified.
cat
>
conftest.
$ac_ext
<<
EOF
#line 96
1
"configure"
#line 96
3
"configure"
#include "confdefs.h"
#include <
$x_direct_test_include
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:96
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:96
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -1031,14 +1033,14 @@ if test "$ac_x_libraries" = NO; then
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-l
$x_direct_test_library
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 103
5
"configure"
#line 103
7
"configure"
#include "confdefs.h"
int main() {
${
x_direct_test_function
}
()
; return 0; }
EOF
if
{
(
eval echo
configure:104
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:104
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
LIBS
=
"
$ac_save_LIBS
"
# We can link X programs with no special library path.
...
...
@@ -1144,17 +1146,17 @@ else
case
"
`
(
uname
-sr
)
2>/dev/null
`
"
in
"SunOS 5"
*
)
echo
$ac_n
"checking whether -R must be followed by a space""...
$ac_c
"
1>&6
echo
"configure:11
48
: checking whether -R must be followed by a space"
>
&5
echo
"configure:11
50
: checking whether -R must be followed by a space"
>
&5
ac_xsave_LIBS
=
"
$LIBS
"
;
LIBS
=
"
$LIBS
-R
$x_libraries
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 115
1
"configure"
#line 115
3
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:11
58
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:11
60
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
ac_R_nospace
=
yes
else
...
...
@@ -1170,14 +1172,14 @@ rm -f conftest*
else
LIBS
=
"
$ac_xsave_LIBS
-R
$x_libraries
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 117
4
"configure"
#line 117
6
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:118
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:118
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
ac_R_space
=
yes
else
...
...
@@ -1209,7 +1211,7 @@ rm -f conftest*
# libraries were built with DECnet support. And karl@cs.umb.edu says
# the Alpha needs dnet_stub (dnet does not exist).
echo
$ac_n
"checking for dnet_ntoa in -ldnet""...
$ac_c
"
1>&6
echo
"configure:121
3
: checking for dnet_ntoa in -ldnet"
>
&5
echo
"configure:121
5
: checking for dnet_ntoa in -ldnet"
>
&5
ac_lib_var
=
`
echo
dnet
'_'
dnet_ntoa |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1217,7 +1219,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldnet
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 122
1
"configure"
#line 122
3
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -1228,7 +1230,7 @@ int main() {
dnet_ntoa()
; return 0; }
EOF
if
{
(
eval echo
configure:123
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:123
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1250,7 +1252,7 @@ fi
if
test
$ac_cv_lib_dnet_dnet_ntoa
=
no
;
then
echo
$ac_n
"checking for dnet_ntoa in -ldnet_stub""...
$ac_c
"
1>&6
echo
"configure:125
4
: checking for dnet_ntoa in -ldnet_stub"
>
&5
echo
"configure:125
6
: checking for dnet_ntoa in -ldnet_stub"
>
&5
ac_lib_var
=
`
echo
dnet_stub
'_'
dnet_ntoa |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1258,7 +1260,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldnet_stub
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 126
2
"configure"
#line 126
4
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -1269,7 +1271,7 @@ int main() {
dnet_ntoa()
; return 0; }
EOF
if
{
(
eval echo
configure:127
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:127
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1298,12 +1300,12 @@ fi
# The nsl library prevents programs from opening the X display
# on Irix 5.2, according to dickey@clark.net.
echo
$ac_n
"checking for gethostbyname""...
$ac_c
"
1>&6
echo
"configure:130
2
: checking for gethostbyname"
>
&5
echo
"configure:130
4
: checking for gethostbyname"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_gethostbyname
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 130
7
"configure"
#line 130
9
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname(); below. */
...
...
@@ -1326,7 +1328,7 @@ gethostbyname();
; return 0; }
EOF
if
{
(
eval echo
configure:133
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:133
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_gethostbyname=yes"
else
...
...
@@ -1347,7 +1349,7 @@ fi
if
test
$ac_cv_func_gethostbyname
=
no
;
then
echo
$ac_n
"checking for gethostbyname in -lnsl""...
$ac_c
"
1>&6
echo
"configure:135
1
: checking for gethostbyname in -lnsl"
>
&5
echo
"configure:135
3
: checking for gethostbyname in -lnsl"
>
&5
ac_lib_var
=
`
echo
nsl
'_'
gethostbyname |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1355,7 +1357,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lnsl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 13
59
"configure"
#line 13
61
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -1366,7 +1368,7 @@ int main() {
gethostbyname()
; return 0; }
EOF
if
{
(
eval echo
configure:137
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:137
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1396,12 +1398,12 @@ fi
# -lsocket must be given before -lnsl if both are needed.
# We assume that if connect needs -lnsl, so does gethostbyname.
echo
$ac_n
"checking for connect""...
$ac_c
"
1>&6
echo
"configure:140
0
: checking for connect"
>
&5
echo
"configure:140
2
: checking for connect"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_connect
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 140
5
"configure"
#line 140
7
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char connect(); below. */
...
...
@@ -1424,7 +1426,7 @@ connect();
; return 0; }
EOF
if
{
(
eval echo
configure:14
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:14
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_connect=yes"
else
...
...
@@ -1445,7 +1447,7 @@ fi
if
test
$ac_cv_func_connect
=
no
;
then
echo
$ac_n
"checking for connect in -lsocket""...
$ac_c
"
1>&6
echo
"configure:14
49
: checking for connect in -lsocket"
>
&5
echo
"configure:14
51
: checking for connect in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
connect |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1453,7 +1455,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 145
7
"configure"
#line 145
9
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -1464,7 +1466,7 @@ int main() {
connect()
; return 0; }
EOF
if
{
(
eval echo
configure:14
68
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:14
70
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1488,12 +1490,12 @@ fi
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
echo
$ac_n
"checking for remove""...
$ac_c
"
1>&6
echo
"configure:149
2
: checking for remove"
>
&5
echo
"configure:149
4
: checking for remove"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_remove
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 149
7
"configure"
#line 149
9
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char remove(); below. */
...
...
@@ -1516,7 +1518,7 @@ remove();
; return 0; }
EOF
if
{
(
eval echo
configure:152
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:152
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_remove=yes"
else
...
...
@@ -1537,7 +1539,7 @@ fi
if
test
$ac_cv_func_remove
=
no
;
then
echo
$ac_n
"checking for remove in -lposix""...
$ac_c
"
1>&6
echo
"configure:154
1
: checking for remove in -lposix"
>
&5
echo
"configure:154
3
: checking for remove in -lposix"
>
&5
ac_lib_var
=
`
echo
posix
'_'
remove |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1545,7 +1547,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lposix
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 15
49
"configure"
#line 15
51
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -1556,7 +1558,7 @@ int main() {
remove()
; return 0; }
EOF
if
{
(
eval echo
configure:156
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:156
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1580,12 +1582,12 @@ fi
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
echo
$ac_n
"checking for shmat""...
$ac_c
"
1>&6
echo
"configure:158
4
: checking for shmat"
>
&5
echo
"configure:158
6
: checking for shmat"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_shmat
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 15
89
"configure"
#line 15
91
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char shmat(); below. */
...
...
@@ -1608,7 +1610,7 @@ shmat();
; return 0; }
EOF
if
{
(
eval echo
configure:161
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:161
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_shmat=yes"
else
...
...
@@ -1629,7 +1631,7 @@ fi
if
test
$ac_cv_func_shmat
=
no
;
then
echo
$ac_n
"checking for shmat in -lipc""...
$ac_c
"
1>&6
echo
"configure:163
3
: checking for shmat in -lipc"
>
&5
echo
"configure:163
5
: checking for shmat in -lipc"
>
&5
ac_lib_var
=
`
echo
ipc
'_'
shmat |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1637,7 +1639,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lipc
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 164
1
"configure"
#line 164
3
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -1648,7 +1650,7 @@ int main() {
shmat()
; return 0; }
EOF
if
{
(
eval echo
configure:165
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:165
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1681,7 +1683,7 @@ fi
# libraries we check for below, so use a different variable.
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
echo
$ac_n
"checking for IceConnectionNumber in -lICE""...
$ac_c
"
1>&6
echo
"configure:168
5
: checking for IceConnectionNumber in -lICE"
>
&5
echo
"configure:168
7
: checking for IceConnectionNumber in -lICE"
>
&5
ac_lib_var
=
`
echo
ICE
'_'
IceConnectionNumber |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1689,7 +1691,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lICE
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 169
3
"configure"
#line 169
5
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -1700,7 +1702,7 @@ int main() {
IceConnectionNumber()
; return 0; }
EOF
if
{
(
eval echo
configure:170
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:170
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1729,7 +1731,7 @@ 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
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:173
3
: checking for
$ac_word
"
>
&5
echo
"configure:173
5
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_YACC
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1761,7 +1763,7 @@ test -n "$YACC" || YACC="yacc"
# Extract the first word of "flex", so it can be a program name with args.
set
dummy flex
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:176
5
: checking for
$ac_word
"
>
&5
echo
"configure:176
7
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LEX
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1794,7 +1796,7 @@ then
*
)
ac_lib
=
l
;;
esac
echo
$ac_n
"checking for yywrap in -l
$ac_lib
""...
$ac_c
"
1>&6
echo
"configure:1
798
: checking for yywrap in -l
$ac_lib
"
>
&5
echo
"configure:1
800
: checking for yywrap in -l
$ac_lib
"
>
&5
ac_lib_var
=
`
echo
$ac_lib
'_'
yywrap |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1802,7 +1804,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-l
$ac_lib
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 180
6
"configure"
#line 180
8
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -1813,7 +1815,7 @@ int main() {
yywrap()
; return 0; }
EOF
if
{
(
eval echo
configure:181
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:181
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -1838,7 +1840,7 @@ fi
# Extract the first word of "ranlib", so it can be a program name with args.
set
dummy ranlib
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:184
2
: checking for
$ac_word
"
>
&5
echo
"configure:184
4
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_RANLIB
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1875,7 +1877,7 @@ fi
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo
$ac_n
"checking for a BSD compatible install""...
$ac_c
"
1>&6
echo
"configure:18
79
: checking for a BSD compatible install"
>
&5
echo
"configure:18
81
: checking for a BSD compatible install"
>
&5
if
test
-z
"
$INSTALL
"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_path_install
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1925,7 +1927,7 @@ test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
test
-z
"
$INSTALL_DATA
"
&&
INSTALL_DATA
=
'${INSTALL} -m 644'
echo
$ac_n
"checking whether ln -s works""...
$ac_c
"
1>&6
echo
"configure:19
29
: checking whether ln -s works"
>
&5
echo
"configure:19
31
: checking whether ln -s works"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_LN_S
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1948,7 +1950,7 @@ fi
# Extract the first word of "c2man", so it can be a program name with args.
set
dummy c2man
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:195
2
: checking for
$ac_word
"
>
&5
echo
"configure:195
4
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_C2MAN
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -1977,7 +1979,7 @@ fi
echo
$ac_n
"checking for i386_set_ldt in -li386""...
$ac_c
"
1>&6
echo
"configure:198
1
: checking for i386_set_ldt in -li386"
>
&5
echo
"configure:198
3
: checking for i386_set_ldt in -li386"
>
&5
ac_lib_var
=
`
echo
i386
'_'
i386_set_ldt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -1985,7 +1987,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-li386
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 19
89
"configure"
#line 19
91
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -1996,7 +1998,7 @@ int main() {
i386_set_ldt()
; return 0; }
EOF
if
{
(
eval echo
configure:200
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:200
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2024,7 +2026,7 @@ else
fi
echo
$ac_n
"checking for iswalnum in -lw""...
$ac_c
"
1>&6
echo
"configure:20
28
: checking for iswalnum in -lw"
>
&5
echo
"configure:20
30
: checking for iswalnum in -lw"
>
&5
ac_lib_var
=
`
echo
w
'_'
iswalnum |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2032,7 +2034,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lw
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 203
6
"configure"
#line 203
8
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -2043,7 +2045,7 @@ int main() {
iswalnum()
; return 0; }
EOF
if
{
(
eval echo
configure:204
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:204
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2071,7 +2073,7 @@ else
fi
echo
$ac_n
"checking for setrunelocale in -lxpg4""...
$ac_c
"
1>&6
echo
"configure:207
5
: checking for setrunelocale in -lxpg4"
>
&5
echo
"configure:207
7
: checking for setrunelocale in -lxpg4"
>
&5
ac_lib_var
=
`
echo
xpg4
'_'
setrunelocale |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2079,7 +2081,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lxpg4
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 208
3
"configure"
#line 208
5
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -2090,7 +2092,7 @@ int main() {
setrunelocale()
; return 0; }
EOF
if
{
(
eval echo
configure:209
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:209
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2118,7 +2120,7 @@ else
fi
echo
$ac_n
"checking for dlopen in -ldl""...
$ac_c
"
1>&6
echo
"configure:212
2
: checking for dlopen in -ldl"
>
&5
echo
"configure:212
4
: checking for dlopen in -ldl"
>
&5
ac_lib_var
=
`
echo
dl
'_'
dlopen |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2126,7 +2128,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-ldl
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 213
0
"configure"
#line 213
2
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -2137,7 +2139,7 @@ int main() {
dlopen()
; return 0; }
EOF
if
{
(
eval echo
configure:214
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:214
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2165,7 +2167,7 @@ else
fi
echo
$ac_n
"checking for XF86DGAQueryExtension in -lXxf86dga""...
$ac_c
"
1>&6
echo
"configure:21
69
: checking for XF86DGAQueryExtension in -lXxf86dga"
>
&5
echo
"configure:21
71
: checking for XF86DGAQueryExtension in -lXxf86dga"
>
&5
ac_lib_var
=
`
echo
Xxf86dga
'_'
XF86DGAQueryExtension |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -2173,7 +2175,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lXxf86dga
$X_LIBS
-lXext -lX11
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 217
7
"configure"
#line 217
9
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -2184,7 +2186,7 @@ int main() {
XF86DGAQueryExtension()
; return 0; }
EOF
if
{
(
eval echo
configure:21
88
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:21
90
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -2212,17 +2214,17 @@ for ac_hdr in sys/soundcard.h machine/soundcard.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:221
6
: checking for
$ac_hdr
"
>
&5
echo
"configure:221
8
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 222
1
"configure"
#line 222
3
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:222
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:222
8
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -2250,12 +2252,12 @@ done
echo
$ac_n
"checking "
for
Open Sound System
"""...
$ac_c
"
1>&6
echo
"configure:225
4
: checking "
for
Open Sound System
""
>
&5
echo
"configure:225
6
: checking "
for
Open Sound System
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_opensoundsystem
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 22
59
"configure"
#line 22
61
"configure"
#include "confdefs.h"
#ifdef HAVE_SYS_SOUNDCARD_H
...
...
@@ -2275,7 +2277,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:22
79
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:22
81
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_opensoundsystem
=
"yes"
else
...
...
@@ -2299,12 +2301,12 @@ fi
echo
$ac_n
"checking "
for
union semun
"""...
$ac_c
"
1>&6
echo
"configure:230
3
: checking "
for
union semun
""
>
&5
echo
"configure:230
5
: checking "
for
union semun
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_union_semun
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 23
08
"configure"
#line 23
10
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/sem.h>
...
...
@@ -2312,7 +2314,7 @@ int main() {
union semun foo
; return 0; }
EOF
if
{
(
eval echo
configure:231
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:231
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_union_semun
=
"yes"
else
...
...
@@ -2340,7 +2342,7 @@ if test "x${GCC}" = "xyes"
then
CFLAGS
=
"
$CFLAGS
-Wall"
echo
$ac_n
"checking "
for
gcc strength-reduce bug
"""...
$ac_c
"
1>&6
echo
"configure:234
4
: checking "
for
gcc strength-reduce bug
""
>
&5
echo
"configure:234
6
: checking "
for
gcc strength-reduce bug
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_gcc_strength_bug
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2348,7 +2350,7 @@ else
ac_cv_c_gcc_strength_bug
=
"yes"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 235
2
"configure"
#line 235
4
"configure"
#include "confdefs.h"
int main(void) {
...
...
@@ -2359,7 +2361,7 @@ int main(void) {
exit( Array[1] != -2 );
}
EOF
if
{
(
eval echo
configure:236
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:236
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_gcc_strength_bug
=
"no"
else
...
...
@@ -2382,7 +2384,7 @@ fi
echo
$ac_n
"checking "
whether external symbols need an underscore prefix
"""...
$ac_c
"
1>&6
echo
"configure:238
6
: checking "
whether external symbols need an underscore prefix
""
>
&5
echo
"configure:238
8
: checking "
whether external symbols need an underscore prefix
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_extern_prefix
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2394,14 +2396,14 @@ _ac_test:
.long 0
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 2
398
"configure"
#line 2
400
"configure"
#include "confdefs.h"
extern int ac_test;
int main() {
if (ac_test) return 1
; return 0; }
EOF
if
{
(
eval echo
configure:240
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:240
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
ac_cv_c_extern_prefix
=
"yes"
else
...
...
@@ -2425,7 +2427,7 @@ fi
echo
$ac_n
"checking "
whether assembler accepts .string
"""...
$ac_c
"
1>&6
echo
"configure:24
29
: checking "
whether assembler accepts .string
""
>
&5
echo
"configure:24
31
: checking "
whether assembler accepts .string
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_asm_string
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2435,14 +2437,14 @@ cat > conftest_asm.s <<EOF
.string "test"
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 24
39
"configure"
#line 24
41
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:244
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:244
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
ac_cv_c_asm_string
=
"yes"
else
...
...
@@ -2469,21 +2471,21 @@ DLLFLAGS=""
if
test
"
$LIB_TARGET
"
=
"libwine.so.1.0"
then
echo
$ac_n
"checking "
whether we can build a dll
"""...
$ac_c
"
1>&6
echo
"configure:247
3
: checking "
whether we can build a dll
""
>
&5
echo
"configure:247
5
: checking "
whether we can build a dll
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_dll
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
saved_cflags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-fPIC -shared -Wl,-soname,conftest.so.1.0"
cat
>
conftest.
$ac_ext
<<
EOF
#line 248
0
"configure"
#line 248
2
"configure"
#include "confdefs.h"
int main() {
return 1
; return 0; }
EOF
if
{
(
eval echo
configure:248
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:248
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
ac_cv_c_dll
=
"yes"
else
...
...
@@ -2509,7 +2511,7 @@ fi
echo
$ac_n
"checking "
for
reentrant libc
"""...
$ac_c
"
1>&6
echo
"configure:251
3
: checking "
for
reentrant libc
""
>
&5
echo
"configure:251
5
: checking "
for
reentrant libc
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_reentrant
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2517,14 +2519,14 @@ else
wine_cv_libc_reentrant
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 252
1
"configure"
#line 252
3
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf[256];
int *__errno_location(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
if
{
(
eval echo
configure:25
28
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:25
30
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_reentrant
=
yes
else
...
...
@@ -2549,7 +2551,7 @@ fi
echo
$ac_n
"checking "
for
reentrant X libraries
"""...
$ac_c
"
1>&6
echo
"configure:255
3
: checking "
for
reentrant X libraries
""
>
&5
echo
"configure:255
5
: checking "
for
reentrant X libraries
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_x_reentrant
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2594,12 +2596,12 @@ fi
for
ac_func
in
clone getpagesize memmove sendmsg sigaltstack strerror stricmp tcgetattr timegm usleep wait4 waitpid vfscanf
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:2
598
: checking for
$ac_func
"
>
&5
echo
"configure:2
600
: checking for
$ac_func
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_
$ac_func
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 260
3
"configure"
#line 260
5
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -2622,7 +2624,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:262
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:262
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -2650,17 +2652,17 @@ for ac_hdr in wctype.h sys/syscall.h syscall.h sys/param.h sys/vfs.h sys/mount.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:265
4
: checking for
$ac_hdr
"
>
&5
echo
"configure:265
6
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 26
59
"configure"
#line 26
61
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:266
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:266
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -2687,12 +2689,12 @@ fi
done
echo
$ac_n
"checking whether stat file-mode macros are broken""...
$ac_c
"
1>&6
echo
"configure:269
1
: checking whether stat file-mode macros are broken"
>
&5
echo
"configure:269
3
: checking whether stat file-mode macros are broken"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stat_broken
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 269
6
"configure"
#line 269
8
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
...
...
@@ -2743,12 +2745,12 @@ EOF
fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:274
7
: checking for working const"
>
&5
echo
"configure:274
9
: checking for working const"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 275
2
"configure"
#line 275
4
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -2797,7 +2799,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:280
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:280
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -2818,12 +2820,12 @@ EOF
fi
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:282
2
: checking for ANSI C header files"
>
&5
echo
"configure:282
4
: checking for ANSI C header files"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stdc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 282
7
"configure"
#line 282
9
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -2831,7 +2833,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:283
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:283
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -2848,7 +2850,7 @@ rm -f conftest*
if
test
$ac_cv_header_stdc
=
yes
;
then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
#line 285
2
"configure"
#line 285
4
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -2866,7 +2868,7 @@ 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
<<
EOF
#line 287
0
"configure"
#line 287
2
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -2887,7 +2889,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 289
1
"configure"
#line 289
3
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -2898,7 +2900,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:290
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:290
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -2922,12 +2924,12 @@ EOF
fi
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:292
6
: checking for size_t"
>
&5
echo
"configure:292
8
: checking for size_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_size_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 293
1
"configure"
#line 293
3
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -2955,7 +2957,7 @@ EOF
fi
echo
$ac_n
"checking size of long long""...
$ac_c
"
1>&6
echo
"configure:29
59
: checking size of long long"
>
&5
echo
"configure:29
61
: checking size of long long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_long_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -2963,7 +2965,7 @@ else
ac_cv_sizeof_long_long
=
0
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 296
7
"configure"
#line 296
9
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -2974,7 +2976,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:29
78
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:29
80
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_long_long
=
`
cat
conftestval
`
else
...
...
@@ -2997,7 +2999,7 @@ EOF
if
test
$ac_cv_func_sendmsg
=
no
;
then
echo
$ac_n
"checking for sendmsg in -lsocket""...
$ac_c
"
1>&6
echo
"configure:300
1
: checking for sendmsg in -lsocket"
>
&5
echo
"configure:300
3
: checking for sendmsg in -lsocket"
>
&5
ac_lib_var
=
`
echo
socket
'_'
sendmsg |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3005,7 +3007,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lsocket
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
09
"configure"
#line 30
11
"configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
...
...
@@ -3016,7 +3018,7 @@ int main() {
sendmsg()
; return 0; }
EOF
if
{
(
eval echo
configure:302
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
if
{
(
eval echo
configure:302
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3049,12 +3051,12 @@ fi
if
test
"
$ac_cv_header_sys_vfs_h
"
=
"yes"
then
echo
$ac_n
"checking "
whether sys/vfs.h defines statfs
"""...
$ac_c
"
1>&6
echo
"configure:305
3
: checking "
whether sys/vfs.h defines statfs
""
>
&5
echo
"configure:305
5
: checking "
whether sys/vfs.h defines statfs
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_vfs_has_statfs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 30
58
"configure"
#line 30
60
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -3071,7 +3073,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:307
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:307
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_vfs_has_statfs
=
yes
else
...
...
@@ -3098,12 +3100,12 @@ fi
if
test
"
$ac_cv_header_sys_statfs_h
"
=
"yes"
then
echo
$ac_n
"checking "
whether sys/statfs.h defines statfs
"""...
$ac_c
"
1>&6
echo
"configure:310
2
: checking "
whether sys/statfs.h defines statfs
""
>
&5
echo
"configure:310
4
: checking "
whether sys/statfs.h defines statfs
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_statfs_has_statfs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 310
7
"configure"
#line 310
9
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -3118,7 +3120,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:312
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:312
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_statfs_has_statfs
=
yes
else
...
...
@@ -3145,12 +3147,12 @@ fi
if
test
"
$ac_cv_header_sys_mount_h
"
=
"yes"
then
echo
$ac_n
"checking "
whether sys/mount.h defines statfs
"""...
$ac_c
"
1>&6
echo
"configure:31
49
: checking "
whether sys/mount.h defines statfs
""
>
&5
echo
"configure:31
51
: checking "
whether sys/mount.h defines statfs
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_mount_has_statfs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 315
4
"configure"
#line 315
6
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -3165,7 +3167,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:31
69
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:31
71
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_mount_has_statfs
=
yes
else
...
...
@@ -3191,7 +3193,7 @@ fi
echo
$ac_n
"checking "
for
statfs.f_bfree
"""...
$ac_c
"
1>&6
echo
"configure:319
5
: checking "
for
statfs.f_bfree
""
>
&5
echo
"configure:319
7
: checking "
for
statfs.f_bfree
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_statfs_bfree
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3200,7 +3202,7 @@ else
wine_cv_statfs_bfree
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 320
4
"configure"
#line 320
6
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -3227,7 +3229,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:323
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:323
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_statfs_bfree
=
yes
else
...
...
@@ -3251,7 +3253,7 @@ EOF
fi
echo
$ac_n
"checking "
for
statfs.f_bavail
"""...
$ac_c
"
1>&6
echo
"configure:325
5
: checking "
for
statfs.f_bavail
""
>
&5
echo
"configure:325
7
: checking "
for
statfs.f_bavail
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_statfs_bavail
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3260,7 +3262,7 @@ else
wine_cv_statfs_bavail
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 326
4
"configure"
#line 326
6
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -3287,7 +3289,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:329
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:329
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_statfs_bavail
=
yes
else
...
...
@@ -3312,7 +3314,7 @@ fi
echo
$ac_n
"checking "
for
working sigaltstack
"""...
$ac_c
"
1>&6
echo
"configure:331
6
: checking "
for
working sigaltstack
""
>
&5
echo
"configure:331
8
: checking "
for
working sigaltstack
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_working_sigaltstack
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -3321,7 +3323,7 @@ else
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 332
5
"configure"
#line 332
7
"configure"
#include "confdefs.h"
#include <stdio.h>
...
...
@@ -3359,7 +3361,7 @@ else
}
EOF
if
{
(
eval echo
configure:336
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:336
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_working_sigaltstack
=
"yes"
else
...
...
@@ -3386,12 +3388,12 @@ fi
echo
$ac_n
"checking "
for
msg_accrights
in
struct msghdr
"""...
$ac_c
"
1>&6
echo
"configure:339
0
: checking "
for
msg_accrights
in
struct msghdr
""
>
&5
echo
"configure:339
2
: checking "
for
msg_accrights
in
struct msghdr
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_msg_accrights
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 339
5
"configure"
#line 339
7
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -3399,7 +3401,7 @@ int main() {
struct msghdr hdr; hdr.msg_accrights=0
; return 0; }
EOF
if
{
(
eval echo
configure:340
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:340
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_msg_accrights
=
"yes"
else
...
...
@@ -3608,6 +3610,7 @@ s%@mandir@%$mandir%g
s%@PROGEXT@%
$PROGEXT
%g
s%@MAIN_TARGET@%
$MAIN_TARGET
%g
s%@LIB_TARGET@%
$LIB_TARGET
%g
s%@ALT_LINK@%
$ALT_LINK
%g
s%@OPTIONS@%
$OPTIONS
%g
s%@SET_MAKE@%
$SET_MAKE
%g
s%@CC@%
$CC
%g
...
...
configure.in
View file @
2a4707ab
...
...
@@ -15,6 +15,7 @@ dnl **** Command-line arguments ****
dnl Default values
MAIN_TARGET=emu
LIB_TARGET=libwine.a
ALT_LINK=" "
TRACE_MSGS=yes # the TRACE() macro
DEBUG_MSGS=yes # the TRACE(), WARN(), and FIXME() macros.
...
...
@@ -28,7 +29,7 @@ AC_ARG_ENABLE(dll,
AC_ARG_ENABLE(lib,
[ --disable-lib build the Wine without building libwine.a],
[if test "$enableval" = "no"; then
LIB_TARGET="\$(LIBOBJS)
"; fi])
[if test "$enableval" = "no"; then
ALT_LINK="\$(LIBOBJS)"; LIB_TARGET="
"; fi])
dnl AC_ARG_WITH(ipc,
dnl [ --enable-ipc use inter-process communication for DDE],
...
...
@@ -47,6 +48,7 @@ AC_ARG_WITH(reentrant-x,
AC_SUBST(MAIN_TARGET)
AC_SUBST(LIB_TARGET)
AC_SUBST(ALT_LINK)
AC_SUBST(OPTIONS)
if test "$DEBUG_MSGS" = "no"
...
...
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