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
79e0cb3a
Commit
79e0cb3a
authored
Sep 07, 2014
by
Sebastian Lackner
Committed by
Alexandre Julliard
Nov 27, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Fix detection of gnutls on Ubuntu 14.10.
parent
871fc4a3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
configure
configure
+8
-8
configure.ac
configure.ac
+1
-1
No files found.
configure
View file @
79e0cb3a
...
...
@@ -6001,7 +6001,7 @@ else
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((
off_t) 1 << 62) - 1 + ((off_t) 1 << 62
))
#define LARGE_OFF_T (((
(off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31
))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
...
...
@@ -6047,7 +6047,7 @@ else
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((
off_t) 1 << 62) - 1 + ((off_t) 1 << 62
))
#define LARGE_OFF_T (((
(off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31
))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
...
...
@@ -6071,7 +6071,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((
off_t) 1 << 62) - 1 + ((off_t) 1 << 62
))
#define LARGE_OFF_T (((
(off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31
))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
...
...
@@ -6116,7 +6116,7 @@ else
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((
off_t) 1 << 62) - 1 + ((off_t) 1 << 62
))
#define LARGE_OFF_T (((
(off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31
))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
...
...
@@ -6140,7 +6140,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
We can't simply define LARGE_OFF_T to be 9223372036854775807,
since some C++ compilers masquerading as C compilers
incorrectly reject 9223372036854775807. */
#define LARGE_OFF_T (((
off_t) 1 << 62) - 1 + ((off_t) 1 << 62
))
#define LARGE_OFF_T (((
(off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31
))
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
&& LARGE_OFF_T % 2147483647 == 1)
? 1 : -1];
...
...
@@ -11278,10 +11278,10 @@ _ACEOF
if
ac_fn_c_try_link
"
$LINENO
"
;
then
:
case
"
$LIBEXT
"
in
dll
)
ac_cv_lib_soname_gnutls
=
`
$ac_cv_path_LDD
conftest.exe |
grep
"gnutls"
|
sed
-e
"s/dll.*/dll/"
';2,$d'
`
;;
dylib
)
ac_cv_lib_soname_gnutls
=
`
otool
-L
conftest
$ac_exeext
|
grep
"libgnutls
\\
.[0-9A-Za-z.]*dylib"
|
sed
-e
"s/^.*
\/\(
libgnutls
\.
[0-9A-Za-z.]*dylib
\)
.*
$/
\1
/"
';2,$d'
`
;;
*
)
ac_cv_lib_soname_gnutls
=
`
$READELF
-d
conftest
$ac_exeext
|
grep
"NEEDED.*libgnutls
\\
.
$LIBEXT
"
|
sed
-e
"s/^.*
\\
[
\\
(libgnutls
\\
.
$LIBEXT
[^ ]*
\\
)
\\
].*
$/
\1
/"
';2,$d'
`
dylib
)
ac_cv_lib_soname_gnutls
=
`
otool
-L
conftest
$ac_exeext
|
grep
"libgnutls
\\
(-deb0
\\
)
\\
{0,1
\\
}
\\
.[0-9A-Za-z.]*dylib"
|
sed
-e
"s/^.*
\/\(
libgnutls
\\
(-deb0
\\
)
\\
{0,1
\\
}
\.
[0-9A-Za-z.]*dylib
\)
.*
$/
\1
/"
';2,$d'
`
;;
*
)
ac_cv_lib_soname_gnutls
=
`
$READELF
-d
conftest
$ac_exeext
|
grep
"NEEDED.*libgnutls
\\
(-deb0
\\
)
\\
{0,1
\\
}
\\
.
$LIBEXT
"
|
sed
-e
"s/^.*
\\
[
\\
(libgnutls
\\
(-deb0
\\
)
\\
{0,1
\\
}
\\
.
$LIBEXT
[^ ]*
\\
)
\\
].*
$/
\1
/"
';2,$d'
`
if
${
ac_cv_lib_soname_gnutls
:+false
}
:
;
then
:
ac_cv_lib_soname_gnutls
=
`
$LDD
conftest
$ac_exeext
|
grep
"libgnutls
\\
.
$LIBEXT
"
|
sed
-e
"s/^.*
\(
libgnutls
\.
$LIBEXT
[^ ]*
\)
.*
$/
\1
/"
';2,$d'
`
ac_cv_lib_soname_gnutls
=
`
$LDD
conftest
$ac_exeext
|
grep
"libgnutls
\\
(-deb0
\\
)
\\
{0,1
\\
}
\\
.
$LIBEXT
"
|
sed
-e
"s/^.*
\(
libgnutls
\\
(-deb0
\\
)
\\
{0,1
\\
}
\.
$LIBEXT
[^ ]*
\)
.*
$/
\1
/"
';2,$d'
`
fi
;;
esac
fi
...
...
configure.ac
View file @
79e0cb3a
...
...
@@ -1359,7 +1359,7 @@ then
[AC_CHECK_HEADER(gnutls/gnutls.h,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <gnutls/gnutls.h>
#include <gnutls/crypto.h>]], [[static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;]])],
[WINE_CHECK_SONAME(gnutls,gnutls_global_init,,[GNUTLS_CFLAGS=""],[$GNUTLS_LIBS])])],
[WINE_CHECK_SONAME(gnutls,gnutls_global_init,,[GNUTLS_CFLAGS=""],[$GNUTLS_LIBS]
,[[libgnutls\\(-deb0\\)\\{0,1\\}]]
)])],
[GNUTLS_CFLAGS=""])])
fi
WINE_WARNING_WITH(gnutls,[test "x$ac_cv_lib_soname_gnutls" = "x"],
...
...
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