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
c2a29dbb
Commit
c2a29dbb
authored
Aug 04, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Check that the cross-compiler that we found actually works.
parent
e0bbcea6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
3 deletions
+34
-3
configure
configure
+25
-1
configure.ac
configure.ac
+9
-2
No files found.
configure
View file @
c2a29dbb
...
...
@@ -7054,7 +7054,24 @@ test -n "$CROSSCC" || CROSSCC="false"
if
test
"
$CROSSCC
"
!=
"false"
then
CROSSTEST_DISABLE
=
""
ac_save_CC
=
"
$CC
"
CC
=
"
$CROSSCC
"
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether
$CROSSCC
works"
>
&5
$as_echo_n
"checking whether
$CROSSCC
works... "
>
&6
;
}
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
if
ac_fn_c_try_compile
"
$LINENO
"
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: yes"
>
&5
$as_echo
"yes"
>
&6
;
}
set
x
$CROSSCC
shift
target
=
""
...
...
@@ -7067,9 +7084,16 @@ test -n "$CROSSCC" || CROSSCC="false"
done
if
test
-n
"
$target
"
then
CROSSTEST_DISABLE
=
""
CROSSTARGET
=
"
$target
"
fi
else
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
$as_echo
"no"
>
&6
;
}
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
CC
=
"
$ac_save_CC
"
fi
fi
...
...
configure.ac
View file @
c2a29dbb
...
...
@@ -838,7 +838,11 @@ then
WINE_CHECK_MINGW_PROG(CROSSCC,gcc,false)
if test "$CROSSCC" != "false"
then
CROSSTEST_DISABLE=""
ac_save_CC="$CC"
CC="$CROSSCC"
AC_MSG_CHECKING([whether $CROSSCC works])
AC_COMPILE_IFELSE(AC_LANG_PROGRAM([]),
[AC_MSG_RESULT([yes])
set x $CROSSCC
shift
target=""
...
...
@@ -851,8 +855,11 @@ then
done
if test -n "$target"
then
CROSSTEST_DISABLE=""
AC_SUBST(CROSSTARGET,"$target")
fi
fi],
[AC_MSG_RESULT([no])])
CC="$ac_save_CC"
fi
fi
...
...
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