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
ad356def
Commit
ad356def
authored
Jun 08, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Replace some obsolete macros to avoid warnings.
parent
79c2e077
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
28 deletions
+22
-28
aclocal.m4
aclocal.m4
+2
-3
configure
configure
+20
-25
configure.ac
configure.ac
+0
-0
No files found.
aclocal.m4
View file @
ad356def
...
...
@@ -58,8 +58,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_TRY_LINK([void ac_asm(void) { asm([$1]); }
[$2]],[$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
...
...
@@ -72,7 +71,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_
TRY_LINK([],[]
, [AS_VAR_SET(ac_var,yes)], [AS_VAR_SET(ac_var,no)])
AC_
LINK_IFELSE(AC_LANG_PROGRAM()
, [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],
[m4_default([$2], [EXTRACFLAGS="$EXTRACFLAGS $1"])], [$3])dnl
...
...
configure
View file @
ad356def
...
...
@@ -8321,11 +8321,9 @@ else
sed
's/^/| /'
conftest.
$ac_ext
>
&5
wine_cv_opengl_header_version_OK
=
"no"
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
fi
{
echo
"
$as_me
:
$LINENO
: result:
$wine_cv_opengl_header_version_OK
"
>
&5
echo
"
${
ECHO_T
}
$wine_cv_opengl_header_version_OK
"
>
&6
;
}
...
...
@@ -10383,7 +10381,13 @@ cat confdefs.h >>conftest.$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <unicode/ubidi.h>
main () { ubidi_open(); return 0; }
int
main ()
{
ubidi_open()
;
return 0;
}
_ACEOF
rm
-f
conftest
$ac_exeext
if
{
(
ac_try
=
"
$ac_link
"
...
...
@@ -11343,7 +11347,6 @@ sed 's/^/| /' conftest.$ac_ext >&5
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
fi
{
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_c_ppdev
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_c_ppdev
"
>
&6
;
}
...
...
@@ -11371,9 +11374,7 @@ cat >>conftest.$ac_ext <<_ACEOF
int
main ()
{
va_list ap1, ap2;
va_copy(ap1,ap2);
va_list ap1, ap2; va_copy(ap1,ap2);
;
return 0;
}
...
...
@@ -11433,9 +11434,7 @@ cat >>conftest.$ac_ext <<_ACEOF
int
main ()
{
va_list ap1, ap2;
__va_copy(ap1,ap2);
va_list ap1, ap2; __va_copy(ap1,ap2);
;
return 0;
}
...
...
@@ -12197,17 +12196,19 @@ _ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
int L[4] = {0,1,2,3};
int main(void) {
static int Array[3];
int
main ()
{
static int Array[3];
unsigned int B = 3;
int i;
for(i=0; i<B; i++) Array[i] = i - 3;
for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
L[i] = 4;
exit( Array[1] != -2 || L[2] != 3);
exit( Array[1] != -2 || L[2] != 3)
;
return 0;
}
_ACEOF
rm
-f
conftest
$ac_exeext
...
...
@@ -12618,12 +12619,11 @@ _ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
int
main ()
{
asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
;
return 0;
}
...
...
@@ -12657,12 +12657,11 @@ _ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
int
main ()
{
asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
;
return 0;
}
...
...
@@ -12696,12 +12695,11 @@ _ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
int
main ()
{
asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
;
return 0;
}
...
...
@@ -12783,12 +12781,11 @@ _ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
extern int ac_test;
int
main ()
{
if (ac_test) return 1
asm(".globl _ac_test\n_ac_test:\t.long 0");
if (ac_test) return 1
;
return 0;
}
...
...
@@ -17550,9 +17547,7 @@ _ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
#include <netdb.h>
int
main ()
{
...
...
configure.ac
View file @
ad356def
This diff is collapsed.
Click to expand it.
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