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
4e2024e8
Commit
4e2024e8
authored
Oct 23, 2001
by
Huw D M Davies
Committed by
Alexandre Julliard
Oct 23, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement GetFontData.
parent
2843934a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
202 additions
and
145 deletions
+202
-145
configure
configure
+138
-137
configure.in
configure.in
+2
-1
freetype.c
dlls/gdi/freetype.c
+47
-0
config.h.in
include/config.h.in
+4
-1
font.h
include/font.h
+1
-0
font.c
objects/font.c
+10
-6
No files found.
configure
View file @
4e2024e8
...
...
@@ -4664,21 +4664,22 @@ EOF
freetype/ftnames.h
\
freetype/ftsnames.h
\
freetype/ttnameid.h
\
freetype/ftoutln.h
freetype/ftoutln.h
\
freetype/internal/sfnt.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:467
2
: checking for
$ac_hdr
"
>
&5
echo
"configure:467
3
: 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 467
7
"configure"
#line 467
8
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:468
2
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:468
3
:
\"
$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
*
...
...
@@ -4712,19 +4713,19 @@ fi
echo
$ac_n
"checking for parport header/ppdev.h""...
$ac_c
"
1>&6
echo
"configure:471
6
: checking for parport header/ppdev.h"
>
&5
echo
"configure:471
7
: 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 472
1
"configure"
#line 472
2
"configure"
#include "confdefs.h"
#include <linux/ppdev.h>
int main() {
ioctl (1,PPCLAIM,0)
; return 0; }
EOF
if
{
(
eval echo
configure:472
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:472
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_ppdev
=
"yes"
else
...
...
@@ -4747,12 +4748,12 @@ EOF
fi
echo
$ac_n
"checking for GNU style IPX support""...
$ac_c
"
1>&6
echo
"configure:475
1
: checking for GNU style IPX support"
>
&5
echo
"configure:475
2
: 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 475
6
"configure"
#line 475
7
"configure"
#include "confdefs.h"
#include <sys/socket.h>
#include <netipx/ipx.h>
...
...
@@ -4760,7 +4761,7 @@ int main() {
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
; return 0; }
EOF
if
{
(
eval echo
configure:476
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:476
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_ipx_gnu
=
"yes"
else
...
...
@@ -4785,12 +4786,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:47
89
: checking for linux style IPX support"
>
&5
echo
"configure:47
90
: 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 479
4
"configure"
#line 479
5
"configure"
#include "confdefs.h"
#include <sys/socket.h>
#include <asm/types.h>
...
...
@@ -4799,7 +4800,7 @@ int main() {
((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
; return 0; }
EOF
if
{
(
eval echo
configure:480
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:480
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_ipx_linux
=
"yes"
else
...
...
@@ -4826,17 +4827,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:483
0
: checking for
$ac_hdr
"
>
&5
echo
"configure:483
1
: 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 483
5
"configure"
#line 483
6
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:484
0
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:484
1
:
\"
$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
*
...
...
@@ -4864,12 +4865,12 @@ done
echo
$ac_n
"checking for Open Sound System""...
$ac_c
"
1>&6
echo
"configure:486
8
: checking for Open Sound System"
>
&5
echo
"configure:486
9
: 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 487
3
"configure"
#line 487
4
"configure"
#include "confdefs.h"
#if defined(HAVE_SYS_SOUNDCARD_H)
...
...
@@ -4890,7 +4891,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:489
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:489
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_opensoundsystem
=
"yes"
else
...
...
@@ -4913,12 +4914,12 @@ EOF
fi
echo
$ac_n
"checking for Open Sound System/MIDI interface""...
$ac_c
"
1>&6
echo
"configure:491
7
: checking for Open Sound System/MIDI interface"
>
&5
echo
"configure:491
8
: 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 492
2
"configure"
#line 492
3
"configure"
#include "confdefs.h"
#if defined(HAVE_SYS_SOUNDCARD_H)
...
...
@@ -4939,7 +4940,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:494
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:494
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_opensoundsystem_midi
=
"yes"
else
...
...
@@ -4965,7 +4966,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:49
69
: checking whether mmap64 works defined as mmap"
>
&5
echo
"configure:49
70
: 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
...
...
@@ -4973,7 +4974,7 @@ else
ac_cv_mmap64_works
=
"no"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 497
7
"configure"
#line 497
8
"configure"
#include "confdefs.h"
#define _FILE_OFFSET_BITS 64
...
...
@@ -5003,7 +5004,7 @@ else
EOF
if
{
(
eval echo
configure:500
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:500
8
:
\"
$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
...
...
@@ -5032,7 +5033,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:503
6
: checking for gcc strength-reduce bug"
>
&5
echo
"configure:503
7
: 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
...
...
@@ -5040,7 +5041,7 @@ else
ac_cv_c_gcc_strength_bug
=
"yes"
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 504
4
"configure"
#line 504
5
"configure"
#include "confdefs.h"
int L[4] = {0,1,2,3};
...
...
@@ -5055,7 +5056,7 @@ int main(void) {
exit( Array[1] != -2 || L[2] != 3);
}
EOF
if
{
(
eval echo
configure:50
59
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:50
60
:
\"
$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
...
...
@@ -5076,21 +5077,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:508
0
: checking for gcc -mpreferred-stack-boundary=2 support"
>
&5
echo
"configure:508
1
: 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 508
7
"configure"
#line 508
8
"configure"
#include "confdefs.h"
int main() {
return 0
; return 0; }
EOF
if
{
(
eval echo
configure:509
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:509
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_gcc_stack_boundary
=
"yes"
else
...
...
@@ -5113,7 +5114,7 @@ fi
echo
$ac_n
"checking whether .type must sit inside a .def directive""...
$ac_c
"
1>&6
echo
"configure:511
7
: checking whether .type must sit inside a .def directive"
>
&5
echo
"configure:511
8
: 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
...
...
@@ -5126,14 +5127,14 @@ _ac_test:
.long 0
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 513
0
"configure"
#line 513
1
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:513
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:513
8
:
\"
$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
...
...
@@ -5157,7 +5158,7 @@ fi
echo
$ac_n
"checking whether external symbols need an underscore prefix""...
$ac_c
"
1>&6
echo
"configure:516
1
: checking whether external symbols need an underscore prefix"
>
&5
echo
"configure:516
2
: 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
...
...
@@ -5169,14 +5170,14 @@ _ac_test:
.long 0
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 517
3
"configure"
#line 517
4
"configure"
#include "confdefs.h"
extern int ac_test;
int main() {
if (ac_test) return 1
; return 0; }
EOF
if
{
(
eval echo
configure:518
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:518
1
:
\"
$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
...
...
@@ -5200,7 +5201,7 @@ fi
echo
$ac_n
"checking whether assembler accepts .string""...
$ac_c
"
1>&6
echo
"configure:520
4
: checking whether assembler accepts .string"
>
&5
echo
"configure:520
5
: 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
...
...
@@ -5210,14 +5211,14 @@ cat > conftest_asm.s <<EOF
.string "test"
EOF
cat
>
conftest.
$ac_ext
<<
EOF
#line 521
4
"configure"
#line 521
5
"configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:522
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:522
2
:
\"
$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
...
...
@@ -5245,21 +5246,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:52
49
: checking whether we can build a GNU style ELF dll"
>
&5
echo
"configure:52
50
: 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 525
6
"configure"
#line 525
7
"configure"
#include "confdefs.h"
int main() {
return 1
; return 0; }
EOF
if
{
(
eval echo
configure:526
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:526
4
:
\"
$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
...
...
@@ -5280,21 +5281,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:528
4
: checking whether we can build a UnixWare (Solaris) dll"
>
&5
echo
"configure:528
5
: 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 529
1
"configure"
#line 529
2
"configure"
#include "confdefs.h"
int main() {
return 1
; return 0; }
EOF
if
{
(
eval echo
configure:529
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:529
9
:
\"
$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
...
...
@@ -5358,7 +5359,7 @@ fi
wine_cv_libc_reentrant
=
no
echo
$ac_n
"checking for reentrant libc: __errno_location""...
$ac_c
"
1>&6
echo
"configure:536
2
: checking for reentrant libc: __errno_location"
>
&5
echo
"configure:536
3
: 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
...
...
@@ -5366,14 +5367,14 @@ else
wine_cv_libc_r___errno_location
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 537
0
"configure"
#line 537
1
"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:537
7
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:537
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_location
=
yes
else
...
...
@@ -5396,7 +5397,7 @@ fi
echo
$ac_n
"checking for reentrant libc: __error""...
$ac_c
"
1>&6
echo
"configure:540
0
: checking for reentrant libc: __error"
>
&5
echo
"configure:540
1
: 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
...
...
@@ -5404,14 +5405,14 @@ else
wine_cv_libc_r___error
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 540
8
"configure"
#line 540
9
"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:541
5
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:541
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___error
=
yes
else
...
...
@@ -5434,7 +5435,7 @@ fi
echo
$ac_n
"checking for reentrant libc: ___errno""...
$ac_c
"
1>&6
echo
"configure:543
8
: checking for reentrant libc: ___errno"
>
&5
echo
"configure:543
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
...
...
@@ -5442,14 +5443,14 @@ else
wine_cv_libc_r____errno
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 544
6
"configure"
#line 544
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:545
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:545
4
:
\"
$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
...
...
@@ -5472,7 +5473,7 @@ fi
echo
$ac_n
"checking for reentrant libc: __thr_errno""...
$ac_c
"
1>&6
echo
"configure:547
6
: checking for reentrant libc: __thr_errno"
>
&5
echo
"configure:547
7
: 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
...
...
@@ -5480,14 +5481,14 @@ else
wine_cv_libc_r___thr_errno
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 548
4
"configure"
#line 548
5
"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:549
1
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:549
2
:
\"
$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
...
...
@@ -5510,7 +5511,7 @@ fi
echo
$ac_n
"checking for reentrant libc: __errno""...
$ac_c
"
1>&6
echo
"configure:551
4
: checking for reentrant libc: __errno"
>
&5
echo
"configure:551
5
: 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
...
...
@@ -5518,14 +5519,14 @@ else
wine_cv_libc_r___errno
=
yes
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 552
2
"configure"
#line 552
3
"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:55
29
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:55
30
:
\"
$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
...
...
@@ -5559,7 +5560,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:556
3
: checking for reentrant X libraries"
>
&5
echo
"configure:556
4
: 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
...
...
@@ -5608,19 +5609,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:561
2
: checking for working alloca.h"
>
&5
echo
"configure:561
3
: 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 561
7
"configure"
#line 561
8
"configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
if
{
(
eval echo
configure:562
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:562
5
:
\"
$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
...
...
@@ -5641,12 +5642,12 @@ EOF
fi
echo
$ac_n
"checking for alloca""...
$ac_c
"
1>&6
echo
"configure:564
5
: checking for alloca"
>
&5
echo
"configure:564
6
: 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 565
0
"configure"
#line 565
1
"configure"
#include "confdefs.h"
#ifdef __GNUC__
...
...
@@ -5674,7 +5675,7 @@ int main() {
char *p = (char *) alloca(1);
; return 0; }
EOF
if
{
(
eval echo
configure:567
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:567
9
:
\"
$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
...
...
@@ -5706,12 +5707,12 @@ EOF
echo
$ac_n
"checking whether alloca needs Cray hooks""...
$ac_c
"
1>&6
echo
"configure:571
0
: checking whether alloca needs Cray hooks"
>
&5
echo
"configure:571
1
: 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 571
5
"configure"
#line 571
6
"configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
...
...
@@ -5736,12 +5737,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:574
0
: checking for
$ac_func
"
>
&5
echo
"configure:574
1
: 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 574
5
"configure"
#line 574
6
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5764,7 +5765,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:576
8
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:576
9
:
\"
$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
...
...
@@ -5791,7 +5792,7 @@ done
fi
echo
$ac_n
"checking stack direction for C alloca""...
$ac_c
"
1>&6
echo
"configure:579
5
: checking stack direction for C alloca"
>
&5
echo
"configure:579
6
: 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
...
...
@@ -5799,7 +5800,7 @@ else
ac_cv_c_stack_direction
=
0
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 580
3
"configure"
#line 580
4
"configure"
#include "confdefs.h"
find_stack_direction ()
{
...
...
@@ -5818,7 +5819,7 @@ main ()
exit (find_stack_direction() < 0);
}
EOF
if
{
(
eval echo
configure:582
2
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:582
3
:
\"
$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
...
...
@@ -5878,12 +5879,12 @@ for ac_func in \
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:588
2
: checking for
$ac_func
"
>
&5
echo
"configure:588
3
: 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 588
7
"configure"
#line 588
8
"configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char
$ac_func
(); below. */
...
...
@@ -5906,7 +5907,7 @@ $ac_func();
; return 0; }
EOF
if
{
(
eval echo
configure:591
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
;
then
if
{
(
eval echo
configure:591
1
:
\"
$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
...
...
@@ -5989,17 +5990,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:599
3
: checking for
$ac_hdr
"
>
&5
echo
"configure:599
4
: 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 599
8
"configure"
#line 599
9
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:600
3
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:600
4
:
\"
$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
*
...
...
@@ -6026,12 +6027,12 @@ fi
done
echo
$ac_n
"checking whether stat file-mode macros are broken""...
$ac_c
"
1>&6
echo
"configure:603
0
: checking whether stat file-mode macros are broken"
>
&5
echo
"configure:603
1
: 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 603
5
"configure"
#line 603
6
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
...
...
@@ -6084,12 +6085,12 @@ fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:608
8
: checking for working const"
>
&5
echo
"configure:608
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 609
3
"configure"
#line 609
4
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -6138,7 +6139,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:614
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:614
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -6159,21 +6160,21 @@ EOF
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:616
3
: checking for inline"
>
&5
echo
"configure:616
4
: 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 617
0
"configure"
#line 617
1
"configure"
#include "confdefs.h"
int main() {
}
$ac_kw
foo() {
; return 0; }
EOF
if
{
(
eval echo
configure:617
7
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:617
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
else
...
...
@@ -6199,12 +6200,12 @@ EOF
esac
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:620
3
: checking for ANSI C header files"
>
&5
echo
"configure:620
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 620
8
"configure"
#line 620
9
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -6212,7 +6213,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:621
6
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:621
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
*
...
...
@@ -6229,7 +6230,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 623
3
"configure"
#line 623
4
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -6247,7 +6248,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 625
1
"configure"
#line 625
2
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -6268,7 +6269,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 627
2
"configure"
#line 627
3
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -6279,7 +6280,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:628
3
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:628
4
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -6303,12 +6304,12 @@ EOF
fi
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:630
7
: checking for size_t"
>
&5
echo
"configure:630
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 631
2
"configure"
#line 631
3
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -6336,7 +6337,7 @@ EOF
fi
echo
$ac_n
"checking size of long long""...
$ac_c
"
1>&6
echo
"configure:634
0
: checking size of long long"
>
&5
echo
"configure:634
1
: 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
...
...
@@ -6344,7 +6345,7 @@ else
ac_cv_sizeof_long_long
=
0
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 634
8
"configure"
#line 634
9
"configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
...
...
@@ -6356,7 +6357,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:636
0
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
${
ac_exeext
}
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:636
1
:
\"
$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
...
...
@@ -6377,12 +6378,12 @@ EOF
echo
$ac_n
"checking whether linux/input.h is for real""...
$ac_c
"
1>&6
echo
"configure:638
1
: checking whether linux/input.h is for real"
>
&5
echo
"configure:638
2
: 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 638
6
"configure"
#line 638
7
"configure"
#include "confdefs.h"
#include <linux/input.h>
...
...
@@ -6395,7 +6396,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:6
399
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:6
400
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_linux_input_h
=
yes
else
...
...
@@ -6419,12 +6420,12 @@ EOF
echo
$ac_n
"checking whether we can use re-entrant gethostbyname_r Linux style""...
$ac_c
"
1>&6
echo
"configure:642
3
: checking whether we can use re-entrant gethostbyname_r Linux style"
>
&5
echo
"configure:642
4
: 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 642
8
"configure"
#line 642
9
"configure"
#include "confdefs.h"
#include <netdb.h>
...
...
@@ -6445,7 +6446,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:64
49
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:64
50
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_linux_gethostbyname_r_6
=
yes
else
...
...
@@ -6471,12 +6472,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:647
5
: checking whether linux/joystick.h uses the Linux 2.2+ API"
>
&5
echo
"configure:647
6
: 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 648
0
"configure"
#line 648
1
"configure"
#include "confdefs.h"
#include <sys/ioctl.h>
...
...
@@ -6491,7 +6492,7 @@ int main() {
/*empty*/
; return 0; }
EOF
if
{
(
eval echo
configure:649
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:649
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_linux_joystick_22_api
=
yes
else
...
...
@@ -6518,12 +6519,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:652
2
: checking whether sys/vfs.h defines statfs"
>
&5
echo
"configure:652
3
: 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 652
7
"configure"
#line 652
8
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6540,7 +6541,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:654
4
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:654
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_vfs_has_statfs
=
yes
else
...
...
@@ -6567,12 +6568,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:657
1
: checking whether sys/statfs.h defines statfs"
>
&5
echo
"configure:657
2
: 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 657
6
"configure"
#line 657
7
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6587,7 +6588,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:659
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:659
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_statfs_has_statfs
=
yes
else
...
...
@@ -6614,12 +6615,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:661
8
: checking whether sys/mount.h defines statfs"
>
&5
echo
"configure:661
9
: 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 662
3
"configure"
#line 662
4
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6634,7 +6635,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:663
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:663
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_mount_has_statfs
=
yes
else
...
...
@@ -6660,7 +6661,7 @@ fi
echo
$ac_n
"checking for statfs.f_bfree""...
$ac_c
"
1>&6
echo
"configure:666
4
: checking for statfs.f_bfree"
>
&5
echo
"configure:666
5
: 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
...
...
@@ -6669,7 +6670,7 @@ else
wine_cv_statfs_bfree
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 667
3
"configure"
#line 667
4
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6696,7 +6697,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:670
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:670
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_statfs_bfree
=
yes
else
...
...
@@ -6720,7 +6721,7 @@ EOF
fi
echo
$ac_n
"checking for statfs.f_bavail""...
$ac_c
"
1>&6
echo
"configure:672
4
: checking for statfs.f_bavail"
>
&5
echo
"configure:672
5
: 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
...
...
@@ -6729,7 +6730,7 @@ else
wine_cv_statfs_bavail
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 673
3
"configure"
#line 673
4
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -6756,7 +6757,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:676
0
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:676
1
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_statfs_bavail
=
yes
else
...
...
@@ -6781,12 +6782,12 @@ fi
echo
$ac_n
"checking for msg_accrights in struct msghdr""...
$ac_c
"
1>&6
echo
"configure:678
5
: checking for msg_accrights in struct msghdr"
>
&5
echo
"configure:678
6
: 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 679
0
"configure"
#line 679
1
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -6794,7 +6795,7 @@ int main() {
struct msghdr hdr; hdr.msg_accrights=0
; return 0; }
EOF
if
{
(
eval echo
configure:679
8
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:679
9
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_msg_accrights
=
"yes"
else
...
...
@@ -6817,12 +6818,12 @@ fi
echo
$ac_n
"checking for sa_len in struct sockaddr""...
$ac_c
"
1>&6
echo
"configure:682
1
: checking for sa_len in struct sockaddr"
>
&5
echo
"configure:682
2
: 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 682
6
"configure"
#line 682
7
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -6831,7 +6832,7 @@ int main() {
static struct sockaddr addr; addr.sa_len = 1
; return 0; }
EOF
if
{
(
eval echo
configure:683
5
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:683
6
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_sockaddr_sa_len
=
"yes"
else
...
...
@@ -6854,12 +6855,12 @@ fi
echo
$ac_n
"checking for sun_len in struct sockaddr_un""...
$ac_c
"
1>&6
echo
"configure:685
8
: checking for sun_len in struct sockaddr_un"
>
&5
echo
"configure:685
9
: 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 686
3
"configure"
#line 686
4
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -6868,7 +6869,7 @@ int main() {
static struct sockaddr_un addr; addr.sun_len = 1
; return 0; }
EOF
if
{
(
eval echo
configure:687
2
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:687
3
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_sockaddr_sun_len
=
"yes"
else
...
...
@@ -6891,12 +6892,12 @@ fi
echo
$ac_n
"checking whether we need to define __i386__""...
$ac_c
"
1>&6
echo
"configure:689
5
: checking whether we need to define __i386__"
>
&5
echo
"configure:689
6
: 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 690
0
"configure"
#line 690
1
"configure"
#include "confdefs.h"
#if (defined(i386) || defined(__i386)) && !defined(__i386__)
yes
...
...
configure.in
View file @
4e2024e8
...
...
@@ -414,7 +414,8 @@ else
freetype/ftnames.h \
freetype/ftsnames.h \
freetype/ttnameid.h \
freetype/ftoutln.h)
freetype/ftoutln.h \
freetype/internal/sfnt.h)
CPPFLAGS="$ac_save_CPPFLAGS"
wine_cv_msg_freetype=no
fi
...
...
dlls/gdi/freetype.c
View file @
4e2024e8
...
...
@@ -21,6 +21,7 @@
#include <string.h>
#include <dirent.h>
#include <stdio.h>
#include <assert.h>
DEFAULT_DEBUG_CHANNEL
(
font
);
...
...
@@ -47,6 +48,9 @@ DEFAULT_DEBUG_CHANNEL(font);
#ifdef HAVE_FREETYPE_FTOUTLN_H
#include <freetype/ftoutln.h>
#endif
#ifdef HAVE_FREETYPE_INTERNAL_SFNT_H
#include <freetype/internal/sfnt.h>
#endif
static
FT_Library
library
=
0
;
...
...
@@ -770,6 +774,43 @@ BOOL WineEngGetTextExtentPoint(GdiFont font, LPCWSTR wstr, INT count,
return
TRUE
;
}
/*************************************************************
* WineEngGetFontData
*
*/
DWORD
WineEngGetFontData
(
GdiFont
font
,
DWORD
table
,
DWORD
offset
,
LPVOID
buf
,
DWORD
cbData
)
{
FT_Face
ft_face
=
font
->
ft_face
;
TT_Face
tt_face
;
SFNT_Interface
*
sfnt
;
DWORD
len
;
FT_Error
err
;
if
(
!
FT_IS_SFNT
(
ft_face
))
return
GDI_ERROR
;
tt_face
=
(
TT_Face
)
ft_face
;
sfnt
=
(
SFNT_Interface
*
)
tt_face
->
sfnt
;
if
(
!
buf
||
!
cbData
)
len
=
0
;
else
len
=
cbData
;
if
(
table
)
{
/* MS tags differ in endidness from FT ones */
table
=
table
>>
24
|
table
<<
24
|
(
table
>>
8
&
0xff00
)
|
(
table
<<
8
&
0xff0000
);
}
err
=
sfnt
->
load_any
(
tt_face
,
table
,
offset
,
buf
,
&
len
);
if
(
err
)
{
ERR
(
"Can't find table %08lx
\n
"
,
table
);
return
GDI_ERROR
;
}
return
len
;
}
#else
/* HAVE_FREETYPE */
BOOL
WineEngInit
(
void
)
...
...
@@ -831,5 +872,11 @@ BOOL WineEngGetTextExtentPoint(GdiFont font, LPCWSTR wstr, INT count,
return
FALSE
;
}
DWORD
WineEngGetFontData
(
GdiFont
font
,
DWORD
table
,
DWORD
offset
,
LPVOID
buf
,
DWORD
cbData
)
{
ERR
(
"called but we don't have FreeType
\n
"
);
return
GDI_ERROR
;
}
#endif
/* HAVE_FREETYPE */
include/config.h.in
View file @
4e2024e8
/* include/config.h.in. Generated automatically from configure.in by autoheader. */
/* include/config.h.in. Generated automatically from configure.in by autoheader
2.13
. */
/* Define if using alloca.c. */
#undef C_ALLOCA
...
...
@@ -238,6 +238,9 @@
/* Define if you have the <freetype/ftsnames.h> header file. */
#undef HAVE_FREETYPE_FTSNAMES_H
/* Define if you have the <freetype/internal/sfnt.h> header file. */
#undef HAVE_FREETYPE_INTERNAL_SFNT_H
/* Define if you have the <freetype/ttnameid.h> header file. */
#undef HAVE_FREETYPE_TTNAMEID_H
...
...
include/font.h
View file @
4e2024e8
...
...
@@ -78,6 +78,7 @@ extern GdiFont WineEngCreateFontInstance(HFONT);
extern
DWORD
WineEngDecRefFont
(
GdiFont
);
extern
DWORD
WineEngEnumFonts
(
LPLOGFONTW
,
DEVICEFONTENUMPROC
,
LPARAM
);
extern
BOOL
WineEngGetCharWidth
(
GdiFont
,
UINT
,
UINT
,
LPINT
);
extern
DWORD
WineEngGetFontData
(
GdiFont
,
DWORD
,
DWORD
,
LPVOID
,
DWORD
);
extern
DWORD
WineEngGetGlyphOutline
(
GdiFont
,
UINT
glyph
,
UINT
format
,
LPGLYPHMETRICS
,
DWORD
buflen
,
LPVOID
buf
,
const
MAT2
*
);
...
...
objects/font.c
View file @
4e2024e8
...
...
@@ -1895,16 +1895,20 @@ DWORD WINAPI GetFontLanguageInfo16(HDC16 hdc) {
*
* Calls SetLastError()
*
* BUGS
*
* Unimplemented
*/
DWORD
WINAPI
GetFontData
(
HDC
hdc
,
DWORD
table
,
DWORD
offset
,
LPVOID
buffer
,
DWORD
length
)
{
FIXME
(
"(%x,%ld,%ld,%p,%ld): stub
\n
"
,
hdc
,
table
,
offset
,
buffer
,
length
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
GDI_ERROR
;
DC
*
dc
=
DC_GetDCPtr
(
hdc
);
DWORD
ret
=
GDI_ERROR
;
if
(
!
dc
)
return
GDI_ERROR
;
if
(
dc
->
gdiFont
)
ret
=
WineEngGetFontData
(
dc
->
gdiFont
,
table
,
offset
,
buffer
,
length
);
GDI_ReleaseObj
(
hdc
);
return
ret
;
}
/*************************************************************************
...
...
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