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
b508a1da
Commit
b508a1da
authored
Jan 21, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Authors: Andrew Lewycky <andrew@transgaming.com>, Ove Kaaven <ovek@transgaming.com>
Check for common broken nVidia+Mesa OpenGL library setups. Add some quoting.
parent
54697dd3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
201 additions
and
191 deletions
+201
-191
configure
configure
+192
-187
configure.in
configure.in
+9
-4
No files found.
configure
View file @
b508a1da
...
...
@@ -3819,21 +3819,27 @@ done
if
test
$OPENGL
=
"yes"
-o
$OPENGL
=
"normal"
then
if
test
-e
/usr/X11R6/lib/libGL.a
-a
!
-e
/usr/X11R6/lib/libGL.so
then
{
echo
"configure: error: /usr/X11R6/lib/libGL.a is present on your system.
This prevents linking to OpenGL. Delete the file and restart configure."
1>&2
;
exit
1
;
}
fi
for
ac_hdr
in
GL/gl.h GL/glx.h GL/glext.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:38
27
: checking for
$ac_hdr
"
>
&5
echo
"configure:38
33
: 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 383
2
"configure"
#line 383
8
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:38
37
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:38
43
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -3862,19 +3868,19 @@ done
if
test
"
$ac_cv_header_GL_gl_h
"
=
"yes"
-a
"
$ac_cv_header_GL_glx_h
"
=
"yes"
then
echo
$ac_n
"checking for up-to-date OpenGL version""...
$ac_c
"
1>&6
echo
"configure:38
66
: checking for up-to-date OpenGL version"
>
&5
echo
"configure:38
72
: checking for up-to-date OpenGL version"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_opengl_version_OK
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 387
1
"configure"
#line 387
7
"configure"
#include "confdefs.h"
#include <GL/gl.h>
int main() {
GLenum test = GL_UNSIGNED_SHORT_5_6_5;
; return 0; }
EOF
if
{
(
eval echo
configure:38
78
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:38
84
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_opengl_version_OK
=
"yes"
else
...
...
@@ -3891,21 +3897,21 @@ fi
echo
"
$ac_t
""
$wine_cv_opengl_version_OK
"
1>&6
echo
$ac_n
"checking for thread-safe OpenGL version""...
$ac_c
"
1>&6
echo
"configure:3
895
: checking for thread-safe OpenGL version"
>
&5
echo
"configure:3
901
: checking for thread-safe OpenGL version"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_opengl_version_threadsafe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
saved_libs
=
$LIBS
LIBS
=
"
$X_LIBS
-lGL"
cat
>
conftest.
$ac_ext
<<
EOF
#line 390
2
"configure"
#line 390
8
"configure"
#include "confdefs.h"
int main() {
pthread_getspecific();
; return 0; }
EOF
if
{
(
eval echo
configure:39
09
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:39
15
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
wine_cv_opengl_version_threadsafe
=
"yes"
else
...
...
@@ -3924,7 +3930,7 @@ echo "$ac_t""$wine_cv_opengl_version_threadsafe" 1>&6
if
test
"
$wine_cv_opengl_version_OK
"
=
"yes"
-a
\(
"
$wine_cv_opengl_version_threadsafe
"
=
"no"
-o
$OPENGL
=
"yes"
\)
then
echo
$ac_n
"checking for glXCreateContext in -lGL""...
$ac_c
"
1>&6
echo
"configure:39
28
: checking for glXCreateContext in -lGL"
>
&5
echo
"configure:39
34
: checking for glXCreateContext in -lGL"
>
&5
ac_lib_var
=
`
echo
GL
'_'
glXCreateContext |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3932,7 +3938,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lGL
$X_LIBS
-lXext -lX11 -lm
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
36
"configure"
#line 39
42
"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
...
...
@@ -3943,7 +3949,7 @@ int main() {
glXCreateContext()
; return 0; }
EOF
if
{
(
eval echo
configure:39
47
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:39
53
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -3965,9 +3971,8 @@ else
fi
if
test
$ac_cv_lib_GL_glXCreateContext
=
"yes"
if
test
"
$ac_cv_lib_GL_glXCreateContext
"
=
"yes"
then
OPENGLFILES
=
'$(OPENGLFILES)'
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_OPENGL 1
...
...
@@ -3975,7 +3980,7 @@ EOF
echo
$ac_n
"checking for glXGetProcAddressARB in -lGL""...
$ac_c
"
1>&6
echo
"configure:39
79
: checking for glXGetProcAddressARB in -lGL"
>
&5
echo
"configure:39
84
: checking for glXGetProcAddressARB in -lGL"
>
&5
ac_lib_var
=
`
echo
GL
'_'
glXGetProcAddressARB |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -3983,7 +3988,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lGL
$X_LIBS
-lXext -lX11 -lm
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 39
87
"configure"
#line 39
92
"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
...
...
@@ -3994,7 +3999,7 @@ int main() {
glXGetProcAddressARB()
; return 0; }
EOF
if
{
(
eval echo
configure:
3998
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:
4003
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4018,15 +4023,15 @@ else
fi
if
test
$ac_cv_lib_GL_glXGetProcAddressARB
=
"yes"
if
test
"
$ac_cv_lib_GL_glXGetProcAddressARB
"
=
"yes"
then
echo
$ac_n
"checking for OpenGL extension functions prototypes""...
$ac_c
"
1>&6
echo
"configure:40
25
: checking for OpenGL extension functions prototypes"
>
&5
echo
"configure:40
30
: checking for OpenGL extension functions prototypes"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_extension_prototypes
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 403
0
"configure"
#line 403
5
"configure"
#include "confdefs.h"
#include <GL/gl.h>
#ifdef HAVE_GL_GLEXT_H
...
...
@@ -4037,7 +4042,7 @@ int main() {
PFNGLCOLORTABLEEXTPROC test_proc;
; return 0; }
EOF
if
{
(
eval echo
configure:404
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:404
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_extension_prototypes
=
"yes"
else
...
...
@@ -4052,7 +4057,7 @@ rm -f conftest*
fi
echo
"
$ac_t
""
$wine_cv_extension_prototypes
"
1>&6
if
test
$wine_cv_extension_prototypes
=
"yes"
if
test
"
$wine_cv_extension_prototypes
"
=
"yes"
then
cat
>>
confdefs.h
<<
\
EOF
#define HAVE_GLEXT_PROTOTYPES 1
...
...
@@ -4063,7 +4068,7 @@ EOF
fi
echo
$ac_n
"checking for gluLookAt in -lGLU""...
$ac_c
"
1>&6
echo
"configure:40
67
: checking for gluLookAt in -lGLU"
>
&5
echo
"configure:40
72
: checking for gluLookAt in -lGLU"
>
&5
ac_lib_var
=
`
echo
GLU
'_'
gluLookAt |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4072,7 +4077,7 @@ else
LIBS
=
"-lGLU
$X_LIBS
$X_PRE_LIBS
-lXext -lX11 -lm
$X_EXTRA_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 40
76
"configure"
#line 40
81
"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
...
...
@@ -4083,7 +4088,7 @@ int main() {
gluLookAt()
; return 0; }
EOF
if
{
(
eval echo
configure:40
87
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:40
92
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4124,17 +4129,17 @@ then
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:41
28
: checking for
$ac_hdr
"
>
&5
echo
"configure:41
33
: 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 413
3
"configure"
#line 413
8
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:41
38
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:41
43
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4155,7 +4160,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for waddch in -lncurses""...
$ac_c
"
1>&6
echo
"configure:41
59
: checking for waddch in -lncurses"
>
&5
echo
"configure:41
64
: checking for waddch in -lncurses"
>
&5
ac_lib_var
=
`
echo
ncurses
'_'
waddch |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4163,7 +4168,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lncurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 41
67
"configure"
#line 41
72
"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
...
...
@@ -4174,7 +4179,7 @@ int main() {
waddch()
; return 0; }
EOF
if
{
(
eval echo
configure:41
78
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:41
83
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4200,17 +4205,17 @@ for ac_hdr in curses.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:420
4
: checking for
$ac_hdr
"
>
&5
echo
"configure:420
9
: 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 42
09
"configure"
#line 42
14
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:421
4
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:421
9
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4231,7 +4236,7 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
#define
$ac_tr_hdr
1
EOF
echo
$ac_n
"checking for waddch in -lcurses""...
$ac_c
"
1>&6
echo
"configure:42
35
: checking for waddch in -lcurses"
>
&5
echo
"configure:42
40
: checking for waddch in -lcurses"
>
&5
ac_lib_var
=
`
echo
curses
'_'
waddch |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4239,7 +4244,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcurses
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 424
3
"configure"
#line 424
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
...
...
@@ -4250,7 +4255,7 @@ int main() {
waddch()
; return 0; }
EOF
if
{
(
eval echo
configure:425
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:425
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4291,12 +4296,12 @@ done
for
ac_func
in
getbkgd resizeterm
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:4
295
: checking for
$ac_func
"
>
&5
echo
"configure:4
300
: 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 430
0
"configure"
#line 430
5
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -4319,7 +4324,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:432
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:432
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -4350,7 +4355,7 @@ fi
CUPSLIBS
=
""
wine_cv_warn_cups_h
=
no
echo
$ac_n
"checking for cupsGetPPD in -lcups""...
$ac_c
"
1>&6
echo
"configure:435
4
: checking for cupsGetPPD in -lcups"
>
&5
echo
"configure:435
9
: checking for cupsGetPPD in -lcups"
>
&5
ac_lib_var
=
`
echo
cups
'_'
cupsGetPPD |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4358,7 +4363,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lcups
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 436
2
"configure"
#line 436
7
"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
...
...
@@ -4369,7 +4374,7 @@ int main() {
cupsGetPPD()
; return 0; }
EOF
if
{
(
eval echo
configure:437
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:437
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4386,17 +4391,17 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo
"
$ac_t
""yes"
1>&6
ac_safe
=
`
echo
"cups/cups.h"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for cups/cups.h""...
$ac_c
"
1>&6
echo
"configure:439
0
: checking for cups/cups.h"
>
&5
echo
"configure:439
5
: checking for cups/cups.h"
>
&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 4
395
"configure"
#line 4
400
"configure"
#include "confdefs.h"
#include <cups/cups.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:440
0
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:440
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4430,7 +4435,7 @@ fi
echo
$ac_n
"checking for FT_Init_FreeType in -lfreetype""...
$ac_c
"
1>&6
echo
"configure:443
4
: checking for FT_Init_FreeType in -lfreetype"
>
&5
echo
"configure:443
9
: checking for FT_Init_FreeType in -lfreetype"
>
&5
ac_lib_var
=
`
echo
freetype
'_'
FT_Init_FreeType |
sed
'y%./+-%__p_%'
`
if
eval
"test
\"
`
echo
'$''{'
ac_cv_lib_
$ac_lib_var
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
...
...
@@ -4438,7 +4443,7 @@ else
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"-lfreetype
$X_LIBS
$LIBS
"
cat
>
conftest.
$ac_ext
<<
EOF
#line 444
2
"configure"
#line 444
7
"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
...
...
@@ -4449,7 +4454,7 @@ int main() {
FT_Init_FreeType()
; return 0; }
EOF
if
{
(
eval echo
configure:445
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:445
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_lib_
$ac_lib_var
=yes"
else
...
...
@@ -4479,7 +4484,7 @@ else
# Extract the first word of "freetype-config", so it can be a program name with args.
set
dummy freetype-config
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:448
3
: checking for
$ac_word
"
>
&5
echo
"configure:448
8
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ft_devel
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4511,7 +4516,7 @@ fi
# Extract the first word of "freetype2-config", so it can be a program name with args.
set
dummy freetype2-config
;
ac_word
=
$2
echo
$ac_n
"checking for
$ac_word
""...
$ac_c
"
1>&6
echo
"configure:45
15
: checking for
$ac_word
"
>
&5
echo
"configure:45
20
: checking for
$ac_word
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_prog_ft_devel2
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4568,17 +4573,17 @@ EOF
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:457
2
: checking for
$ac_hdr
"
>
&5
echo
"configure:457
7
: 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 45
77
"configure"
#line 45
82
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:458
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:458
7
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4612,19 +4617,19 @@ fi
echo
$ac_n
"checking for parport header/ppdev.h""...
$ac_c
"
1>&6
echo
"configure:46
16
: checking for parport header/ppdev.h"
>
&5
echo
"configure:46
21
: checking for parport header/ppdev.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_ppdev
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 462
1
"configure"
#line 462
6
"configure"
#include "confdefs.h"
#include <linux/ppdev.h>
int main() {
ioctl (1,PPCLAIM,0)
; return 0; }
EOF
if
{
(
eval echo
configure:46
28
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:46
33
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_ppdev
=
"yes"
else
...
...
@@ -4647,12 +4652,12 @@ EOF
fi
echo
$ac_n
"checking for GNU style IPX support""...
$ac_c
"
1>&6
echo
"configure:465
1
: checking for GNU style IPX support"
>
&5
echo
"configure:465
6
: checking for GNU style IPX support"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_ipx_gnu
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
56
"configure"
#line 46
61
"configure"
#include "confdefs.h"
#include <sys/socket.h>
#include <netipx/ipx.h>
...
...
@@ -4660,7 +4665,7 @@ int main() {
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
; return 0; }
EOF
if
{
(
eval echo
configure:466
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:466
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_ipx_gnu
=
"yes"
else
...
...
@@ -4685,12 +4690,12 @@ fi
if
test
"
$ac_cv_c_ipx_gnu
"
=
"no"
then
echo
$ac_n
"checking for linux style IPX support""...
$ac_c
"
1>&6
echo
"configure:46
89
: checking for linux style IPX support"
>
&5
echo
"configure:46
94
: checking for linux style IPX support"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_ipx_linux
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 469
4
"configure"
#line 469
9
"configure"
#include "confdefs.h"
#include <sys/socket.h>
#include <asm/types.h>
...
...
@@ -4699,7 +4704,7 @@ int main() {
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
; return 0; }
EOF
if
{
(
eval echo
configure:470
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:470
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_ipx_linux
=
"yes"
else
...
...
@@ -4726,17 +4731,17 @@ for ac_hdr in sys/soundcard.h machine/soundcard.h soundcard.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:473
0
: checking for
$ac_hdr
"
>
&5
echo
"configure:473
5
: 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 47
35
"configure"
#line 47
40
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:474
0
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:474
5
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4764,12 +4769,12 @@ done
echo
$ac_n
"checking for Open Sound System""...
$ac_c
"
1>&6
echo
"configure:47
68
: checking for Open Sound System"
>
&5
echo
"configure:47
73
: 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 477
3
"configure"
#line 477
8
"configure"
#include "confdefs.h"
#if defined(HAVE_SYS_SOUNDCARD_H)
...
...
@@ -4790,7 +4795,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:479
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:479
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_opensoundsystem
=
"yes"
else
...
...
@@ -4813,12 +4818,12 @@ EOF
fi
echo
$ac_n
"checking for Open Sound System/MIDI interface""...
$ac_c
"
1>&6
echo
"configure:48
17
: checking for Open Sound System/MIDI interface"
>
&5
echo
"configure:48
22
: checking for Open Sound System/MIDI interface"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_opensoundsystem_midi
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 482
2
"configure"
#line 482
7
"configure"
#include "confdefs.h"
#if defined(HAVE_SYS_SOUNDCARD_H)
...
...
@@ -4839,7 +4844,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:484
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:484
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_opensoundsystem_midi
=
"yes"
else
...
...
@@ -4865,7 +4870,7 @@ if test "$ac_cv_prog_LN_S" = "ln -s"; then : ; else LN_S=cp ; fi
echo
$ac_n
"checking whether mmap64 works defined as mmap""...
$ac_c
"
1>&6
echo
"configure:48
69
: checking whether mmap64 works defined as mmap"
>
&5
echo
"configure:48
74
: checking whether mmap64 works defined as mmap"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_mmap64_works
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -4873,7 +4878,7 @@ else
ac_cv_mmap64_works
=
"no"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
77
"configure"
#line 48
82
"configure"
#include "confdefs.h"
#define _FILE_OFFSET_BITS 64
...
...
@@ -4903,7 +4908,7 @@ else
EOF
if
{
(
eval echo
configure:49
07
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:49
12
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_mmap64_works
=
"yes"
else
...
...
@@ -4932,7 +4937,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:49
36
: checking for gcc strength-reduce bug"
>
&5
echo
"configure:49
41
: 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
...
...
@@ -4940,7 +4945,7 @@ else
ac_cv_c_gcc_strength_bug
=
"yes"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 494
4
"configure"
#line 494
9
"configure"
#include "confdefs.h"
int L[4] = {0,1,2,3};
...
...
@@ -4955,7 +4960,7 @@ int main(void) {
exit( Array[1] != -2 || L[2] != 3);
}
EOF
if
{
(
eval echo
configure:49
59
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:49
64
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_gcc_strength_bug
=
"no"
else
...
...
@@ -4976,21 +4981,21 @@ echo "$ac_t""$ac_cv_c_gcc_strength_bug" 1>&6
fi
echo
$ac_n
"checking for gcc -mpreferred-stack-boundary=2 support""...
$ac_c
"
1>&6
echo
"configure:498
0
: checking for gcc -mpreferred-stack-boundary=2 support"
>
&5
echo
"configure:498
5
: checking for gcc -mpreferred-stack-boundary=2 support"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_gcc_stack_boundary
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
saved_cflags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-mpreferred-stack-boundary=2"
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
87
"configure"
#line 49
92
"configure"
#include "confdefs.h"
int main() {
return 0
; return 0; }
EOF
if
{
(
eval echo
configure:499
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:499
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_gcc_stack_boundary
=
"yes"
else
...
...
@@ -5013,7 +5018,7 @@ fi
echo
$ac_n
"checking whether .type must sit inside a .def directive""...
$ac_c
"
1>&6
echo
"configure:50
17
: checking whether .type must sit inside a .def directive"
>
&5
echo
"configure:50
22
: checking whether .type must sit inside a .def directive"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_type_in_def
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5026,14 +5031,14 @@ _ac_test:
.long 0
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 503
0
"configure"
#line 503
5
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:50
37
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:50
42
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_type_in_def
=
"yes"
else
...
...
@@ -5057,7 +5062,7 @@ fi
echo
$ac_n
"checking whether external symbols need an underscore prefix""...
$ac_c
"
1>&6
echo
"configure:506
1
: checking whether external symbols need an underscore prefix"
>
&5
echo
"configure:506
6
: 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
...
...
@@ -5069,14 +5074,14 @@ _ac_test:
.long 0
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 507
3
"configure"
#line 507
8
"configure"
#include "confdefs.h"
extern int ac_test;
int main() {
if (ac_test) return 1
; return 0; }
EOF
if
{
(
eval echo
configure:508
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:508
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_extern_prefix
=
"yes"
else
...
...
@@ -5100,7 +5105,7 @@ fi
echo
$ac_n
"checking whether assembler accepts .string""...
$ac_c
"
1>&6
echo
"configure:510
4
: checking whether assembler accepts .string"
>
&5
echo
"configure:510
9
: 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
...
...
@@ -5110,14 +5115,14 @@ cat > conftest_asm.s <<EOF
.string "test"
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 511
4
"configure"
#line 511
9
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:512
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:512
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_asm_string
=
"yes"
else
...
...
@@ -5145,21 +5150,21 @@ LDDLLFLAGS=""
if
test
"
$LIBEXT
"
=
"so"
then
echo
$ac_n
"checking whether we can build a GNU style ELF dll""...
$ac_c
"
1>&6
echo
"configure:51
49
: checking whether we can build a GNU style ELF dll"
>
&5
echo
"configure:51
54
: checking whether we can build a GNU style ELF dll"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_dll_gnuelf
'+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,-Bsymbolic"
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
56
"configure"
#line 51
61
"configure"
#include "confdefs.h"
int main() {
return 1
; return 0; }
EOF
if
{
(
eval echo
configure:516
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:516
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_dll_gnuelf
=
"yes"
else
...
...
@@ -5180,21 +5185,21 @@ echo "$ac_t""$ac_cv_c_dll_gnuelf" 1>&6
LDDLLFLAGS
=
"-Wl,-Bsymbolic"
else
echo
$ac_n
"checking whether we can build a UnixWare (Solaris) dll""...
$ac_c
"
1>&6
echo
"configure:518
4
: checking whether we can build a UnixWare (Solaris) dll"
>
&5
echo
"configure:518
9
: checking whether we can build a UnixWare (Solaris) dll"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_dll_unixware
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
saved_cflags
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
cat
>
conftest.
$ac_ext
<<
EOF
#line 519
1
"configure"
#line 519
6
"configure"
#include "confdefs.h"
int main() {
return 1
; return 0; }
EOF
if
{
(
eval echo
configure:5
198
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:5
203
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_c_dll_unixware
=
"yes"
else
...
...
@@ -5258,7 +5263,7 @@ fi
wine_cv_libc_reentrant
=
no
echo
$ac_n
"checking for reentrant libc: __errno_location""...
$ac_c
"
1>&6
echo
"configure:526
2
: checking for reentrant libc: __errno_location"
>
&5
echo
"configure:526
7
: checking for reentrant libc: __errno_location"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r___errno_location
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5266,14 +5271,14 @@ else
wine_cv_libc_r___errno_location
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 527
0
"configure"
#line 527
5
"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:52
77
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:52
82
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r___errno_location
=
yes
else
...
...
@@ -5296,7 +5301,7 @@ fi
echo
$ac_n
"checking for reentrant libc: __error""...
$ac_c
"
1>&6
echo
"configure:530
0
: checking for reentrant libc: __error"
>
&5
echo
"configure:530
5
: checking for reentrant libc: __error"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r___error
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5304,14 +5309,14 @@ else
wine_cv_libc_r___error
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
08
"configure"
#line 53
13
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf[256];
int *__error(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
if
{
(
eval echo
configure:53
15
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:53
20
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r___error
=
yes
else
...
...
@@ -5334,7 +5339,7 @@ fi
echo
$ac_n
"checking for reentrant libc: ___errno""...
$ac_c
"
1>&6
echo
"configure:53
38
: checking for reentrant libc: ___errno"
>
&5
echo
"configure:53
43
: checking for reentrant libc: ___errno"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r____errno
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5342,14 +5347,14 @@ else
wine_cv_libc_r____errno
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
46
"configure"
#line 53
51
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf[256];
int *___errno(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
if
{
(
eval echo
configure:535
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:535
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r____errno
=
yes
else
...
...
@@ -5372,7 +5377,7 @@ fi
echo
$ac_n
"checking for reentrant libc: __thr_errno""...
$ac_c
"
1>&6
echo
"configure:53
76
: checking for reentrant libc: __thr_errno"
>
&5
echo
"configure:53
81
: checking for reentrant libc: __thr_errno"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r___thr_errno
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5380,14 +5385,14 @@ else
wine_cv_libc_r___thr_errno
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 538
4
"configure"
#line 538
9
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf[256];
int *__thr_errno(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
if
{
(
eval echo
configure:539
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:539
6
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r___thr_errno
=
yes
else
...
...
@@ -5410,7 +5415,7 @@ fi
echo
$ac_n
"checking for reentrant libc: __errno""...
$ac_c
"
1>&6
echo
"configure:541
4
: checking for reentrant libc: __errno"
>
&5
echo
"configure:541
9
: checking for reentrant libc: __errno"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_libc_r___errno
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5418,14 +5423,14 @@ else
wine_cv_libc_r___errno
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 542
2
"configure"
#line 542
7
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf[256];
int *__errno(){return &myerrno;}
main(){connect(0,buf,255); exit(!myerrno);}
EOF
if
{
(
eval echo
configure:54
29
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:54
34
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
wine_cv_libc_r___errno
=
yes
else
...
...
@@ -5459,7 +5464,7 @@ fi
if
test
"
$have_x
"
=
"yes"
-a
"
$wine_cv_libc_reentrant
"
!=
"no"
then
echo
$ac_n
"checking for reentrant X libraries""...
$ac_c
"
1>&6
echo
"configure:546
3
: checking for reentrant X libraries"
>
&5
echo
"configure:546
8
: 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
...
...
@@ -5508,19 +5513,19 @@ fi
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
# for constant arguments. Useless!
echo
$ac_n
"checking for working alloca.h""...
$ac_c
"
1>&6
echo
"configure:551
2
: checking for working alloca.h"
>
&5
echo
"configure:551
7
: checking for working alloca.h"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_alloca_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 55
17
"configure"
#line 55
22
"configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
if
{
(
eval echo
configure:552
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:552
9
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_header_alloca_h
=
yes
else
...
...
@@ -5541,12 +5546,12 @@ EOF
fi
echo
$ac_n
"checking for alloca""...
$ac_c
"
1>&6
echo
"configure:55
45
: checking for alloca"
>
&5
echo
"configure:55
50
: checking for alloca"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_func_alloca_works
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 555
0
"configure"
#line 555
5
"configure"
#include "confdefs.h"
#ifdef __GNUC__
...
...
@@ -5574,7 +5579,7 @@ int main() {
char *p = (char *) alloca(1);
; return 0; }
EOF
if
{
(
eval echo
configure:55
78
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:55
83
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
ac_cv_func_alloca_works
=
yes
else
...
...
@@ -5606,12 +5611,12 @@ EOF
echo
$ac_n
"checking whether alloca needs Cray hooks""...
$ac_c
"
1>&6
echo
"configure:561
0
: checking whether alloca needs Cray hooks"
>
&5
echo
"configure:561
5
: checking whether alloca needs Cray hooks"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_os_cray
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 56
15
"configure"
#line 56
20
"configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
...
...
@@ -5636,12 +5641,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
if
test
$ac_cv_os_cray
=
yes
;
then
for
ac_func
in
_getb67 GETB67 getb67
;
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:564
0
: checking for
$ac_func
"
>
&5
echo
"configure:564
5
: 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 56
45
"configure"
#line 56
50
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5664,7 +5669,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:56
68
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:56
73
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5691,7 +5696,7 @@ done
fi
echo
$ac_n
"checking stack direction for C alloca""...
$ac_c
"
1>&6
echo
"configure:5
695
: checking stack direction for C alloca"
>
&5
echo
"configure:5
700
: checking stack direction for C alloca"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_stack_direction
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5699,7 +5704,7 @@ else
ac_cv_c_stack_direction
=
0
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 570
3
"configure"
#line 570
8
"configure"
#include "confdefs.h"
find_stack_direction ()
{
...
...
@@ -5718,7 +5723,7 @@ main ()
exit (find_stack_direction() < 0);
}
EOF
if
{
(
eval echo
configure:572
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:572
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_stack_direction
=
1
else
...
...
@@ -5780,12 +5785,12 @@ for ac_func in \
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:578
4
: checking for
$ac_func
"
>
&5
echo
"configure:578
9
: 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 57
89
"configure"
#line 57
94
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5808,7 +5813,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:581
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:581
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
rm
-rf
conftest
*
eval
"ac_cv_func_
$ac_func
=yes"
else
...
...
@@ -5892,17 +5897,17 @@ for ac_hdr in \
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:5
896
: checking for
$ac_hdr
"
>
&5
echo
"configure:5
901
: 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 590
1
"configure"
#line 590
6
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:59
06
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:59
11
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -5929,12 +5934,12 @@ fi
done
echo
$ac_n
"checking whether stat file-mode macros are broken""...
$ac_c
"
1>&6
echo
"configure:593
3
: checking whether stat file-mode macros are broken"
>
&5
echo
"configure:593
8
: 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 59
38
"configure"
#line 59
43
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
...
...
@@ -5987,12 +5992,12 @@ fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:599
1
: checking for working const"
>
&5
echo
"configure:599
6
: 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
5996
"configure"
#line
6001
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -6041,7 +6046,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:60
45
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:60
50
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -6062,21 +6067,21 @@ EOF
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:60
66
: checking for inline"
>
&5
echo
"configure:60
71
: checking for inline"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_cv_c_inline
=
no
for
ac_kw
in
inline __inline__ __inline
;
do
cat
>
conftest.
$ac_ext
<<
EOF
#line 607
3
"configure"
#line 607
8
"configure"
#include "confdefs.h"
int main() {
}
$ac_kw
foo() {
; return 0; }
EOF
if
{
(
eval echo
configure:608
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:608
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
else
...
...
@@ -6102,12 +6107,12 @@ EOF
esac
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:61
06
: checking for ANSI C header files"
>
&5
echo
"configure:61
11
: 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 611
1
"configure"
#line 611
6
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -6115,7 +6120,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:61
19
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:61
24
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out |
grep
-v
"^conftest.
${
ac_ext
}
\$
"
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -6132,7 +6137,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 61
36
"configure"
#line 61
41
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -6150,7 +6155,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 615
4
"configure"
#line 615
9
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -6171,7 +6176,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 61
75
"configure"
#line 61
80
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -6182,7 +6187,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:61
86
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:61
91
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -6206,12 +6211,12 @@ EOF
fi
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:621
0
: checking for size_t"
>
&5
echo
"configure:621
5
: 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 62
15
"configure"
#line 62
20
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -6239,7 +6244,7 @@ EOF
fi
echo
$ac_n
"checking size of long long""...
$ac_c
"
1>&6
echo
"configure:624
3
: checking size of long long"
>
&5
echo
"configure:624
8
: 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
...
...
@@ -6247,7 +6252,7 @@ else
ac_cv_sizeof_long_long
=
0
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 625
1
"configure"
#line 625
6
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
...
...
@@ -6259,7 +6264,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:626
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:626
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_long_long
=
`
cat
conftestval
`
else
...
...
@@ -6280,12 +6285,12 @@ EOF
echo
$ac_n
"checking whether linux/input.h is for real""...
$ac_c
"
1>&6
echo
"configure:628
4
: checking whether linux/input.h is for real"
>
&5
echo
"configure:628
9
: checking whether linux/input.h is for real"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_linux_input_h
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 62
89
"configure"
#line 62
94
"configure"
#include "confdefs.h"
#include <linux/input.h>
...
...
@@ -6298,7 +6303,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:630
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:630
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_linux_input_h
=
yes
else
...
...
@@ -6322,12 +6327,12 @@ EOF
echo
$ac_n
"checking whether we can use re-entrant gethostbyname_r Linux style""...
$ac_c
"
1>&6
echo
"configure:63
26
: checking whether we can use re-entrant gethostbyname_r Linux style"
>
&5
echo
"configure:63
31
: checking whether we can use re-entrant gethostbyname_r Linux style"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_linux_gethostbyname_r_6
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 633
1
"configure"
#line 633
6
"configure"
#include "confdefs.h"
#include <netdb.h>
...
...
@@ -6348,7 +6353,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:635
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:635
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_linux_gethostbyname_r_6
=
yes
else
...
...
@@ -6374,12 +6379,12 @@ EOF
if
test
"
$ac_cv_header_linux_joystick_h
"
=
"yes"
then
echo
$ac_n
"checking whether linux/joystick.h uses the Linux 2.2+ API""...
$ac_c
"
1>&6
echo
"configure:63
78
: checking whether linux/joystick.h uses the Linux 2.2+ API"
>
&5
echo
"configure:63
83
: checking whether linux/joystick.h uses the Linux 2.2+ API"
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_linux_joystick_22_api
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 638
3
"configure"
#line 638
8
"configure"
#include "confdefs.h"
#include <sys/ioctl.h>
...
...
@@ -6394,7 +6399,7 @@ int main() {
/*empty*/
; return 0; }
EOF
if
{
(
eval echo
configure:6
398
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
403
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_linux_joystick_22_api
=
yes
else
...
...
@@ -6421,12 +6426,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:64
25
: checking whether sys/vfs.h defines statfs"
>
&5
echo
"configure:64
30
: 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 643
0
"configure"
#line 643
5
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6443,7 +6448,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:64
47
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:64
52
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_vfs_has_statfs
=
yes
else
...
...
@@ -6470,12 +6475,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:647
4
: checking whether sys/statfs.h defines statfs"
>
&5
echo
"configure:647
9
: 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 64
79
"configure"
#line 64
84
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6490,7 +6495,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:649
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:649
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_statfs_has_statfs
=
yes
else
...
...
@@ -6517,12 +6522,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:652
1
: checking whether sys/mount.h defines statfs"
>
&5
echo
"configure:652
6
: 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 65
26
"configure"
#line 65
31
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6537,7 +6542,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:654
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:654
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_mount_has_statfs
=
yes
else
...
...
@@ -6563,7 +6568,7 @@ fi
echo
$ac_n
"checking for statfs.f_bfree""...
$ac_c
"
1>&6
echo
"configure:65
67
: checking for statfs.f_bfree"
>
&5
echo
"configure:65
72
: 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
...
...
@@ -6572,7 +6577,7 @@ else
wine_cv_statfs_bfree
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 65
76
"configure"
#line 65
81
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6599,7 +6604,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:660
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:660
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_statfs_bfree
=
yes
else
...
...
@@ -6623,7 +6628,7 @@ EOF
fi
echo
$ac_n
"checking for statfs.f_bavail""...
$ac_c
"
1>&6
echo
"configure:66
27
: checking for statfs.f_bavail"
>
&5
echo
"configure:66
32
: 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
...
...
@@ -6632,7 +6637,7 @@ else
wine_cv_statfs_bavail
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 66
36
"configure"
#line 66
41
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6659,7 +6664,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:666
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:666
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_statfs_bavail
=
yes
else
...
...
@@ -6684,12 +6689,12 @@ fi
echo
$ac_n
"checking for msg_accrights in struct msghdr""...
$ac_c
"
1>&6
echo
"configure:66
88
: checking for msg_accrights in struct msghdr"
>
&5
echo
"configure:66
93
: 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 669
3
"configure"
#line 669
8
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -6697,7 +6702,7 @@ int main() {
struct msghdr hdr; hdr.msg_accrights=0
; return 0; }
EOF
if
{
(
eval echo
configure:670
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:670
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_msg_accrights
=
"yes"
else
...
...
@@ -6720,12 +6725,12 @@ fi
echo
$ac_n
"checking for sa_len in struct sockaddr""...
$ac_c
"
1>&6
echo
"configure:672
4
: checking for sa_len in struct sockaddr"
>
&5
echo
"configure:672
9
: checking for sa_len in struct sockaddr"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_sockaddr_sa_len
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 67
29
"configure"
#line 67
34
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -6734,7 +6739,7 @@ int main() {
static struct sockaddr addr; addr.sa_len = 1
; return 0; }
EOF
if
{
(
eval echo
configure:67
38
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:67
43
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_sockaddr_sa_len
=
"yes"
else
...
...
@@ -6757,12 +6762,12 @@ fi
echo
$ac_n
"checking for sun_len in struct sockaddr_un""...
$ac_c
"
1>&6
echo
"configure:676
1
: checking for sun_len in struct sockaddr_un"
>
&5
echo
"configure:676
6
: checking for sun_len in struct sockaddr_un"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_sockaddr_sun_len
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 67
66
"configure"
#line 67
71
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -6771,7 +6776,7 @@ int main() {
static struct sockaddr_un addr; addr.sun_len = 1
; return 0; }
EOF
if
{
(
eval echo
configure:67
75
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:67
80
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_sockaddr_sun_len
=
"yes"
else
...
...
@@ -6794,12 +6799,12 @@ fi
echo
$ac_n
"checking whether we need to define __i386__""...
$ac_c
"
1>&6
echo
"configure:6
798
: checking whether we need to define __i386__"
>
&5
echo
"configure:6
803
: checking whether we need to define __i386__"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_cpp_def_i386
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 680
3
"configure"
#line 680
8
"configure"
#include "confdefs.h"
#if (defined(i386) || defined(__i386)) && !defined(__i386__)
yes
...
...
configure.in
View file @
b508a1da
...
...
@@ -255,6 +255,12 @@ then
dnl Check for the presence of OpenGL
if test $OPENGL = "yes" -o $OPENGL = "normal"
then
if test -e /usr/X11R6/lib/libGL.a -a ! -e /usr/X11R6/lib/libGL.so
then
AC_MSG_ERROR([/usr/X11R6/lib/libGL.a is present on your system.
This prevents linking to OpenGL. Delete the file and restart configure.])
fi
AC_CHECK_HEADERS(GL/gl.h GL/glx.h GL/glext.h)
if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
then
...
...
@@ -287,9 +293,8 @@ then
,,
$X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS)
if test
$ac_cv_lib_GL_glXCreateContext
= "yes"
if test
"$ac_cv_lib_GL_glXCreateContext"
= "yes"
then
OPENGLFILES='$(OPENGLFILES)'
AC_DEFINE(HAVE_OPENGL, 1, [Define if OpenGL is present on the system])
...
...
@@ -298,7 +303,7 @@ then
[Define if the OpenGL library supports the glXGetProcAddressARB call]),,
$X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS)
if test
$ac_cv_lib_GL_glXGetProcAddressARB
= "yes"
if test
"$ac_cv_lib_GL_glXGetProcAddressARB"
= "yes"
then
AC_CACHE_CHECK([for OpenGL extension functions prototypes], wine_cv_extension_prototypes,
[AC_TRY_COMPILE([#include <GL/gl.h>
...
...
@@ -311,7 +316,7 @@ then
[wine_cv_extension_prototypes="no"]
)]
)
if test
$wine_cv_extension_prototypes
= "yes"
if test
"$wine_cv_extension_prototypes"
= "yes"
then
AC_DEFINE(HAVE_GLEXT_PROTOTYPES, 1,
[Define if the OpenGL headers define extension typedefs])
...
...
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