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
90eb492a
Commit
90eb492a
authored
Jan 21, 2016
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Don't check for gnutls_hash if gnutls is missing entirely.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
af4a757a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
configure
configure
+12
-12
configure.ac
configure.ac
+3
-3
No files found.
configure
View file @
90eb492a
...
...
@@ -11585,18 +11585,7 @@ _ACEOF
fi
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
else
GNUTLS_CFLAGS
=
""
fi
CPPFLAGS
=
$ac_save_CPPFLAGS
test
-z
"
$GNUTLS_CFLAGS
"
||
GNUTLS_CFLAGS
=
`
echo
"
$GNUTLS_CFLAGS
"
|
sed
's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'
`
test
-z
"
$GNUTLS_LIBS
"
||
GNUTLS_LIBS
=
`
echo
"
$GNUTLS_LIBS
"
|
sed
's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'
`
ac_wine_check_funcs_save_LIBS
=
"
$LIBS
"
ac_wine_check_funcs_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
$GNUTLS_LIBS
"
for
ac_func
in
gnutls_hash
do
:
...
...
@@ -11613,6 +11602,17 @@ done
LIBS
=
"
$ac_wine_check_funcs_save_LIBS
"
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
else
GNUTLS_CFLAGS
=
""
fi
CPPFLAGS
=
$ac_save_CPPFLAGS
test
-z
"
$GNUTLS_CFLAGS
"
||
GNUTLS_CFLAGS
=
`
echo
"
$GNUTLS_CFLAGS
"
|
sed
's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'
`
test
-z
"
$GNUTLS_LIBS
"
||
GNUTLS_LIBS
=
`
echo
"
$GNUTLS_LIBS
"
|
sed
's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'
`
fi
if
test
"x
$ac_cv_lib_soname_gnutls
"
=
"x"
;
then
:
case
"x
$with_gnutls
"
in
x
)
as_fn_append wine_warnings
"|libgnutls
${
notice_platform
}
development files not found, no schannel support."
;;
...
...
configure.ac
View file @
90eb492a
...
...
@@ -1268,10 +1268,10 @@ 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],[[libgnutls\\(-deb0\\)\\{0,1\\}]])])],
[WINE_CHECK_SONAME(gnutls,gnutls_global_init,,[GNUTLS_CFLAGS=""],[$GNUTLS_LIBS],[[libgnutls\\(-deb0\\)\\{0,1\\}]])
WINE_CHECK_LIB_FUNCS(gnutls_hash,[$GNUTLS_LIBS],,
[WINE_NOTICE([libgnutls ${notice_platform}development files too old, no bcrypt hash support.])])])],
[GNUTLS_CFLAGS=""])])
WINE_CHECK_LIB_FUNCS(gnutls_hash,[$GNUTLS_LIBS],,
[WINE_NOTICE([libgnutls ${notice_platform}development files too old, no bcrypt hash support.])])
fi
WINE_WARNING_WITH(gnutls,[test "x$ac_cv_lib_soname_gnutls" = "x"],
[libgnutls ${notice_platform}development files not found, no schannel support.])
...
...
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