Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
51d46ba9
Commit
51d46ba9
authored
May 08, 1999
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added check for missing __i386__ definition.
parent
1bb94039
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
0 deletions
+43
-0
configure
configure
+31
-0
configure.in
configure.in
+12
-0
No files found.
configure
View file @
51d46ba9
...
...
@@ -5049,6 +5049,37 @@ EOF
fi
echo
$ac_n
"checking "
whether we need to define __i386__
"""...
$ac_c
"
1>&6
echo
"configure:5055: 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 5060 "configure"
#include "confdefs.h"
#if (defined(i386) || defined(__i386)) && !defined(__i386__)
yes
#endif
EOF
if
(
eval
"
$ac_cpp
conftest.
$ac_ext
"
)
2>&5 |
egrep
"yes"
>
/dev/null 2>&1
;
then
rm
-rf
conftest
*
ac_cv_cpp_def_i386
=
"yes"
else
rm
-rf
conftest
*
ac_cv_cpp_def_i386
=
"no"
fi
rm
-f
conftest
*
fi
echo
"
$ac_t
""
$ac_cv_cpp_def_i386
"
1>&6
if
test
"
$ac_cv_cpp_def_i386
"
=
"yes"
then
CFLAGS
=
"
$CFLAGS
-D__i386__"
fi
GCC_NO_BUILTIN
=
""
if
test
"
$GCC
"
=
"yes"
then
...
...
configure.in
View file @
51d46ba9
...
...
@@ -695,6 +695,18 @@ then
AC_DEFINE(HAVE_MSGHDR_ACCRIGHTS)
fi
dnl *** check for the need to define __i386__
AC_CACHE_CHECK("whether we need to define __i386__",ac_cv_cpp_def_i386,
AC_EGREP_CPP(yes,[#if (defined(i386) || defined(__i386)) && !defined(__i386__)
yes
#endif],
ac_cv_cpp_def_i386="yes", ac_cv_cpp_def_i386="no"))
if test "$ac_cv_cpp_def_i386" = "yes"
then
CFLAGS="$CFLAGS -D__i386__"
fi
dnl $GCC is set by autoconf
GCC_NO_BUILTIN=""
if test "$GCC" = "yes"
...
...
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