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
9797da40
Commit
9797da40
authored
Apr 27, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Add some quoting required by autoconf 2.68.
parent
e248615a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
aclocal.m4
aclocal.m4
+3
-3
configure
configure
+0
-0
configure.ac
configure.ac
+4
-4
No files found.
aclocal.m4
View file @
9797da40
...
...
@@ -62,7 +62,7 @@ dnl
dnl Usage: WINE_TRY_ASM_LINK(asm-code,includes,function,[action-if-found,[action-if-not-found]])
dnl
AC_DEFUN([WINE_TRY_ASM_LINK],
[AC_LINK_IFELSE(
AC_LANG_PROGRAM([[$2]],[[asm($1); $3]])
,[$4],[$5])])
[AC_LINK_IFELSE(
[AC_LANG_PROGRAM([[$2]],[[asm($1); $3]])]
,[$4],[$5])])
dnl **** Check if we can link an empty program with special CFLAGS ****
dnl
...
...
@@ -75,7 +75,7 @@ AC_DEFUN([WINE_TRY_CFLAGS],
AC_CACHE_CHECK([whether the compiler supports $1], ac_var,
[ac_wine_try_cflags_saved=$CFLAGS
CFLAGS="$CFLAGS $1"
AC_LINK_IFELSE(
AC_LANG_SOURCE([[int main(int argc, char **argv) { return 0; }]])
,
AC_LINK_IFELSE(
[AC_LANG_SOURCE([[int main(int argc, char **argv) { return 0; }]])]
,
[AS_VAR_SET(ac_var,yes)], [AS_VAR_SET(ac_var,no)])
CFLAGS=$ac_wine_try_cflags_saved])
AS_IF([test AS_VAR_GET(ac_var) = yes],
...
...
@@ -89,7 +89,7 @@ dnl
AC_DEFUN([WINE_TRY_SHLIB_FLAGS],
[ac_wine_try_cflags_saved=$CFLAGS
CFLAGS="$CFLAGS $1"
AC_LINK_IFELSE([
void myfunc() {}
],[$2],[$3])
AC_LINK_IFELSE([
AC_LANG_SOURCE([void myfunc() {}])
],[$2],[$3])
CFLAGS=$ac_wine_try_cflags_saved])
dnl **** Check whether we need to define a symbol on the compiler command line ****
...
...
configure
View file @
9797da40
This source diff could not be displayed because it is too large. You can
view the blob
instead.
configure.ac
View file @
9797da40
...
...
@@ -159,7 +159,7 @@ case $host in
CC="$CC -m32"
CXX="$CXX -m32"
AC_MSG_CHECKING([whether $CC works])
AC_LINK_IFELSE(
AC_LANG_PROGRAM()
,AC_MSG_RESULT([yes]),
AC_LINK_IFELSE(
[AC_LANG_PROGRAM()]
,AC_MSG_RESULT([yes]),
[AC_MSG_RESULT([no])
AC_MSG_ERROR([Cannot build a 32-bit program, you need to install 32-bit development libraries.])])
LD="${LD:-ld} -m elf_i386"
...
...
@@ -774,14 +774,14 @@ case $host_os in
if test "x$enable_win16" = "xyes"
then
AC_MSG_CHECKING([whether 16-bit code can be built correctly])
AC_RUN_IFELSE(AC_LANG_PROGRAM([[asm(".text\n"
AC_RUN_IFELSE(
[
AC_LANG_PROGRAM([[asm(".text\n"
"bad:\tnop;nop\n"
"good:\tnop;nop\n\t"
".globl _testfunc\n"
"_testfunc:\tcallw good");
extern void testfunc();]],
[[unsigned short *p = (unsigned short *)testfunc;
return p[
[0]] != 0xe866 || p[[1]] != 0xfffa]])
,
return p[
0] != 0xe866 || p[1] != 0xfffa]])]
,
AC_MSG_RESULT(yes),
[AC_MSG_RESULT(no)
AC_MSG_ERROR([Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support.])],
...
...
@@ -888,7 +888,7 @@ then
ac_save_CC="$CC"
CC="$CROSSCC"
AC_MSG_CHECKING([whether $CROSSCC works])
AC_COMPILE_IFELSE(
AC_LANG_PROGRAM([])
,
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([])]
,
[AC_MSG_RESULT([yes])
set x $CROSSCC
shift
...
...
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