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
1470c5c3
Commit
1470c5c3
authored
May 03, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Use the pkg-config helper macro for gnutls.
parent
e7bd23ba
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
20 deletions
+30
-20
configure
configure
+26
-11
configure.ac
configure.ac
+3
-8
Makefile.in
dlls/secur32/Makefile.in
+1
-1
No files found.
configure
View file @
1470c5c3
...
...
@@ -661,7 +661,8 @@ gphoto2port_devel
gphoto2_devel
SANEINCL
sane_devel
GNUTLSINCL
GNUTLS_LIBS
GNUTLS_CFLAGS
HAL_LIBS
HAL_CFLAGS
DBUS_LIBS
...
...
@@ -869,7 +870,9 @@ XSLT_LIBS
DBUS_CFLAGS
DBUS_LIBS
HAL_CFLAGS
HAL_LIBS'
HAL_LIBS
GNUTLS_CFLAGS
GNUTLS_LIBS'
# Initialize some variables set by options.
...
...
@@ -1565,6 +1568,9 @@ Some influential environment variables:
DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
HAL_CFLAGS C compiler flags for hal, overriding pkg-config
HAL_LIBS Linker flags for hal, overriding pkg-config
GNUTLS_CFLAGS
C compiler flags for gnutls, overriding pkg-config
GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
...
...
@@ -10234,12 +10240,20 @@ fi
if
test
"x
$with_gnutls
"
!=
"xno"
then
ac_save_CPPFLAGS
=
"
$CPPFLAGS
"
if
test
"
$PKG_CONFIG
"
!=
"false"
then
ac_gnutls_libs
=
"
`
$PKG_CONFIG
--libs
gnutls 2>/dev/null
`
"
ac_gnutls_cflags
=
"
`
$PKG_CONFIG
--cflags
gnutls 2>/dev/null
`
"
CPPFLAGS
=
"
$CPPFLAGS
$ac_gnutls_cflags
"
fi
if
test
-n
"
$GNUTLS_CFLAGS
"
;
then
:
elif
test
-n
"
$PKG_CONFIG
"
;
then
:
GNUTLS_CFLAGS
=
`
$PKG_CONFIG
--cflags
gnutls 2>/dev/null
`
fi
CPPFLAGS
=
"
$CPPFLAGS
$GNUTLS_CFLAGS
"
if
test
-n
"
$GNUTLS_LIBS
"
;
then
:
elif
test
-n
"
$PKG_CONFIG
"
;
then
:
GNUTLS_LIBS
=
`
$PKG_CONFIG
--libs
gnutls 2>/dev/null
`
fi
ac_fn_c_check_header_mongrel
"
$LINENO
"
"gnutls/gnutls.h"
"ac_cv_header_gnutls_gnutls_h"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_gnutls_gnutls_h
"
=
xyes
;
then
:
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
...
...
@@ -10260,7 +10274,7 @@ if ${ac_cv_lib_soname_gnutls+:} false; then :
$as_echo_n
"(cached) "
>
&6
else
ac_check_soname_save_LIBS
=
$LIBS
LIBS
=
"-lgnutls
$
ac_gnutls_libs
$LIBS
"
LIBS
=
"-lgnutls
$
GNUTLS_LIBS
$LIBS
"
cat
confdefs.h -
<<
_ACEOF
>conftest.
$ac_ext
/* end confdefs.h. */
...
...
@@ -10296,7 +10310,7 @@ fi
if
test
"x
$ac_cv_lib_soname_gnutls
"
=
"x"
;
then
:
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: not found"
>
&5
$as_echo
"not found"
>
&6
;
}
GNUTLS_CFLAGS
=
""
else
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$ac_cv_lib_soname_gnutls
"
>
&5
$as_echo
"
$ac_cv_lib_soname_gnutls
"
>
&6
;
}
...
...
@@ -10305,11 +10319,12 @@ cat >>confdefs.h <<_ACEOF
#define SONAME_LIBGNUTLS "
$ac_cv_lib_soname_gnutls
"
_ACEOF
GNUTLSINCL
=
"
$ac_gnutls_cflags
"
fi
fi
rm
-f
core conftest.err conftest.
$ac_objext
conftest.
$ac_ext
else
GNUTLS_CFLAGS
=
""
fi
...
...
configure.ac
View file @
1470c5c3
...
...
@@ -1348,16 +1348,11 @@ dnl **** Check for libgnutls ****
if test "x$with_gnutls" != "xno"
then
ac_save_CPPFLAGS="$CPPFLAGS"
if test "$PKG_CONFIG" != "false"
then
ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
fi
WINE_PACKAGE_FLAGS(GNUTLS,[gnutls])
AC_CHECK_HEADER(gnutls/gnutls.h,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <gnutls/gnutls.h>]], [[static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;]])],
[WINE_CHECK_SONAME(gnutls,gnutls_global_init,
[AC_SUBST(GNUTLSINCL,"$ac_gnutls_cflags")],,[$ac_gnutls_libs])])
])
[WINE_CHECK_SONAME(gnutls,gnutls_global_init,
,[GNUTLS_CFLAGS=""],[$GNUTLS_LIBS])])],
[GNUTLS_CFLAGS=""
])
CPPFLAGS="$ac_save_CPPFLAGS"
fi
WINE_NOTICE_WITH(gnutls,[test "x$ac_cv_lib_soname_gnutls" = "x"],
...
...
dlls/secur32/Makefile.in
View file @
1470c5c3
...
...
@@ -2,7 +2,7 @@ MODULE = secur32.dll
IMPORTLIB
=
secur32
IMPORTS
=
netapi32 advapi32
DELAYIMPORTS
=
crypt32
EXTRAINCL
=
@GNUTLS
INCL
@
EXTRAINCL
=
@GNUTLS
_CFLAGS
@
EXTRALIBS
=
@SECURITYLIB@
C_SRCS
=
\
...
...
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